Re: Replacement for AES_set_encrypt_key and AES_encrypt to support 3.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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, Shivakumar Poojari wrote:
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 EVP_CipherUpdate
    EVP_CipherFinal_ex as show in the man page example now scenario is different 

    Now I need AES_set_encrypt_key code separately and AES_encrypt code separately to use in differnnt     places


Thanks,
shiva kumar




Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux