Re: FIPS OpenSSL default DRBG continuous test failing

2013-10-13 Thread karanpopali
In my application, I've two major components which access the random generator (one is database module and other one is JNI wrapper used by Java). Therefore I think this issue is some synchronization issue. I wrote a test app to try to reproduce the problem in multithreaded environment. And this t

Documentation issue?

2013-09-28 Thread karanpopali
In the FIPS User Guide (http://www.openssl.org/docs/fips/UserGuide-2.0.pdf), there is example to set the default DRBG type. It uses DRBG type as NID_hmac_WithSHA256, but it should be NID_hmacWithSHA256. Example from UserGuide: ./config -DOPENSSL_DRBG_DEFAULT_TYPE=NID_hmac_WithSHA256 \ -DOPENSSL_DR

FIPS OpenSSL default DRBG continuous test failing

2013-09-25 Thread karanpopali
I'm using FIPS OpenSSL on Android and it FIPS_rand_bytes() fails continuous test after sometime. I read in the SecurityPolicy that if it fails then we need to uninstantiate and re-instantiate the DRBG. Few questions: 1. Is there any way to avoid this? Will using HMAC DRBG or Hash DRBG help? 2. Is