feat: added HashToG2 circuit for BLS12-381#481
feat: added HashToG2 circuit for BLS12-381#481weijiguo wants to merge 11 commits intoConsensys:masterfrom
Conversation
|
This PR is part of efforts to address Consensys/gnark#648 |
pull latest codes from upstream
pull upstream release 0.15.0
|
Hi @ivokub I am now trying to deal with the issue you mentioned earlier about modifying the generated file instead of the template: Consensys/gnark#1040 (comment) While I attempt to change the template function name from Also, g1SqrtRatio function names are also updated after code generation. Is this OK? Do you want to update the copyright year as well (current value is 2020). Please ping back. Thanks, |
|
|
as fptower package is internal
Thanks, I'll have a look. |
|
More cleanly applied here: #674. There I also expose methods which help with computing the SSWU isogeny. Closing this pull request for now. |
Description
This PR exposes the
g2SqrtRatiofunction asG2SqrtRatioso that it could be used as a hint in gnark to calculate theHashToG2circuit for BLS12-381.Fixes # (issue)
Type of change
Please delete options that are not relevant.
How has this been tested?
How has this been benchmarked?
No.
Checklist:
golangci-lintdoes not output errors locally