commit | 8652348754a1f538daa1eab248e5c9c4c3600204 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil.sutter@viprinet.com> | Thu May 05 15:29:04 2011 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed May 11 15:06:20 2011 +1000 |
tree | 9812a8205990fe5ec13f8d84d7db7fd81589e53d | |
parent | cc8d35057ce7ae2f88cc65be0f839316c4641332 [diff] |
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 <phil.sutter@viprinet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>