diff options
Diffstat (limited to 'crypto/blowfish.c')
| -rw-r--r-- | crypto/blowfish.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/blowfish.c b/crypto/blowfish.c index a8b29d54e7d8..7f710b201f20 100644 --- a/crypto/blowfish.c +++ b/crypto/blowfish.c | |||
| @@ -19,8 +19,10 @@ | |||
| 19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
| 20 | #include <linux/module.h> | 20 | #include <linux/module.h> |
| 21 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
| 22 | #include <asm/byteorder.h> | ||
| 22 | #include <asm/scatterlist.h> | 23 | #include <asm/scatterlist.h> |
| 23 | #include <linux/crypto.h> | 24 | #include <linux/crypto.h> |
| 25 | #include <linux/types.h> | ||
| 24 | 26 | ||
| 25 | #define BF_BLOCK_SIZE 8 | 27 | #define BF_BLOCK_SIZE 8 |
| 26 | #define BF_MIN_KEY_SIZE 4 | 28 | #define BF_MIN_KEY_SIZE 4 |
| @@ -451,6 +453,7 @@ static struct crypto_alg alg = { | |||
| 451 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, | 453 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, |
| 452 | .cra_blocksize = BF_BLOCK_SIZE, | 454 | .cra_blocksize = BF_BLOCK_SIZE, |
| 453 | .cra_ctxsize = sizeof(struct bf_ctx), | 455 | .cra_ctxsize = sizeof(struct bf_ctx), |
| 456 | .cra_alignmask = 3, | ||
| 454 | .cra_module = THIS_MODULE, | 457 | .cra_module = THIS_MODULE, |
| 455 | .cra_list = LIST_HEAD_INIT(alg.cra_list), | 458 | .cra_list = LIST_HEAD_INIT(alg.cra_list), |
| 456 | .cra_u = { .cipher = { | 459 | .cra_u = { .cipher = { |
