[PATCH 00/19] crypto: allwinner: lots of fixes

Corentin Labbe
2022-03-17T20:56:18Z

Hello

This series is all fixes which I found on allwinner crypto drivers.

Regards

Corentin Labbe (19):
crypto: sun8i-ce: Fix minor style issue
crypto: sun8i-ce: do not allocate memory when handling requests
crypto: sun4i-ss: do not allocate backup IV on requests
crypto: sun8i-ss: rework handling of IV
crypto: sun8i-ss: handle zero sized sg
crypto: sun8i-ss: remove redundant test
crypto: sun8i-ss: test error before assigning
crypto: sun8i-ss: use sg_nents_for_len
crypto: sun8i-ss: do not allocate memory when handling hash requests
crypto: sun8i-ss: do not zeroize all pad
crypto: sun8i-ss: handle requests if last block is not modulo 64
crypto: sun8i-ss: rework debugging
crypto: sun8i-ss: Add function for handling hash padding
crypto: sun8i-ss: add hmac(sha1)
crypto: sun8i-ss: do not fallback if cryptlen is less than sg length
crypto: sun8i-ce: Add function for handling hash padding
crypto: sun8i-ce: use sg_nents_for_len
crypto: sun8i-ce: rework debugging
crypto: sun8i-ce: do not fallback if cryptlen is less than sg length

.../allwinner/sun4i-ss/sun4i-ss-cipher.c | 22 +-
drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h | 1 +
.../allwinner/sun8i-ce/sun8i-ce-cipher.c | 102 +++--
.../crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 54 ++-
.../crypto/allwinner/sun8i-ce/sun8i-ce-hash.c | 130 ++++--
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 19 +-
.../allwinner/sun8i-ss/sun8i-ss-cipher.c | 180 +++++---
.../crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 92 ++++-
.../crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 385 +++++++++++++++---
drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h | 33 +-
10 files changed, 767 insertions(+), 251 deletions(-)

--
2.34.1