I'm sorry you are correct. I thought I had this right but I'm not comming
up with the right key on each side.  if I want to multiply a pt and an
integer is this The way i woudl do it?

EC_POINT_mul(group, resultingPt, &(group->order), thePtToMulti,
theIntegerToMulti, ctx);

I'm really guessing here,  Is the 3rd parameter the order of the curve
(i.e. n or Z in ectest.c)?  If not what is it?

Thanks,

Frank


Nils Larsch wrote:

> Frank wrote:
> > Yes, MQV.
>
> To implement MQV (according to "An Efficient Protocol for
> Authenticated Key Agreement" from A. Menezes et al) you
> need functions to multiply a ec point with a integer and a
> function to add two ec points. Both can be done with
> the OpenSSL function EC_POINT[s]_mul().
>
> Regards,
> Nils
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to