<div dir="ltr">Hi All:<div><br></div><div>We<span style="font-family:arial,helvetica,sans-serif;font-size:13px"> will be using OpenSSL FIPS modules on our Linux</span><font face="arial, helvetica, sans-serif"> appliances and we have some Python and PHP applications which need to invoke crypto related functionalities provided by OpenSSL.</font></div><div><br></div><div>I was wondering has anyone integrated Python and PHP with OpenSSL FIPS modules?</div><div><br></div><div>Since <span style="font-family:arial,helvetica,sans-serif;font-size:13px">for each application which need to use OpenSSL FIPS modules, the application need to invoke the FIPS_mode_set () API in its process space. To me it sounds like the </span><span style="font-family:arial,helvetica,sans-serif;font-size:13px">FIPS_mode_set  function needs to be invoked </span><font face="arial, helvetica, sans-serif">from within the Python and PHP interpreter processes, which means we need to modify the Python or PHP interpreter make make them invoke the </font><span style="font-family:arial,helvetica,sans-serif;font-size:13px">FIPS_mode_set() API when needed.</span><span style="font-family:arial,helvetica,sans-serif"> Does that sound like the right thing to do, or is there any better way for doing this?</span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:13px">Thanks.</span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:13px"><br></span></div></div>