diff options
Diffstat (limited to 'crypto/des.c')
| -rw-r--r-- | crypto/des.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/des.c b/crypto/des.c index a3c863dddded..7bb548653dc6 100644 --- a/crypto/des.c +++ b/crypto/des.c | |||
| @@ -12,11 +12,13 @@ | |||
| 12 | * | 12 | * |
| 13 | */ | 13 | */ |
| 14 | 14 | ||
| 15 | #include <asm/byteorder.h> | ||
| 15 | #include <linux/bitops.h> | 16 | #include <linux/bitops.h> |
| 16 | #include <linux/init.h> | 17 | #include <linux/init.h> |
| 17 | #include <linux/module.h> | 18 | #include <linux/module.h> |
| 18 | #include <linux/errno.h> | 19 | #include <linux/errno.h> |
| 19 | #include <linux/crypto.h> | 20 | #include <linux/crypto.h> |
| 21 | #include <linux/types.h> | ||
| 20 | 22 | ||
| 21 | #define DES_KEY_SIZE 8 | 23 | #define DES_KEY_SIZE 8 |
| 22 | #define DES_EXPKEY_WORDS 32 | 24 | #define DES_EXPKEY_WORDS 32 |
| @@ -947,6 +949,7 @@ static struct crypto_alg des_alg = { | |||
| 947 | .cra_blocksize = DES_BLOCK_SIZE, | 949 | .cra_blocksize = DES_BLOCK_SIZE, |
| 948 | .cra_ctxsize = sizeof(struct des_ctx), | 950 | .cra_ctxsize = sizeof(struct des_ctx), |
| 949 | .cra_module = THIS_MODULE, | 951 | .cra_module = THIS_MODULE, |
| 952 | .cra_alignmask = 3, | ||
| 950 | .cra_list = LIST_HEAD_INIT(des_alg.cra_list), | 953 | .cra_list = LIST_HEAD_INIT(des_alg.cra_list), |
| 951 | .cra_u = { .cipher = { | 954 | .cra_u = { .cipher = { |
| 952 | .cia_min_keysize = DES_KEY_SIZE, | 955 | .cia_min_keysize = DES_KEY_SIZE, |
