]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit487813983bfb2b4f15e0d5ce78c293957d009538
treea4f90fbc4c7dfb4dd3dc7f8e820b2e19c501a451
parentd13dadf34bf128665b92dd8bdf415149526af0b9
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