12 Commits

Author SHA1 Message Date
Deepak Maram
b892c62597
Update ark-circom for arkworks 0.4.0 (#43) 2023-03-16 14:42:33 -07:00
Philipp Sippl
1732e15d63
circom2 proof generation (#14)
* circom2 proof generation

* fix fmt and test

* fix clippy and format dependency

* make clippy happy (circom2 changes)

* make clippy happy (#12)
2021-12-22 03:05:57 +02:00
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>
2021-09-08 21:52:17 +03:00
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>
2021-08-17 14:45:13 +03:00
Georgios Konstantopoulos
4e2c2d39dd chore: cargo fmt 2021-08-13 12:47:30 +03:00
Georgios Konstantopoulos
0dd126bbd8 fix: use correct fn prover name in tests 2021-08-13 12:45:49 +03:00
Georgios Konstantopoulos
f316f6a9fa chore: use latest upstream gro16 2021-08-13 12:37:09 +03:00
Georgios Konstantopoulos
29de734540 feat: add deserialize_field2 function 2021-08-11 23:45:50 +03:00
Georgios Konstantopoulos
c32270a285 fix: use latest names for groth16 traits/types 2021-08-10 18:09:32 +03:00
Georgios Konstantopoulos
72c533ac62 refactor: rename circuit -> circom 2021-07-26 17:54:04 +03:00
Georgios Konstantopoulos
29a7555c08 zkey: expose only 1 method - everything else private 2021-07-26 17:38:29 +03:00
Georgios Konstantopoulos
b64f038283 initial commit 2021-07-26 17:04:43 +03:00