diff options
author | Phil Sutter <phil.sutter@viprinet.com> | 2011-05-05 15:29:04 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-05-11 15:06:20 +1000 |
commit | 8652348754a1f538daa1eab248e5c9c4c3600204 (patch) | |
tree | 9812a8205990fe5ec13f8d84d7db7fd81589e53d /lib/ratelimit.c | |
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>
Diffstat (limited to 'lib/ratelimit.c')
0 files changed, 0 insertions, 0 deletions