From: Kim Phillips Date: Wed, 19 May 2010 09:21:53 +0000 (+1000) Subject: crypto: talitos - add support for sha224 X-Git-Tag: v2.6.35-rc1~446^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60f208d7836216885cdcd6f77a02f31dbc66f169;p=pandora-kernel.git crypto: talitos - add support for sha224 SEC h/w versions 2.1 and above support sha224 via explicit instruction. Performing sha224 ahashes on earlier versions is still possible because they support sha256 (sha224 is sha256 with different initial constants and a different truncation length). We do this by overriding hardware context self-initialization, and perform it manually in s/w instead. Thanks to Lee for his fixes for correct execution on actual sec2.0 h/w. Signed-off-by: Kim Phillips Signed-off by: Lee Nipper Signed-off-by: Herbert Xu --- Reading git-diff-tree failed