diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-03-06 03:23:33 -0500 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-05-14 13:03:17 -0400 |
commit | 2c98833a42cd194ba0f537cd21917e15e5593715 (patch) | |
tree | 922ba503863ae2e6f8908b3c2b749ee086fcc824 /arch/arm64/crypto/Kconfig | |
parent | 190f1ca85d071114930dd7abe6b5d103e9d5572f (diff) |
arm64/crypto: SHA-1 using ARMv8 Crypto Extensions
This patch adds support for the SHA-1 Secure Hash Algorithm for CPUs that
have support for the SHA-1 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 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm64/crypto/Kconfig b/arch/arm64/crypto/Kconfig new file mode 100644 index 000000000000..7956881b5986 --- /dev/null +++ b/arch/arm64/crypto/Kconfig | |||
@@ -0,0 +1,16 @@ | |||
1 | |||
2 | menuconfig ARM64_CRYPTO | ||
3 | bool "ARM64 Accelerated Cryptographic Algorithms" | ||
4 | depends on ARM64 | ||
5 | help | ||
6 | Say Y here to choose from a selection of cryptographic algorithms | ||
7 | implemented using ARM64 specific CPU features or instructions. | ||
8 | |||
9 | if ARM64_CRYPTO | ||
10 | |||
11 | config CRYPTO_SHA1_ARM64_CE | ||
12 | tristate "SHA-1 digest algorithm (ARMv8 Crypto Extensions)" | ||
13 | depends on ARM64 && KERNEL_MODE_NEON | ||
14 | select CRYPTO_HASH | ||
15 | |||
16 | endif | ||