]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: x86/aes-gcm - reorder AVX512 precompute and aad_update functions
authorEric Biggers <ebiggers@kernel.org>
Thu, 2 Oct 2025 02:31:14 +0000 (19:31 -0700)
committerEric Biggers <ebiggers@kernel.org>
Mon, 27 Oct 2025 03:37:41 +0000 (20:37 -0700)
commit5213aefa9e694f46fc8f172bc6a0c06d3804d444
tree01c7e1ab3cf60c307882522ed9ab58ccd0d3a8c5
parent4b582e0fb38e86d80d318304e61ae464125a9558
crypto: x86/aes-gcm - reorder AVX512 precompute and aad_update functions

Now that the _aes_gcm_precompute macro is instantiated only once,
replace it directly with a function definition.

Also, move aes_gcm_aad_update_vaes_avx512() to a different location in
the file so that it's consistent with aes-gcm-vaes-avx2.S and also the
BoringSSL port of this code.

No functional changes.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20251002023117.37504-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
arch/x86/crypto/aes-gcm-vaes-avx512.S