aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-03-13 05:30:29 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2006-03-21 04:14:09 -0500
commit20ea340489ddee7b3a438ee58f32f2608cc145de (patch)
tree9ecb385a31b3a742e2e2faa0a40a57aaf276736c /crypto
parentbbeb563f7bb5e703e4d60c18bed81c987781343f (diff)
[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')
-rw-r--r--crypto/des.c1
-rw-r--r--crypto/serpent.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/crypto/des.c b/crypto/des.c
index 7bb548653dc6..2d74cab40c3e 100644
--- a/crypto/des.c
+++ b/crypto/des.c
@@ -965,6 +965,7 @@ static struct crypto_alg des3_ede_alg = {
965 .cra_blocksize = DES3_EDE_BLOCK_SIZE, 965 .cra_blocksize = DES3_EDE_BLOCK_SIZE,
966 .cra_ctxsize = sizeof(struct des3_ede_ctx), 966 .cra_ctxsize = sizeof(struct des3_ede_ctx),
967 .cra_module = THIS_MODULE, 967 .cra_module = THIS_MODULE,
968 .cra_alignmask = 3,
968 .cra_list = LIST_HEAD_INIT(des3_ede_alg.cra_list), 969 .cra_list = LIST_HEAD_INIT(des3_ede_alg.cra_list),
969 .cra_u = { .cipher = { 970 .cra_u = { .cipher = {
970 .cia_min_keysize = DES3_EDE_KEY_SIZE, 971 .cia_min_keysize = DES3_EDE_KEY_SIZE,
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 = {
481 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 481 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
482 .cra_blocksize = SERPENT_BLOCK_SIZE, 482 .cra_blocksize = SERPENT_BLOCK_SIZE,
483 .cra_ctxsize = sizeof(struct serpent_ctx), 483 .cra_ctxsize = sizeof(struct serpent_ctx),
484 .cra_alignmask = 3,
484 .cra_module = THIS_MODULE, 485 .cra_module = THIS_MODULE,
485 .cra_list = LIST_HEAD_INIT(serpent_alg.cra_list), 486 .cra_list = LIST_HEAD_INIT(serpent_alg.cra_list),
486 .cra_u = { .cipher = { 487 .cra_u = { .cipher = {