diff options
author | David S. Miller <davem@davemloft.net> | 2012-08-19 20:37:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-20 18:08:50 -0400 |
commit | 775e0c69987a76d08900edbca857425f952c60fb (patch) | |
tree | c9a15d3e03685fb4c9eea416b1e55a29f5266308 /crypto/Kconfig | |
parent | 86c93b24ef49d64062045c4e3cc2ed4609f6842a (diff) |
sparc64: Add SHA384/SHA512 driver making use of the 'sha512' 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 4782d840d838..e7ed12abc875 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -475,6 +475,15 @@ config CRYPTO_SHA512 | |||
475 | This code also includes SHA-384, a 384 bit hash with 192 bits | 475 | This code also includes SHA-384, a 384 bit hash with 192 bits |
476 | of security against collision attacks. | 476 | of security against collision attacks. |
477 | 477 | ||
478 | config CRYPTO_SHA512_SPARC64 | ||
479 | tristate "SHA384 and SHA512 digest algorithm (SPARC64)" | ||
480 | depends on SPARC64 | ||
481 | select CRYPTO_SHA512 | ||
482 | select CRYPTO_HASH | ||
483 | help | ||
484 | SHA-512 secure hash standard (DFIPS 180-2) implemented | ||
485 | using sparc64 crypto instructions, when available. | ||
486 | |||
478 | config CRYPTO_TGR192 | 487 | config CRYPTO_TGR192 |
479 | tristate "Tiger digest algorithms" | 488 | tristate "Tiger digest algorithms" |
480 | select CRYPTO_HASH | 489 | select CRYPTO_HASH |