Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

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

Closed
CPerezz opened this issue Jul 17, 2019 · 1 comment
Closed

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

CPerezz opened this issue Jul 17, 2019 · 1 comment
Assignees
Labels
blocking This is blocking further implementations, actual PR's or Issues. enhancement New feature or request

Comments

@CPerezz
Copy link
Contributor

CPerezz commented Jul 17, 2019

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:

  • Point Addition
  • Point Doubling
  • Point Generation
  • Scalar Multiplication
  • Point Eq implementation and derive the others to this one
  • Point conversions
@CPerezz CPerezz added enhancement New feature or request blocking This is blocking further implementations, actual PR's or Issues. labels Jul 17, 2019
@CPerezz CPerezz self-assigned this Jul 17, 2019
@CPerezz
Copy link
Contributor Author

CPerezz commented Jul 22, 2019

We can consider this closed since #67 was merged.

@CPerezz CPerezz closed this as completed Jul 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocking This is blocking further implementations, actual PR's or Issues. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant