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

k256: factor mul_by_generator into ProjectivePoint #706

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Jan 9, 2023

Makes ProjectivePoint::mul_by_generator an inherent static method instead of a free function.

This avoids the need to import it separately from ProjectivePoint.

Makes `ProjectivePoint::mul_by_generator` an inherent static method
instead of a free function.

This avoids the need to import it separately from `ProjectivePoint`.
@tarcieri tarcieri requested a review from fjarri January 9, 2023 00:34
@tarcieri tarcieri merged commit 84871c3 into master Jan 9, 2023
@tarcieri tarcieri deleted the elliptic-curve/projectivepoint-mul-by-generator-inherent-method branch January 9, 2023 00:50
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