diff options
author | David S. Miller <davem@davemloft.net> | 2012-08-20 02:11:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-21 00:08:49 +0200 |
commit | 86c93b24ef49d64062045c4e3cc2ed4609f6842a (patch) | |
tree | 10e278a2efa93a1a2cb24ec36c01942722d65116 /crypto/Kconfig | |
parent | sparc64: Add SHA1 driver making use of the 'sha1' instruction. (diff) | |
download | linux-86c93b24ef49d64062045c4e3cc2ed4609f6842a.tar.xz linux-86c93b24ef49d64062045c4e3cc2ed4609f6842a.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/Kconfig')
-rw-r--r-- | crypto/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 167c856f906d..4782d840d838 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 |