crypto: arm64/chacha20 - refactor to allow varying number of rounds
authorEric Biggers <ebiggers@google.com>
Tue, 4 Dec 2018 03:52:51 +0000 (19:52 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Dec 2018 10:24:36 +0000 (18:24 +0800)
commit95a34b779e2a45b14e73cee1e7eec11870efb2ea
tree54f8d25b738747c0a34eebdcaf58bf959af0c4ae
parentcc7cf991e9eb54cac7733dc7d8f3a8591ba6e1c3
crypto: arm64/chacha20 - refactor to allow varying number of rounds

In preparation for adding XChaCha12 support, rename/refactor the ARM64
NEON implementation of ChaCha20 to support different numbers of rounds.

Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/Makefile
arch/arm64/crypto/chacha-neon-core.S [new file with mode: 0644]
arch/arm64/crypto/chacha-neon-glue.c [new file with mode: 0644]
arch/arm64/crypto/chacha20-neon-core.S [deleted file]
arch/arm64/crypto/chacha20-neon-glue.c [deleted file]