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

halo2-ecc: update is_on_curve helper to support p256 #28

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

DreamWuGit
Copy link
Member

@DreamWuGit DreamWuGit commented Jul 9, 2024

this PR fix issue #27
for secp256r1 curve: y^2 = x^3 + ax + b, parameter a is not zero, can not omit it like secp256k1. here add a*x part to the circuit equation checking.
include two helpers:

  • is_on_curve
  • is_on_curve_or_infinity

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.

1 participant