Skip to content
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(elliptic curve): add fuzzer for BLS12-381 #664

Merged
merged 5 commits into from Nov 23, 2023

Conversation

PatStiles
Copy link
Contributor

Add Fuzzer for BLS12-381

Description

Adds a differential fuzzer for BLS12-381 for elliptic curve operations.

Type of change

Please delete options that are not relevant.

  • New feature

Checklist

  • Unit tests added

@PatStiles PatStiles requested review from schouhy, ajgara and a team as code owners November 6, 2023 05:55
Copy link
Collaborator

@MauroToscano MauroToscano left a comment

Choose a reason for hiding this comment

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

Remove unused imports

@codecov-commenter
Copy link

codecov-commenter commented Nov 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (57514c1) 96.17% compared to head (7fac432) 96.17%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #664   +/-   ##
=======================================
  Coverage   96.17%   96.17%           
=======================================
  Files         132      132           
  Lines       29847    29847           
=======================================
  Hits        28704    28704           
  Misses       1143     1143           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PatStiles PatStiles changed the title feat(elliptic curve): add diff fuzzer for BLS12-381 feat(elliptic curve): add fuzzer for BLS12-381 Nov 7, 2023
// -O = O
assert_eq!(g1_zero.neg(), g1_zero, "Neutral mul element a failed");

// P * O = O
Copy link
Contributor

Choose a reason for hiding this comment

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

It's very uncommon to use multiplicative notation for elliptic curve operations. Please use + here and in every other comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed thanks for the feedback!

@diegokingston diegokingston added this pull request to the merge queue Nov 23, 2023
Merged via the queue into lambdaclass:main with commit 4844743 Nov 23, 2023
7 checks passed
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.

None yet

6 participants