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

Curve whispering #54

Merged
merged 7 commits into from
May 10, 2024
Merged

Curve whispering #54

merged 7 commits into from
May 10, 2024

Conversation

0xJepsen
Copy link
Contributor

This PR finished the g2 curve interface.

  • Added tests
  • Squashed some bugs

It starts on the setup part of KZG to generate the SRS. The last thing we need to do for this is to support a from for biguints.

This was linked to issues May 10, 2024
@devloper
Copy link
Contributor

simply unmatched. I think i'ma ronk with ya'll tomorrow.

Copy link
Contributor

@devloper devloper left a comment

Choose a reason for hiding this comment

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

nice!

# irreducible element: t^2-2
P = Ft(t ^ 2 - 2)
# irreducible element: t^2 + 2
P = Ft(t ^ 2 + 2)
Copy link
Contributor

Choose a reason for hiding this comment

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

magical u polynomial. someday i want to learn how to find this irreducible element.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are some algorithms to do it! Essentially an irreducible element here means that it cannot be factored in our base field. Wheres x^ + 1 = (x+ 10)(x - 10) in our base field. That is a counter example!

Copy link
Contributor

Choose a reason for hiding this comment

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

Galois tells us how

@0xJepsen 0xJepsen marked this pull request as ready for review May 10, 2024 14:44
@0xJepsen 0xJepsen linked an issue May 10, 2024 that may be closed by this pull request
@0xJepsen 0xJepsen requested a review from Autoparallel May 10, 2024 15:46
# irreducible element: t^2-2
P = Ft(t ^ 2 - 2)
# irreducible element: t^2 + 2
P = Ft(t ^ 2 + 2)
Copy link
Contributor

Choose a reason for hiding this comment

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

Galois tells us how

@Autoparallel Autoparallel merged commit 52a52bf into main May 10, 2024
4 checks passed
@Autoparallel Autoparallel deleted the curve_wispering branch May 10, 2024 15:54
@github-actions github-actions bot mentioned this pull request Jul 1, 2024
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.

Curves over the extension field feat: Pairing interface feat: Structured Reference String (SRS)
3 participants