My question relates to the entropy parameter in RAND_add() function and
the use of it along the command line applications.

I've observed that nearly all calls to RAND_add() have their entropy set
to 0. I'm writing some examples about crypto functions and most of them
need the PRNG being seeded before use and i'm very interested in doing
this well.

By now i've been calculating the entropy parameter with Shannon's
expression (256 possible states) divide by 8. But the way it's handled in
command line applications confuses me.

So... what's the meaning of entropy? Or... how can i estimate it?

Thanks in advance... :-)

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

Reply via email to