Re: [PATCH] lib/crypto: x86/sha512: Remove unnecessary checks for nblocks==0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 20, 2025 at 07:15:49PM -0700, Eric Biggers wrote:
> Since sha512_blocks() is called only with nblocks >= 1, remove
> unnecessary checks for nblocks == 0 from the x86 SHA-512 assembly code.
> 
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
>  lib/crypto/x86/sha512-avx-asm.S   | 6 +-----
>  lib/crypto/x86/sha512-avx2-asm.S  | 5 +----
>  lib/crypto/x86/sha512-ssse3-asm.S | 6 +-----
>  3 files changed, 3 insertions(+), 14 deletions(-)

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next

- Eric




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux