Hi,

Pascal Junod <[EMAIL PROTECTED]> wrotes:

>> data, but is there a way to figure out how much data the PRNG needs
>> before I call the functions RAND_add() or RAND_seed()?
>
> "As of version 0.9.5, the OpenSSL functions that need randomness report
> an error if the random number generator has not been seeded
> with at least 128 bits of randomness."

Yes, I know but I still can't figure out - with a function call or a define or  
a constant from some .h files - how much data the PRNG needs (at least) to be  
happy :-)... maybe in the future the PRNG needs 256 bits or whatever... in the  
moment I check with RAND_status() if the PRNG needs more data, if not I call  
RAND_seed() again... and so on...

Bye,

   Juergen
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to