1620 Commits

Author SHA1 Message Date
Douglas Stebila
ae9d5cde35 Point README to coding conventions wiki page. 2016-09-12 14:24:58 -04:00
Douglas Stebila
6e2db4028e Word wrapping on license. 2016-09-12 11:56:26 -04:00
Douglas Stebila
4e694656cb Explicitly name MIT license in LICENSE.txt. 2016-09-02 13:46:59 -04:00
Douglas Stebila
61a7cef5b3 Add licensing information. 2016-09-01 16:56:37 -04:00
Douglas Stebila
b3c176dab0 Switch chacha20 to DJB's original implementation; update wrapper rand_urandom_chacha20. 2016-09-01 16:56:23 -04:00
Douglas Stebila
ae0b30de9f Add PRNG sample outputs to test_rand. 2016-09-01 16:55:33 -04:00
Alex Parent
b7cfda3e1b Fixes memory leak and moves allocation into stuct. (#5)
* Pretty-print.

* Fixes memory leak and moves allocation into stuct.

Memory leak was caused by a possible partial allocation of the arrays in
oqs_kex_rlwe_bcns15_fft_ctx.

Allocate fixed size arrays in the oqs_kex_rlwe_bcns15_fft_ctx struct
rather then calling an initialization function afterwords. Also specify
fixed array sizes in functions where possible.
2016-08-25 23:13:27 -04:00
Douglas Stebila
fd86e3a193 Minor changes in README. 2016-08-25 18:20:33 -04:00
Douglas Stebila
c95267a3e0 Update README with current status. 2016-08-25 18:19:13 -04:00
Douglas Stebila
f6601d0849 Rename Makefile variables to be consistent with directory names. 2016-08-25 13:23:41 -04:00
Alex Parent
c999815b7c Simplify Makefile and allow for better incremental builds. (#3)
* Simplify Makefile and allow for better incremental builds.

Also add -std=gnu11 option since some older compilers default
to c99 which causes compilation to fail.

* Enable more warnings and fix some minor issues.

* Fixes a memory leak

Caused by method_name not being freed if
OQS_RAND_urandom_chacha20_ctx_new() fails. Also accounts for the fact
that strdup can fail and return NULL.
2016-08-25 13:22:11 -04:00
Douglas Stebila
27131da895 Update README information about test harness. 2016-08-19 09:47:47 -07:00
Douglas Stebila
d85fc67900 Add tests for measuring distance from random for key exchange output and PRNG (#2)
* Add tests for measuring distance from random for key exchange output and PRNG

* Use new_method in key exchange correctness tests.
2016-08-19 09:43:02 -07:00
Douglas Stebila
65331e3013 Update README.md 2016-08-12 10:06:19 -02:30
Douglas Stebila
35ada5af71 Pretty-print. 2016-08-12 00:29:34 -02:30
Douglas Stebila
0b3a0331a3 Minor updates to README. 2016-08-12 00:18:15 -02:30
Douglas Stebila
d9e116c5ab Initial README. 2016-08-12 00:15:17 -02:30
Douglas Stebila
b9abaf9fdb Ignore linked header files. 2016-08-11 23:20:44 -02:30
Douglas Stebila
8d6f5aab05 Initial commit of liboqs containing rand, rand_urandom_chacha20, kex, and kex_rlwe_bcns15. 2016-08-11 23:19:01 -02:30
Douglas Stebila
24b6edfbcb Initial commit 2016-08-11 23:16:13 -02:30