<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Why would you believe that ENGINE_register / ENGINE_unregister are
    the calls to load/unload an engine?  These calls are for <u>after</u>
    the engine has been loaded:<br>
    <blockquote><font face="monospace">/*- Manage registration of
        ENGINEs per "table". For each type, there are 3</font><br>
      <font face="monospace"> * functions;</font><br>
      <font face="monospace"> *   ENGINE_register_***(e) - registers the
        implementation from 'e' (if it has one)</font><br>
      <font face="monospace"> *   ENGINE_unregister_***(e) - unregister
        the implementation from 'e'</font><br>
      <font face="monospace"> *   ENGINE_register_all_***() - call
        ENGINE_register_***() for each 'e' in the list</font><br>
      <font face="monospace"> * Cleanup is automatically registered from
        each table when required.</font><br>
      <font face="monospace"> */</font><br>
    </blockquote>
    Might I suggest reading the manual pages?  Start with ENGINE_add().<br>
    <br>
    <br>
    Pauli<br>
    <br>
    BTW: waiting less than a day for a response is a bit impulsive. 
    Most of the people who respond here are volunteers.<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 1/5/21 4:30 pm, Mahendra SP wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADDGra1Qhs1e8Y_AcwxykP6aki6_0ocw_N-qs0kn1TQE1GQwVQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi All,<br>
        <div><br>
        </div>
        <div>Could someone please help with this query?</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div>Mahendra</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Apr 29, 2021 at 5:20
          PM Mahendra SP <<a href="mailto:mahendra.sp@gmail.com"
            moz-do-not-send="true">mahendra.sp@gmail.com</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">
            <div>Hi All,</div>
            <div><br>
            </div>
            We have crypto engines for offloading operations like RSA,
            digests and ciphers, hmac etc. We are looking at a way to
            load and unload engines at run time. This is needed as we
            need to use the engine when needed for crypto operations.
            Else we plan to use openssl for the same.<br>
            <br>
            We tried, <br>
            -> unregister calls like ENGINE_unregister_XXX calls to
            force redirection to openssl<br>
            -> Again, ENGINE_register_XXX to redirect to engine.<br>
            <br>
            However, the above methods are not helping. Please suggest a
            way to achieve the above requirement.<br>
            <div><br>
            </div>
            <div>Thanks</div>
            <div>Mahendra</div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>