From: Jonathan Lynch Date: Sat, 10 Nov 2007 12:08:25 +0000 (+0800) Subject: [CRYPTO] sha256-generic: Extend sha256_generic.c to support SHA-224 X-Git-Tag: v2.6.25-rc1~1242^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd12fb906d2591e80da9edcbd4794b9b916d7489;p=pandora-kernel.git [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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed