Skip to content

crypto: nx - convert to skcipher API

Eric Biggers linux-crypto linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4crypto: nx - don't abuse blkcipher_desc to pass iv arounddrivers/crypto/nx/nx-aes-cbc.c drivers/crypto/nx/nx-aes-ccm.c drivers/crypto/nx/nx-aes-ctr.c +4 more+43 -571 reply
2/4crypto: nx - convert AES-ECB to skcipher APIdrivers/crypto/nx/nx-aes-ecb.c drivers/crypto/nx/nx.c drivers/crypto/nx/nx.h+58 -511 reply
3/4crypto: nx - convert AES-CBC to skcipher APIdrivers/crypto/nx/nx-aes-cbc.c drivers/crypto/nx/nx.c drivers/crypto/nx/nx.h+41 -521 reply
4/4crypto: nx - convert AES-CTR to skcipher APIdrivers/crypto/nx/nx-aes-ctr.c drivers/crypto/nx/nx.c drivers/crypto/nx/nx.h+46 -671 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchArd Biesheuvel
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] crypto: nx - convert to skcipher API

This series converts the PowerPC Nest (NX) implementations of AES modes from the deprecated "blkcipher" API to the "skcipher" API. This is needed in order for the blkcipher API to be removed.

This patchset is compile-tested only, as I don't have this hardware. If anyone has this hardware, please test this patchset with CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y.

Eric Biggers (4):
crypto: nx - don't abuse blkcipher_desc to pass iv around
crypto: nx - convert AES-ECB to skcipher API
crypto: nx - convert AES-CBC to skcipher API
crypto: nx - convert AES-CTR to skcipher API

 drivers/crypto/nx/nx-aes-cbc.c | 81 ++++++++++++++-----------------
 drivers/crypto/nx/nx-aes-ccm.c | 40 ++++++----------
 drivers/crypto/nx/nx-aes-ctr.c | 87 +++++++++++++++-------------------
 drivers/crypto/nx/nx-aes-ecb.c | 76 +++++++++++++----------------
 drivers/crypto/nx/nx-aes-gcm.c | 24 ++++------
 drivers/crypto/nx/nx.c         | 64 ++++++++++++++-----------
 drivers/crypto/nx/nx.h         | 19 ++++----
 7 files changed, 176 insertions(+), 215 deletions(-)
Signature · 1 line
2.23.0