aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libspl
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 /lib/libspl
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 'lib/libspl')
-rw-r--r--lib/libspl/include/sys/sha2.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libspl/include/sys/sha2.h b/lib/libspl/include/sys/sha2.h
index e2f66d225..8bdc23a5f 100644
--- a/lib/libspl/include/sys/sha2.h
+++ b/lib/libspl/include/sys/sha2.h
@@ -33,9 +33,6 @@
extern "C" {
#endif
-#define SHA2_HMAC_MIN_KEY_LEN 1 /* SHA2-HMAC min key length in bytes */
-#define SHA2_HMAC_MAX_KEY_LEN INT_MAX /* SHA2-HMAC max key length in bytes */
-
#define SHA256_DIGEST_LENGTH 32 /* SHA256 digest length in bytes */
#define SHA384_DIGEST_LENGTH 48 /* SHA384 digest length in bytes */
#define SHA512_DIGEST_LENGTH 64 /* SHA512 digest length in bytes */