From: Phil Sutter Date: Thu, 5 May 2011 13:29:04 +0000 (+0200) Subject: crypto: mv_cesa - move digest state initialisation to a better place X-Git-Tag: v3.0-rc1~371^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8652348754a1f538daa1eab248e5c9c4c3600204;p=pandora-kernel.git crypto: mv_cesa - move digest state initialisation to a better place On one hand, the digest state registers need to be set only when actually using the crypto engine. On the other hand, there is a check for ctx->first_hash in mv_process_hash_current() already, so use that. Signed-off-by: Phil Sutter Signed-off-by: Herbert Xu --- Reading git-diff-tree failed