forked from microsoft/Nova
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewire batched SNARK to act as a regular SNARK (microsoft#320)
* feat: Implement RelaxedR1CSSNARK in batched.rs - Extended `snark` functionality with the addition of `RelaxedR1CSSNARKTrait`. - Added implementation for `RelaxedR1CSSNARKTrait` in `BatchedRelaxedR1CSSNARK`, - Leveraged unsafe Rust for creating slices for the `U` and `W` single elements in the new `RelaxedR1CSSNARKTrait` methods. * feat: Implement batched Spartan tests - Included testing for the batched workflow across non-trivial circuits, and "spark" compression. * feat: Implement new benchmarks for batched compressed SNARKs - Two new benchmark targets have been added: `bench_compressed_batched_snark` and `bench_compressed_batched_snark_with_computational_commitments` * fix: use slice::from_ref instead of unsafe
- Loading branch information
1 parent
9064bfe
commit 4ae3a57
Showing
4 changed files
with
196 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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