diff options
Diffstat (limited to 'crypto/serpent.c')
| -rw-r--r-- | crypto/serpent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/serpent.c b/crypto/serpent.c index 3cf2c5067eea..52ad1a492620 100644 --- a/crypto/serpent.c +++ b/crypto/serpent.c | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | #include <linux/errno.h> | 20 | #include <linux/errno.h> |
| 21 | #include <asm/byteorder.h> | 21 | #include <asm/byteorder.h> |
| 22 | #include <linux/crypto.h> | 22 | #include <linux/crypto.h> |
| 23 | #include <linux/types.h> | ||
| 23 | 24 | ||
| 24 | /* Key is padded to the maximum of 256 bits before round key generation. | 25 | /* Key is padded to the maximum of 256 bits before round key generation. |
| 25 | * Any key length <= 256 bits (32 bytes) is allowed by the algorithm. | 26 | * Any key length <= 256 bits (32 bytes) is allowed by the algorithm. |
| @@ -552,6 +553,7 @@ static struct crypto_alg tnepres_alg = { | |||
| 552 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, | 553 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, |
| 553 | .cra_blocksize = SERPENT_BLOCK_SIZE, | 554 | .cra_blocksize = SERPENT_BLOCK_SIZE, |
| 554 | .cra_ctxsize = sizeof(struct serpent_ctx), | 555 | .cra_ctxsize = sizeof(struct serpent_ctx), |
| 556 | .cra_alignmask = 3, | ||
| 555 | .cra_module = THIS_MODULE, | 557 | .cra_module = THIS_MODULE, |
| 556 | .cra_list = LIST_HEAD_INIT(serpent_alg.cra_list), | 558 | .cra_list = LIST_HEAD_INIT(serpent_alg.cra_list), |
| 557 | .cra_u = { .cipher = { | 559 | .cra_u = { .cipher = { |
