linux/lib/crypto/arm
Eric Biggers 39ee3970f2 lib/crypto: blake2s: Consolidate into single C translation unit
As was done with the other algorithms, reorganize the BLAKE2s code so
that the generic implementation and the arch-specific "glue" code is
consolidated into a single translation unit, so that the compiler will
inline the functions and automatically decide whether to include the
generic code in the resulting binary or not.

Similarly, also consolidate the build rules into
lib/crypto/{Makefile,Kconfig}.  This removes the last uses of
lib/crypto/{arm,x86}/{Makefile,Kconfig}, so remove those too.

Don't keep the !KMSAN dependency.  It was needed only for other
algorithms such as ChaCha that initialize memory from assembly code.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250827151131.27733-12-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2025-08-29 09:50:19 -07:00
..
.gitignore
blake2s-core.S lib/crypto: blake2s: Consolidate into single C translation unit 2025-08-29 09:50:19 -07:00
blake2s.h lib/crypto: blake2s: Consolidate into single C translation unit 2025-08-29 09:50:19 -07:00
chacha-neon-core.S
chacha-scalar-core.S
chacha.h lib/crypto: chacha: Consolidate into single module 2025-08-29 09:50:19 -07:00
poly1305-armv4.pl lib/crypto: poly1305: Consolidate into single module 2025-08-29 09:49:18 -07:00
poly1305.h lib/crypto: poly1305: Consolidate into single module 2025-08-29 09:49:18 -07:00
sha1-armv4-large.S lib/crypto: arm/sha1: Migrate optimized code into library 2025-07-14 11:11:29 -07:00
sha1-armv7-neon.S lib/crypto: arm/sha1: Migrate optimized code into library 2025-07-14 11:11:29 -07:00
sha1-ce-core.S lib/crypto: arm/sha1: Migrate optimized code into library 2025-07-14 11:11:29 -07:00
sha1.h lib/crypto: Drop inline from all *_mod_init_arch() functions 2025-08-27 08:15:35 -07:00
sha256-armv4.pl lib/crypto: sha256: Remove sha256_blocks_simd() 2025-07-04 10:18:53 -07:00
sha256-ce.S lib/crypto: sha256: Propagate sha256_block_state type to implementations 2025-07-04 10:22:57 -07:00
sha256.h lib/crypto: Drop inline from all *_mod_init_arch() functions 2025-08-27 08:15:35 -07:00
sha512-armv4.pl
sha512.h lib/crypto: Drop inline from all *_mod_init_arch() functions 2025-08-27 08:15:35 -07:00