diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-01-09 18:23:02 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-01-18 22:52:24 +1100 |
commit | bb6c8c467bce25ccd0c485b7c3214dde6b0bcb33 (patch) | |
tree | 54ea7c0c8e2ff9f506375995bc17f122d12c5b46 /arch/arm64/crypto/Kconfig | |
parent | 5c8d850c961aa0812dfec2457418ae479eccec73 (diff) | |
download | linux-bb6c8c467bce25ccd0c485b7c3214dde6b0bcb33.tar.gz linux-bb6c8c467bce25ccd0c485b7c3214dde6b0bcb33.tar.bz2 linux-bb6c8c467bce25ccd0c485b7c3214dde6b0bcb33.zip |
crypto: arm64 - implement SHA-512 using special instructions
Implement the SHA-512 using the new special instructions that have
been introduced as an optional extension in ARMv8.2.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Steve Capper <steve.capper@arm.com>
Signed-off-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 70c517aa4501..aad288f4b9de 100644 --- a/arch/arm64/crypto/Kconfig +++ b/arch/arm64/crypto/Kconfig @@ -29,6 +29,12 @@ config CRYPTO_SHA2_ARM64_CE select CRYPTO_HASH select CRYPTO_SHA256_ARM64 +config CRYPTO_SHA512_ARM64_CE + tristate "SHA-384/SHA-512 digest algorithm (ARMv8 Crypto Extensions)" + depends on KERNEL_MODE_NEON + select CRYPTO_HASH + select CRYPTO_SHA512_ARM64 + config CRYPTO_GHASH_ARM64_CE tristate "GHASH/AES-GCM using ARMv8 Crypto Extensions" depends on KERNEL_MODE_NEON |