-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow custom hash function in backends (#873)
* feat: add backend options * feat: choosable field to hash in plonk verifier * chore: generate * fix: hash result len max(modlen, digestsize) * chore: generate * feat: allow custom hash to field during proving * chore: generate * test: add custom hash-to-field test using constant hash fn * chore: go.mod update * refactor: split backend option to prover and verifier opts * refactor: split backend option in templates * chore: generate * test: enable custom hash-to-field test * refactor: simplify hash-to-field init * feat: add custom hash to field to groth16 * refactor: use import template * chore: generate * feat: pass options to verifiers * test: test custom hash to field * docs: add option descriptions * feat: add custom challenge hash * test: add custom challenge hash test * feat: add custom KZG folding challenge hash * feat: use custom KZG folding hash * test: add custom KZG folding hash test * chore: generate * feat: use custom challenge hash in plonk+fri * chore: generate * feat: implement verifier options in tests * chore: go mod update
- Loading branch information
Showing
68 changed files
with
1,297 additions
and
788 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 was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.