-
Notifications
You must be signed in to change notification settings - Fork 112
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
Any easy way to verify secp256r1 (NIST P256) ECDSA signature? #1724
Comments
Hey! Unfortunately, we currently only support foreign curves with curve parameter To support curves with |
Thank you for the reply, I would see I'd see for myself if I could do something about this. Also another completely unrelated issue/doubt, is there an easy way to pass a composite struct having string data inside to a zkProgram? This inherently doesn't give any errors, but the values of sig and msg are not accessible inside prove-able code (inside the methods of zkProgram) i.e I get no value from these fields of sig and msg. Example:
|
You can't work with strings inside provable code, you would have to convert your strings into Field elements using an encoding |
The custom curve params for the NIST curve does not seem to work. Anyway/any work around as to how a P256 ECDSA signature?
Using curve params as:
The text was updated successfully, but these errors were encountered: