<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, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks again. I think most of that makes sense. Going back to your initial response, there is something I'm not clear on. </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The second method you explained (which I don't plan to use) starting with "Alternatively,..." included the calls to OSSL_PRIVIDER_load(), and then discussed calling the following API for FIPS:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<pre style="font-family:courier, "courier new", monospace;font-size:14px;overflow-wrap:break-word;margin:0em;background-color:rgb(255, 255, 255)">
   EVP_set_default_properties(NULL, “fips=yes”);</pre>
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span></span></div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Was the EVP_set_default_properties() call specifically and only for the 2nd method, or did that API call apply to both the first and second methods you explained? From reading the doc for that call, it seems like I should be doing it if I use the first method
 as well.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Regards,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Jason</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> openssl-users <openssl-users-bounces@openssl.org> on behalf of Dr Paul Dale <pauli@openssl.org><br>
<b>Sent:</b> Sunday, October 24, 2021 11:12 PM<br>
<b>To:</b> openssl-users@openssl.org <openssl-users@openssl.org><br>
<b>Subject:</b> Re: OpenSSL 3.0 FIPS questions</font>
<div> </div>
</div>
<div>The configuration shouldn't have much impact.  You will need a fips section specifying where the integrity check data are.  You shouldn't need base or default sections.<br>
<br>
<br>
Pauli<br>
<br>
<div class="x_moz-cite-prefix">On 25/10/21 5:23 am, Jason Schultz wrote:<br>
</div>
<blockquote type="cite">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span id="" title="" class="">Thank you </span>for your response. I think all of that makes sense, and seems to accomplish what I want programmatically, limiting it to my application. I guess the only question I have is what about the config files? Should they
 remain as they were installed, or do I need to provide sections for fips, base, default, etc?</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Regards,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Jason</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> openssl-users
<a class="x_moz-txt-link-rfc2396E" href="mailto:openssl-users-bounces@openssl.org">
<openssl-users-bounces@openssl.org></a> on behalf of Dr Paul Dale <a class="x_moz-txt-link-rfc2396E" href="mailto:pauli@openssl.org">
<pauli@openssl.org></a><br>
<b>Sent:</b> Sunday, October 24, 2021 12:28 AM<br>
<b>To:</b> <a class="x_moz-txt-link-abbreviated" href="mailto:openssl-users@openssl.org">
openssl-users@openssl.org</a> <a class="x_moz-txt-link-rfc2396E" href="mailto:openssl-users@openssl.org">
<openssl-users@openssl.org></a><br>
<b>Subject:</b> Re: OpenSSL 3.0 FIPS questions</font>
<div> </div>
</div>
<div>Oops, the second time this occurs "<font face="monospace">defp = OSSL_PROVIDER_load(<span style=""></span>non_fips_libctx, "default");" it should be "</font><font face="monospace">defp = OSSL_PROVIDER_load(NULL, "default");"</font><br>
<br>
<br>
Pauli<br>
<br>
<div class="x_x_moz-cite-prefix">On 24/10/21 10:06 am, Dr Paul Dale wrote:<br>
</div>
<blockquote type="cite"><font face="monospace">defp = OSSL_PROVIDER_load(<span style=""></span>non_fips_libctx, "default");</font></blockquote>
<br>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</body>
</html>