test: update tests, benches, and examples for spongefish API#18
Closed
shreyas-londhe wants to merge 2 commits intoa16z:mainfrom
Closed
test: update tests, benches, and examples for spongefish API#18shreyas-londhe wants to merge 2 commits intoa16z:mainfrom
shreyas-londhe wants to merge 2 commits intoa16z:mainfrom
Conversation
Replace Blake2b rolling-hash Fiat-Shamir transcript with spongefish's duplex-sponge construction. Proofs become opaque NARG byte strings. - Add spongefish dependency (pinned to commit 45df37a7) - New ProverTranscript/VerifierTranscript traits for sponge API - Domain separator with InteractionPattern enforcement via CheckedProverState/CheckedVerifierState - Scoped pattern composition for sub-protocols (sigma1, sigma2, reduce rounds, scalar product) - Remove Proof struct, blake2b transcript, ark_proof, VMVMessage - Use macros in spongefish_codecs to reduce boilerplate Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Migrate all test files, benchmarks, and examples to use the new spongefish-based transcript API (CheckedProverState/CheckedVerifierState). - Add check_eof() after every successful verify() call - Rewrite soundness tests for byte-level NARG tampering - Update serialization tests for NARG round-trip - Update all examples to use dory_prover/dory_verifier Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author
|
Folded into #17 — the changes are tightly coupled and can't compile independently. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Depends on #17.
CheckedProverState/CheckedVerifierState+check_eof()dory_prover()/dory_verifier()All 78 tests pass.