]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/serpent.c
[CRYPTO] cipher: Set alignmask for multi-byte loads
[linux-2.6-omap-h63xx.git] / crypto / serpent.c
index a950ff85f632a486e282472e1b0a89f7194ac6b4..52ad1a492620c09c5f0505f52285514fff68961b 100644 (file)
@@ -553,6 +553,7 @@ static struct crypto_alg tnepres_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 = {