diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-03-10 04:47:45 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-12 06:13:35 -0400 |
commit | 864cbeed4ab22de8c4d9a49101e9fd63c6f7fda2 (patch) | |
tree | ed5d371a21bfe5dc27fcab6e562a19be6af12880 /arch/arm/crypto/Kconfig | |
parent | 652ccae5cc4e1305fb0a4619947f9ee89d8c7f5a (diff) |
crypto: arm - add support for SHA1 using ARMv8 Crypto Instructions
This implements the SHA1 secure hash algorithm using the AArch32
versions of the ARMv8 Crypto Extensions for SHA1.
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/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/crypto/Kconfig b/arch/arm/crypto/Kconfig index 66fe82857e99..d7bc10beb8ac 100644 --- a/arch/arm/crypto/Kconfig +++ b/arch/arm/crypto/Kconfig | |||
@@ -27,6 +27,16 @@ config CRYPTO_SHA1_ARM_NEON | |||
27 | using optimized ARM NEON assembly, when NEON instructions are | 27 | using optimized ARM NEON assembly, when NEON instructions are |
28 | available. | 28 | available. |
29 | 29 | ||
30 | config CRYPTO_SHA1_ARM_CE | ||
31 | tristate "SHA1 digest algorithm (ARM v8 Crypto Extensions)" | ||
32 | depends on KERNEL_MODE_NEON | ||
33 | select CRYPTO_SHA1_ARM | ||
34 | select CRYPTO_SHA1 | ||
35 | select CRYPTO_HASH | ||
36 | help | ||
37 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | ||
38 | using special ARMv8 Crypto Extensions. | ||
39 | |||
30 | config CRYPTO_SHA512_ARM_NEON | 40 | config CRYPTO_SHA512_ARM_NEON |
31 | tristate "SHA384 and SHA512 digest algorithm (ARM NEON)" | 41 | tristate "SHA384 and SHA512 digest algorithm (ARM NEON)" |
32 | depends on KERNEL_MODE_NEON | 42 | depends on KERNEL_MODE_NEON |