----- Original Message ----- From: "Richard Levitte - VMS Whacker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, March 20, 2004 2:36 AM Subject: Re: /dev/random
> In message <[EMAIL PROTECTED]> on Sat, 20 Mar 2004 02:28:01 -0600, "Vu Pham" <[EMAIL PROTECTED]> said: > > vu> I run the following function on Solaris x86 and Linux (RH9) > vu> RAND_load_file("/dev/random", 2048) > vu> > vu> On the Solaris x86 ( AMD 2700+) , it takes less than 1 second. > vu> On the RH9 ( AMD 2400+ ), it takes almost a minute. > vu> > vu> I don't think that small cpu speed difference can cause that big difference > vu> performance. What else can cause this long time on RH9 ? > > /dev/random may block if it's internal randomness pool gets > exhausted. Apparently, you're hitting that much faster on RH9, dor > whatever reason. Richard, thanks for your explanation. > > Loading that much data from /dev/random is a bad idea altogether. > OpenSSL will automagically load bytes from /dev/urandom, /dev/random > and a few more sources anyway, and just enough to make OpenSSL's > randomness pool sufficiently secure. > I do that in order to seed the PRNG. Do you mean I do not need it ? Sorry if this question is stupud because I am new to OpenSSL. Thanks, Vu ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]