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 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 why this err

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: 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

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. #include #include #include main() { /*int nb,l; l=RAND_load_file("/dev/random",bytes ); printf("Seeded the

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 cr

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. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_012009

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 aroun