summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-08-19 17:37:56 -0700
committerDavid S. Miller <davem@davemloft.net>2012-08-20 15:08:50 -0700
commitda55eca513c1aaf2e2c965c8ff1b872d210a2b23 (patch)
treee3d9457912249f10335e28476cb8244155463cff /crypto
parent4c27145c30c44f87a3ff47157d870e6a04b62565 (diff)
downloadlinux-crypto-da55eca513c1aaf2e2c965c8ff1b872d210a2b23.tar.gz
linux-crypto-da55eca513c1aaf2e2c965c8ff1b872d210a2b23.zip
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 '')
-rw-r--r--crypto/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 4782d840..e7ed12ab 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