summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/aes_generic.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/crypto/aes_generic.c b/crypto/aes_generic.c
index 9401dca..6683260 100644
--- a/crypto/aes_generic.c
+++ b/crypto/aes_generic.c
@@ -52,6 +52,7 @@
s/RIJNDAEL(d_key)/D_KEY/g
*/
+#include <crypto/aes.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
@@ -59,11 +60,6 @@
#include <linux/crypto.h>
#include <asm/byteorder.h>
-#define AES_MIN_KEY_SIZE 16
-#define AES_MAX_KEY_SIZE 32
-
-#define AES_BLOCK_SIZE 16
-
/*
* #define byte(x, nr) ((unsigned char)((x) >> (nr*8)))
*/
OpenPOWER on IntegriCloud