diff options
author | Sebastian Siewior <sebastian@breakpoint.cc> | 2007-10-17 23:18:57 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-11 08:16:04 +1100 |
commit | a94493fa6c6798a55448d411fbd0c2f9f44e6f55 (patch) | |
tree | dec7f3b903661b726e2fc40d490a1576e981ad40 /crypto | |
parent | c03538cf7bd4cc095dec7e986d27c98d90dffc00 (diff) | |
download | linux-crypto-a94493fa6c6798a55448d411fbd0c2f9f44e6f55.tar.gz linux-crypto-a94493fa6c6798a55448d411fbd0c2f9f44e6f55.zip |
[CRYPTO] aes: Move common defines into a header file
This three defines are used in all AES related hardware.
Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/aes_generic.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crypto/aes_generic.c b/crypto/aes_generic.c index 9401dca8..66832604 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))) */ |