Commit Graph

86 Commits

Author SHA1 Message Date
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
Sean Bowe 5b6bc30ef2
Clean implementation a bit. 2016-08-14 23:23:20 -06:00
Sean Bowe fda5691de4
Add some comments 2016-08-14 23:14:37 -06:00
Sean Bowe 40288e0c65
Refactor QAP related functions. 2016-08-14 23:07:00 -06:00
Sean Bowe 24ecbdf5c7
Progress on protocol reimplementation. 2016-08-14 15:26:07 -06:00
Ariel Gabizon dfe3f4d0ba started random coeffs 2016-08-09 23:03:58 +03:00
Ariel Gabizon 29bf81ac9e use hashmap 2016-08-09 22:27:26 +03:00
Ariel Gabizon d9d5c82e21 changed method names 2016-08-09 22:10:08 +03:00
Ariel Gabizon 39ecc79d3e checked in spair::new that both elements non-zero 2016-08-09 21:54:12 +03:00
Sean Bowe 278987d1f8
Minor nits and cleanup 2016-08-09 12:02:31 -06:00
Sean Bowe d32bed7b72
Progress on protocol implementation rewrite. 2016-08-09 11:44:35 -06:00
Sean Bowe d5414d7c3f
Rearrange CS constructor. 2016-08-09 01:03:52 -06:00
Sean Bowe a487c8a2d8
Add additional alignment assertions. 2016-08-09 00:39:50 -06:00
Sean Bowe 2102573efd
Remove ate-pairing, we shouldn't need it. 2016-08-09 00:36:49 -06:00
Sean Bowe 5e838fe2b4
Implementation cleanup and reorganization. 2016-08-09 00:35:28 -06:00
Sean Bowe 15d017ab56
Refactorings, cleanup, start of full protocol simulation. 2016-08-06 22:47:43 -06:00
Sean Bowe 7468b3b327
Place d, num_vars, omega in CS. 2016-08-06 11:42:21 -06:00