Skip to content

crypto: sun4i-ss: Fix problem reported by CONFIG_CRYPTO_EXTRA_TESTS

Corentin Labbe linux-arm-kernel linux-crypto lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4crypto: sun4i-ss: Handle better absence/presence of IVdrivers/crypto/sunxi-ss/sun4i-ss-cipher.c+0 -100 replies
2/4crypto: sun4i-ss: remove ivsize from ECBdrivers/crypto/sunxi-ss/sun4i-ss-core.c+0 -20 replies
3/4crypto: sun4i-ss: Fix invalid calculation of hash enddrivers/crypto/sunxi-ss/sun4i-ss-hash.c+4 -10 replies
4/4crypto: sun4i-ss: fallback when length is not multiple of blocksizedrivers/crypto/sunxi-ss/sun4i-ss-cipher.c drivers/crypto/sunxi-ss/sun4i-ss-core.c drivers/crypto/sunxi-ss/sun4i-ss.h+67 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] crypto: sun4i-ss: Fix problem reported by CONFIG_CRYPTO_EXTRA_TESTS

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(-)
Signature · 1 line
2.21.0