diff options
author | Jan Glauber <jan.glauber@de.ibm.com> | 2006-01-06 03:19:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:50 -0500 |
commit | 0a497c17fee428604e06320272ff74415eacdc31 (patch) | |
tree | b7ebb455fc908489a783a32f6171a3c36ccdcc4f /crypto | |
parent | c1e26e1ef7ab50f30e5fbf004fe96ed44321ca78 (diff) |
[PATCH] s390: sha256 support
Add support for the hardware accelerated sha256 crypto algorithm.
Signed-off-by: Jan Glauber <jan.glauber@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 85af57100923..9fdab742b10f 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -44,6 +44,7 @@ config CRYPTO_SHA1_S390 | |||
44 | tristate "SHA1 digest algorithm (s390)" | 44 | tristate "SHA1 digest algorithm (s390)" |
45 | depends on CRYPTO && ARCH_S390 | 45 | depends on CRYPTO && ARCH_S390 |
46 | help | 46 | help |
47 | This is the s390 hardware accelerated implementation of the | ||
47 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). | 48 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). |
48 | 49 | ||
49 | config CRYPTO_SHA256 | 50 | config CRYPTO_SHA256 |
@@ -55,6 +56,16 @@ config CRYPTO_SHA256 | |||
55 | This version of SHA implements a 256 bit hash with 128 bits of | 56 | This version of SHA implements a 256 bit hash with 128 bits of |
56 | security against collision attacks. | 57 | security against collision attacks. |
57 | 58 | ||
59 | config CRYPTO_SHA256_S390 | ||
60 | tristate "SHA256 digest algorithm (s390)" | ||
61 | depends on CRYPTO && ARCH_S390 | ||
62 | help | ||
63 | This is the s390 hardware accelerated implementation of the | ||
64 | SHA256 secure hash standard (DFIPS 180-2). | ||
65 | |||
66 | This version of SHA implements a 256 bit hash with 128 bits of | ||
67 | security against collision attacks. | ||
68 | |||
58 | config CRYPTO_SHA512 | 69 | config CRYPTO_SHA512 |
59 | tristate "SHA384 and SHA512 digest algorithms" | 70 | tristate "SHA384 and SHA512 digest algorithms" |
60 | depends on CRYPTO | 71 | depends on CRYPTO |