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

p384: use canonical form constants #592

Merged
merged 1 commit into from Jun 3, 2022

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Jun 3, 2022

Now that conversions to/from the Montgomery domain are const fn (#590) it's possible to define constants in their canonical form, rather than converting them into the Montgomery domain first.

This makes the code clearer and easier to audit.

Now that conversions to/from the Montgomery domain are `const fn` (#590)
it's possible to define constants in their canonical form, rather than
converting them into the Montgomery domain first.

This makes the code clearer and easier to audit.
@tarcieri tarcieri merged commit 0dbf939 into master Jun 3, 2022
@tarcieri tarcieri deleted the p384/use-canonical-form-constants branch June 3, 2022 16:40
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