Skip to content

crypto: allwinner: various improvments

Corentin Labbe linux-arm-kernel linux-crypto linux-sunxi lkml llvm oe-kbuild-all 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8crypto: sun8i-ce: do not allocate memory when handling requestsdrivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h+29 -270 replies
2/8crypto: sun4i-ss: do not allocate backup IV on requestsdrivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h+9 -140 replies
3/8crypto: sun8i-ss: handle zero sized sgdrivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c+9 -10 replies
4/8crypto: sun8i-ss: do not allocate memory when handling hash requestsdrivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h+17 -120 replies
5/8crypto: sun8i-ss: do not zeroize all paddrivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c+4 -20 replies
6/8crypto: sun8i-ss: remove redundant testdrivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c+1 -110 replies
7/8crypto: sun8i-ss: test error before assigningdrivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c+4 -40 replies
8/8crypto: sun8i-ss: handle requests if last block is not modulo 64drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h+29 -100 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/8] crypto: allwinner: various improvments

Hello

The main topic was to remove memory allocation from requests function. Doing this on sun8i-ss, lead to some extra fixes to be found.

Regards

Corentin Labbe (8):
crypto: sun8i-ce: do not allocate memory when handling requests
crypto: sun4i-ss: do not allocate backup IV on requests
crypto: sun8i-ss: handle zero sized sg
crypto: sun8i-ss: do not allocate memory when handling hash requests
crypto: sun8i-ss: do not zeroize all pad
crypto: sun8i-ss: remove redundant test
crypto: sun8i-ss: test error before assigning
crypto: sun8i-ss: handle requests if last block is not modulo 64

 .../allwinner/sun4i-ss/sun4i-ss-cipher.c      | 22 ++---
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h  |  1 +
 .../allwinner/sun8i-ce/sun8i-ce-cipher.c      | 28 ++-----
 .../crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 20 ++++-
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h  |  8 +-
 .../crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 10 +++
 .../crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 84 ++++++++++---------
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h  |  6 ++
 8 files changed, 100 insertions(+), 79 deletions(-)
Signature · 1 line
2.34.1