crypto: chacha20 - Remove cra_alignmask
authorEric Biggers <ebiggers@google.com>
Wed, 22 Nov 2017 19:51:37 +0000 (11:51 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 29 Nov 2017 06:33:32 +0000 (17:33 +1100)
commita1c73383c032ea467c4e766d4471edf91cf384cb
tree03773215ea6b72cc2fbdf5cb0b0b512c5ac11fb6
parentdbd872a123fab81d0fa235a265c39e5ccdf735b3
crypto: chacha20 - Remove cra_alignmask

Now that crypto_chacha20_setkey() and crypto_chacha20_init() use the
unaligned access macros and crypto_xor() also accepts unaligned buffers,
there is no need to have a cra_alignmask set for chacha20-generic.

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>
crypto/chacha20_generic.c