Simon Josefsson simon@josefsson.org writes:
Is there any generic (EC)DH interface in nettle?
I think the three functions ecc_scalar_random, ecc_point_mul_g and ecc_point_mul are what's needed. And I added ecc_bit_size a few days ago.
This doesn't do encoding and decoding of points for ANSI x9.62 (or any other related standard), though.
Regards, /Niels