aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/crypto/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-03-10 04:47:48 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2015-03-12 06:13:36 -0400
commitf1e866b10676faf8b9092cb821a9ac8acf31dbd8 (patch)
treebd2c9bd2e28e0ba1449a6a8b46fa779b34e87e18 /arch/arm/crypto/Kconfig
parent86464859cc77ecfd989ad5c912bef167b1128b0b (diff)
crypto: arm - add support for GHASH using ARMv8 Crypto Extensions
This implements the GHASH hash algorithm (as used by the GCM AEAD chaining mode) using the AArch32 version of the 64x64 to 128 bit polynomial multiplication instruction (vmull.p64) that is part of the ARMv8 Crypto Extensions. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm/crypto/Kconfig')
-rw-r--r--arch/arm/crypto/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/crypto/Kconfig b/arch/arm/crypto/Kconfig
index 63588bdf3b5d..d63f319924d2 100644
--- a/arch/arm/crypto/Kconfig
+++ b/arch/arm/crypto/Kconfig
@@ -110,4 +110,14 @@ config CRYPTO_AES_ARM_CE
110 Use an implementation of AES in CBC, CTR and XTS modes that uses 110 Use an implementation of AES in CBC, CTR and XTS modes that uses
111 ARMv8 Crypto Extensions 111 ARMv8 Crypto Extensions
112 112
113config CRYPTO_GHASH_ARM_CE
114 tristate "PMULL-accelerated GHASH using ARMv8 Crypto Extensions"
115 depends on KERNEL_MODE_NEON
116 select CRYPTO_HASH
117 select CRYPTO_CRYPTD
118 help
119 Use an implementation of GHASH (used by the GCM AEAD chaining mode)
120 that uses the 64x64 to 128 bit polynomial multiplication (vmull.p64)
121 that is part of the ARMv8 Crypto Extensions
122
113endif 123endif