Thanks a lot for the response!

As I could see, with ecc_point_mul, only the point x of the scalar r is useful for the ecdh-es computation.

The implementation was quick and easy with that :)

/Nicolas

Le 2021-08-10 à 17 h 32, Niels Möller a écrit :
Nicolas Mora <nico...@babelouest.org> writes:

I'm wondering if there is a function of a combination of functions to
perform a DH computation using ECC keys and their parameters "struct
ecc_point *pub1, struct ecc_scalar *key2"?

ecc_point_mul (declared in ecc.h) is intended to do that. There's also
a variant ecc_point_mul_g.

But it seems they're not properly documented in the manual.

Regards,
/Niels

_______________________________________________
nettle-bugs mailing list
nettle-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to