<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
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.<br>
<br>
See this manual page:<br>
<a class="moz-txt-link-freetext" href="https://www.openssl.org/docs/manmaster/man3/EVP_EncryptInit.html">https://www.openssl.org/docs/manmaster/man3/EVP_EncryptInit.html</a><br>
<br>
<br>
Pauli<br>
<br>
<div class="moz-cite-prefix">On 17/8/21 5:11 pm, Shivakumar Poojari
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CH0PR03MB6019E100DB50AC43B0EE811DE2FE9@CH0PR03MB6019.namprd03.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="margin:0px;font-size:12pt;background-color:white">Hi
All,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<div style="margin:0px;font-size:12pt;background-color:white"><br>
</div>
<span style="margin:0px;font-size:12pt;background-color:white">
We are upgrading our code to openssl 3.0.<br>
</span><br>
we need replacement for <b>AES_set_encrypt_key</b> and <b>AES_encrypt,</b>
these two functions are in two different functions<br>
<br>
previously we replaced below functions<br>
<br>
AES_set_decrypt_key() AES_cbc_encrypt()
to EVP_CipherInit_ex EVP_CipherUpdate<br>
EVP_CipherFinal_ex as show in the man page example now
scenario is different </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Now I need <b style="background-color:rgb(255, 255, 255)">AES_set_encrypt_key
</b><span style="background-color:rgb(255, 255, 255)">code
separately</span><b style="background-color:rgb(255, 255,
255)">
</b><span style="background-color:rgb(255, 255, 255)">and</span><span
style="background-color:rgb(255, 255, 255)"><b> </b><b
style="font-weight: bold; background-color: rgb(255, 255,
255);">AES_encrypt
</b><span style="background-color: rgb(255, 255, 255);">code
separately to use in differnnt places</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
shiva kumar<br>
<br>
<br>
<br>
</div>
<br clear="all">
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.<br>
</blockquote>
<br>
</body>
</html>