21 Commits

Author SHA1 Message Date
Daan Sprenkels
95c75d4d50 Makefile: add a lot of $(CC) warnings
See also: dsprenkels/randombytes@fb97f5b4b4
2017-10-30 12:38:27 +01:00
Daan Sprenkels
a7bacbe524 Explicitly cast to const types 2017-08-07 23:45:19 +07:00
Daan Sprenkels
3e0ce99447 Revert "Fix get_... const-typing"
This reverts commit 26cdc29ac6.
2017-07-06 15:54:56 +08:00
Daan Sprenkels
26cdc29ac6 Fix get_... const-typing 2017-07-06 15:49:27 +08:00
Daan Sprenkels
5ad67a192b Change sss_Keyshare type to uint8_t[33]
This change is introduced, because this makes it a lot easier to
expose the API the other languages that do not support C structs.

This is a break in the API contract for the `hazmat.h` module.
No API changes have been introduced in the `sss.c` module so all
current language bindings should be okay.
2017-07-06 10:57:32 +08:00
Daan Sprenkels
46227f5595 Include randombytes.h from rootdir 2017-06-13 21:58:22 +02:00
Daan Sprenkels
0ddc34c662 Merge branch 'master' into internal_serde 2017-06-13 16:34:14 +02:00
Daan Sprenkels
08ed7f7154 Move serde of high-level API into basic functions 2017-06-13 16:25:24 +02:00
Daan Sprenkels
b42869cc34 Move serde functions out of their own module 2017-06-13 16:01:56 +02:00
Daan Sprenkels
954c43bb8a Merge branch 'builtin-random' into travis 2017-05-13 21:08:25 +02:00
Daan Sprenkels
acdc769e29 Add separate randombytes module 2017-05-13 21:05:24 +02:00
Daan Sprenkels
e1cf7e6b71 Add some docs to C code 2017-05-12 12:10:39 +02:00
Daan Sprenkels
35cf931c00 Revert "Temporarily replace randombytes with user supplied buf"
This reverts commit c713515597.
2017-05-08 14:14:14 +02:00
Daan Sprenkels
c713515597 Temporarily replace randombytes with user supplied buf 2017-04-14 09:53:24 +02:00
Daan Sprenkels
4777684ece Remove some unnecessary includes 2017-04-13 22:10:28 +02:00
Daan Sprenkels
8819494e86 Substitute {SSS => sss} 2017-04-13 21:57:03 +02:00
Daan Sprenkels
16497c6333 Finished implementation of high level API 2017-04-13 17:17:22 +02:00
Daan Sprenkels
a32f3fd149 Add implementation of high level API 2017-04-13 16:20:13 +02:00
Daan Sprenkels
f3ca3bd574 Add separate randombytes module 2017-04-13 13:15:49 +02:00
Daan Sprenkels
41ff9bc7fe Revert "Add travis-ci config file"
Travis does not seem to work with the getrandom system
call yet. We should probably look into this later.

This reverts commit 137fa98b92.
2017-04-12 09:21:50 +02:00
Daan Sprenkels
137fa98b92 Add travis-ci config file 2017-04-11 20:02:55 +02:00