François Garillot
a62bccf206
Small code organization improvements ( #206 )
* refactor: Deleted a redundant `ScalarMul` helper trait
* refactor: Refactor `to_transcript_bytes`
* refactor: refactor R1CS Shape checking in Spartan checks
- Introduced a new function `check_regular_shape` in `r1cs.rs` to enforce regularity conditions necessary for Spartan-class SNARKs.
* refactor: Refactor sumcheck.rs prove_quad_* for readability
- Extracted the calculation of evaluation points to its new function `compute_eval_points`, enhancing code reusability within `prove_quad` and `prove_quad_batch` functions.
1 year ago
Srinath Setty
7b1bb44e45
spark-based commitments to R1CS matrices ( #152 )
* spark-based commitments to R1CS matrices
* small fixes
1 year ago
Srinath Setty
cbbc1c6127
Generalize TranscriptRepr implementation for slices ( #150 )
* generalize the slice implementation
* bump the version
1 year ago
Srinath Setty
0e86f9acc3
simplify commitmentengine ( #149 )
1 year ago
JunheeLee
6ba204401f
minor typo fix ( #147 )
* typo fix
* Comment typos fix
* Update README.md
* Comment typo fix
1 year ago
Srinath Setty
03710dbb97
Simplify TranscriptEngine usage ( #148 )
* simplify transcript engine usage
* update version
1 year ago
Srinath Setty
1e4995274b
Separate prover and verifier keys in CompressedSNARK ( #145 )
* checkpoint
* simplify further
* checkpoint
* gens --> ck
* update benches
* address clippy
* cleanup
* update version
1 year ago
Srinath Setty
01ae6446a9
pass only one multilinear polynomial to EE ( #144 )
* pass only one multilinear polynomial to EE
* update version
1 year ago
Srinath Setty
d53b3e0fc1
simplify trait requirements ( #143 )
* simplify trait requirements
* update version
1 year ago
Srinath Setty
b5874df449
Small optimizations ( #142 )
1 year ago
Srinath Setty
c4b07f0925
allow the provider to provide byte representation of a scalar ( #140 )
1 year ago
Srinath Setty
8faffd38ea
Make code generic over a TranscriptEngine ( #139 )
1 year ago
Srinath Setty
b97786d291
move IPA-specific methods to the provider ( #138 )
1 year ago
Srinath Setty
603c1e2a85
traits for a vector commitment engine and a polynomial evaluation engine ( #136 )
make spartan generic over the evaluation engine
update version
disable Wasm CI check
1 year ago
Samuel Burnham
13964b6f16
Add serde proof serialization ( #123 )
* Bump commit.
* Bump commit.
* (WIP) Add serde support
* Minor fixes
* Use neptune const generics
* Use git patches
* Impl serde for CompressedSNARK
* Update dependencies, revert to typenum
* Formatting
* Update bellperson-nonnative patch
* Cleanup
* Remove bellperson-nonnative fork
* Switch back to fil_pasta_curves
* Update forked dependencies
* Cleanup
* Remove unnecessary patch
* Update to lurk-pasta-msm
---------
Co-authored-by: porcuquine <porcuquine@users.noreply.github.com>
1 year ago
Srinath Setty
f9672faf23
Make Nova's ecc gadgets read curve parameters from the group trait ( #115 )
* make ecc gadgets defined over Group rather than PrimeField
* use curve parameters from Group trait
2 years ago
Srinath Setty
ccc6ccd4c7
Support for arbitrary arity for step circuit's IO ( #107 )
* support for arbitrary arity for F
* revive MinRoot example
* revive tests
* revive ecdsa
* remove unused code
* use None instead of Some(1u32)
* revive benches
* fix clippy warning
2 years ago
Srinath Setty
0a7cbf925f
integrate with neptune's sponge ( #105 )
* integrate with neptune's sponge
* fix clippy warning
* add checks to ensure at most one squeeze
* add checks to ensure at most one squeeze
2 years ago
Srinath Setty
06192ac3d4
Optimizations ( #100 )
* avoid creating commitments to zero vectors
* reduce the number of constraints in each iteration from 4 to 3
2 years ago
Srinath Setty
3dc26fd7e4
Simplifications in Nova's RO ( #98 )
* rename methods for better clarity
* rename
* Bump version
2 years ago
Srinath Setty
35cb03f977
reorganize traits into a module; cut boilerplate code ( #91 )
use a default implementation for step circuit
2 years ago