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

Implement TryFrom<AffinePoint> for ProjectivePoint #56

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

tcoratger
Copy link
Contributor

Pull Request type

Please add the labels corresponding to the type of changes your PR introduces:

  • Feature

What is the new behavior?

This pull request adds the implementation of the TryFrom<AffinePoint> trait for the ProjectivePoint type. This implementation allows converting an AffinePoint to a ProjectivePoint if possible, or returning an error if the conversion is not valid according to the elliptic curve arithmetic.

Does this introduce a breaking change?

Other information

@0xLucqs 0xLucqs merged commit cad00f7 into starknet-io:main Apr 9, 2024
2 checks passed
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