Hi, I am building FIPS capable openssl using openss-1.0.1c and openssl-fips-2.0.2. I successfully built and ran unit tests on openssl-1.0.1c but on 32 bit machines, big number test(bntest) goes into infinite loop. Can someone please let me know if this is a known issue on 32 bit machines?
Openssl-1.0.1c Config command ./config fips --with-fipsdir=/u/common/fips/i386-dbg/usr/local/ssl/fips-2.0 no-camellia -d -g3 -gdwarf-2 -ggdb -p -DMEM_MINIMIZE shared -DPURIFY -DOPENSSL_NO_BUF_FREELISTS -DOPENSSL_NO_TLS1_2_CLIENT && make depend && make && make test Output of make test 108 ../util/shlib_wrap.sh ./randtest^M 109 test 1 done^M 110 test 2 done^M 111 test 3 done^M 112 test 4 done^M 113 starting big number library test, could take a while...^M 114 test BN_add^M 115 test BN_sub^M 116 test BN_lshift1^M 117 test BN_lshift (fixed)^M 118 Starting BN_CTX_start^M 119 (09107cb0): ^M 120 : ^M 121 Ending BN_CTX_start^M 122 (09107cb0): ^M 123 : ^^^ ^M 124 Starting BN_CTX_end^M 125 (09107cb0): ^M 126 : ^^^ ^M 127 Ending BN_CTX_end^M 128 (09107cb0): ^M 129 : ^M 130 Starting BN_CTX_start^M 131 (09107cb0): ^M 132 : ^M 133 Ending BN_CTX_start^M 134 (09107cb0): ^M 135 : ^^^ ^M 136 Starting BN_CTX_end^M 137 (09107cb0): ^M 138 : ^^^ ^M 139 Ending BN_CTX_end^M 140 (09107cb0): ^M 141 : ^M 142 Starting BN_CTX_start^M ... ... ... 132387 Starting BN_CTX_end^M 132388 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132389 : ^^^ ^^^ ^^^ ^^^ ^M 132390 Ending BN_CTX_end^M 132391 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132392 : ^^^ ^^^ ^^^ ^M 132393 Starting BN_CTX_end^M 132394 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132395 : ^^^ ^^^ ^^^ ^M 132396 Ending BN_CTX_end^M 132397 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132398 : ^^^ ^^^ ^M 132399 Starting BN_CTX_end^M 132400 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132401 : ^^^ ^^^ ^M 132402 Ending BN_CTX_end^M 132403 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132404 : ^^^ ^M 132405 Starting BN_CTX_start^M 132406 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132407 : ^^^ ^M 132408 Ending BN_CTX_start^M 132409 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132410 : ^^^ ^^^ ^M 132411 Starting BN_CTX_get^M 132412 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132413 : ^^^ ^^^ ^M 132414 Starting BN_CTX_start^M 132415 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132416 : ^^^ ^^^ ^M 132417 Ending BN_CTX_start^M 132418 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132419 : ^^^ ^^^ ^^^ ^M 132420 Starting BN_CTX_get^M 132421 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132422 : ^^^ ^^^ ^^^ ^M 132423 Starting BN_CTX_end^M 132424 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132425 : ^^^ ^^^ ^^^ ^M 132426 Ending BN_CTX_end^M 132427 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132428 : ^^^ ^^^ ^M 132429 Starting BN_CTX_start^M 132430 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132431 : ^^^ ^^^ ^M 132432 Ending BN_CTX_start^M 132433 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132434 : ^^^ ^^^ ^^^ ^M 132435 Starting BN_CTX_get^M 132436 (09107cb0): 100 100 100 040 080 080 080 080 080 080 080 080 080 080 080 080 080 080 ^M 132437 : ^^^ ^^^ ^^^ ^M 132438 Starting BN_CTX_get^M 132439 (09107cb0): 100 ^C100 100 make[1]: *** [test_bn] Interrupt^M Santhosh