summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/ethers.c
diff options
context:
space:
mode:
authorjsing <>2025-06-27 17:26:57 +0000
committerjsing <>2025-06-27 17:26:57 +0000
commitfd19eff2f98d72aee359ddccbf890bac0361fb66 (patch)
tree955af8de7f98e615430e58fe8d5bea70401f7892 /src/lib/libc/net/ethers.c
parentabb03e21a8d0fc7f97a871f5aee5a8084176540f (diff)
downloadopenbsd-fd19eff2f98d72aee359ddccbf890bac0361fb66.tar.gz
openbsd-fd19eff2f98d72aee359ddccbf890bac0361fb66.tar.bz2
openbsd-fd19eff2f98d72aee359ddccbf890bac0361fb66.zip
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@
Diffstat (limited to 'src/lib/libc/net/ethers.c')
0 files changed, 0 insertions, 0 deletions