zfs/module/icp/asm-x86_64/modes
Joel Low bb9225ea86 Backport AVX2 AES-GCM implementation from BoringSSL
This uses the AVX2 versions of the AESENC and PCLMULQDQ instructions; on
Zen 3 this provides an up to 80% performance improvement.

Original source:
d5440dd2c2/gen/bcm/aes-gcm-avx2-x86_64-linux.S

See the original BoringSSL commit at
3b6e1be439.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rob Norris <robn@despairlabs.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Attila Fülöp <attila@fueloep.org>
Signed-off-by: Joel Low <joel@joelsplace.sg>
Closes #17058
2025-08-13 14:51:20 -07:00
..
aesni-gcm-avx2-vaes.S Backport AVX2 AES-GCM implementation from BoringSSL 2025-08-13 14:51:20 -07:00
aesni-gcm-x86_64.S Linux build: silence objtool warnings 2025-06-04 17:40:09 -07:00
gcm_pclmulqdq.S SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
ghash-x86_64.S SPDX: license tags: Apache-2.0 2025-03-13 17:57:05 -07:00
THIRDPARTYLICENSE.boringssl Backport AVX2 AES-GCM implementation from BoringSSL 2025-08-13 14:51:20 -07:00
THIRDPARTYLICENSE.boringssl.descrip Backport AVX2 AES-GCM implementation from BoringSSL 2025-08-13 14:51:20 -07:00
THIRDPARTYLICENSE.cryptogams ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
THIRDPARTYLICENSE.cryptogams.descrip ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
THIRDPARTYLICENSE.openssl ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
THIRDPARTYLICENSE.openssl.descrip ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00