aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorJonathan Lynch <jonathan.lynch@intel.com>2007-11-10 07:08:25 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-10 16:16:12 -0500
commitcd12fb906d2591e80da9edcbd4794b9b916d7489 (patch)
tree312f7ff32b70a1c093fd3d45e6f2a0715008f22b /crypto/Kconfig
parentcd7c3bfe54270f41ac52be6b725a7194d99175b4 (diff)
[CRYPTO] sha256-generic: Extend sha256_generic.c to support SHA-224
Resubmitting this patch which extends sha256_generic.c to support SHA-224 as described in FIPS 180-2 and RFC 3874. HMAC-SHA-224 as described in RFC4231 is then supported through the hmac interface. Patch includes test vectors for SHA-224 and HMAC-SHA-224. SHA-224 chould be chosen as a hash algorithm when 112 bits of security strength is required. Patch generated against the 2.6.24-rc1 kernel and tested against 2.6.24-rc1-git14 which includes fix for scatter gather implementation for HMAC. Signed-off-by: Jonathan Lynch <jonathan.lynch@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index cf115b14079e..7758454b9f17 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -91,7 +91,7 @@ config CRYPTO_SHA1
91 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 91 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
92 92
93config CRYPTO_SHA256 93config CRYPTO_SHA256
94 tristate "SHA256 digest algorithm" 94 tristate "SHA224 and SHA256 digest algorithm"
95 select CRYPTO_ALGAPI 95 select CRYPTO_ALGAPI
96 help 96 help
97 SHA256 secure hash standard (DFIPS 180-2). 97 SHA256 secure hash standard (DFIPS 180-2).
@@ -99,6 +99,9 @@ config CRYPTO_SHA256
99 This version of SHA implements a 256 bit hash with 128 bits of 99 This version of SHA implements a 256 bit hash with 128 bits of
100 security against collision attacks. 100 security against collision attacks.
101 101
102 This code also includes SHA-224, a 224 bit hash with 112 bits
103 of security against collision attacks.
104
102config CRYPTO_SHA512 105config CRYPTO_SHA512
103 tristate "SHA384 and SHA512 digest algorithms" 106 tristate "SHA384 and SHA512 digest algorithms"
104 select CRYPTO_ALGAPI 107 select CRYPTO_ALGAPI