Skip to content

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

Merged
merged 40 commits into from
Aug 15, 2024
Merged

Bn254 pairing #889

merged 40 commits into from
Aug 15, 2024

Conversation

nicole-graus
Copy link
Contributor

BN254 Pairing

Description

Implementation of BN254 elliptic curve Ate pairing

Type of change

  • New feature

@nicole-graus nicole-graus requested a review from a team as a code owner August 13, 2024 16:12
@codecov-commenter
Copy link

codecov-commenter commented Aug 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.80%. Comparing base (3925b01) to head (5b35d44).
Report is 3 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

}

#[test]
fn g2_conjugate_two_times_is_identity() {
Copy link
Collaborator

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Algorithm adapted from Arkowork's double_in_place and add_in_place.
/// Algorithm adapted from Arkwork's double_in_place and add_in_place.

@diegokingston diegokingston added this pull request to the merge queue Aug 15, 2024
Merged via the queue into main with commit 01fff47 Aug 15, 2024
7 checks passed
@diegokingston diegokingston deleted the bn254-pairings branch August 15, 2024 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants