Re: [PATCH] crypto: x86/aes-gcm-vaes-avx2 - initialize full %rax return register
From: Ard Biesheuvel
Date: Mon Nov 03 2025 - 03:18:04 EST
On Sun, 2 Nov 2025 at 02:53, Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
>
> Update aes_gcm_dec_final_vaes_avx2() to be consistent with
> aes_gcm_dec_final_aesni() and aes_gcm_dec_final_vaes_avx512() by
> initializing the full %rax return register instead of just %al.
> Technically this is unnecessary, since these functions return bool. But
> I think it's worth being extra careful with the result of the tag
> comparison and also keeping the different implementations consistent.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
>
> This patch is targeting libcrypto-next
>
> arch/x86/crypto/aes-gcm-vaes-avx2.S | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Ard Biesheuvel <ardb@xxxxxxxxxx>