aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/crypto/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2014-03-20 15:35:40 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2014-05-14 10:04:01 -0700
commit6ba6c74dfc6bcf43312ef572592f7d4ebb3aedfa (patch)
treeac3adf772f009e3604b746232ccddd3983a68ac9 /arch/arm64/crypto/Kconfig
parentarm64/crypto: SHA-1 using ARMv8 Crypto Extensions (diff)
downloadlinux-dev-6ba6c74dfc6bcf43312ef572592f7d4ebb3aedfa.tar.xz
linux-dev-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/Kconfig5
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