crypto: x86/chacha20 - Remove cra_alignmask
authorEric Biggers <ebiggers@google.com>
Wed, 22 Nov 2017 19:51:38 +0000 (11:51 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 29 Nov 2017 06:33:33 +0000 (17:33 +1100)
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>
arch/x86/crypto/chacha20_glue.c

index 1e6af1b35f7b4bc4ee156f3a133f6cc6363d0355..dce7c5d39c2f26f8e1cf6d31c69e1ef627f6cb10 100644 (file)
@@ -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,