[PATCH 0/2] Small cleanups for x86 SHA-256
From: Eric Biggers
Date: Thu Jul 03 2025 - 22:42:25 EST
Two small cleanups for the x86 SHA-256 code. Applies to libcrypto-next.
Eric Biggers (2):
lib/crypto: x86/sha256: Move static_call above kernel-mode FPU section
lib/crypto: x86/sha256: Remove unnecessary checks for nblocks==0
lib/crypto/x86/sha256-avx-asm.S | 6 ----
lib/crypto/x86/sha256-avx2-asm.S | 4 ---
lib/crypto/x86/sha256-ni-asm.S | 5 ----
lib/crypto/x86/sha256-ssse3-asm.S | 5 ----
lib/crypto/x86/sha256.h | 48 ++++++++++++++++---------------
5 files changed, 25 insertions(+), 43 deletions(-)
base-commit: 5ecd15f4949fd36037725bd719b7d3f866291e6c
--
2.50.0