projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[CRYPTO] aes: Move common defines into a header file
[linux-block.git]
/
arch
/
x86
/
crypto
/
aes_64.c
diff --git
a/arch/x86/crypto/aes_64.c
b/arch/x86/crypto/aes_64.c
index 5cdb13ea5cc2d3d9126ebf4c93f4dfb96a7d21e0..0b38a4cd2ce1bcda1380042cdede32f97c5ef4ff 100644
(file)
--- a/
arch/x86/crypto/aes_64.c
+++ b/
arch/x86/crypto/aes_64.c
@@
-54,6
+54,7
@@
*/
#include <asm/byteorder.h>
*/
#include <asm/byteorder.h>
+#include <crypto/aes.h>
#include <linux/bitops.h>
#include <linux/crypto.h>
#include <linux/errno.h>
#include <linux/bitops.h>
#include <linux/crypto.h>
#include <linux/errno.h>
@@
-61,11
+62,6
@@
#include <linux/module.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/types.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)))
*/
/*
* #define byte(x, nr) ((unsigned char)((x) >> (nr*8)))
*/