diff options
author | David S. Miller <davem@davemloft.net> | 2012-08-19 17:11:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-20 15:08:49 -0700 |
commit | 4c27145c30c44f87a3ff47157d870e6a04b62565 (patch) | |
tree | dddca9af23c7cd583733079e5d775f936c84cef9 /crypto | |
parent | 2f92d300f57958422a9e9cc082481e6557ea564c (diff) | |
download | linux-crypto-4c27145c30c44f87a3ff47157d870e6a04b62565.tar.gz linux-crypto-4c27145c30c44f87a3ff47157d870e6a04b62565.zip |
sparc64: Add SHA224/SHA256 driver making use of the 'sha256' instruction.
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 167c856f..4782d840 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -454,6 +454,15 @@ config CRYPTO_SHA256 This code also includes SHA-224, a 224 bit hash with 112 bits of security against collision attacks. +config CRYPTO_SHA256_SPARC64 + tristate "SHA224 and SHA256 digest algorithm (SPARC64)" + depends on SPARC64 + select CRYPTO_SHA256 + select CRYPTO_HASH + help + SHA-256 secure hash standard (DFIPS 180-2) implemented + using sparc64 crypto instructions, when available. + config CRYPTO_SHA512 tristate "SHA384 and SHA512 digest algorithms" select CRYPTO_HASH |