Hi Gaurav,
OpenSSL adds the system time to the entropy pool every now and then, but the 
real "seed" should be set by the user, via RAND_add().

--Yair


________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Gaurav Nagare [EMAIL 
PROTECTED]
Sent: Thursday, February 07, 2008 16:17
To: openssl-dev@openssl.org
Subject: Seed value for PRNG



Hi,

I want to know what is seed value passed to the PRNG. From the function static 
int bnrand<file://ident?v=openssl-0.9.7a;i=bnrand>(int pseudorand, 
BIGNUM<file://ident?v=openssl-0.9.7a;i=BIGNUM> *rnd, int 
bits<file://ident?v=openssl-0.9.7a;i=bits>, int top, int bottom) in file 
"crypto/bn/bn_rand.c", it appears that system time is passed as a seed. Please 
let me know if this is correct.

Thank you.
Regards,
Gaurav


________________________________
This email and any files transmitted with it are confidential material. They 
are intended solely for the use of the designated individual or entity to whom 
they are addressed. If the reader of this message is not the intended 
recipient, you are hereby notified that any dissemination, use, distribution or 
copying of this communication is strictly prohibited and may be unlawful.

If you have received this email in error please immediately notify the sender 
and delete or destroy any copy of this message

Reply via email to