Messages in this thread | | | From | Corentin Labbe <> | Subject | [PATCH 0/4] crypto: sun4i-ss: Fix problem reported by CONFIG_CRYPTO_EXTRA_TESTS | Date | Thu, 18 Apr 2019 10:17:31 +0200 |
| |
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
| |