[email protected] (Niels Möller) writes:

> Does anyone here have suitable ecdh
> test vectors (a bit like draft-turner-thecurve25519function-00, but for
> the more traditional curves? Wikipedia points to
> http://www.secg.org/download/aid-390/gec2.pdf, but that site appears to
> be down at the moment.

For the time being, I wrote a pari/gp script to generate some DH test
data. See
https://git.lysator.liu.se/nettle/nettle/blob/curve25519/misc/ecc-ref.gp

Luckily, ecc_point_mul and ecc_point_mul_g seem to pass the new tests.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to