While implementing the G1 generator, I discovered that the G2 generator was set without doing cofactor multiplication. To match the BLS12-381 specs, I have updated the G2 generator and implemented the G1 generator.
Pull Request type
[x] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing
[ ] Other (please describe):
What is the current behavior?
The G2 generator point was missing the cofactor multiplication, resulting in a different point being used.
What is the new behavior?
I have updated the G2 generator to match the specs described here
While implementing the G1 generator, I discovered that the G2 generator was set without doing cofactor multiplication. To match the BLS12-381 specs, I have updated the G2 generator and implemented the G1 generator.
Pull Request type
What is the current behavior?
The G2 generator point was missing the cofactor multiplication, resulting in a different point being used.
What is the new behavior?
I have updated the G2 generator to match the specs described here
Does this introduce a breaking change?