summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-08-27 18:11:26 +0300
committerEric Biggers <ebiggers@kernel.org>2025-08-29 19:50:19 +0300
commit453eda46b7f807f6fc4283f9639085697100ec08 (patch)
tree41b1bd4c58e81919830f58e687c61b6b2136b7e8 /include
parent13cecc526d8fe7eeb9b136159738688a1a10cd82 (diff)
downloadlinux-453eda46b7f807f6fc4283f9639085697100ec08.tar.xz
lib/crypto: x86/blake2s: Reduce size of BLAKE2S_SIGMA2
Save 480 bytes of .rodata by replacing the .long constants with .bytes, and using the vpmovzxbd instruction to expand them. Also update the code to do the loads before incrementing %rax rather than after. This avoids the need for the first load to use an offset. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250827151131.27733-8-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions