пт, 22 нояб. 2019 г., 18:16 Niels Möller <[email protected]>:

> Dmitry Eremin-Solenikov <[email protected]> writes:
>
> > Basically I have two strange curves which are defined in Weierstrass
> > form, but have equivalent Untwisted Edwards form. I planned to make
> > ecc_point_set/get convert between x,y and u,v,w (and to store these
> > coordinates in ecc_point).
>
> Then the internal representation would be plain limb arrays holding u,
> v, w in order. With individual coordinates in ordinary or montgomery
> representation, depending on what makes the reduce operation most
> efficient.
>

Yes, I've implemented it exactly in this way.



> Now I'm getting unsure about what should go in the struct ecc_point limb
> array. But I think curve implementation has some room to choose it's
> preferred representation.
>


Currently I have xyz for secp curves and uvw for edwards curves.



> Regards,
> /Niels
>
> --
> Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
> 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