-
Notifications
You must be signed in to change notification settings - Fork 47
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
feat: quicksilver #198
base: alpha.1
Are you sure you want to change the base?
feat: quicksilver #198
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice 👍, looking pretty clean. Not much to add.
.map(|(macs, chi)| compute_terms(macs, chi)) | ||
.reduce( | ||
|| (Block::ZERO, Block::ZERO), | ||
|(u_0, v_0), (u_1, v_1)| (u_0 ^ u_1, v_0 ^ v_1), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we rename (u_0, v_0)
to (u_acc, v_acc)
, and (u_1, v_1)
to (u, v)
, because I think that conveys better what is going on here.
.map(|(keys, chi)| compute_term(keys, chi, delta)) | ||
.reduce( | ||
|| Block::ZERO, | ||
|w_0, w_1| w_0 ^ w_1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
This PR provides a zkVM implementation using Quicksilver. Builds on work from @xiangxiecrypto and supercedes #172 and #182.