-
Notifications
You must be signed in to change notification settings - Fork 158
Bn254 pairing #889
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
Bn254 pairing #889
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #889 +/- ##
==========================================
+ Coverage 72.07% 72.80% +0.72%
==========================================
Files 149 150 +1
Lines 33427 34119 +692
==========================================
+ Hits 24092 24839 +747
+ Misses 9335 9280 -55 ☔ View full report in Codecov by Sentry. |
} | ||
|
||
#[test] | ||
fn g2_conjugate_two_times_is_identity() { |
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.
I think this test is trivial. We should try non-zero elements
} | ||
|
||
/// Computes the line between q and t and evaluates it in p. | ||
/// Algorithm adapted from Arkowork's double_in_place and add_in_place. |
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.
/// Algorithm adapted from Arkowork's double_in_place and add_in_place. | |
/// Algorithm adapted from Arkwork's double_in_place and add_in_place. |
BN254 Pairing
Description
Implementation of BN254 elliptic curve Ate pairing
Type of change