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

Add Group::mul_by_generator #44

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

Conversation

tarcieri
Copy link
Contributor

Adds a provided method to the Group trait for performing multiplication by the generator.

The use case is overriding this method in the event that precomputed scalar multiplication tables are available, which may be conditional depending on crate features like alloc or feature-gated static precomputed tables.

Adds a provided method to the `Group` trait for performing
multiplication by the generator.

The use case is overriding this method in the event that precomputed
scalar multiplication tables are available, which may be conditional
depending on crate features like `alloc` or feature-gated static
precomputed tables.
Copy link
Member

@str4d str4d left a comment

Choose a reason for hiding this comment

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

ACK, thanks!

This is adding a provided method to a trait, which is a possibly-breaking change. Per existing precedent for these crates, I consider it a minor change, so we can push this out with a point release. I will hold off merging this PR however until the other bugfix PRs are ready so I can determine what the content of the next release will be.

@str4d
Copy link
Member

str4d commented Jul 29, 2023

Re-linking #45 here because I'd forgotten about that issue, and it is relevant to whether we merge this PR.

@tarcieri
Copy link
Contributor Author

tarcieri commented Jul 29, 2023

The use case described in #45 was a generator stored as static data which should work fine with this API.

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.

2 participants