crypto: arm64/sha2-ce - add non-SIMD scalar fallback
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 24 Jul 2017 10:28:09 +0000 (11:28 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Aug 2017 01:27:19 +0000 (09:27 +0800)
commitda1793312f7693787e0ed22aa121261c3e0e15c0
treedd359dd4c86b1ea24fcc5e0e985cf5f0e5450f0b
parent0771f3234db67732a49777a5fceaed6f7b4b488d
crypto: arm64/sha2-ce - add non-SIMD scalar fallback

The arm64 kernel will shortly disallow nested kernel mode NEON, so
add a fallback to scalar code that can be invoked in that case.

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