Migrate SPARC64 accelerated AES modes into library
Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | lib/crypto: sparc/aes: Add and use round key load helperlib/ | +31 | 0 replies | |
| 2/4 | lib/crypto: sparc/aes-ctr: Migrate optimized code into libraryarch/ arch/ crypto/ +3 more | +99 | 0 replies | |
| 3/4 | lib/crypto: sparc/aes-ecb: Migrate optimized code into libraryarch/ arch/ crypto/ +3 more | +99 | 0 replies | |
| 4/4 | lib/crypto: sparc/aes-cbc: Migrate optimized code into libraryarch/ arch/ arch/ +4 more | +109 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Stian Halseth |
|---|---|
| Series | T-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Migrate SPARC64 accelerated AES modes into library
This series is targeting libcrypto-next. It can also be retrieved from:
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git aes-sparc-v1
This series migrates the SPARC64 crypto opcodes accelerated implementations of AES-ECB, AES-CBC, and AES-CTR into lib/crypto/.
This makes the AES-ECB, AES-CBC, and AES-CTR library APIs be properly accelerated on SPARC64, while still being available in the crypto_skcipher API via crypto/aes.c. As usual, the longstanding issue of acceleration being disabled by default is also fixed.
After this, the only thing left in arch/sparc/crypto/ is Camellia.
Tested in QEMU (specifically commit 97c88c61d45d, which has Stian Halseth's recent changes that added support for the AES, CRC32C, SHA1, SHA256, and SHA512 opcodes) with the new ECB, CBC, and CTR KUnit tests
(https://lore.kernel.org/r/[email protected]/)
and CONFIG_CRYPTO_SELFTESTS_FULL=y, using Stian Halseth's patch that makes the SPARC kernel detect QEMU's support for the crypto opcodes
(https://lore.kernel.org/r/[email protected]/).
Eric Biggers (4):
lib/crypto: sparc/aes: Add and use round key load helper lib/crypto: sparc/aes-ctr: Migrate optimized code into library lib/crypto: sparc/aes-ecb: Migrate optimized code into library lib/crypto: sparc/aes-cbc: Migrate optimized code into library
arch/sparc/crypto/Kconfig | 10 - arch/sparc/crypto/Makefile | 2 - arch/sparc/crypto/aes_glue.c | 344 ---------------------------------- crypto/aes.c | 13 +- include/crypto/aes.h | 39 ---- lib/crypto/sparc/aes.h | 348 +++++++++++++++++++++++++++++++---- lib/crypto/sparc/aes_asm.S | 24 ++- 7 files changed, 334 insertions(+), 446 deletions(-) delete mode 100644 arch/sparc/crypto/aes_glue.c
base-commit: 30e5781e2cd0aeffd80d524bbdac176579a3235f
Signature · 1 line
2.56.1