-
Notifications
You must be signed in to change notification settings - Fork 21
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
Implement batch verification #30
Comments
The batch verification API should have an IUF-style API like the one I designed for The The type signature for the To actually perform the verification, we need to compute a multiscalar multiplication. The In the meantime, I think it makes sense to write a stub multiscalar multiplication function in the // exact types tbd
fn multiscalar_mul(scalars: impl Iterator<Item=Scalar>, points: impl Iterator<Item=Point>) -> Point {
// perform N individual scalar*point operations and add the results
} and use that to implement the batch verification, later replacing it with a call to an optimized implementation in The synchronous API exposed by this crate should have an async interface in Zebra, not in this crate, as described here: ZcashFoundation/zebra#460 (comment) |
In summary, there should be:
|
Pertains to ZcashFoundation/zebra#407 |
Per #36 (comment), the design sketch above is suboptimal, and instead, the |
https://zips.z.cash/protocol/protocol.pdf#reddsabatchverify
The text was updated successfully, but these errors were encountered: