Hello All,
I am getting below error when trying to create a connection
Seeding the PRNG failed, most likely because the system does not have
/dev/random.
Any inputs why this error pops up?
FYI.. i am working on AIX - 64 bit platform.
On Mon, Mar 25, 2013 at 9:50 PM, Mithun Kumar mithunsi...@gmail.com wrote:
Hello All,
I am getting below error when trying to create a connection
Seeding the PRNG failed, most likely because the system does not have
/dev/random.
Any inputs
You don't need to call RAND_write_file. RAND_load_file(/dev/random,bytes )
will seed the PRNG with whatever is the value of bytes variable.
-Sandeep
On Sun, Sep 19, 2010 at 3:59 AM, krishnamurthy santhanam
krishnamurth...@gmail.com wrote:
Hi,
I need to seed PRNG of 128 bytes. in the below
Hi,
I need to seed PRNG of 128 bytes. in the below program is seeding 1024
byte.
is it possible seed 128 bytes of data using RAND_seed(). Any example should
be helpful for me.
#includestring.h
#includeopenssl/rand.h
#includeopenssl/bn.h
main()
{
/*int nb,l;
Hi,
I am using the openSSl 9.8i on a chorus operating system. When I tried
to use the funciton
srand(time(NULL));
RSA* rsa = RSA_generate_key(512, 65537, NULL, NULL) ;
I get the error the random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded .
Does srand() seed PRNG?
How can i work around
you should try http://openssl.org/docs/crypto/RAND_add.html#
_
Windows Liveā¢: E-mail. Chat. Share. Get more ways to connect.
See the OpenSSL FAQ:
http://www.openssl.org/support/faq.html#USER1
srand/rand/etc. have nothing to do with the cryptographically strong
PRNG inside OpenSSL as srand/rand et al are not meant to be used for
cryptographic purposes anyway. Read books such as published by Bruce
Schneier, etc. about