<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255); text-align: left;" dir="auto">
<span style="font-family: Calibri, sans-serif; font-size: 11pt;">Dear Openssl team,</span><br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255); text-align: left;" dir="auto">
<span style="font-family: Calibri, sans-serif; font-size: 11pt;"><br>
</span></div>
<div id="id-6524b03e-8ea9-4590-8b42-7a1d40c9463a" class="ms-outlook-mobile-reference-message" dir="auto" style="text-align: left;">
<div class="WordSection1">
<p class="MsoNormal">                While migrating from 1.0.2 to 3.0 we observe that RSA_public_decrypt() API been deprecated in 3.0.</p>
<p class="MsoNormal">We referred the example provided in man page but we are not clear in generating the initial ‘key’ required to create CTX.
</p>
<p class="MsoNormal">Please suggest on (key , eng) params to proceed </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Also currently we are using PEM_read_bio_RSA_PUBKEY() to generate RSA, I think this might not require in case of EVP, please suggest.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">/*</p>
<p class="MsoNormal">  * NB: assumes key, eng, in, inlen are already set up</p>
<p class="MsoNormal">  * and that key is an RSA private key</p>
<p class="MsoNormal">  */</p>
<p class="MsoNormal">ctx = EVP_PKEY_CTX_new(key, eng);</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Regards,</p>
<p class="MsoNormal">Sunil</p>
<p class="MsoNormal"> </p>
</div>
<br>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
span.EmailStyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.MsoChpDefault
        {}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
<br clear="both">
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>
</body>
</html>