diff options
author | Eric Biggers <ebiggers@kernel.org> | 2025-08-27 08:11:26 -0700 |
---|---|---|
committer | Eric Biggers <ebiggers@kernel.org> | 2025-08-29 09:50:19 -0700 |
commit | 453eda46b7f807f6fc4283f9639085697100ec08 (patch) | |
tree | 41b1bd4c58e81919830f58e687c61b6b2136b7e8 /lib/test_vmalloc.c | |
parent | 13cecc526d8fe7eeb9b136159738688a1a10cd82 (diff) |
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 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions