diff options
author | Sebastian Siewior <sebastian@breakpoint.cc> | 2007-10-17 17:18:57 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-10 22:16:04 +0100 |
commit | 89e12654312dddbbdbf17b5adc95b22cb672f947 (patch) | |
tree | b6c90424ece4dae2178c3b3843e37ebf41c8286b /arch/s390/crypto | |
parent | [CRYPTO] geode: remove alias (diff) | |
download | linux-89e12654312dddbbdbf17b5adc95b22cb672f947.tar.xz linux-89e12654312dddbbdbf17b5adc95b22cb672f947.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 'arch/s390/crypto')
-rw-r--r-- | arch/s390/crypto/aes_s390.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/s390/crypto/aes_s390.c b/arch/s390/crypto/aes_s390.c index 512669691ad0..812511bbb540 100644 --- a/arch/s390/crypto/aes_s390.c +++ b/arch/s390/crypto/aes_s390.c @@ -16,17 +16,12 @@ * */ +#include <crypto/aes.h> #include <crypto/algapi.h> #include <linux/module.h> #include <linux/init.h> #include "crypt_s390.h" -#define AES_MIN_KEY_SIZE 16 -#define AES_MAX_KEY_SIZE 32 - -/* data block size for all key lengths */ -#define AES_BLOCK_SIZE 16 - #define AES_KEYLEN_128 1 #define AES_KEYLEN_192 2 #define AES_KEYLEN_256 4 |