aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-08-19 18:41:53 -0400
committerDavid S. Miller <davem@davemloft.net>2012-08-20 18:08:49 -0400
commit4ff28d4ca93b182b8e181b1e1b1d03fd09fdaeb4 (patch)
tree8835512dee7ae0e845b8ee2c1f42894b2d5f9a79 /crypto
parentbab96bda4431602213deb53723d13f73f5308a20 (diff)
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 a3238051b03e..167c856f906d 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -433,6 +433,15 @@ config CRYPTO_SHA1_SSSE3
433 using Supplemental SSE3 (SSSE3) instructions or Advanced Vector 433 using Supplemental SSE3 (SSSE3) instructions or Advanced Vector
434 Extensions (AVX), when available. 434 Extensions (AVX), when available.
435 435
436config CRYPTO_SHA1_SPARC64
437 tristate "SHA1 digest algorithm (SPARC64)"
438 depends on SPARC64
439 select CRYPTO_SHA1
440 select CRYPTO_HASH
441 help
442 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
443 using sparc64 crypto instructions, when available.
444
436config CRYPTO_SHA256 445config CRYPTO_SHA256
437 tristate "SHA224 and SHA256 digest algorithm" 446 tristate "SHA224 and SHA256 digest algorithm"
438 select CRYPTO_HASH 447 select CRYPTO_HASH