diff options
author | Jonathan Lynch <jonathan.lynch@intel.com> | 2007-11-10 20:08:25 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-11 08:16:12 +1100 |
commit | b8803214ef1c505b448dce93679c6a01b2ed66f6 (patch) | |
tree | d8b1e557bfad7bef6b1d76573dc211b040b891bf /crypto/des_generic.c | |
parent | 608aa58f3732b46b0dbcf043f33bb3a9b0711d80 (diff) | |
download | linux-crypto-b8803214ef1c505b448dce93679c6a01b2ed66f6.tar.gz linux-crypto-b8803214ef1c505b448dce93679c6a01b2ed66f6.zip |
[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/des_generic.c')
0 files changed, 0 insertions, 0 deletions