mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
sun4i-ss implementaton of md5/sha1 is via ahash algorithms. Commit8996eafdcb("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") Cc: <[email protected]> # v4.3+ Tested-by: Chen-Yu Tsai <[email protected]> Signed-off-by: LABBE Corentin <[email protected]> Signed-off-by: Herbert Xu <[email protected]>