linux/arch/sparc/crypto
Eric Biggers 293c7cd5c6 lib/crypto: sparc/aes: Migrate optimized code into library
Move the SPARC64 AES assembly code into lib/crypto/, wire the key
expansion and single-block en/decryption functions up to the AES library
API, and remove the "aes-sparc64" crypto_cipher algorithm.

The result is that both the AES library and crypto_cipher APIs use the
SPARC64 AES opcodes, whereas previously only crypto_cipher did (and it
wasn't enabled by default, which this commit fixes as well).

Note that some of the functions in the SPARC64 AES assembly code are
still used by the AES mode implementations in
arch/sparc/crypto/aes_glue.c.  For now, just export these functions.
These exports will go away once the AES mode implementations are
migrated to the library as well.  (Trying to split up the assembly file
seemed like much more trouble than it would be worth.)

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260112192035.10427-17-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2026-01-15 14:09:07 -08:00
..
aes_glue.c lib/crypto: sparc/aes: Migrate optimized code into library 2026-01-15 14:09:07 -08:00
camellia_asm.S crypto: sparc - move opcodes.h into asm directory 2025-05-05 18:20:43 +08:00
camellia_glue.c crypto: sparc - move opcodes.h into asm directory 2025-05-05 18:20:43 +08:00
crop_devid.c sparc: Explicitly include correct DT includes 2023-08-28 13:30:57 -05:00
des_asm.S crypto: sparc - move opcodes.h into asm directory 2025-05-05 18:20:43 +08:00
des_glue.c crypto: sparc - move opcodes.h into asm directory 2025-05-05 18:20:43 +08:00
Kconfig lib/crypto: sparc/aes: Migrate optimized code into library 2026-01-15 14:09:07 -08:00
Makefile lib/crypto: sparc/aes: Migrate optimized code into library 2026-01-15 14:09:07 -08:00