On Wed, 12 Apr 2000, Richard Levitte - VMS Whacker wrote:

> djm> This violates the "principle of least suprise". The -rand parameter 
> djm> should either stop reading after a sufficient number of bytes or be
> djm> properly documented in gendsa.1.
> 
> Hmm, define "sufficient".  In OpenSSL, it's "whatever the user wants
> to throw at me, I'll eat until it stops". /dev/urandom hardly ever
> stops :-)...

Data greater than md_rand.c's STATE_SIZE is going to be wasted. 

-d

-- 
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: [EMAIL PROTECTED] (home) -or- [EMAIL PROTECTED] (work)



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

Reply via email to