linux/arch/arm/crypto
Eric Biggers ba6617bd47 lib/crypto: arm/blake2b: Migrate optimized code into library
Migrate the arm-optimized BLAKE2b code from arch/arm/crypto/ to
lib/crypto/arm/.  This makes the BLAKE2b library able to use it, and it
also simplifies the code because it's easier to integrate with the
library than crypto_shash.

This temporarily makes the arm-optimized BLAKE2b code unavailable via
crypto_shash.  A later commit reimplements the blake2b-* crypto_shash
algorithms on top of the BLAKE2b library API, making it available again.

Note that as per the lib/crypto/ convention, the optimized code is now
enabled by default.  So, this also fixes the longstanding issue where
the optimized BLAKE2b code was not enabled by default.

To see the diff from arch/arm/crypto/blake2b-neon-glue.c to
lib/crypto/arm/blake2b.h, view this commit with 'git show -M10'.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20251018043106.375964-8-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2025-10-29 22:04:24 -07:00
..
.gitignore
Kconfig lib/crypto: arm/blake2b: Migrate optimized code into library 2025-10-29 22:04:24 -07:00
Makefile lib/crypto: arm/blake2b: Migrate optimized code into library 2025-10-29 22:04:24 -07:00
aes-ce-core.S crypto: arm/aes-ce - work around Cortex-A57/A72 silion errata 2020-12-04 18:13:14 +11:00
aes-ce-glue.c crypto: arm/aes-ce - stop using the SIMD helper 2025-04-07 13:22:27 +08:00
aes-cipher-core.S crypto: arm/aes-scalar - switch to common rev_l/mov_l macros 2021-03-19 21:59:46 +11:00
aes-cipher-glue.c crypto: arm/aes-neonbs - go back to using aes-arm directly 2024-08-17 13:55:50 +08:00
aes-cipher.h crypto: arm/aes-neonbs - go back to using aes-arm directly 2024-08-17 13:55:50 +08:00
aes-neonbs-core.S crypto: arm/aes-neonbs-ctr - deal with non-multiples of AES block size 2022-02-05 15:10:51 +11:00
aes-neonbs-glue.c crypto: arm/aes-neonbs - work around gcc-15 warning 2025-06-23 16:59:38 +08:00
ghash-ce-core.S ARM: 9286/1: crypto: Implement fused AES-CTR/GHASH version of GCM 2023-01-18 15:04:51 +00:00
ghash-ce-glue.c crypto: arm/ghash - Use API partial block handling 2025-04-23 11:33:47 +08:00
nh-neon-core.S crypto: arm/nhpoly1305 - eliminate unnecessary CFI wrapper 2022-11-25 17:39:19 +08:00
nhpoly1305-neon-glue.c crypto: arm/nhpoly1305 - implement ->digest 2023-10-20 13:39:25 +08:00