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

CRYPTO_set_id_callback and portability

2005-09-24 Thread Steffen Fiksdal
Hi! I am implementing a library that must be able to run on a lot of platforms, these include solaris,linux,windows, mainframe (hp nonstop, z/os) It is currently quite portable, but I am struggeling with the CRYPTO_set_id_callback. It demands that the return value for the id callback rout

DTLS server doesn't recieve data

2005-09-24 Thread Manuel Schölling
Hi everybody, I'm going to write a peer2peer-vpn linux client. I wanna use OpenSSL's DTLS for transfering the data from one client to an other. Here is my problem: When I send data with SSL_write just one udp packet (size: 119) is sent and the server does not react on this. Both (SSL_write cl

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