Commit Graph

102 Commits

Author SHA1 Message Date
Sean Bowe 434100df1e
Add NIZKs to `PublicKey` to ensure the participant knows the respective secrets. 2016-09-19 19:57:26 -06:00
Sean Bowe 32d3db8421
Refactor well-formedness checks. 2016-09-19 19:18:35 -06:00
Sean Bowe 82c90ad2de
Change name of public key fields. 2016-09-19 19:09:04 -06:00
Ariel Gabizon 4c13088cf6 Schnorr NIZKs. 2016-09-19 18:48:01 -06:00
Sean Bowe 486f06ae79
Coordinator shouldn't construct the keypair, verifier can. 2016-09-19 10:48:31 -06:00
Sean Bowe a66949d24a
Add BLAKE2. 2016-09-19 10:35:32 -06:00
Sean Bowe 6e51712fce
Update `bn` crate. 2016-09-18 21:56:51 -06:00
Sean Bowe 2ffb9552e9
Added more tests. 2016-09-17 22:18:34 -06:00
Sean Bowe f86b6d2613
Multithreading improvements. 2016-09-17 21:28:14 -06:00
Sean Bowe f65e36a684
Test that keypair isn't correct when it shouldn't be. 2016-09-17 20:20:44 -06:00
Sean Bowe 2a2e10d3e0
Added simulator binary for R1CS. 2016-09-17 14:48:08 -06:00
Sean Bowe 10c65393a9
More parallel. 2016-09-17 12:53:13 -06:00
Sean Bowe 00a7c93ea0
Multithread the last step of the FFT. 2016-09-17 12:17:41 -06:00
Sean Bowe 8a32e77949
K query in parallel. 2016-09-17 12:02:05 -06:00
Sean Bowe 1aa90ee32e
Factor out crossbeam slightly. 2016-09-17 11:34:11 -06:00
Sean Bowe 5ceed54d63
Clarify comments. 2016-09-16 17:48:45 -06:00
Sean Bowe 1571ff5f90
Reorganization of multicore/qap/spair. 2016-09-16 17:42:19 -06:00
Sean Bowe 5f50eea70d
Added public verifier tool. 2016-09-16 17:14:03 -06:00
Sean Bowe 84cee5476d
Make these methods available only in test mode. 2016-09-16 15:32:56 -06:00
Sean Bowe 7bbd385fbf
Another large refactoring. 2016-09-16 11:54:36 -06:00
Sean Bowe 79ac89d6e9
Refactor construction of k query and Stage2Values. 2016-09-15 12:59:02 -06:00
Sean Bowe 97e2f2036d
Update bn and add logging. 2016-09-15 08:43:45 -06:00
Sean Bowe 983af331b2
Improve performance of verification. 2016-09-14 15:04:14 -06:00
Sean Bowe b06d48c728
Refactor checking slightly for multithreading. 2016-09-14 14:19:16 -06:00
Sean Bowe 02515e74b1
Read R1CS to disk, write final proving/verifying key to disk. 2016-09-14 11:46:45 -06:00
Sean Bowe 6fdcc6f75b
Refactor dummy CS instance creation. 2016-09-14 11:15:53 -06:00
Sean Bowe f2c79f9111
Writing coordinator/player implementations. 2016-09-13 14:57:25 -06:00
Sean Bowe 07ab5b6898
Reorganize into `coordinator` and `player` binaries. 2016-09-13 13:33:29 -06:00
Sean Bowe 6e987d78b1
No need to clone this. 2016-09-13 11:42:11 -06:00
Sean Bowe 5a6f2cd903
Improve tau power performance. 2016-09-12 17:19:36 -06:00
Sean Bowe fb0d84bac2
Parallelize vector group multiplication. 2016-09-12 16:59:13 -06:00
Sean Bowe 653c92a668
Refactor locations of some structures. 2016-09-12 16:51:35 -06:00
Sean Bowe 96989f61ac
Switch to using BN crate and refactor implementation. 2016-09-12 16:32:36 -06:00
Sean Bowe 5e6e1f7f7d
Add links for Ariel/Matthew 2016-08-19 01:24:48 -06:00
Sean Bowe 206d66ebc7
Perform byte for byte comparison between the two keys. 2016-08-19 00:41:57 -06:00
Sean Bowe f28d2339c7
Perform complete comparison between simulated MPC keypair and hypothetical resulting keypair. 2016-08-19 00:33:42 -06:00
Sean Bowe 4c9ab85235
Check K query against proving key generated using shared secrets. 2016-08-16 11:53:01 -06:00
Sean Bowe b6c4ed06f7
Generate keypair from shared secrets. 2016-08-16 11:20:42 -06:00
Sean Bowe fa278a429d
Remove simulation of dropped parties to simplify comparison with libsnark. 2016-08-16 11:02:54 -06:00
Sean Bowe 1665f37360
Prepare to simulate against libsnark's key generation. 2016-08-16 10:58:31 -06:00
Sean Bowe 40a84a8cd1
Make deterministic key generation API in libsnark fork available. 2016-08-16 10:48:16 -06:00
Sean Bowe 755b676345
Fix more nits. 2016-08-16 10:45:20 -06:00
Sean Bowe 9d5ddb67da
Merge branch 'fixnits' 2016-08-16 10:41:10 -06:00
Sean Bowe 6790f230a3
Fix nits. 2016-08-16 10:40:53 -06:00
Ariel Gabizon 7abcb61cf5 added random coeffs part II to protocol 2016-08-16 18:49:39 +03:00
Ariel Gabizon 77b26caf29 added rho_b function. added pk_B_temp everywhere 2016-08-16 18:27:20 +03:00
Ariel Gabizon 4f94bfa908 implemented random_coeffs_part_two 2016-08-16 16:47:18 +03:00
Ariel Gabizon 1ac23bc647 implemented check_random_coeffs_part_two 2016-08-16 13:26:35 +03:00
Ariel Gabizon b2312e1b43 added elements for second random coeffs round 2016-08-15 23:04:19 +03:00
Sean Bowe 10523fe9cc
Improve variable names. 2016-08-14 23:44:53 -06:00