diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-03-20 15:35:40 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-05-14 10:04:01 -0700 |
commit | 6ba6c74dfc6bcf43312ef572592f7d4ebb3aedfa (patch) | |
tree | ac3adf772f009e3604b746232ccddd3983a68ac9 /arch/arm64/crypto/Kconfig | |
parent | 2c98833a42cd194ba0f537cd21917e15e5593715 (diff) | |
download | linux-6ba6c74dfc6bcf43312ef572592f7d4ebb3aedfa.tar.gz linux-6ba6c74dfc6bcf43312ef572592f7d4ebb3aedfa.tar.bz2 linux-6ba6c74dfc6bcf43312ef572592f7d4ebb3aedfa.zip |
arm64/crypto: SHA-224/SHA-256 using ARMv8 Crypto Extensions
This patch adds support for the SHA-224 and SHA-256 Secure Hash Algorithms
for CPUs that have support for the SHA-2 part of the ARM v8 Crypto Extensions.
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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/crypto/Kconfig b/arch/arm64/crypto/Kconfig index 7956881b5986..eb1e99770c21 100644 --- a/arch/arm64/crypto/Kconfig +++ b/arch/arm64/crypto/Kconfig @@ -13,4 +13,9 @@ config CRYPTO_SHA1_ARM64_CE depends on ARM64 && KERNEL_MODE_NEON select CRYPTO_HASH +config CRYPTO_SHA2_ARM64_CE + tristate "SHA-224/SHA-256 digest algorithm (ARMv8 Crypto Extensions)" + depends on ARM64 && KERNEL_MODE_NEON + select CRYPTO_HASH + endif |