Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 8, 2020

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Sep 8, 2020

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
Copy link
Member Author

tarcieri commented Sep 8, 2020

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