crypto: sparc - convert to skcipher API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | crypto: sparc/aes - convert to skcipher APIarch/ crypto/ | +144 | 0 replies | |
| 2/3 | crypto: sparc/camellia - convert to skcipher APIarch/ crypto/ | +96 | 0 replies | |
| 3/3 | crypto: sparc/des - convert to skcipher APIarch/ crypto/ | +228 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFT PATCH 0/3] crypto: sparc - convert to skcipher API
This series converts the glue code for the SPARC64 crypto opcodes implementations of AES, Camellia, 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 are SPARC64 crypto opcodes supported by QEMU. So I really need someone with the hardware to test it. You can do so by setting:
CONFIG_CRYPTO_AES_SPARC64=yCONFIG_CRYPTO_CAMELLIA_SPARC64=yCONFIG_CRYPTO_DES_SPARC64=y
# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not setCONFIG_DEBUG_KERNEL=yCONFIG_CRYPTO_MANAGER_EXTRA_TESTS=yCONFIG_CRYPTO_AES=yCONFIG_CRYPTO_CAMELLIA=yCONFIG_CRYPTO_DES=yCONFIG_CRYPTO_CBC=yCONFIG_CRYPTO_CTR=yCONFIG_CRYPTO_ECB=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.
Eric Biggers (3):
crypto: sparc/aes - convert to skcipher API
crypto: sparc/camellia - convert to skcipher API
crypto: sparc/des - convert to skcipher API
arch/sparc/crypto/aes_glue.c | 310 +++++++++---------- arch/sparc/crypto/camellia_glue.c | 217 ++++++------- arch/sparc/crypto/des_glue.c | 499 ++++++++++++++---------------- crypto/Kconfig | 5 +- 4 files changed, 468 insertions(+), 563 deletions(-)
Signature · 1 line
2.23.0