On Thu, Mar 02, 2000, Pascal Junod wrote:

> #define ENTROPY_NEEDED 16  /* require 128 bits = 16 bytes of randomness
> */
> 
> [...]
> 
> Is it a bad idea to define this constant in rand.h instead of md_rand.c
> ?

The information hiding principle suggests that it is indeed a bad idea.

If there was a real benefit to it, one might change the RAND_status()
function to return a numeric value, but I don't see that.

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

Reply via email to