aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto/aes_64.c
diff options
context:
space:
mode:
authorSebastian Siewior <sebastian@breakpoint.cc>2007-10-17 11:18:57 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-10 16:16:04 -0500
commit89e12654312dddbbdbf17b5adc95b22cb672f947 (patch)
treeb6c90424ece4dae2178c3b3843e37ebf41c8286b /arch/x86/crypto/aes_64.c
parentf1901f1fc710ec0fc482a7c98ee4552874139f39 (diff)
[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/x86/crypto/aes_64.c')
-rw-r--r--arch/x86/crypto/aes_64.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/crypto/aes_64.c b/arch/x86/crypto/aes_64.c
index 5cdb13ea5cc2..0b38a4cd2ce1 100644
--- a/arch/x86/crypto/aes_64.c
+++ b/arch/x86/crypto/aes_64.c
@@ -54,6 +54,7 @@
54*/ 54*/
55 55
56#include <asm/byteorder.h> 56#include <asm/byteorder.h>
57#include <crypto/aes.h>
57#include <linux/bitops.h> 58#include <linux/bitops.h>
58#include <linux/crypto.h> 59#include <linux/crypto.h>
59#include <linux/errno.h> 60#include <linux/errno.h>
@@ -61,11 +62,6 @@
61#include <linux/module.h> 62#include <linux/module.h>
62#include <linux/types.h> 63#include <linux/types.h>
63 64
64#define AES_MIN_KEY_SIZE 16
65#define AES_MAX_KEY_SIZE 32
66
67#define AES_BLOCK_SIZE 16
68
69/* 65/*
70 * #define byte(x, nr) ((unsigned char)((x) >> (nr*8))) 66 * #define byte(x, nr) ((unsigned char)((x) >> (nr*8)))
71 */ 67 */