nisse@lysator.liu.se (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