[CRYPTO] all: Add missing cra_alignmask
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 13 Mar 2006 10:30:29 +0000 (21:30 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 21 Mar 2006 09:14:09 +0000 (20:14 +1100)
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>
crypto/des.c
crypto/serpent.c

index 7bb548653dc68752f8facabda96dc463c0c437a2..2d74cab40c3e497c9cd356c4b8710e689bd62fb5 100644 (file)
@@ -965,6 +965,7 @@ static struct crypto_alg des3_ede_alg = {
        .cra_blocksize          =       DES3_EDE_BLOCK_SIZE,
        .cra_ctxsize            =       sizeof(struct des3_ede_ctx),
        .cra_module             =       THIS_MODULE,
+       .cra_alignmask          =       3,
        .cra_list               =       LIST_HEAD_INIT(des3_ede_alg.cra_list),
        .cra_u                  =       { .cipher = {
        .cia_min_keysize        =       DES3_EDE_KEY_SIZE,
index 52ad1a492620c09c5f0505f52285514fff68961b..e366406ab49d6ecd9e9adbf2468fe719fec66291 100644 (file)
@@ -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 = {