]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: arm64/chacha20 - take may_use_simd() into account
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 24 Jul 2017 10:28:14 +0000 (11:28 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Aug 2017 01:27:22 +0000 (09:27 +0800)
commit611d5324f488b82ef224ab493f1ed5fb2af6f003
treead249afec60f0407b096c6278367c3aca3426ab8
parente211506979e205e5a00b0a9d321fb3cbb44ee9ea
crypto: arm64/chacha20 - take may_use_simd() into account

To accommodate systems that disallow the use of kernel mode NEON in
some circumstances, take the return value of may_use_simd into
account when deciding whether to invoke the C fallback routine.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/chacha20-neon-glue.c