aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-12-27 02:39:55 +0100
committerBrian Behlendorf <[email protected]>2022-02-15 16:25:52 -0800
commitcf497e18df6adff6f95bc89018d0582b5e5b7f67 (patch)
tree808cd8fdc0fc337f2e001aca7523d1debcc7cba6 /include/sys
parent11320b4cdf54b725d90ec158d29d7a18068b75c0 (diff)
module: icp: remove unused (and mostly faked) cm_{{min,max}_key_length,mech_flags}
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12901
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/crypto/common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/sys/crypto/common.h b/include/sys/crypto/common.h
index e8d7f0e54..238bfb593 100644
--- a/include/sys/crypto/common.h
+++ b/include/sys/crypto/common.h
@@ -90,13 +90,6 @@ typedef struct CK_AES_GMAC_PARAMS {
*/
typedef uint32_t crypto_keysize_unit_t;
-/*
- * The following bit flags are valid in cm_mech_flags field in
- * the crypto_mech_info_t structure of the SPI.
- */
-#define CRYPTO_KEYSIZE_UNIT_IN_BITS 0x00000001
-#define CRYPTO_KEYSIZE_UNIT_IN_BYTES 0x00000002
-
/* Mechanisms supported out-of-the-box */
#define SUN_CKM_SHA256 "CKM_SHA256"