Commit Graph

39 Commits

Author SHA1 Message Date
Markus Teich
ebd955858f add additional proof on encrypt_bid for M+1st price auctions
This is needed to ensure bidders are only chosing bids from the subset which is
allowed to them. This prevents ties and keeps the protocol way more simple for
M+1st price auctions.
2016-10-09 14:16:53 +02:00
Markus Teich
8ea21d9732 split different auction format algorithms into separate files 2016-09-29 18:22:21 +02:00
Markus Teich
e08789c727 fix bug in public first price outcome determination
We have to divide out the amount of bidders to get the correct result.
2016-09-23 16:31:06 +02:00
Markus Teich
b31da162a8 coding style fixes 2016-09-21 13:50:20 +02:00
Markus Teich
14546eccb2 test_brandt nearly done 2016-09-08 19:17:15 +02:00
Markus Teich
f294cd3a85 finish prep functions for first price auctions 2016-08-31 15:13:50 +02:00
Markus Teich
9f0e72f1e8 temporary dump for discussion 2016-08-31 14:37:22 +02:00
Markus Teich
4561ac2026 add msg headers 2016-08-23 12:56:44 +02:00
Markus Teich
fe7b138892 some stuff
- finish BRANDT_destroy()
- fix include mess related to platform.h and brandt_config.h
- add first brandt.c testcase
2016-08-16 20:58:20 +02:00
Markus Teich
3a074a3d29 fix doc 2016-08-16 13:23:13 +02:00
Markus Teich
f64f620b07 use GNUNET_new_array instead of calloc 2016-08-09 12:53:08 +02:00
Markus Teich
342d3729df style 2016-08-03 12:26:51 +02:00
Markus Teich
3dea4b69f5 switch to hashing from gnunetutil 2016-08-03 12:26:27 +02:00
Markus Teich
017a90a88c finish/fix public first price auctions 2016-08-02 16:55:00 +02:00
Markus Teich
edaf7f117a fix ecc_dlog usage 2016-07-13 14:08:49 +02:00
Markus Teich
99e5a11de1 major random stuff 2016-07-13 14:01:24 +02:00
Markus Teich
01aa30513d remove unneeded double initialization 2016-06-29 14:01:31 +02:00
Markus Teich
84e9d4fa34 fix memory leak 2016-06-28 22:52:32 +02:00
Markus Teich
7975df0219 add outcome determination plus test
- also fix bug in smc_sum()
2016-06-28 22:05:30 +02:00
Markus Teich
1a6dc56f1a add outcome decryption plus test 2016-06-28 17:24:59 +02:00
Markus Teich
fb2bf04d38 add outcome computation with test
also:
- enhance smc_zkp_2dle: secret can now be auto generated.
- enhance sum functions: can now use custom step advancing.
- add init1 and free1 for 1-dimensional point arrays.
- declare loop variables inside loop header.
- narrow some variable scopes.
2016-06-28 16:29:18 +02:00
Markus Teich
0fc7fb86b8 random fixes 2016-06-22 23:18:46 +02:00
Markus Teich
a49b2facee add prologue and round1 including tests 2016-06-22 14:22:52 +02:00
Markus Teich
2c63da0ed1 create proof for public key share 2016-06-22 02:12:54 +02:00
Markus Teich
965b4da779 smc_zkp_dl: make v an output parameter 2016-06-22 02:05:00 +02:00
Markus Teich
8d717c4b3d use proof structs. fix bug in mpi_serialize 2016-06-21 23:06:15 +02:00
Markus Teich
77f396003c use hash to generate challange in ZKPs 2016-06-21 16:12:57 +02:00
Markus Teich
24191a6968 add (de)serialization + test. add some docu and stubs 2016-06-21 00:20:47 +02:00
Markus Teich
8ffae340b6 add bid encryption 2016-06-20 01:41:41 +02:00
Markus Teich
cbb4714027 add key-share generation 2016-06-20 00:47:20 +02:00
Markus Teich
65775f8276 add 3dim array helpers 2016-06-20 00:36:18 +02:00
Markus Teich
f6bacc5058 some doxygen fixes 2016-06-19 23:21:01 +02:00
Markus Teich
0d2f95ffba merge smc into crypto module. add 2dim array helpers 2016-06-19 22:41:03 +02:00
Markus Teich
b982bea837 minor docu clarification 2016-06-19 18:42:19 +02:00
Markus Teich
761dd37e1f refactor smc and ec crypto functions and ad 0og zkp 2016-06-17 10:29:49 +02:00
Markus Teich
338c95de41 coding style 2016-06-13 21:27:03 +02:00
Markus Teich
557fbe2cc3 add first ZKP including test case 2016-06-13 21:01:14 +02:00
Markus Teich
62b87e57a7 add tests for key generation 2016-06-12 20:52:22 +02:00
Markus Teich
381d21c602 add crypto backend 2016-06-12 01:14:56 +02:00