crypto: s390 - convert to skcipher API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | crypto: s390/aes - convert to skcipher APIarch/ | +234 | 1 reply | |
| 2/3 | crypto: s390/paes - convert to skcipher APIarch/ | +174 | 3 replies | |
| 3/3 | crypto: s390/des - convert to skcipher APIarch/ | +172 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ard Biesheuvel | Harald Freudenberger |
|---|---|---|
| Series | R-b | |
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFT PATCH 0/3] crypto: s390 - convert to skcipher API
This series converts the glue code for the S390 CPACF implementations of AES, DES, and 3DES modes from the deprecated "blkcipher" API to the "skcipher" API. This is needed in order for the blkcipher API to be removed.
I've compiled this patchset, and the conversion is very similar to that which has been done for many other crypto drivers. But I don't have the hardware to test it, nor is S390 CPACF supported by QEMU. So I really need someone with the hardware to test it. You can do so by setting:
CONFIG_CRYPTO_HW=yCONFIG_ZCRYPT=yCONFIG_PKEY=yCONFIG_CRYPTO_AES_S390=yCONFIG_CRYPTO_PAES_S390=yCONFIG_CRYPTO_DES_S390=y
# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not setCONFIG_DEBUG_KERNEL=yCONFIG_CRYPTO_MANAGER_EXTRA_TESTS=yCONFIG_CRYPTO_AES=yCONFIG_CRYPTO_DES=yCONFIG_CRYPTO_CBC=yCONFIG_CRYPTO_CTR=yCONFIG_CRYPTO_ECB=yCONFIG_CRYPTO_XTS=y
Then boot and check for crypto self-test failures by running 'dmesg | grep alg'.
If there are test failures, please also check whether they were already failing prior to this patchset.
This won't cover the "paes" ("protected key AES") algorithms, however, since those don't have self-tests. If anyone has any way to test those, please do so.
Eric Biggers (3):
crypto: s390/aes - convert to skcipher API
crypto: s390/paes - convert to skcipher API
crypto: s390/des - convert to skcipher API
arch/s390/crypto/aes_s390.c | 609 ++++++++++++++--------------------- arch/s390/crypto/des_s390.c | 419 ++++++++++-------------- arch/s390/crypto/paes_s390.c | 414 ++++++++++-------------- 3 files changed, 580 insertions(+), 862 deletions(-)
Signature · 1 line
2.23.0