Commit Graph

12 Commits

Author SHA1 Message Date
Nicolas Gailly
7db2d30972 PST/SQRT + Benches (#35)
* first version of the sqrt PST without the MIPP

* snarkpack integration

* snarkpack integration

* adding mipp as submodule directly

* snarkpack integration

* finalizing

* snarkpack integration

* update mipp with latestest optimisations and add preliminary
documentation

* improve codebase documentation

* remove unused imports and apply cargo fix changes

* passing v0.4

* adding gh action

* correct workflow item

* correct working dir and msrv

* remove unnecessary stuff

* wip

* wip

* remove circuit in fq as it's not needed now

* done for tonight

* wip

* wip

* sip

* prallelise commitment and groth16 verification

* finalise comments for mipp

* wip

* finalise comments

* wip

* compiling but test failing

* putting back non random blinds

* using absorb when we can

* absorbing scalar

* with bls12-381

* stuff

* trying to bring ark-blst to testudo

* correcting random implementation

* with square in place

* works with blst

* works with blst

* fix: don't require nightly Rust

With removing the `test` feature, it can also be built with a stable
Rust release and don't require a nightly Rust version.

* using ark-blst main branch

* started cleanup and added testudo benchmark

* add testudo snark and nizk in separate files

* rename functions that perform setups and add comments

* prototyping

* explain testudo-nizk

* add support for odd case in sqrt_pst

* add missing constraints and correct proof size for benchmarks

* add support for odd case in sqrt_pst

* fix typo in comment

* Documentation #31

* fix typo in comment

* Fix Cargo.toml and add benchmark for sqrt pst (#34)

* add benchmark for sqrt pst

* fix typo in comment

* add README

* comment from readme not executing

---------

Co-authored-by: Mara Mihali <maramihali@google.com>
Co-authored-by: Mara Mihali <mihalimara22@gmail.com>
Co-authored-by: Volker Mische <volker.mische@gmail.com>
2023-03-22 23:48:28 +01:00
Volker Mische
44d1f10588 chore: format Rust code the usual way
Remove the custom formatting rules and run `cargo fmt`.
2023-02-08 11:07:09 +01:00
maramihali
923c8a727f update workflows for testudo 2022-11-12 00:47:04 +00:00
Mara Mihali
c76f136006 implement spartan verifier as a circuit and verify it with groth16 2022-11-11 15:42:16 +00:00
Mara Mihali
e7242a7b54 implement alternative transcript with poseidon backend 2022-11-11 14:37:20 +00:00
Mara Mihali
b085c670be migrate codebase to arkworks and change curve to bls12-377 2022-11-11 14:26:40 +00:00
Srinath Setty
e1383ff248 clippy fixes (#50)
* clippy fixes

* remove warning

* fix clippy
2022-11-11 14:23:03 +00:00
Mara Mihali
cc345b6451 arkworks migration to bls12377 2022-10-12 19:13:39 -04:00
Mara Mihali
dda7a6fb46 stuff 2022-07-20 16:47:57 +01:00
Srinath Setty
cecc2f1b62 Transcript (#46)
* add items to transcript

* add additional items to transcript

* fix benches

* cargo fmt
2022-05-12 01:16:05 -07:00
Srinath Setty
19d1d63703 Update to latest Rust and fix Clippy warnings (#37)
* Update to latest Rust and fix Clippy warnings

* cleanup
2021-10-14 16:11:19 -07:00
Jakub Konka
7b102a241f Add example proving knowledge of cubic equation solution (#26) 2020-09-16 09:41:13 -07:00