<div dir="ltr"><a href="mailto:terriann.farias@navy.mil">terriann.farias@navy.mil</a> <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 4:55 AM Akshar Kanak <<a href="mailto:akshar.kanak1@gmail.com">akshar.kanak1@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">Dear team <br> The API FIPS_selftest() is failing . <br> The content of the file /proc/sys/crypto/fips_enabled is 1 <br> I have executed the below mentioned code <br> <br> The code is <br> #include "stdio.h"<br> int main()<br> {<br> int ret=0;<br> ret=FIPS_mode();<br> printf("\nFIPS_mode = %u \n",ret);<br> ret=FIPS_selftest();<br> printf("\nFIPS_selftest=%u \n",ret);<br> ERR_print_errors_fp(stderr);<br> }<br> <br> <br> Output is <br> " <br> FIPS_mode = 1<br><br> FIPS_selftest=0<br> 140091346814640:error:0607B0A3:lib(6):func(123):reason(163):evp_enc.c:313:<br> 140091346814640:error:2D06F065:lib(45):func(111):reason(101):fips_des_selftest.c:134:<br> "<br><br> Looks like flag EVP_CIPH_FLAG_FIPS is not set for the cipher returned by EVP_des_ede_ecb() .<br><br> I am using openssl-1.0.2k-19.el7.x86_64 on "CentOS Linux release 7.6.1810 (Core)"<br> <br> Please let me know you thoughts on this <br> <br> Thanks and Regards<br> Akshar<br></div>
_______________________________________________<br>
CentOS-devel mailing list<br>
<a href="mailto:CentOS-devel@centos.org" target="_blank">CentOS-devel@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/centos-devel" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/centos-devel</a><br>
</blockquote></div>