summaryrefslogtreecommitdiff
path: root/include/linux/prandom.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-12-05 08:11:55 +0300
committerEric Biggers <ebiggers@kernel.org>2025-12-10 02:10:21 +0300
commit68b233b1d583f7d869fbb3afe2b0531138e001f7 (patch)
treeb9cf9cf8b244d791a7d3e1e92636d232721cd868 /include/linux/prandom.h
parent2e8f7b170a085f0f5522f262bffe92d6ec911abb (diff)
downloadlinux-68b233b1d583f7d869fbb3afe2b0531138e001f7.tar.xz
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>
Diffstat (limited to 'include/linux/prandom.h')
0 files changed, 0 insertions, 0 deletions