Re: Prime number returns NULL ( BN_generate_prime)

2002-06-04 Thread Praveen Dulam
that , rsa is returning null. Can you please tell me where and how I can see PRNG. Thanks Praveen List: openssl-dev Subject: Re: Prime number returns NULL ( BN_generate_prime) From: Lutz Jaenicke [EMAIL PROTECTED] Date: 2002-06-01 11:53:37 [Download message RAW] On Fri, May 31

Re: Prime number returns NULL ( BN_generate_prime)

2002-06-04 Thread Bill Pringlemeir
Praveen Lutz thanks . Your guess is right. I tried with error option Praveen and I got this printed. Praveen RSA key error: PRNG not seeded You must modify rand_win32.c or whatever you are using to seed the PRNG. This is found at the end of the file. I have written a DEV_RANDOM for

Re: Prime number returns NULL ( BN_generate_prime)

2002-06-04 Thread Bill Pringlemeir
Bill == Bill Pringlemeir [EMAIL PROTECTED] writes: Praveen Lutz thanks . Your guess is right. I tried with error option Praveen and I got this printed. Praveen RSA key error: PRNG not seeded [snip] Bill the function `bitShaker' and my simple RNG for default data Bill [providing it is

Prime number returns NULL ( BN_generate_prime)

2002-06-01 Thread Praveen Dulam
Hi I am testng my application on Vxworks. I am callingrsa = RSA_generate_key(512, RSA_F4, NULL, NULL); this is barfing. When I debugged I could see the rsa-p=BN_generate_prime(NULL,bitsp,0,NULL,NULL,callback,cb_arg); is resturning NULL. Can some one let me know if I miss some thing ...

Re: Prime number returns NULL ( BN_generate_prime)

2002-06-01 Thread Lutz Jaenicke
On Fri, May 31, 2002 at 06:59:05PM -0700, Praveen Dulam wrote: Hi I am testng my application on Vxworks. I am calling rsa = RSA_generate_key(512, RSA_F4, NULL, NULL); this is barfing. When I debugged I could see the rsa-p=BN_generate_prime(NULL,bitsp,0,NULL,NULL,callback,cb_arg); is