843 Commits

Author SHA1 Message Date
Douglas Stebila
7d2d3924e1 Fix interface for OQS_RAND_new. 2016-10-05 16:51:23 -04:00
Douglas Stebila
2c370dcac6 Add default named algorithm. 2016-10-05 16:44:40 -04:00
Douglas Stebila
aa1532c759 Link to new website. 2016-10-04 21:44:19 -04:00
Douglas Stebila
e6688f0df0 Create data structure for test cases. 2016-10-04 21:18:21 -04:00
smashra
be98d4b9de Make random number generation and key exchange generation algorithms choosable at runtime (#16) 2016-10-04 21:08:55 -04:00
Douglas Stebila
76b1904791 Update organization of README.md. 2016-10-03 21:26:30 -04:00
Christian Paquin
9c00eedd27 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merged upstream oqs changes (fix windows build)
2016-10-03 16:43:09 -04:00
Douglas Stebila
8546d5a3e7 Revert "Add codecov.io support."
This reverts commit 1718d1416d6f557432dff51c7e5d18c570f84e0e.
2016-10-01 16:30:01 -04:00
Douglas Stebila
1718d1416d Add codecov.io support. 2016-10-01 16:25:08 -04:00
Douglas Stebila
8cc0de8002 Add travis-ci build status to README. 2016-10-01 16:21:00 -04:00
Christian Paquin
096b476e4f Modified OQS Windows projects to make it compatible with OpenSSL on Windows (#17)
* Removed warning Windows when using strdup, and removed the corresponding _strdup definition.

* Modified OQS projects to link statically with the system runtime, like the OpenSSL project does.
Otherwise we get link errors when including OQS in OpenSSL on Windows.
2016-10-01 16:13:28 -04:00
Tancrède Lepoint
1d3e06d04b Travis CI (#11)
* Add Travis for gcc 4.8/4.9/5/6 on Ubuntu and clang on macOS

* Add make check in README

* Using EXIT_SUCCESS and EXIT_FAILURE
2016-10-01 16:10:13 -04:00
Christian Paquin
b0049c1902 Merge remote-tracking branch 'upstream/master' 2016-09-29 14:28:00 -04:00
Christian Paquin
8b7139a20b Fixed Windows Crypto API rand call on uninitialized machines. (#10)
* Modified CAPI call to avoid error when no key container is present for the user.
2016-09-29 10:51:59 -04:00
Tancrède Lepoint
5521fe8c8d 🔫 some typos (#9) 2016-09-29 10:51:16 -04:00
Christian Paquin
29fa20a736 Removed spurious white spaces. 2016-09-29 10:17:40 -04:00
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