31 Commits

Author SHA1 Message Date
Evan Vigil-McClanahan
bcc9cce8e0 whitespace error 2019-05-09 13:00:04 -07:00
Evan Vigil-McClanahan
f4fed7b548 make it work for both 2019-05-09 11:31:50 -07:00
Evan Vigil-McClanahan
3d96fc848e make this work for macs 2019-05-09 11:24:42 -07:00
Daan Sprenkels
0c4ec56969 Add compiler flags to harden object code 2018-01-15 13:51:53 +01:00
Daan Sprenkels
2a8a2183ce Bump randombytes repository 2018-01-15 13:51:53 +01:00
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
36b66902b1 travis: Enable address sanitizer with clang 2017-08-06 16:58:55 +07:00
Daan Sprenkels
5f6a1fbbff hazmat: Use randombytes instead of SHAKE256 2017-07-10 18:30:53 +08:00
Daan Sprenkels
629d71f65a Change target {test => check}
This follows the make guidelines more closely.
2017-07-06 11:00:21 +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
0ddc34c662 Merge branch 'master' into internal_serde 2017-06-13 16:34:14 +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
73dbccb331 Merge branch 'master' into travis 2017-05-13 13:06:22 +02:00
Daan Sprenkels
2dd72acf4a Remove forced -O2 on hazmat.o 2017-05-13 12:32:59 +02:00
Daan Sprenkels
5242f275a0 Merge branch 'master' into travis 2017-05-12 14:03:16 +02:00
Daan Sprenkels
9f62ae77c1 {-O3 => -O2 -funroll} loops only hazmat.c 2017-05-12 13:57:08 +02:00
Daan Sprenkels
1cf9467a8c Merge branch 'master' into travis 2017-05-12 12:25:12 +02:00
Daan Sprenkels
fe0627959f Increase optimization level 2017-05-12 12:10:25 +02:00
Daan Sprenkels
332e01d987 Merge branch 'master' into travis 2017-04-26 13:16:21 +02:00
Daan Sprenkels
32617414e0 Add serialization methods for SSS_{Key,}share 2017-04-26 13:13:03 +02:00
Daan Sprenkels
b536d6f0f1 travis: add new configuration
This commit enables travis-ci on linux and osx
with memory checking only enabled on linux.
2017-04-25 18:53:56 +02:00
Daan Sprenkels
c32c015050 Cleanup compiler warnings 2017-04-25 17:30:17 +02:00
Daan Sprenkels
c713515597 Temporarily replace randombytes with user supplied buf 2017-04-14 09:53:24 +02:00
Daan Sprenkels
d9bfec3328 Makefile: add $(CFLAGS) for test compilation 2017-04-13 17:19:00 +02:00
Daan Sprenkels
16497c6333 Finished implementation of high level API 2017-04-13 17:17:22 +02:00
Daan Sprenkels
f3ca3bd574 Add separate randombytes module 2017-04-13 13:15:49 +02:00
Daan Sprenkels
72682f1609 Add tweetnacl source files 2017-04-11 19:47:46 +02:00
Daan Sprenkels
53b0e218c7 Finish low level API prototype 2017-04-11 19:09:12 +02:00
Daan Sprenkels
ed25e5ff4e [wip] Implement sharing/combining for byte secrets 2017-04-09 20:56:07 +02:00