From: Eric Biggers Date: Wed, 22 Nov 2017 19:51:38 +0000 (-0800) Subject: crypto: x86/chacha20 - Remove cra_alignmask X-Git-Tag: v4.19~1578^2~141 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=796c99fbd7e20a8d78189fc0166a524d78f635a0;p=platform%2Fkernel%2Flinux-rpi.git crypto: x86/chacha20 - Remove cra_alignmask Now that the generic ChaCha20 implementation no longer needs a cra_alignmask, the x86 one doesn't either -- given that the x86 implementation doesn't need the alignment itself. Signed-off-by: Eric Biggers Acked-by: Ard Biesheuvel Signed-off-by: Herbert Xu --- diff --git a/arch/x86/crypto/chacha20_glue.c b/arch/x86/crypto/chacha20_glue.c index 1e6af1b..dce7c5d 100644 --- a/arch/x86/crypto/chacha20_glue.c +++ b/arch/x86/crypto/chacha20_glue.c @@ -107,7 +107,6 @@ static struct skcipher_alg alg = { .base.cra_priority = 300, .base.cra_blocksize = 1, .base.cra_ctxsize = sizeof(struct chacha20_ctx), - .base.cra_alignmask = sizeof(u32) - 1, .base.cra_module = THIS_MODULE, .min_keysize = CHACHA20_KEY_SIZE,