Re: Replacement for AES_set_encrypt_key and AES_encrypt to support 3.0

2021-08-17 Thread Dr Paul Dale
You don't want to use these and there is no direct replacement.  You want to use the EVP calls instead:  EVP_CipherInit_ex2, EVP_CipherUpdate, EVP_CipherFinal_ex and friends. See this manual page:     https://www.openssl.org/docs/manmaster/man3/EVP_EncryptInit.html Pauli On 17/8/21 5:11 pm,

Replacement for AES_set_encrypt_key and AES_encrypt to support 3.0

2021-08-17 Thread Shivakumar Poojari
Hi All, We are upgrading our code to openssl 3.0. we need replacement for AES_set_encrypt_key and AES_encrypt, these two functions are in two different functions previously we replaced below functions AES_set_decrypt_key() AES_cbc_encrypt() to EVP_CipherInit_ex