-
Notifications
You must be signed in to change notification settings - Fork 162
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
Perf: KZG with fixed-argument pairing in affine coordinates #466
Conversation
📦
📦 ❌
📦 ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ 📦 📦 📦
|
📦
📦
📦 📦
📦
📦 📦 ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌
❌ ❌ ❌ ❌ |
📦 📦
📦 📦 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Maybe can simplify a few methods in comments?
Description
This PR refactors KZG to use fixed-argument pairings. This requires to change the SRS verifying key to store the precomputed lines instead of the points G2 and [a]G2.
TODO:
I need to implement an ate variant Miller loop for BW6-633 to implement this feature.Done in 07b87ae.Type of change
Please delete options that are not relevant.
How has this been tested?
Same tests for KZG work here as well + testing that
Pair
results with fixed and variable arguments match.How has this been benchmarked?
Some benchmarks on a AWS
z1d.large
machine:Checklist:
golangci-lint
does not output errors locally