-
Notifications
You must be signed in to change notification settings - Fork 195
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
feat: added HashToG2 circuit for BLS12-381 #481
base: master
Are you sure you want to change the base?
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. |
Description
This PR exposes the
g2SqrtRatio
function asG2SqrtRatio
so that it could be used as a hint in gnark to calculate theHashToG2
circuit 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-lint
does not output errors locally