Skip to content

elliptic-curve: add ff and group bounds on Arithmetic trait#291

Merged
tarcieri merged 1 commit into
masterfrom
elliptic-curve/ff-and-group-arithmetic
Sep 8, 2020
Merged

elliptic-curve: add ff and group bounds on Arithmetic trait#291
tarcieri merged 1 commit into
masterfrom
elliptic-curve/ff-and-group-arithmetic

Conversation

@tarcieri

@tarcieri tarcieri commented Sep 8, 2020

Copy link
Copy Markdown
Member

Adds the following:

  • Arithmetic::ProjectivePoint associated type with group::Curve and group::Group bounds
  • Arithmetic::Scalar is now bounded by ff::PrimeField

Adds the following:

- `Arithmetic::ProjectivePoint` associated type with `group::Curve` and
  `group::Group` bounds
- `Arithmetic::Scalar` is now bounded by `ff::PrimeField`
@tarcieri tarcieri requested review from fjarri and str4d September 8, 2020 19:29
@tarcieri

tarcieri commented Sep 8, 2020

Copy link
Copy Markdown
Member Author

NOTE: I think there are a lot of traits that can be cleaned up and consolidated once these bounds are in place.

I consider this commit an incremental step to start moving over to the ff and group traits.

@tarcieri tarcieri merged commit c83f980 into master Sep 8, 2020
@tarcieri tarcieri deleted the elliptic-curve/ff-and-group-arithmetic branch September 8, 2020 19:30
@tarcieri tarcieri mentioned this pull request Sep 11, 2020
dns2utf8 pushed a commit to dns2utf8/traits that referenced this pull request Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant