aboutsummaryrefslogtreecommitdiffstats
path: root/module/icp/include/aes/aes_impl.h
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 /module/icp/include/aes/aes_impl.h
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 'module/icp/include/aes/aes_impl.h')
-rw-r--r--module/icp/include/aes/aes_impl.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/module/icp/include/aes/aes_impl.h b/module/icp/include/aes/aes_impl.h
index 41dccaa38..b2348022e 100644
--- a/module/icp/include/aes/aes_impl.h
+++ b/module/icp/include/aes/aes_impl.h
@@ -83,14 +83,7 @@ extern "C" {
/* AES key size definitions */
#define AES_MINBITS 128
-#define AES_MINBYTES ((AES_MINBITS) >> 3)
#define AES_MAXBITS 256
-#define AES_MAXBYTES ((AES_MAXBITS) >> 3)
-
-#define AES_MIN_KEY_BYTES ((AES_MINBITS) >> 3)
-#define AES_MAX_KEY_BYTES ((AES_MAXBITS) >> 3)
-#define AES_192_KEY_BYTES 24
-#define AES_IV_LEN 16
/* AES key schedule may be implemented with 32- or 64-bit elements: */
#define AES_32BIT_KS 32