Ah I see!

Now it makes sense hehe!
Thank you,

On Tue, May 15, 2012 at 4:57 PM, Matt Caswell (fr...@baggins.org) <
fr...@baggins.org> wrote:

> On 15/05/12 20:21, Fábio Resner wrote:
>
>> I don`t know if this is the correct place to make this conceptual
>> question but here it goes:
>>
>> In DH you must exchange the parameters in order to generate the keys for
>> the algorithm to work properly. (Am I wrong?)
>>
>> But in ECDH (accordingly to the code above) I only needed to exchange the
>> public keys without
>> exchanging any parameters for key's generation.
>>
>> Is this particular for ECDH or are the parameter exchange being hidden
>> for the library?
>>
>>
>>  In the example code you are using a named curve. This is a standardised
> curve (along with associated standardised parameters) which is built in to
> the library. The fact that both ends of the communication have agreed to
> use the same named curve is where your parameter exchange is taking place.
>
> Matt
>
>
> ______________________________**______________________________**__________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
>



-- 
Fabio Resner.

Reply via email to