[lkml]   [2019]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/4] crypto: sun4i-ss: Fix problem reported by CONFIG_CRYPTO_EXTRA_TESTS

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.


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(-)


 \ /
  Last update: 2019-04-18 10:18    [W:0.047 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site