diff options
author | David S. Miller <davem@davemloft.net> | 2012-08-19 20:11:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-20 18:08:49 -0400 |
commit | 86c93b24ef49d64062045c4e3cc2ed4609f6842a (patch) | |
tree | 10e278a2efa93a1a2cb24ec36c01942722d65116 /crypto | |
parent | 4ff28d4ca93b182b8e181b1e1b1d03fd09fdaeb4 (diff) |
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 167c856f906..4782d840d83 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -454,6 +454,15 @@ config CRYPTO_SHA256 | |||
454 | This code also includes SHA-224, a 224 bit hash with 112 bits | 454 | This code also includes SHA-224, a 224 bit hash with 112 bits |
455 | of security against collision attacks. | 455 | of security against collision attacks. |
456 | 456 | ||
457 | config CRYPTO_SHA256_SPARC64 | ||
458 | tristate "SHA224 and SHA256 digest algorithm (SPARC64)" | ||
459 | depends on SPARC64 | ||
460 | select CRYPTO_SHA256 | ||
461 | select CRYPTO_HASH | ||
462 | help | ||
463 | SHA-256 secure hash standard (DFIPS 180-2) implemented | ||
464 | using sparc64 crypto instructions, when available. | ||
465 | |||
457 | config CRYPTO_SHA512 | 466 | config CRYPTO_SHA512 |
458 | tristate "SHA384 and SHA512 digest algorithms" | 467 | tristate "SHA384 and SHA512 digest algorithms" |
459 | select CRYPTO_HASH | 468 | select CRYPTO_HASH |