333 Commits

Author SHA1 Message Date
Douglas Stebila
08330aee8b Remove KEX_RLWE_BCNS15 2018-07-08 16:10:56 -04:00
Douglas Stebila
38757741fc
Add new KEM API and SIKE (#295)
* Initial attempt at adding new KEM API and first KEM (SIKE)

* Fix name spacing in kem_sike

* Prettyprint kem_sike

* Use OQS_STATUS return codes

* Get speed_kem working

* Add missing config.h file for SIKE
2018-06-18 09:22:56 -04:00
Douglas Stebila
aed3059e31
Remove kex_rlwe_msrln16 (#286) 2018-05-16 13:58:23 -04:00
Douglas Stebila
23bbd6719b
Remove kex_sidh_iqc_ref (#285)
* Remove kex_sidh_iqc_ref

* Try fixing core dump in Travis
2018-05-16 13:40:06 -04:00
Douglas Stebila
2f77850599 Temporarily disable Appveyor on master-new-* branches. 2018-05-16 13:00:37 -04:00
Douglas Stebila
e278842b49
Add new randomness API and various other build changes (#284)
* Move rand.h and rand.c to common directory and add most of RNG API from nist-branch

* Try to fix continuous integration errors

* Try fixing compilation bug on Windows

* Copy common.h and common.c from nist-branch

* Add OpenSSL PRNG if OpenSSL enabled

* Move common files around to match locations in nist-branch

* Add OpenSSL include to common build

* Only do prettyprint check on some Travis builds to shorten runtime

* Reorganize some files

* Missing variable in Travis config
2018-05-16 12:57:42 -04:00
Christian Paquin
068c48ae37 Replaced SIKE's sha3 implementation with OQS'. (#256) 2018-04-03 11:08:16 -04:00
Douglas Stebila
f299efee50
Fix regular expression in Appveyor config 2018-03-24 23:33:07 -04:00
Douglas Stebila
021aa38a8e
Fix typo in appveyor config. 2018-03-24 23:32:32 -04:00
Douglas Stebila
5e5636d7b7
Fix regular expression in appveyor configuration 2018-03-24 23:31:56 -04:00
Douglas Stebila
c3e1d2fb0a
Disable Appveyor on nist-branch. 2018-03-24 23:31:12 -04:00
Christian Paquin
203c6c082b
Merge pull request #244 from open-quantum-safe/replace-sha3-take2
Replace SHA-3 implementation, take 2
2018-03-23 13:40:03 -04:00
Kevin Kane
82a3e62892 Don't use forward typedefs to avoid break on older GCC (#246)
Older versions of gcc (4.5.2 in particular) don't understand a
forward typedef and complain a type is redefined when it sees the
actual definition.

Change OQS_KEX to refer to itself as "struct OQS_KEX" in its definition
to remove the need for this forward definition and avoid the redefinition
error on older versions of gcc.
2018-03-09 14:23:27 -05:00
Douglas Stebila
e40bfe1f4d Initialize SHA-3 state in NewHope. 2018-03-06 11:07:06 -05:00
Douglas Stebila
9c01154cae Add revised SHA-3 implementation. 2018-03-06 11:01:38 -05:00
Christian Paquin
3a5542f9e8 Fix build on ARM. (#233) 2018-03-05 10:17:07 -05:00
Vlad Gheorghiu
3eab0e8275 Update README.md (#232) 2018-02-20 13:29:43 -05:00
Vlad Gheorghiu
92353d02e9
Merge pull request #231 from christianpaquin/cp-include-picnic-directly
Included picnic directly (vs. as cmake-built 3rd party lib).
2018-02-16 16:57:50 -05:00
Christian Paquin
07bd79744c Removed superfluous flags. 2018-02-16 16:30:07 -05:00
Christian Paquin
4f1ce76a03 Removed HAVE_ALIGNED_ALLOC flag causing problems on mac. 2018-02-16 15:35:06 -05:00
Christian Paquin
019d3feaa6 Enabled picnic for Win32 VS projects. 2018-02-16 14:00:17 -05:00
Christian Paquin
e9ebb97247 Removed old picnic dependencies from VS sig projects. 2018-02-15 21:10:16 -05:00
Christian Paquin
38978b090c Removed picnic merge target. 2018-02-15 20:34:04 -05:00
Christian Paquin
baabaf7772 Included picnic directly (vs. as cmake-built 3rd party lib).
Now uses OQS's rand; modified to avoid pedantic warnning; modified build and CI scripts.
2018-02-15 20:07:23 -05:00
Vlad Gheorghiu
d50ce6fd91
Merge pull request #230 from christianpaquin/cp-fix-issue229
Fix issue 229
2018-02-13 12:24:54 -05:00
Christian Paquin
63a9213a23 Replaced malloc with calloc to fix confused valgrind. 2018-02-13 11:39:43 -05:00
Christian Paquin
76dae2996b Fixes mem leak issue in sig_picnic (#228)
* Fix mem alocation for picnic private key (issue 227).

* Added free function to sig ctx to free internal allocations.
2018-02-12 20:04:01 -05:00
Christian Paquin
7634361a2d Added free function to sig ctx to free internal allocations. 2018-02-12 13:56:15 -05:00
Christian Paquin
5f3a91abcd Fix mem alocation for picnic private key (issue 227). 2018-02-12 13:39:11 -05:00
Vlad Gheorghiu
755b6a07bc
Merge pull request #226 from christianpaquin/cp-merge-picnic-lib-in-oqs-lib-on-windows
Added post-build step to merge the oqs and picnic library on Windows
2018-02-07 13:56:06 -05:00
Christian Paquin
95e5bdb093 Added post-build step to merge the oqs and picnic library, to simplify downstream integration.
Also removed forced rebuild of picnic.
2018-02-07 11:44:51 -05:00
Vlad Gheorghiu
5bfbc5d845
Merge pull request #225 from christianpaquin/cp-winconfig-refactor
Moved winconfig to oqs include dir
2018-02-05 13:22:45 -05:00
Christian Paquin
d409a5c3df Moved winconfig to oqs include dir, so it can be used by downstream projects. 2018-02-05 11:59:49 -05:00
Vlad Gheorghiu
4f6d9d5439
Merge pull request #224 from christianpaquin/cp-add-32-bit-VS-projects
32-bit projects for visual studio
2018-02-02 21:12:55 -05:00
Christian Paquin
2a1e1ed138 Tweaked picnic-related build steps on windows. 2018-02-02 16:40:56 -05:00
Christian Paquin
10881f4b3e Removed picnic lib dependency from 32-bit projects, and specified platform in picnic build instructions. 2018-02-02 16:03:27 -05:00
Christian Paquin
5af6cb3807 Fixed include of winconfig in sig related files. 2018-02-02 11:15:55 -05:00
Vlad Gheorghiu
ed5909db77 make prettyprint 2018-02-01 17:45:34 -05:00
Vlad Gheorghiu
d994cd1bb1 added #ifdef to test KEX availibility 2018-02-01 17:19:49 -05:00
Christian Paquin
eb46360fae Added 32-bit projects to Visual Studio, and moved scheme defines to winconfig.h file. 2018-02-01 17:05:52 -05:00
Vlad Gheorghiu
c087d2ed69
Merge pull request #223 from christianpaquin/cp-add-minimal-projects-to-VS
Added minimal projects to visual studio
2018-02-01 09:42:25 -05:00
Christian Paquin
8f5c7011a7 Fixed typo in appveyor test script. 2018-02-01 08:36:51 -05:00
Christian Paquin
31581805de Added minimal kex and sig projects to visual studio and appveyor, and updated DLL exports with new OQS functions. 2018-01-31 19:42:06 -05:00
Vlad Gheorghiu
b2fdec1a9b
Merge pull request #222 from open-quantum-safe/vsoftco_const_correctness_OQS_print
added const to uint8_t *str pointer in OQS_print
2018-01-31 17:26:37 -05:00
Vlad Gheorghiu
bb70d7fce7 added const to uint8_t *str pointer in OQS_print
code safety
2018-01-31 15:31:47 -05:00
Christian Paquin
3916eb9371
Merge pull request #221 from open-quantum-safe/vsoftco_refactor_ifdef_WINDOWS
vsoftco refactor #ifdef WINDOWS
2018-01-31 15:11:45 -05:00
Vlad Gheorghiu
16143adc5b commit 2018-01-31 09:57:54 -05:00
Vlad Gheorghiu
fa4ab208e9 commit 2018-01-31 06:18:49 -05:00
Vlad Gheorghiu
95ff83b88f commit 2018-01-31 06:16:18 -05:00
Vlad Gheorghiu
9c549d7f91 commit 2018-01-31 06:15:54 -05:00