CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2025/05/18 22:32:52

Modified files:
        lib/libcrypto/aes: aes.c 
        lib/libcrypto/evp: e_aes.c 

Log message:
Simplify EVP AES code for ECB.

AES_ecb_encrypt() does not really do ECB - provide an
aes_ecb_encrypt_internal that actually does multiple blocks and call this
from aes_ecb_cipher(). Provide ECB with its own key initialisation
function, which allows aes_init_key() to be simplified considerably.
The block function pointer is now unused, so mop this up.

ok joshua@ tb@

Reply via email to