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

Make raw constructors of field elements private #90

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

cronokirby
Copy link
Contributor

The rationale here is that we only want the existing methods of constructing field elements, including from bytes.

There's an argument in favor of adding a constructor which takes in 64 bit limbs and reduces mod order, but that doesn't strike me as particularly necessary.

The rationale here is that we only want the existing methods of
constructing field elements, including from bytes.

There's an argument in favor of adding a constructor which takes in 64
bit limbs and reduces mod order, but that doesn't strike me as
particularly necessary.
@cronokirby cronokirby merged commit 5d0bfeb into main Feb 8, 2024
6 checks passed
@cronokirby cronokirby deleted the more-private-api branch February 8, 2024 21:22
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.

None yet

1 participant