Re: [PATCH] crypto: sun4i-ss: add missing statesize

From: Herbert Xu
Date: Mon Nov 09 2015 - 02:38:27 EST


On Mon, Nov 09, 2015 at 08:27:06AM +0100, LABBE Corentin wrote:
> sun4i-ss implementaton of md5/sha1 is via ahash algorithms.
> A recent change make impossible to load them without giving statesize.
> This patch specifiy statesize for sha1 and md5.
>
> Fixes: 8996eafdcbad ("crypto: ahash - ensure statesize is non-zero")

Nack. As I said this commit is absolutely correct and if you really
have to slap on a fixes header then make it the original changeset
that added the driver. It's the driver that's broken, not the API.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/