linux/lib/crypto
Eric Biggers 68b233b1d5 lib/crypto: blake2s: Replace manual unrolling with unrolled_full
As we're doing in the BLAKE2b code, use unrolled_full to make the
compiler handle the loop unrolling.  This simplifies the code slightly.
The generated object code is nearly the same with both gcc and clang.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20251205051155.25274-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2025-12-09 15:10:21 -08:00
..
arm lib/crypto: arm/blake2b: Move to scoped ksimd API 2025-11-12 09:57:52 -08:00
arm64 lib/crypto: arm64: Move remaining algorithms to scoped ksimd API 2025-11-12 10:14:11 -08:00
mips
mpi crypto: lib/mpi - use min() instead of min_t() 2025-11-24 17:44:14 +08:00
powerpc
riscv lib/crypto: riscv/chacha: Avoid s0/fp register 2025-12-09 15:10:20 -08:00
s390 lib/crypto: s390/sha3: Add optimized one-shot SHA-3 digest functions 2025-11-05 20:30:41 -08:00
sparc
tests Crypto library tests for 6.19 2025-12-02 18:20:06 -08:00
x86 lib/crypto: x86/polyval: Migrate optimized code into library 2025-11-11 11:03:38 -08:00
Kconfig lib/crypto: riscv: Depend on RISCV_EFFICIENT_VECTOR_UNALIGNED_ACCESS 2025-12-09 15:10:21 -08:00
Makefile lib/crypto: blake2b: Roll up BLAKE2b round loop on 32-bit 2025-12-09 15:10:21 -08:00
aes.c
aescfb.c
aesgcm.c
arc4.c
blake2b.c lib/crypto: blake2b: Roll up BLAKE2b round loop on 32-bit 2025-12-09 15:10:21 -08:00
blake2s.c lib/crypto: blake2s: Replace manual unrolling with unrolled_full 2025-12-09 15:10:21 -08:00
chacha-block-generic.c
chacha.c
chacha20poly1305-selftest.c
chacha20poly1305.c lib/crypto: chacha20poly1305: Statically check fixed array lengths 2025-11-23 12:19:21 -08:00
curve25519-fiat32.c
curve25519-hacl64.c
curve25519.c
des.c
fips.h lib/crypto: sha3: Add FIPS cryptographic algorithm self-test 2025-11-05 20:02:35 -08:00
gf128mul.c
hash_info.c
md5.c
memneq.c
poly1305-donna32.c
poly1305-donna64.c
poly1305.c
polyval.c lib/crypto: polyval: Add POLYVAL library 2025-11-11 11:03:38 -08:00
sha1.c lib/crypto: Add FIPS self-tests for SHA-1 and SHA-2 2025-10-29 22:04:24 -07:00
sha3.c lib/crypto: sha3: Support arch overrides of one-shot digest functions 2025-11-05 20:02:35 -08:00
sha256.c lib/crypto: Add FIPS self-tests for SHA-1 and SHA-2 2025-10-29 22:04:24 -07:00
sha512.c lib/crypto: Add FIPS self-tests for SHA-1 and SHA-2 2025-10-29 22:04:24 -07:00
simd.c
sm3.c
utils.c