Hello Loading sun4i-ss with CONFIG_CRYPTO_EXTRA_TESTS, lead to hung tasks. This patchset fix the two deadlock (one in hash, one in cipher) found. This patchset fix also some invalid IV handling found while debugging thoses issues. Regards Corentin Labbe (4): crypto: sun4i-ss: Handle better absence/presence of IV crypto: sun4i-ss: remove ivsize from ECB crypto: sun4i-ss: Fix invalid calculation of hash end crypto: sun4i-ss: fallback when length is not multiple of blocksize drivers/crypto/sunxi-ss/sun4i-ss-cipher.c | 67 ++++++++++++++++++----- drivers/crypto/sunxi-ss/sun4i-ss-core.c | 19 ++++--- drivers/crypto/sunxi-ss/sun4i-ss-hash.c | 5 +- drivers/crypto/sunxi-ss/sun4i-ss.h | 2 + 4 files changed, 71 insertions(+), 22 deletions(-) -- 2.21.0