summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorjsing <>2025-06-27 17:26:57 +0000
committerjsing <>2025-06-27 17:26:57 +0000
commit46423017b02650c68ef2ac67a7c84b1a34ce9679 (patch)
tree955af8de7f98e615430e58fe8d5bea70401f7892 /src/lib/libc
parent5cdc980054fcaa7078e29884d57b6a7e9e3e6731 (diff)
downloadopenbsd-46423017b02650c68ef2ac67a7c84b1a34ce9679.tar.gz
openbsd-46423017b02650c68ef2ac67a7c84b1a34ce9679.tar.bz2
openbsd-46423017b02650c68ef2ac67a7c84b1a34ce9679.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')
0 files changed, 0 insertions, 0 deletions