diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-03-26 20:53:05 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-05-14 10:04:07 -0700 |
commit | fdd2389457b209a9723c3be818fcf301f35db906 (patch) | |
tree | 086cdabe6082cf998ef5ca07fb9235ad04c1d8d6 /arch/arm64/crypto/Kconfig | |
parent | 6ba6c74dfc6bcf43312ef572592f7d4ebb3aedfa (diff) | |
download | lwn-fdd2389457b209a9723c3be818fcf301f35db906.tar.gz lwn-fdd2389457b209a9723c3be818fcf301f35db906.zip |
arm64/crypto: GHASH secure hash using ARMv8 Crypto Extensions
This is a port to ARMv8 (Crypto Extensions) of the Intel implementation of the
GHASH Secure Hash (used in the Galois/Counter chaining mode). It relies on the
optional PMULL/PMULL2 instruction (polynomial multiply long, what Intel call
carry-less multiply).
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/crypto/Kconfig')
-rw-r--r-- | arch/arm64/crypto/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/crypto/Kconfig b/arch/arm64/crypto/Kconfig index eb1e99770c21..0c50859ee7b9 100644 --- a/arch/arm64/crypto/Kconfig +++ b/arch/arm64/crypto/Kconfig @@ -18,4 +18,10 @@ config CRYPTO_SHA2_ARM64_CE depends on ARM64 && KERNEL_MODE_NEON select CRYPTO_HASH + +config CRYPTO_GHASH_ARM64_CE + tristate "GHASH (for GCM chaining mode) using ARMv8 Crypto Extensions" + depends on ARM64 && KERNEL_MODE_NEON + select CRYPTO_HASH + endif |