summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-08-19 15:41:53 -0700
committerDavid S. Miller <davem@davemloft.net>2012-08-20 15:08:49 -0700
commit2f92d300f57958422a9e9cc082481e6557ea564c (patch)
treed3986941aae48cba0d93658d9b531181dc97eefe /crypto
parent39c69fd2df9dab1f666478e1ecce15744cf02a3e (diff)
downloadlinux-crypto-2f92d300f57958422a9e9cc082481e6557ea564c.tar.gz
linux-crypto-2f92d300f57958422a9e9cc082481e6557ea564c.zip
sparc64: Add SHA1 driver making use of the 'sha1' 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/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index a3238051..167c856f 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -433,6 +433,15 @@ config CRYPTO_SHA1_SSSE3
using Supplemental SSE3 (SSSE3) instructions or Advanced Vector
Extensions (AVX), when available.
+config CRYPTO_SHA1_SPARC64
+ tristate "SHA1 digest algorithm (SPARC64)"
+ depends on SPARC64
+ select CRYPTO_SHA1
+ select CRYPTO_HASH
+ help
+ SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
+ using sparc64 crypto instructions, when available.
+
config CRYPTO_SHA256
tristate "SHA224 and SHA256 digest algorithm"
select CRYPTO_HASH