summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/opencrypto/cryptodev.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/opencrypto/cryptodev.h b/sys/opencrypto/cryptodev.h
index 8f8317b..df74fa5 100644
--- a/sys/opencrypto/cryptodev.h
+++ b/sys/opencrypto/cryptodev.h
@@ -97,7 +97,7 @@
#define CAST128_BLOCK_LEN 8
#define RIJNDAEL128_BLOCK_LEN 16
#define AES_BLOCK_LEN RIJNDAEL128_BLOCK_LEN
-#define EALG_MAX_BLOCK_LEN 16 /* Keep this updated */
+#define EALG_MAX_BLOCK_LEN AES_BLOCK_LEN /* Keep this updated */
#define CRYPTO_ALGORITHM_MIN 1
#define CRYPTO_DES_CBC 1
@@ -153,8 +153,6 @@ struct crypt_op {
caddr_t iv;
};
-#define CRYPTO_MAX_MAC_LEN 20
-
/* bignum parameter, in packed bytes, ... */
struct crparam {
caddr_t crp_p;
OpenPOWER on IntegriCloud