You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we have an MSM opcode in Noir we can implement schnorr signature verification natively in Noir, which would allow us to remove the SchnorrVerify blackbox function.
The text was updated successfully, but these errors were encountered:
See #5053 for a sample rust implementation which should be fairly doable to translate into Noir. This will also require adding a method to check whether an EmbeddedCurvePoint is actually on the curve.
We'll also be able to have an assert_valid_signature variant to reduce constraint counts.
# Description
## Problem\*
Resolves#5054 and #4929
## Summary\*
Schnorr signature verification in Noir, using the MSM blackbox.
## Additional Context
The code is added to the schnorr test case, and it has also an assert
version.
This should be moved to the stdlib once we have numeric generics.
Meanwhile you need to pass a message with 32 additional bytes so we can
create an 'hash_input' array of the proper size.
## Documentation\*
Check one:
- [X] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[For Experimental Features]** Documentation to be submitted in a
separate PR.
# PR Checklist\*
- [X] I have tested the changes locally.
- [X] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
Now that we have an MSM opcode in Noir we can implement schnorr signature verification natively in Noir, which would allow us to remove the
SchnorrVerify
blackbox function.The text was updated successfully, but these errors were encountered: