Re: how to use the shared key through ECDH_compute_key method

2006-12-15 Thread shakal
Nils, thanks. That's what I though, but I've looked rc5 up in the /crypto/rc5/rc5*.{h,c} files, and I don't know how to suply this key, 'cause it generates its key by its own, i.e, through RC5_32_set_key method. Is there another way to use this shared key(or one part of it) from EC_DH, in the rc5 s

Re: how to use the shared key through ECDH_compute_key method

2006-12-15 Thread Nils Larsch
[EMAIL PROTECTED] wrote: Hi all, I'm a new user trying to use the EC_DH benefits on key sharing. But I'm having some problems to understand how it works... First, in(ecdhtest.c), aout=ECDH_compute_key(abuf,alen,EC_KEY_get0_public_key(b),a,KDF1_SHA1); it generates the following key in both sides

how to use the shared key through ECDH_compute_key method

2006-12-15 Thread shakal
Hi all, I'm a new user trying to use the EC_DH benefits on key sharing. But I'm having some problems to understand how it works... First, in(ecdhtest.c), >>aout=ECDH_compute_key(abuf,alen,EC_KEY_get0_public_key(b),a,KDF1_SHA1); it generates the following key in both sides Alice and Bob >>key Alice