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 | 86c93b24ef49d64062045c4e3cc2ed4609f6842a (patch) | |
tree | 10e278a2efa93a1a2cb24ec36c01942722d65116 /crypto/Kconfig | |
parent | 4ff28d4ca93b182b8e181b1e1b1d03fd09fdaeb4 (diff) | |
download | op-kernel-dev-86c93b24ef49d64062045c4e3cc2ed4609f6842a.zip op-kernel-dev-86c93b24ef49d64062045c4e3cc2ed4609f6842a.tar.gz |
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 167c856..4782d84 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 |