-
Notifications
You must be signed in to change notification settings - Fork 381
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: Fiat-Shamir transcript using a short hash #900
Conversation
One existing Fiat-Shamir test still failing, looking into it. |
📦
📦 ❌
❌
❌
❌
❌
❌
❌
|
📦
📦
|
Hmm, I think I'm still missing correct marshalling of zeros for emulated targets. Will add. |
Description
Implement gnark-crypto compatible Fiat-Shamir transcript using a short MiMC hash for proof recursion.
All tests seem to be working, but I'm not sure about the option
WithDomainSeparation
. I think it is too agressive on gnark-crypto side to enforce domain separation with thestring:
string when hasher hasWriteString
method. I would make it optional as in gnark. Imo right now the behaviour is not documented and quite difficult to debug.Related #847
Type of change
How has this been tested?
How has this been benchmarked?
Not benchmarked
Checklist:
golangci-lint
does not output errors locally