nisse@lysator.liu.se (Niels Möller) writes:
Also, I think I'll replace
struct ecc_curve nettle_curve25519;
by
struct ecc_curve nettle_ed25519; /* or whatever name is appropriate */
since this curve is what's really implemented, and it's better defined.
Done now, except for the renaming. This means, that for input and output, coordinates represent points on the -1 twisted Edwards curve. It's only the curve25519_mul* functions which use the Montgomery curve for inputs and outputs.
For the renaming, I'm no longer sure that's a good idea. http://www.ietf.org/mail-archive/web/cfrg/current/msg04996.html seems to recommend "curve25519" as the name of the curve, regardless of which coordinates are used.
Regards, /Niels