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

removing iteration count parameter (num_steps) from verify function #228

Open
Hakkush-07 opened this issue Sep 19, 2023 · 1 comment
Open

Comments

@Hakkush-07
Copy link

Currently, "verify" methods of both RecursiveSNARK and CompressedSNARK take the number of steps as a parameter. Is there a way to hide it from the verifier? i.e. a way to remove the need for num_steps being fed into the hashers. Reason why such a modification may be needed is that how many times a step circuit is run may leak information. Do you think this can be done without breaking the soundness and safety of the proof system?

@srinathsetty
Copy link
Collaborator

Hi @Hakkush-07, yes, this is certainly possible. This is on our radar, with some upcoming improvements to address #174.

In a nutshell, instead of the counter to keep track of steps, we would need a simple flag to switch from base case to non-base-case.

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

No branches or pull requests

2 participants