linux/lib/crypto/arm64
Eric Biggers 2b1ef7aeeb lib/crypto: arm64/aes: Migrate optimized code into library
Move the ARM64 optimized AES key expansion and single-block AES
en/decryption code into lib/crypto/, wire it up to the AES library API,
and remove the superseded crypto_cipher algorithms.

The result is that both the AES library and crypto_cipher APIs are now
optimized for ARM64, whereas previously only crypto_cipher was (and the
optimizations weren't enabled by default, which this fixes as well).

Note: to see the diff from arch/arm64/crypto/aes-ce-glue.c to
lib/crypto/arm64/aes.h, view this commit with 'git show -M10'.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260112192035.10427-12-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2026-01-12 11:39:58 -08:00
..
.gitignore lib/crypto: arm64: Move arch/arm64/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
aes-ce-core.S lib/crypto: arm64/aes: Migrate optimized code into library 2026-01-12 11:39:58 -08:00
aes-cipher-core.S lib/crypto: arm64/aes: Migrate optimized code into library 2026-01-12 11:39:58 -08:00
aes.h lib/crypto: arm64/aes: Migrate optimized code into library 2026-01-12 11:39:58 -08:00
chacha-neon-core.S lib/crypto: arm64: Move arch/arm64/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
chacha.h lib/crypto: Switch ARM and arm64 to 'ksimd' scoped guard API 2025-11-12 09:51:13 +01:00
nh-neon-core.S lib/crypto: arm64/nh: Migrate optimized code into library 2026-01-12 11:07:50 -08:00
nh.h lib/crypto: arm64/nh: Migrate optimized code into library 2026-01-12 11:07:50 -08:00
poly1305-armv8.pl lib/crypto: poly1305: Consolidate into single module 2025-08-29 09:49:18 -07:00
poly1305.h lib/crypto: Switch ARM and arm64 to 'ksimd' scoped guard API 2025-11-12 09:51:13 +01:00
polyval-ce-core.S lib/crypto: arm64/polyval: Migrate optimized code into library 2025-11-11 11:03:38 -08:00
polyval.h lib/crypto: arm64: Move remaining algorithms to scoped ksimd API 2025-11-12 10:14:11 -08:00
sha1-ce-core.S lib/crypto: arm, arm64: Drop filenames from file comments 2025-11-05 20:30:51 -08:00
sha1.h lib/crypto: Switch ARM and arm64 to 'ksimd' scoped guard API 2025-11-12 09:51:13 +01:00
sha2-armv8.pl lib/crypto: sha256: Remove sha256_blocks_simd() 2025-07-04 10:18:53 -07:00
sha3-ce-core.S lib/crypto: arm, arm64: Drop filenames from file comments 2025-11-05 20:30:51 -08:00
sha3.h lib/crypto: arm64: Move remaining algorithms to scoped ksimd API 2025-11-12 10:14:11 -08:00
sha256-ce.S lib/crypto: arm, arm64: Drop filenames from file comments 2025-11-05 20:30:51 -08:00
sha256.h lib/crypto: Switch ARM and arm64 to 'ksimd' scoped guard API 2025-11-12 09:51:13 +01:00
sha512-ce-core.S lib/crypto: arm, arm64: Drop filenames from file comments 2025-11-05 20:30:51 -08:00
sha512.h lib/crypto: Switch ARM and arm64 to 'ksimd' scoped guard API 2025-11-12 09:51:13 +01:00