Georgios Konstantopoulos
bb0f5429fc
feat: benchmarks ( #3 )
* add benchmark
* chore: add complex circuit
* feat: enable parallel / asm
* bench: use pre-calculated matrices/constraints
* chore: bump ethers-rs
* chore: fmt
* feat: add benches for differently sized circuits (#6 )
* feat: update bench circuit
* feat: add benches for many sizes
* fix: adjust bench parameters
* fix: remove sym
* chore: fmt
* fix: point to correct commit of groth16
* fix: update function names to upstream
* fix: update function names to upstream
Co-authored-by: Kobi Gurkan <kobigurk@gmail.com>
3 years ago
Georgios Konstantopoulos
11e6d04f3b
Feat: Use pre-calculated ConstraintMatrices ( #2 )
* feat: add function for calculating the coefficients
* fix tests / debug coeffs
* feat: use groth16 with configurable matrices
* test: add no r1cs test
* test: add a test to check matrices values
* scaffold of the matrix calculation
* feat: correctly load and use matrices in the without_r1cs variant
* chore: cargo fmt
* chore: cargo fmt / lints
* ci: do not double run tests
* fix: calculate correctly points at inf
* test: use correct abicoder v2 types
Co-authored-by: Kobi Gurkan <kobigurk@gmail.com>
3 years ago
Georgios Konstantopoulos
4e2c2d39dd
chore: cargo fmt
3 years ago
Georgios Konstantopoulos
0dd126bbd8
fix: use correct fn prover name in tests
3 years ago
Georgios Konstantopoulos
a85b99e0db
perf: enable parallel on ark packages
3 years ago
Georgios Konstantopoulos
3c11c94d63
perf: enable asm on ark-ff
3 years ago
Georgios Konstantopoulos
f316f6a9fa
chore: use latest upstream gro16
3 years ago
Georgios Konstantopoulos
293314f2ef
chore: cargo fmt
3 years ago
Georgios Konstantopoulos
29de734540
feat: add deserialize_field2 function
3 years ago
Georgios Konstantopoulos
cf225249ae
chore: expose Proof a/b/c
3 years ago
Georgios Konstantopoulos
de9af5b9e6
fix: negate negative witness elements
3 years ago
Georgios Konstantopoulos
c32270a285
fix: use latest names for groth16 traits/types
3 years ago
Georgios Konstantopoulos
c03ae8490f
chore: trim deps
3 years ago
Georgios Konstantopoulos
be99d3a1fd
docs: add readme
3 years ago
Georgios Konstantopoulos
72c533ac62
refactor: rename circuit -> circom
3 years ago
Georgios Konstantopoulos
29a7555c08
zkey: expose only 1 method - everything else private
3 years ago
Georgios Konstantopoulos
8ff7f3cd1b
refactor: rename circom_wasm to witness
3 years ago
Georgios Konstantopoulos
b64f038283
initial commit
3 years ago