Commit Graph

126 Commits

Author SHA1 Message Date
Sean Bowe 43a8296c8a
Add mpc "network" ISO. 2016-09-27 12:49:51 -06:00
Sean Bowe 8fe69a6dca
More constant changes. 2016-09-27 12:04:22 -06:00
Sean Bowe 189a9ea70d
Various improvements to constants. 2016-09-27 11:23:21 -06:00
Sean Bowe d2187331a6
Enable diagnostics on compute/network nodes. 2016-09-25 17:30:59 -06:00
Sean Bowe 8e5bccaf91
Minor changes/improvements. 2016-09-25 17:28:25 -06:00
Sean Bowe d93139396d
Derive encodings of contents of public key. 2016-09-25 16:28:36 -06:00
Sean Bowe 2f081e231f
Refactor verification of NIZKs. 2016-09-25 16:09:07 -06:00
Sean Bowe 51f018e8c4
Eject before we stop the network node. 2016-09-24 01:07:14 -06:00
Sean Bowe d7727c8309
Trim the newline from prompt. 2016-09-24 01:06:41 -06:00
Sean Bowe c57cb3afa5
Merged network and player. 2016-09-24 00:47:15 -06:00
Sean Bowe bf3fe44364
Use coordinator for tests. 2016-09-24 00:17:30 -06:00
Sean Bowe f956b2c3e6
Use modified base58check for Digest256. 2016-09-24 00:14:43 -06:00
Sean Bowe f818c0e038
Bring in apoelstra's base58check encoder. 2016-09-23 23:38:49 -06:00
Sean Bowe 3924db2cfa
Move digest into subdirectory. 2016-09-23 23:38:18 -06:00
Sean Bowe 984adf6678
Use local `alpine-iso`. 2016-09-23 23:20:33 -06:00
Sean Bowe ac952db03a
Add `alpine-iso` git repo as a submodule. 2016-09-23 23:15:47 -06:00
Sean Bowe 82bcbddb57
Add tests for to_string/from_string behavior. 2016-09-23 23:02:38 -06:00
Sean Bowe d38dfa47ac
Use `Digest256` for commitments. 2016-09-23 22:53:34 -06:00
Sean Bowe eb469f5e53
Split Digest into Digest512/Digest256 using blake2b/blake2s. 2016-09-23 22:42:27 -06:00
Sean Bowe 73e6e9fda4
Add ISO generation dockerfile. 2016-09-23 10:01:00 -06:00
Sean Bowe 4cdf29d806
Working DVD communication utilities. 2016-09-23 10:00:46 -06:00
Sean Bowe 46c9a5e436
Clean up constants. 2016-09-20 13:39:52 -06:00
Sean Bowe 82b4aaa915
Remove unnecessary logging. 2016-09-20 13:33:29 -06:00
Sean Bowe 68d921912d
Split `Digest` into its own module. 2016-09-20 12:33:06 -06:00
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