X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=crypto%2Fblowfish.c;fp=crypto%2Fblowfish.c;h=7f710b201f2059cf66f8e2ffb4c2002cd8e14115;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=a8b29d54e7d8180ebb90391493f1302b85c220cb;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/crypto/blowfish.c b/crypto/blowfish.c index a8b29d54e..7f710b201 100644 --- a/crypto/blowfish.c +++ b/crypto/blowfish.c @@ -19,8 +19,10 @@ #include #include #include +#include #include #include +#include #define BF_BLOCK_SIZE 8 #define BF_MIN_KEY_SIZE 4 @@ -451,6 +453,7 @@ static struct crypto_alg alg = { .cra_flags = CRYPTO_ALG_TYPE_CIPHER, .cra_blocksize = BF_BLOCK_SIZE, .cra_ctxsize = sizeof(struct bf_ctx), + .cra_alignmask = 3, .cra_module = THIS_MODULE, .cra_list = LIST_HEAD_INIT(alg.cra_list), .cra_u = { .cipher = {