summaryrefslogtreecommitdiff
path: root/arch/arm64/crypto/aes-cipher-glue.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2019-07-02 22:41:36 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-07-26 07:58:09 +0300
commit4d3f9d89c745ea5494ea23e545385af1b6f81363 (patch)
treec9c9599310f3f6976d154d162a67dc3e09da8089 /arch/arm64/crypto/aes-cipher-glue.c
parentff6f4115cb953c5be8d7a76b2ec1877df2f4c2c0 (diff)
downloadlinux-4d3f9d89c745ea5494ea23e545385af1b6f81363.tar.xz
crypto: arm64/aes-ce-cipher - use AES library as fallback
Instead of calling into the table based scalar AES code in situations where the SIMD unit may not be used, use the generic AES code, which is more appropriate since it is less likely to be susceptible to timing attacks. 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/aes-cipher-glue.c')
-rw-r--r--arch/arm64/crypto/aes-cipher-glue.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm64/crypto/aes-cipher-glue.c b/arch/arm64/crypto/aes-cipher-glue.c
index cc7a6dad7c2e..8caf6dfefce8 100644
--- a/arch/arm64/crypto/aes-cipher-glue.c
+++ b/arch/arm64/crypto/aes-cipher-glue.c
@@ -10,10 +10,7 @@
#include <linux/module.h>
asmlinkage void __aes_arm64_encrypt(u32 *rk, u8 *out, const u8 *in, int rounds);
-EXPORT_SYMBOL(__aes_arm64_encrypt);
-
asmlinkage void __aes_arm64_decrypt(u32 *rk, u8 *out, const u8 *in, int rounds);
-EXPORT_SYMBOL(__aes_arm64_decrypt);
static void aes_arm64_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in)
{