CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2025/07/13 00:01:33
Modified files: lib/libcrypto/aes: aes.c aes_amd64.c aes_i386.c aes_local.h lib/libcrypto/arch/amd64: crypto_arch.h lib/libcrypto/arch/i386: crypto_arch.h lib/libcrypto/evp: e_aes.c lib/libcrypto/modes: modes_local.h Log message: Simplify AES-XTS implementation and remove AES-NI specific code from EVP. Provide aes_xts_encrypt_internal() and call that from aes_xts_cipher(). Have amd64 and i386 provide their own versions that dispatch to aesni_xts_encrypt()/aesni_xts_decrypt() as appropriate. The AESNI_CAPABLE code and methods can then be removed. ok tb@