summaryrefslogtreecommitdiffstats
path: root/arch/arm64/crypto/sha256-glue.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-07-24 12:28:09 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-08-04 03:27:19 +0200
commitda1793312f7693787e0ed22aa121261c3e0e15c0 (patch)
treedd359dd4c86b1ea24fcc5e0e985cf5f0e5450f0b /arch/arm64/crypto/sha256-glue.c
parentcrypto: arm64/sha1-ce - add non-SIMD generic fallback (diff)
downloadlinux-da1793312f7693787e0ed22aa121261c3e0e15c0.tar.xz
linux-da1793312f7693787e0ed22aa121261c3e0e15c0.zip
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>
Diffstat (limited to 'arch/arm64/crypto/sha256-glue.c')
-rw-r--r--arch/arm64/crypto/sha256-glue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/crypto/sha256-glue.c b/arch/arm64/crypto/sha256-glue.c
index a2226f841960..b064d925fe2a 100644
--- a/arch/arm64/crypto/sha256-glue.c
+++ b/arch/arm64/crypto/sha256-glue.c
@@ -29,6 +29,7 @@ MODULE_ALIAS_CRYPTO("sha256");
asmlinkage void sha256_block_data_order(u32 *digest, const void *data,
unsigned int num_blks);
+EXPORT_SYMBOL(sha256_block_data_order);
asmlinkage void sha256_block_neon(u32 *digest, const void *data,
unsigned int num_blks);