crypto: mv_cesa - fix for hash finalisation with data
authorPhil Sutter <phil.sutter@viprinet.com>
Fri, 25 May 2012 13:54:49 +0000 (15:54 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 12 Jun 2012 08:46:05 +0000 (16:46 +0800)
commit4d03c5047a07a62563e1a8fa798ea258f048bfde
treea4f90fbc4c7dfb4dd3dc7f8e820b2e19c501a451
parent5741d2eeaee28b37a4711a1776f716b274f3d2e4
crypto: mv_cesa - fix for hash finalisation with data

Since mv_hash_final_fallback() uses ctx->state, read out the digest
state register before calling it.

Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mv_cesa.c