<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Try the OSSL_PROVIDER_self_test() call. You should not call any of
the SELF_TEST APIs unless you are writing self tests.<br>
<br>
Also note that only the 3.0.0 FIPS provider is validated. You
cannot just build any 3.0.x version and expect to be FIPS compliant.<br>
<br>
<br>
Paul Dale<br>
<br>
<div class="moz-cite-prefix">On 6/4/23 00:20, Prasad, PCRaghavendra
via openssl-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MN2PR19MB4029623A1D687B87BA2FF88B9A909@MN2PR19MB4029.namprd19.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi Team,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Good morning.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We are in the process of enabling FIPS
using OpenSSL 3.0.x and using python 3.11.2.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In self-test code, we could see few methods
where it can be called on demand<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/* This API is triggered either on loading
of the FIPS module or on demand */<o:p></o:p></p>
<p class="MsoNormal">int SELF_TEST_post(SELF_TEST_POST_PARAMS
*st, int on_demand_test)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">so wanted to get some information on how it
can be called on demand. We know when we call the fipsinstall
will internally call this method and do self-test, but just we
are doing POC of calling it on demand<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">so is it possible to call this method or we
should not call it? If we can in the SELF_TEST_POST_PARAMS
structure what needs to be filled?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please provide your input/thoughts.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Raghu<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<br>
<p class="msipfooter90245289" style="margin:0" align="Left"><span
style="font-size:7.0pt;font-family:Calibri;color:#737373">Internal
Use - Confidential</span></p>
</div>
</blockquote>
<br>
</body>
</html>