diff options
author | David S. Miller <davem@davemloft.net> | 2012-08-19 17:37:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-20 15:08:50 -0700 |
commit | 775e0c69987a76d08900edbca857425f952c60fb (patch) | |
tree | c9a15d3e03685fb4c9eea416b1e55a29f5266308 /crypto | |
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')
-rw-r--r-- | crypto/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 4782d840d83..e7ed12abc87 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -475,6 +475,15 @@ config CRYPTO_SHA512 This code also includes SHA-384, a 384 bit hash with 192 bits of security against collision attacks. +config CRYPTO_SHA512_SPARC64 + tristate "SHA384 and SHA512 digest algorithm (SPARC64)" + depends on SPARC64 + select CRYPTO_SHA512 + select CRYPTO_HASH + help + SHA-512 secure hash standard (DFIPS 180-2) implemented + using sparc64 crypto instructions, when available. + config CRYPTO_TGR192 tristate "Tiger digest algorithms" select CRYPTO_HASH |