Commit Graph

506 Commits

Author SHA1 Message Date
Alex Vlasov
b5e024162d implement tests for well formed argument 2019-02-23 16:02:38 -05:00
Alex Vlasov
08f1384c7c finish wellformedness argument, can now test 2019-02-21 20:42:56 -05:00
Alex Vlasov
0089b98439 start making wellformedness argument 2019-02-21 20:26:45 -05:00
Alex Vlasov
37f57a99a6 implement s2 commitment 2019-02-21 18:55:56 -05:00
Alex Vlasov
d4b8a481f1 start implementing unhelped sonic 2019-02-18 17:56:15 -05:00
Alex Vlasov
6dc9055cf3 introduce blindings 2019-02-18 18:56:11 +01:00
Alex Vlasov
5f8618b437 ok, blinding are may be in place, but need more carefull evaluation cause r(zy, 1) != r(z, y) if follow the algorithm 1 from the paper 2019-02-12 02:31:07 +03:00
Alex Vlasov
2d69758c18 parallelize almost everything 2019-02-12 01:52:18 +03:00
Alex Vlasov
57a6ce94e8 use another sync primitive for dense multiexp 2019-02-11 21:58:23 +03:00
Alex Vlasov
b7d59787ed implement high-level helper api 2019-02-10 19:44:53 +03:00
Alex Vlasov
f98b6eaaf4 introduce high-level verifier api 2019-02-10 19:20:06 +03:00
Alex Vlasov
2327a4527b proper use of features for compilation 2019-02-10 01:44:01 +03:00
Alex Vlasov
3f766246de continue to integrate helped SONIC. Now only verifier left 2019-02-10 01:36:40 +03:00
Alex Vlasov
614d486b99 introduce error handling 2019-02-07 17:25:24 +03:00
Alex Vlasov
056b7873cc implement parallelized polynomial evaluation 2019-02-07 17:19:20 +03:00
Alex Vlasov
dc5e5ffe31 whoops, prover needs not 3*n, but 4*n 2019-02-07 15:04:40 +03:00
Alex Vlasov
7aa7f3538d export functions 2019-02-07 14:30:50 +03:00
Alex Vlasov
6059601518 start restructuring to use groth16-similar types 2019-02-07 14:27:08 +03:00
Alex Vlasov
cd00c4eaf7 mark progress 2019-02-06 02:23:27 +03:00
Alex Vlasov
a3f910cb52 done junction with ETH 2019-02-06 01:20:41 +03:00
Alex Vlasov
746eb56e0f verifying key is now self-sufficient for exports 2019-02-05 23:10:14 +03:00
Alex Vlasov
9cb62348fb can get Q too 2019-02-05 19:46:00 +03:00
Alex Vlasov
e5bc2c197f fetch values for input verification from synthesized circuit 2019-02-05 18:56:04 +03:00
Alex Vlasov
e8409bb70b rename and make field public. Prepare to test on Eth 2019-02-05 17:28:38 +03:00
Alex Vlasov
7239a60044 make custom transcript that is implementable as SC 2019-02-05 17:23:26 +03:00
Alex Vlasov
84b57df325 generate G2 with unknown discrete logs 2019-02-05 15:49:31 +03:00
Alex Vlasov
528f0623ef proper funciton name 2019-02-05 14:15:49 +03:00
Alex Vlasov
e51284e754 start real integration 2019-02-05 14:14:17 +03:00
Alex Vlasov
e41e3624f7 make TODO plan 2019-02-04 14:01:44 +03:00
Alex Vlasov
f06f92a9cc integrate initial part of SONIC. Use original code, restructure, mock Transcript 2019-02-04 13:18:44 +03:00
Alex Vlasov
ff6c46240b start implementing GM17 proof system 2019-02-01 18:36:50 +03:00
Alex Vlasov
e775b47d99 - add some benches
- cleanup dependencies
- will work on WASM and GM17
2019-01-23 21:02:11 +03:00
Alex Vlasov
59a1d70c91 remove remnants 2019-01-23 21:00:28 +03:00
Alex Vlasov
03ec5d5ffa fix imports and build 2019-01-19 16:52:19 +03:00
Alex Vlasov
6e5cfe211f remove verbosity, migrate dependencies 2019-01-17 11:38:54 +03:00
Alex Vlasov
3279e322eb update to a new version of ff crate with serde support 2019-01-09 20:34:17 +02:00
Alex Vlasov
299c10a37d prepare for testing for Ethereum related ceremony 2019-01-09 20:30:42 +02:00
Alexander
d87d815037
Merge pull request #2 from gluk64/master
demo added, docs updated
2018-12-21 06:34:29 +03:00
Alex
d9be906ed7 demo added, docs updated 2018-12-21 11:24:33 +08:00
Alex Vlasov
e544678a6a has overwritten by accident 2018-12-08 06:04:08 +08:00
Alex Vlasov
57095fbf2b add readme 2018-12-08 05:51:23 +08:00
Alex Vlasov
0a3dd7157c fix case 2018-12-08 05:41:21 +08:00
Alex Vlasov
1363d02170 BN256 commit 2018-12-08 05:36:39 +08:00
Alex Vlasov
3c982d9305 Update readme 2018-12-08 05:33:14 +08:00
Alex Vlasov
d7d2b45441 migrate to community edition 2018-12-08 05:31:26 +08:00
bmerge
183a64b08e Auto merge of #90 - str4d:ff, r=ebfull
Use ff crate for traits and impls

Depends on https://github.com/ebfull/ff/pull/1 and https://github.com/ebfull/ff/pull/5
2018-07-05 17:20:21 +00:00
Jack Grigg
fa8103764a
cargo fmt 2018-07-04 22:34:42 +01:00
Jack Grigg
c5b883f91e
Migrate to ff 0.4 2018-07-04 22:34:38 +01:00
Jack Grigg
4752a91781
Remove clippy from dependencies. 2018-07-04 22:34:21 +01:00
Sean Bowe
cc5b835102
Start using cargo-clippy for CI. 2018-07-04 22:33:59 +01:00