Re: DH shared key generation using Oakley groups.

2005-09-24 Thread joseph k j
On 9/24/05, Nils Larsch <[EMAIL PROTECTED]> wrote: joseph k j wrote:...> I am using openssl-0.9.8-stable-SNAP-20050810,> BN_set_word(BIGNUM *a, unsigned long w);> what should i do if i need to set a prime whose bits exceeds that of > a long.> can some one give me a pointer to a good

Re: DH shared key generation using Oakley groups.

2005-09-24 Thread Nils Larsch
joseph k j wrote: ... I am using openssl-0.9.8-stable-SNAP-20050810, BN_set_word(BIGNUM *a, unsigned long w); what should i do if i need to set a prime whose bits exceeds that of a long. can some one give me a pointer to a good doc on BN. depends on the format of the number yo

Re: DH shared key generation using Oakley groups.

2005-09-23 Thread joseph k j
On 9/23/05, Nils Larsch <[EMAIL PROTECTED]> wrote: joseph k j wrote:> hello everyone,>> I am currently using the following functions,>>a = DH_new();>DH_generate_parameters_ex(a, prime_len, generator, &cb );> > here i see the prime generated is random, each time i call the function> it genre

Re: DH shared key generation using Oakley groups.

2005-09-23 Thread Nils Larsch
joseph k j wrote: hello everyone, I am currently using the following functions, a = DH_new(); DH_generate_parameters_ex(a, prime_len, generator, &cb ); here i see the prime generated is random, each time i call the function it genrerates a new prime. but how is it possible for me to