aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-11-22 14:51:38 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2017-11-29 01:33:33 -0500
commit796c99fbd7e20a8d78189fc0166a524d78f635a0 (patch)
tree29455dcf0b7dc20459f378927e398f3a0f2fa3f6
parenta1c73383c032ea467c4e766d4471edf91cf384cb (diff)
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 <ebiggers@google.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--arch/x86/crypto/chacha20_glue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/crypto/chacha20_glue.c b/arch/x86/crypto/chacha20_glue.c
index 1e6af1b35f7b..dce7c5d39c2f 100644
--- a/arch/x86/crypto/chacha20_glue.c
+++ b/arch/x86/crypto/chacha20_glue.c
@@ -107,7 +107,6 @@ static struct skcipher_alg alg = {
107 .base.cra_priority = 300, 107 .base.cra_priority = 300,
108 .base.cra_blocksize = 1, 108 .base.cra_blocksize = 1,
109 .base.cra_ctxsize = sizeof(struct chacha20_ctx), 109 .base.cra_ctxsize = sizeof(struct chacha20_ctx),
110 .base.cra_alignmask = sizeof(u32) - 1,
111 .base.cra_module = THIS_MODULE, 110 .base.cra_module = THIS_MODULE,
112 111
113 .min_keysize = CHACHA20_KEY_SIZE, 112 .min_keysize = CHACHA20_KEY_SIZE,