[PATCH 1/2] [v3] crypto: sha1/ARM: make use of common SHA-1 structures

Phil Sutter phil at nwl.cc
Tue Jul 1 08:29:39 PDT 2014


Hi,

On Mon, Jun 30, 2014 at 07:38:46PM +0300, Jussi Kivilinna wrote:
> Common SHA-1 structures are defined in <crypto/sha.h> for code sharing.
> 
> This patch changes SHA-1/ARM glue code to use these structures.

I find it worth noting that this patch also fixes mv_cesa if sha1-arm is
also enabled. This is because software SHA1 is used as fallback,
accessing the context's data which was layed out differently before this
patch.

I have not checked, but other crypto engine drivers might be affected by
that, as well.

> Acked-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>

Acked-by: Phil Sutter <phil at nwl.cc>

Best wishes, Phil



More information about the linux-arm-kernel mailing list