1177 Commits

Author SHA1 Message Date
Christian Paquin
12ce5d6da6 Merge branch 'win-build'
Conflicts:
	src/kex_rlwe_bcns15/kex_rlwe_bcns15.c
	src/rand_urandom_chacha20/rand_urandom_chacha20.c

Merged winbuild with master.
2016-09-29 10:12:53 -04:00
Christian Paquin
a498f701b8 Modified CAPI call to avoid error when no key container is present for the user. 2016-09-28 14:00:55 -04:00
Douglas Stebila
0f91794164 Update README. 2016-09-22 16:40:25 -04:00
Douglas Stebila
40f196e891 Pretty print. 2016-09-22 16:39:06 -04:00
Christian Paquin
16e35cd19c Enables Windows build. (#7) 2016-09-22 16:38:26 -04:00
Christian Paquin
7f6fec2da1 Enables Windows build. 2016-09-16 11:15:09 -04:00
Douglas Stebila
c4aa3af1f4 Add named parameters to OQS_KEX constructor. (#6) 2016-09-15 17:19:50 -04:00
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