CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/06/27 11:26:58
Modified files:
lib/libcrypto : Makefile
lib/libcrypto/aes: aes_local.h
lib/libcrypto/evp: e_aes.c
Log message:
Simplify EVP AES-GCM implementation and remove AES-NI specific code.
Like CTR, the mode implementation for GCM has two variants - rather than
using multiple variants (one for AES-NI, another for non-AES-NI),
consistently use CRYPTO_gcm128_{en,de}crypt_ctr32() with the
aes_ctr32_encrypt_internal() function added for CTR mode.
This lets us remove the AES-NI specific code, AES-NI specific EVP_CIPHER
methods and the ctr function pointer from EVP_AES_GCM_CTX.
ok tb@