crypto: marvell - Don't copy hash operation twice into the SRAM
authorRomain Perier <romain.perier@free-electrons.com>
Mon, 5 Dec 2016 08:56:38 +0000 (09:56 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 7 Dec 2016 11:55:16 +0000 (19:55 +0800)
commit68c7f8c1c4e9b06e6b153fa3e9e0cda2ef5aaed8
treea89b94888d96bda068c7d45d51e3e34023ebf1e5
parent57891633eeef60e732e045731cf20e50ee80acb4
crypto: marvell - Don't copy hash operation twice into the SRAM

No need to copy the template of an hash operation twice into the SRAM
from the step function.

Fixes: commit 85030c5168f1 ("crypto: marvell - Add support for chai...")
Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/hash.c