]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arm/chacha - remove dependency on generic ChaCha driver
authorArd Biesheuvel <ardb@kernel.org>
Fri, 8 Nov 2019 12:22:14 +0000 (13:22 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 17 Nov 2019 01:02:40 +0000 (09:02 +0800)
commit5e5624551e7b9ae94b599cf0b3ba25adf8e532d9
tree28964932a4baebfbdb1f8bfc741fedfb371a41b7
parent9fb47b01a9198203fcae6c00e98be367490dad0c
crypto: arm/chacha - remove dependency on generic ChaCha driver

Instead of falling back to the generic ChaCha skcipher driver for
non-SIMD cases, use a fast scalar implementation for ARM authored
by Eric Biggers. This removes the module dependency on chacha-generic
altogether, which also simplifies things when we expose the ChaCha
library interface from this module.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/Kconfig
arch/arm/crypto/Makefile
arch/arm/crypto/chacha-glue.c [new file with mode: 0644]
arch/arm/crypto/chacha-neon-glue.c [deleted file]
arch/arm/crypto/chacha-scalar-core.S
arch/arm64/crypto/chacha-neon-glue.c