Commit Graph

200 Commits

Author SHA1 Message Date
Christian Grothoff
936a0a9ded Merge branch 'master' of gnunet.org:libbrandt 2016-07-13 14:50:40 +02:00
Christian Grothoff
59ffa3e4b4 schedu 2016-07-13 14:50:38 +02:00
Markus Teich
6d7b2ad54a add compile time check for libgcrypt 2016-07-13 14:50:13 +02:00
Markus Teich
668876d474 Merge branch 'master' of gnunet.org:libbrandt 2016-07-13 14:20:18 +02:00
Markus Teich
551ca1d657 faster tests 2016-07-13 14:20:14 +02:00
Christian Grothoff
81cb7d5241 avoid stupidity 2016-07-13 14:19:24 +02:00
Christian Grothoff
1c1a4723fe avoid stupidity 2016-07-13 14:16:42 +02:00
Christian Grothoff
35c18237ab link 2016-07-13 14:14:04 +02:00
Markus Teich
edaf7f117a fix ecc_dlog usage 2016-07-13 14:08:49 +02:00
Christian Grothoff
6db1659195 fix by including platform.h 2016-07-13 14:06:48 +02:00
Markus Teich
dc075e943a new git ignores 2016-07-13 14:02:22 +02:00
Markus Teich
99e5a11de1 major random stuff 2016-07-13 14:01:24 +02:00
Christian Grothoff
8c7bd0fda2 do standard configure stuff, like gcc hardening and checking for basic headers and generating config.h 2016-07-13 13:43:07 +02:00
Christian Grothoff
442078e737 Merge branch 'master' of gnunet.org:libbrandt 2016-07-13 13:38:51 +02:00
Christian Grothoff
ae6f37b629 init 2016-07-13 13:38:46 +02:00
Markus Teich
8a1d2917f6 no indent preproc 2016-07-13 12:22:55 +02:00
Markus Teich
9fcc42d6ab fixup last commit 2016-07-13 12:22:23 +02:00
Markus Teich
1636ff8c49 allow different logging targets 2016-07-13 12:21:40 +02:00
Christian Grothoff
b700ddb437 fix libgnunetutil check 2016-07-13 11:11:34 +02:00
Markus Teich
b2015c388c enable silent rules, move type checks before lib checks 2016-07-13 01:05:08 +02:00
Markus Teich
568aaade7c typo 2016-07-13 00:30:46 +02:00
Markus Teich
a752b8cffe failed first attempt at linking against libgnunetutil 2016-07-12 23:22:11 +02:00
Markus Teich
4deee5eb12 start with brandt.c 2016-07-06 14:56:14 +02:00
Markus Teich
39ff8cfaa4 alphabetic ordering is apparently out 2016-06-29 15:19:15 +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
a58894e6c4 add libgcrypt dependency to README 2016-06-28 22:12:06 +02:00
Markus Teich
7a7729219f replace pari with gcrypt in autofoo 2016-06-28 22:11:18 +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
e25578ad25 add debugging shortcuts for points and mpis 2016-06-28 22:04:43 +02:00
Markus Teich
de119e0327 fix error in spec 2016-06-28 17:26:33 +02:00
Markus Teich
1a6dc56f1a add outcome decryption plus test 2016-06-28 17:24:59 +02:00
Markus Teich
81fb449262 spec grammar fix 2016-06-28 16:51:55 +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
5dbbef588d fix bug in util 2016-06-28 16:21:13 +02:00
Markus Teich
9e9b786819 add author tag to file header 2016-06-28 16:20:19 +02:00
Markus Teich
b657e7b9c9 fix typo in spec 2016-06-28 16:19:52 +02:00
Markus Teich
42c804470c fix warning with unused return codes only used in assertions.
It's common knowledge to not cause any writes inside an assertion condition
since they are not guaranteed to be executed, so we can still evaluate them and
cast to void, which the compiler can optimize away. It's better than having a
`(void)rc;` for every variable that is only used in assertions.
2016-06-22 23:29:15 +02:00
Markus Teich
0fc7fb86b8 random fixes 2016-06-22 23:18:46 +02:00
Markus Teich
a9e4574c49 update math.tex description
- Points are upper case letters now (except for the greek symbols)
- Common knowledge inputs are explicitly stated to be transferred to Bob in ZKPs
- Computation of the Challenge c from Bob is explicitly stated for Bob in ZKPs
2016-06-22 22:43:34 +02:00
Markus Teich
d1fe3b0be7 update crypto interface 2016-06-22 14:25:48 +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
5844231993 minor tex fix 2016-06-21 20:26:24 +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
5e2d563861 improve spec 2016-06-20 20:48:43 +02:00
Markus Teich
8ffae340b6 add bid encryption 2016-06-20 01:41:41 +02:00