dusk-network / dusk-zerocaf

Zerocaf: A library built for EC operations in Zero Knowledge.
https://dusk.network/
MIT License
53 stars 11 forks source link

#ITEM 2 - Implement Affine Coordinates over Doppio. #66

Closed CPerezz closed 5 years ago

CPerezz commented 5 years ago

This issue lives under the item: https://gitlab.dusk.network/dusk-org/tech/issues/2

Affine coordinates are the conventional way of expressing elliptic curve points, which uses 2 coordinates. The math is concise and easy to follow.

For a pair of constants a and b, an elliptic curve is defined by the set of all points (x,y) that satisfy the equation y2=x3+ax+b, plus a special “point at infinity” named O.

We should provide support for the point operations over this coordinates and also implement point Eq trait for them as all other Point implementations will rely on it.

The skeleton was started in 5d2928e and needs some work on it. We will need to implement:

CPerezz commented 5 years ago

We can consider this closed since #67 was merged.