Commit Graph

229 Commits

Author SHA1 Message Date
Vladimir Komendantskiy 5008d11ada Revert "the set of node indices of common coin shares is now computed only once"
This reverts commit e9808efc61.
2018-06-14 10:05:05 +01:00
Vladimir Komendantskiy e9808efc61 the set of node indices of common coin shares is now computed only once 2018-06-13 22:05:11 +01:00
Vladimir Komendantskiy b82ac64148 note in the broadcast example about the use of keys 2018-06-13 18:24:35 +01:00
Vladimir Komendantskiy 87485c2eb1 optimised tests to execute faster - needed by pairing computations 2018-06-13 15:18:27 +01:00
Vladimir Komendantskiy 04b7365ed9 updated the examples with the keys 2018-06-13 15:18:27 +01:00
Vladimir Komendantskiy 4dbef3968d fixed early update of Agreement epoch 2018-06-13 15:18:27 +01:00
Vladimir Komendantskiy d5794cb5fe extended the common coin nonce with a global UID and the top-level epoch 2018-06-13 15:18:27 +01:00
Vladimir Komendantskiy e116c6c171 added tests for the common coin 2018-06-13 15:17:11 +01:00
Vladimir Komendantskiy f4b6c90c8c added a queue of incoming common coin signature shares 2018-06-13 15:17:11 +01:00
Vladimir Komendantskiy 94049e8636 fixed propagation of common coin messages to the top level 2018-06-13 15:17:11 +01:00
Vladimir Komendantskiy 40eeee90fc protobuf serialization 2018-06-13 15:17:11 +01:00
Vladimir Komendantskiy 122f1fc6f1 updated the tests with key initialisation 2018-06-13 15:15:41 +01:00
Vladimir Komendantskiy cf45a4e3cb common coin implementation 2018-06-13 15:15:41 +01:00
Vladimir Komendantskiy b6587a21e8 get_coin interface to Common Coin 2018-06-13 15:09:12 +01:00
Vladimir Komendantskiy 17dc9df78e Common Coin module template; added keys in NetworkInfo 2018-06-13 15:09:12 +01:00
Vladimir Komendantskiy 818697ad46
Merge pull request #58 from poanetwork/afck-keygen
Implement polynomials for distributed key generation. (#47)
2018-06-13 15:07:07 +01:00
Andreas Fackler 6cc2302e61 Implement polynomials for distributed key generation. 2018-06-11 16:45:08 +02:00
Vladimir Komendantskiy d1362ed500
Merge pull request #56 from poanetwork/vk-term-agreement
Added Term messages in Agreement and enabled early termination
2018-06-08 09:06:46 +01:00
Vladimir Komendantskiy dc4475ba82 for each node, never count both Aux and Term messages 2018-06-07 20:29:51 +01:00
Vladimir Komendantskiy 138eaafe79
Merge pull request #53 from poanetwork/afck-simulation
Add bandwidth and CPU to the simulation.
2018-06-07 20:17:03 +01:00
Vladimir Komendantskiy 35d5ad106a added Term messages in Agreement and enabled early termination 2018-06-07 20:06:44 +01:00
Andreas Fackler 015381c88c Print messages and total message size per node in simulation. 2018-05-31 17:22:30 +02:00
Andreas Fackler cf9521c565 Don't return an error on deserialization failure. 2018-05-31 16:32:54 +02:00
Andreas Fackler b090dfaf22 Specify CPU speed in simulation, not the inverse. 2018-05-31 15:47:32 +02:00
Andreas Fackler 57533e17c2 Simplify example exit condition. 2018-05-31 14:49:16 +02:00
Andreas Fackler fc599232aa Add logging to simulation example. 2018-05-31 14:28:10 +02:00
Andreas Fackler f970272d3e Add bandwidth and CPU to the simulation. 2018-05-31 14:28:10 +02:00
Vladimir Komendantskiy 5e38582828
Merge pull request #52 from poanetwork/afck-errors
Make Broadcast handle large payloads, change some errors.
2018-05-31 09:35:37 +01:00
Andreas Fackler 1fd7155e31 Remove unused CommonSubset error variants. 2018-05-31 09:37:00 +02:00
Andreas Fackler 9859002e1b Don't panic on shards of unequal size. 2018-05-31 09:12:15 +02:00
Andreas Fackler bb61d0c5ab Ignore messages in Agreement after termination. 2018-05-30 17:33:24 +02:00
Andreas Fackler f700ae82d0 Remove unused code from CommonSubset. 2018-05-30 15:50:16 +02:00
Andreas Fackler c91fa13213 Make Broadcast handle large payloads. 2018-05-30 15:40:15 +02:00
Andreas Fackler 2bd1269366
Merge pull request #46 from poanetwork/afck-threshold-sig
Implement threshold signatures and encryption.
2018-05-30 15:20:43 +02:00
Andreas Fackler a0a8582f0b Expand crypto tests. 2018-05-30 14:15:54 +02:00
Andreas Fackler 661bae6438 Implement threshold encryption. 2018-05-30 13:50:09 +02:00
Andreas Fackler 45a7c07106 Implement simple encryption. 2018-05-30 11:42:17 +02:00
Andreas Fackler 0017a2a7c0 Make public keys and signatures serializable. 2018-05-30 10:08:43 +02:00
Andreas Fackler 56ab6a5037 Simplify hash_g2. 2018-05-29 21:59:21 +02:00
Andreas Fackler 527b1c8c17 Use SHA256 and byteorder in hash_g2. 2018-05-29 17:59:50 +02:00
Andreas Fackler d999792234 Implement threshold signatures. 2018-05-29 17:06:02 +02:00
Andreas Fackler 94d52ebbbb
Merge pull request #49 from poanetwork/vk-node-id-and-network-size
Shared node ID and network size info among subalgorithms
2018-05-29 16:39:53 +02:00
Vladimir Komendantskiy ede1c7d157 moved the own ID membership test to the NetworkInfo constructor 2018-05-29 14:58:17 +01:00
Vladimir Komendantskiy 98f5304d4c top-level interface now requires providing a NetworkInfo parameter 2018-05-29 14:53:01 +01:00
Vladimir Komendantskiy 938d2f5c16 added a note about the use of NetworkInfo in tests 2018-05-29 14:53:01 +01:00
Vladimir Komendantskiy d09f3e26b4 introduced common shared network information 2018-05-29 14:53:01 +01:00
Vladimir Komendantskiy 332d5fbbe3
Merge pull request #50 from poanetwork/afck-simulation
Add message counting to the simulation.
2018-05-29 14:28:39 +01:00
Andreas Fackler 4b143828dd Add message counting to the simulation. 2018-05-29 15:11:32 +02:00
Andreas Fackler 9de4713de3
Merge pull request #44 from poanetwork/vk-conf-round
Added a CONF round
2018-05-28 13:07:26 +02:00
Vladimir Komendantskiy 2aac22f083 comment updates 2018-05-28 11:54:37 +01:00