# openssl rand 16 -out ./junk.bin
unable to write 'random state'

I have made some changes to code in the openssl-fips-ecp-2.0.2 distribution 
(yes, I know I cannot use the OpenSSL FIPS 140-2, Level 1 accreditation).  It's 
likely that I have screwed something up, huh?



>># echo $OPENSSL_FIPS
>>  1
>># openssl genrsa -out /home/user/key -des3 2048
>>  error:FIPS routines:FIPS_drbg_generate:not 
> instantiated:openssl-fips-ecp-2.0/fips/rand/fips_drbg_lib.c:459
>>  error:rsa routines:RSA_BUILTIN_KEYGEN:BN 
> lib:openssl-fips-ecp-2.0/crypto/rsa/rsa_gen.c:338
>> 
>>  What am I doing wrong?
>> 
> 
> I have no idea, but just for comparison, what does the same environment 
> do with this command:
> 
> openssl rand 16 -out ./junk.bin
> 
> (I am asking because the error message seems to say that it cannot 
> initialize the random number generator for some unknown reason).
> 
> 
> Enjoy
> 
> Jakob
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to