Re: [PATCH] [CRYPTO] Extend sha256_generic.c to support SHA-224 and SHA-224-HMAC

2007-11-06 Thread Sebastian Siewior
* Jonathan Lynch | 2007-11-06 18:28:00 [+]: >SHA-224 should be chosen as a hash algorithm when 112 bits of security >strength is required. Who uses such an algorithm (in terms of application)? >diff -uprN -X linux-2.6.24-rc1-vanilla/Documentation/dontdiff >linux-2.6.24-rc1-vanilla/crypto/tc

[PATCH] [CRYPTO] Extend sha256_generic.c to support SHA-224 and SHA-224-HMAC

2007-11-06 Thread Jonathan Lynch
This patch 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. SHA-224 should be chosen as a hash algorithm when 112 bits of security strength is required. Patch includes test vect