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

feat : Trait Reduce implemented for U256 and U512 on struct Scalar #716

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mahmudsudo
Copy link

This implementation will help standardize scalar reduction across different elliptic curve libraries, addressing the inconsistency
closes #688

@mahmudsudo
Copy link
Author

@tarcieri


// Reduce trait

pub trait Reduce<T>{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this re-defined here? Isn't the point of the referenced issue that we should be implementing the Reduce trait from elliptic_curve?

Copy link
Contributor

@tarcieri tarcieri Oct 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also note we'll have another breaking release of elliptic-curve out soon, probably early 2025, so it would probably make sense to target these changes along with #676

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.

Implement Reduce trait
3 participants