summaryrefslogtreecommitdiff
path: root/lib/percpu_test.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2019-11-08 15:22:11 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-11-17 04:02:39 +0300
commitc77da4867cbb7841177275dbb250f5c09679fae4 (patch)
treee59de78149e43a8331b72ec093f16f1e194c602e /lib/percpu_test.c
parent84e03fa39fbe95a5567d43bff458c6d3b3a23ad1 (diff)
downloadlinux-c77da4867cbb7841177275dbb250f5c09679fae4.tar.xz
crypto: arm64/chacha - depend on generic chacha library instead of crypto driver
Depend on the generic ChaCha library routines instead of pulling in the generic ChaCha skcipher driver, which is more than we need, and makes managing the dependencies between the generic library, generic driver, accelerated library and driver more complicated. While at it, drop the logic to prefer the scalar code on short inputs. Turning the NEON on and off is cheap these days, and one major use case for ChaCha20 is ChaCha20-Poly1305, which is guaranteed to hit the scalar path upon every invocation (when doing the Poly1305 nonce generation) Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/percpu_test.c')
0 files changed, 0 insertions, 0 deletions