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

feat: quicksilver #198

Open
wants to merge 4 commits into
base: alpha.1
Choose a base branch
from
Open

feat: quicksilver #198

wants to merge 4 commits into from

Conversation

sinui0
Copy link
Collaborator

@sinui0 sinui0 commented Dec 13, 2024

This PR provides a zkVM implementation using Quicksilver. Builds on work from @xiangxiecrypto and supercedes #172 and #182.

Copy link
Member

@th4s th4s left a 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),
Copy link
Member

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,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

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.

2 participants