On Fri, 4 Jul 2025 at 04:42, Eric Biggers <ebiggers@kernel.org> wrote:
>
> 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
>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
> 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
>