Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH 0/4] lib/crypto: Clean up and optimize sha512-avx2-asm.S
@ 2026-11-23  3:13 Eric Biggers
  2026-11-23  3:13 ` [PATCH 1/4] lib/crypto: x86/sha512-avx2: Clean up loading and byte-swapping the data Eric Biggers
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Eric Biggers @ 2026-11-23  3:13 UTC (permalink / raw)
  To: linux-crypto
  Cc: Ard Biesheuvel, Jason A . Donenfeld, Herbert Xu, x86,
	Eric Biggers

A refresh for sha512-avx2-asm.S (the SHA-512 implementation that's used
on all AVX2 capable CPUs), bringing the following small benefits:

  - 6% faster SHA-512 on AMD Ryzen 9 9950X (Zen 5) and
    9% faster SHA-512 on Intel Sapphire Rapids.

  - Negative 288 line diffstat.

  - Slight reductions in text and rodata size.

  - Better comments.

Eric Biggers (4):
  lib/crypto: x86/sha512-avx2: Clean up loading and byte-swapping the
    data
  lib/crypto: x86/sha512-avx2: Optimize message schedule
  lib/crypto: x86/sha512-avx2: Factor out SHA512_Round
  lib/crypto: x86/sha512-avx2: Optimize SHA512_Round

 lib/crypto/x86/sha512-avx2-asm.S | 550 ++++++++-----------------------
 1 file changed, 131 insertions(+), 419 deletions(-)


base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
-- 
2.56.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-23  3:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23  3:13 [PATCH 0/4] lib/crypto: Clean up and optimize sha512-avx2-asm.S Eric Biggers
2026-11-23  3:13 ` [PATCH 1/4] lib/crypto: x86/sha512-avx2: Clean up loading and byte-swapping the data Eric Biggers
2026-11-23  3:13 ` [PATCH 2/4] lib/crypto: x86/sha512-avx2: Optimize message schedule Eric Biggers
2026-11-23  3:13 ` [PATCH 3/4] lib/crypto: x86/sha512-avx2: Factor out SHA512_Round Eric Biggers
2026-11-23  3:13 ` [PATCH 4/4] lib/crypto: x86/sha512-avx2: Optimize SHA512_Round Eric Biggers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox