error - seeding PRNG failed

2013-03-25 Thread Mithun Kumar
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?

Re: error - seeding PRNG failed

2013-03-25 Thread Mithun Kumar
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

Re: seeding PRNG

2010-09-20 Thread sandeep kiran p
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

seeding PRNG

2010-09-19 Thread krishnamurthy santhanam
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;

seeding PRNG

2009-01-28 Thread paramaguru.thangavelu
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

RE: seeding PRNG

2009-01-28 Thread Giang Nguyen
you should try http://openssl.org/docs/crypto/RAND_add.html# _ Windows Liveā„¢: E-mail. Chat. Share. Get more ways to connect.

Re: seeding PRNG

2009-01-28 Thread Ger Hobbelt
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