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
arm64
mips
mpi
powerpc
riscv
s390
sparc
tests
x86
Kconfig
Makefile
aes.c
aescfb.c
aesgcm.c
arc4.c
blake2b.c
blake2s.c
chacha-block-generic.c
chacha.c
chacha20poly1305-selftest.c
chacha20poly1305.c
curve25519-fiat32.c
curve25519-hacl64.c
curve25519.c
des.c
fips.h
gf128mul.c
hash_info.c
md5.c
memneq.c
poly1305-donna32.c
poly1305-donna64.c
poly1305.c
polyval.c
sha1.c
sha3.c
sha256.c
sha512.c
simd.c
sm3.c
utils.c