summaryrefslogtreecommitdiff
path: root/crypto/serpent.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-03-13 21:30:29 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2006-03-21 20:14:09 +1100
commit20ea340489ddee7b3a438ee58f32f2608cc145de (patch)
tree9ecb385a31b3a742e2e2faa0a40a57aaf276736c /crypto/serpent.c
parentbbeb563f7bb5e703e4d60c18bed81c987781343f (diff)
downloadkernel-common-20ea340489ddee7b3a438ee58f32f2608cc145de.tar.gz
kernel-common-20ea340489ddee7b3a438ee58f32f2608cc145de.tar.bz2
kernel-common-20ea340489ddee7b3a438ee58f32f2608cc145de.zip
[CRYPTO] all: Add missing cra_alignmask
The "des3_ede" and "serpent" lack cra_alignmask. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/serpent.c')
-rw-r--r--crypto/serpent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/serpent.c b/crypto/serpent.c
index 52ad1a492620..e366406ab49d 100644
--- a/crypto/serpent.c
+++ b/crypto/serpent.c
@@ -481,6 +481,7 @@ static struct crypto_alg serpent_alg = {
.cra_flags = CRYPTO_ALG_TYPE_CIPHER,
.cra_blocksize = SERPENT_BLOCK_SIZE,
.cra_ctxsize = sizeof(struct serpent_ctx),
+ .cra_alignmask = 3,
.cra_module = THIS_MODULE,
.cra_list = LIST_HEAD_INIT(serpent_alg.cra_list),
.cra_u = { .cipher = {