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

Swap real/imag constants for negative G2 generator #2

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

Conversation

nikeshnazareth
Copy link

The G2_NEG constants have the imaginary and real components switched.

This commit brings the G2_NEG_* constants into conformance with
https://eips.ethereum.org/EIPS/eip-197

It also ensures G2_NEG is on the curve.

This commit brings the G2_NEG_* constants into conformance with
https://eips.ethereum.org/EIPS/eip-197

It also ensures G2_NEG is on the curve.
@mariocao
Copy link
Contributor

mariocao commented Jul 5, 2021

Hi @nikeshnazareth ! Thanks for discovering it!

Do you mind rebasing the pull request with the master branch?
I just merged some changes that fix the failing checks.

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