linux/drivers/crypto/sunxi-ss
LABBE Corentin 6abc65624a crypto: sun4i-ss - add missing statesize
commit 4f9ea86604 upstream.

sun4i-ss implementaton of md5/sha1 is via ahash algorithms.
Commit 8996eafdcb ("crypto: ahash - ensure statesize is non-zero")
made impossible to load them without giving statesize. This patch
specifiy statesize for sha1 and md5.

Fixes: 6298e94821 ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator")
Tested-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2016-02-17 12:30:55 -08:00
..
Makefile crypto: sunxi-ss - Add Allwinner Security System crypto accelerator 2015-07-20 15:54:08 +08:00
sun4i-ss-cipher.c crypto: sunxi-ss - Fix a possible driver hang with ciphers 2015-09-10 17:22:55 +08:00
sun4i-ss-core.c crypto: sun4i-ss - add missing statesize 2016-02-17 12:30:55 -08:00
sun4i-ss-hash.c crypto: sunxi-ss - Add Allwinner Security System crypto accelerator 2015-07-20 15:54:08 +08:00
sun4i-ss.h crypto: sunxi-ss - Add optional reset control support 2015-08-13 15:13:23 +08:00