<html>
<head>
<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>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Tomas,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
As Engine function are deprecated I tried using providers</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);">
But how to use providers to get engine functionality tried in man pages <br>
<br>
Some sample program will help, maybe some sample program will give the clear idea how to use provider </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);">
<span style="background-color:rgb(255, 255, 255);display:inline !important">Struggling in understand the providers</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
Please share the sample program and the links to understand the providers</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
Thanks,<br>
shiva kumar </div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Tomas Mraz <tomas@openssl.org><br>
<b>Sent:</b> Wednesday, September 8, 2021 7:00 PM<br>
<b>To:</b> Shivakumar Poojari <Shivakumar.Poojari@rbbn.com>; openssl-users@openssl.org <openssl-users@openssl.org><br>
<b>Cc:</b> Paramashivaiah, Sunil <Sunil.Paramashivaiah@rbbn.com>; Bhattacharjee, Debapriyo (c) <dbhattacharjee@rbbn.com><br>
<b>Subject:</b> [EXTERNAL] Re: ENGINE API replacement for Openssl3.0</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hello,<br>
<br>
there is no direct replacement. The ENGINEs as a pluggable crypto<br>
modules concept is replaced with the providers concept which is much<br>
more sophisticated and capable.<br>
<br>
Please look at<br>
<a href="https://clicktime.symantec.com/3NTnN1ZFia2bCryEiZnkRmY6H2?u=https%3A%2F%2Fwww.openssl.org%2Fdocs%2Fman3.0%2Fman7%2Fmigration_guide.html">https://clicktime.symantec.com/3NTnN1ZFia2bCryEiZnkRmY6H2?u=https%3A%2F%2Fwww.openssl.org%2Fdocs%2Fman3.0%2Fman7%2Fmigration_guide.html</a><br>
<br>
ENGINEs support is not removed from OpenSSL 3.0 however it is<br>
deprecated. If you cannot use deprecated functions you have to drop<br>
support for engines which means those functions just should not be<br>
called and there is no replacement.<br>
<br>
Providers allow for configuration via the default configuration file so<br>
for an application to support crypto modules in form of providers the<br>
application does not necessarily have to have any extra functions<br>
called. Just the default configuration file has to be present and the<br>
configuration of the desired provider(s) needs to be there.<br>
<br>
Tomas<br>
<br>
<br>
On Wed, 2021-09-08 at 13:07 +0000, Shivakumar Poojari wrote:<br>
> Hi<br>
> Upgrading our code to openssl 3.0. the below function we trying to<br>
> replace<br>
> <br>
> ENGINE_load_dynamic()  <br>
> <br>
> Replacment for 3.0 what i<br>
> found OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_DYNAMIC, NULL)<br>
> <br>
> ENGINE_by_id("dynamic")<br>
> <br>
> ENGINE_ctrl_cmd_string()<br>
> <br>
> ENGINE_set_default()<br>
> <br>
> ENGINE_get_DH()<br>
> <br>
> ENGINE_free()<br>
> <br>
> Need a replacement for the above-highlighted function. I searched in<br>
> man pages did not find any replacement and searched in google for<br>
> sample programs also not found<br>
> <br>
>  <br>
> Thanks,<br>
> shiva kumar.<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> Notice: This e-mail together with any attachments may contain<br>
> information of Ribbon Communications Inc. and its Affiliates that is<br>
> confidential and/or proprietary for the sole use of the intended<br>
> recipient. Any review, disclosure, reliance or distribution by others<br>
> or forwarding without express permission is strictly prohibited. If you<br>
> are not the intended recipient, please notify the sender immediately<br>
> and then delete all copies, including any attachments.<br>
<br>
-- <br>
Tomáš Mráz<br>
No matter how far down the wrong road you've gone, turn back.<br>
                                              Turkish proverb<br>
[You'll know whether the road is wrong if you carefully listen to your<br>
conscience.]<br>
<br>
<br>
</div>
</span></font></div>
<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>