Commit 796c99fb authored by Eric Biggers's avatar Eric Biggers Committed by Herbert Xu

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: default avatarEric Biggers <ebiggers@google.com>
Acked-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent a1c73383
...@@ -107,7 +107,6 @@ static struct skcipher_alg alg = { ...@@ -107,7 +107,6 @@ static struct skcipher_alg alg = {
.base.cra_priority = 300, .base.cra_priority = 300,
.base.cra_blocksize = 1, .base.cra_blocksize = 1,
.base.cra_ctxsize = sizeof(struct chacha20_ctx), .base.cra_ctxsize = sizeof(struct chacha20_ctx),
.base.cra_alignmask = sizeof(u32) - 1,
.base.cra_module = THIS_MODULE, .base.cra_module = THIS_MODULE,
.min_keysize = CHACHA20_KEY_SIZE, .min_keysize = CHACHA20_KEY_SIZE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment