forked from Consensys/gnark
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: verify commitments in groth16 recursion verifier (Consensys#1057)
* feat: verify commitments in groth16 recursion verifier fix: emulated MarshalG1 for BN254 * update gnark-crypto version * fix: follow infinity point encoding from gnark-crypto * refactor: embed G1/G2 checks in Pairing interface * chore: add no-op G1/G2 checks for bls24315 for implementing intf * chore: update gnark-crypto dependency * refactor: init curve and pairing in G16 verifier * refactor: Pedersen commitment scheme into package * chore: remove precomputed vk option * refactor: use pedersen init * feat: add complete arithm option * refactor: implicit indexing * chore: simplify writing to hash * feat: restore aux data for folding commitment * refactor: use static hash inside circuit * test: use only test engine for recursion tests * test: remove unused circuit * test: remove unused circuit * test: add all commitment tests * docs: update example to use prover/verifier opts * chore: remove prover check option in favor of tags * feat: add option for subgroup checks --------- Co-authored-by: Ivo Kubjas <[email protected]>
- Loading branch information
Showing
18 changed files
with
887 additions
and
268 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
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
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
Oops, something went wrong.