42 Commits

Author SHA1 Message Date
Douglas Stebila
f9ab067dc5 Add LEDAkem 2019-07-15 22:41:08 -04:00
Douglas Stebila
e81af2e03f Typo 2019-07-15 22:41:08 -04:00
Douglas Stebila
3231c929be Update templates to use arbitrary implementation, not just _clean 2019-07-15 22:41:08 -04:00
Douglas Stebila
131580a029 Fix test program building/running on emulated arm 2019-07-05 19:25:38 -04:00
Douglas Stebila
5d97502e9c Consolidate configure options for OpenSSL 2019-07-05 15:12:32 -04:00
Douglas Stebila
eda92b0b4a
Merge pull request #513 from open-quantum-safe/ds-add-saber
Add SABER from PQClean
2019-07-04 17:29:06 -04:00
Douglas Stebila
a6c6be76fd Add SABER from PQClean 2019-07-04 13:43:27 -04:00
Douglas Stebila
5227cc7cd2 Add MQDSS from PQClean 2019-07-04 13:33:47 -04:00
Douglas Stebila
fd1321f09d Fix bug 2019-07-01 15:42:42 -04:00
Douglas Stebila
ea2dcb9db5 More naming fixes 2019-07-01 15:41:33 -04:00
Douglas Stebila
b64de5662c More consistent naming 2019-07-01 15:20:57 -04:00
Douglas Stebila
43676d9297 More consistent naming 2019-07-01 15:17:20 -04:00
Douglas Stebila
3c1838533c Signature templating in Visual Studio 2019-07-01 14:43:40 -04:00
Douglas Stebila
ee64cf8bf0 More work on signature templating 2019-07-01 14:34:11 -04:00
Douglas Stebila
350880a2b8 Partial work on signature templating 2019-07-01 14:19:27 -04:00
Douglas Stebila
fe6929dc61 Start getting ready for signature templating 2019-07-01 14:00:20 -04:00
Douglas Stebila
9546fed9fc Remove Frodo from PQClean auto generation 2019-06-25 11:36:51 -04:00
Douglas Stebila
bce0317938 Switch Frodo to use MSR codebase directly 2019-06-25 11:27:42 -04:00
Douglas Stebila
c951cf63d5 Consistent Dilithium capitalization 2019-06-19 10:15:56 -04:00
Douglas Stebila
d0d3808785 Add Dilithium to Visual Studio project 2019-06-18 22:08:08 -04:00
Douglas Stebila
223ced1de7 Merge remote-tracking branch 'oqs/master' into PQClean_Dilithium 2019-06-18 20:28:22 -04:00
Douglas Stebila
fe65a48a03 Add KEM header files to VS project 2019-06-14 15:33:56 -04:00
Douglas Stebila
78d8c817e5 KEM headers go in different spot in VS filters 2019-06-14 15:29:34 -04:00
Douglas Stebila
9a2697db22 Add KEM header files to VS filters 2019-06-14 15:25:36 -04:00
Douglas Stebila
b930c4a816 Create filters for familiies in Visual Studio project 2019-06-14 15:21:04 -04:00
Douglas Stebila
16ea923cec Replace NewHope with PQClean round 2 version, update PQClean KEMs 2019-06-13 20:34:35 -04:00
Douglas Stebila
cb7975d26f Try to generate VisualStudio files 2019-05-17 16:15:14 +02:00
Douglas Stebila
08f1c3e20e Rename variable in code generator 2019-05-16 09:16:21 -04:00
Douglas Stebila
155dbe8820 Adjust templates to generate pretty-printed code 2019-05-13 11:53:52 -04:00
Douglas Stebila
dc12209ad7 Add Kyber round 2 from PQClean 2019-05-12 15:36:05 -04:00
Douglas Stebila
2cbbc8bca9 Remove manually added Kyber 2019-05-12 15:22:49 -04:00
Douglas Stebila
75cd636110 Add NTRU Round 2 2019-05-12 15:18:16 -04:00
Douglas Stebila
a9aa144d93 Fix configure.ac auto-generation 2019-05-12 14:58:16 -04:00
Douglas Stebila
2d9dec989b Auto-generate more KEM files for PQClean implementations 2019-05-12 14:52:59 -04:00
Douglas Stebila
c2fa3b1b98 Auto-generate some KEM files for PQClean implementations 2019-05-10 16:05:27 -04:00
Douglas Stebila
c8626abc77 Copy FrodoKEM-1344 from PQClean 2019-04-14 16:08:10 -04:00
Douglas Stebila
19251c41ad Remove FrodoKEM round 1 and start adding FrodoKEM round 2 2019-04-13 15:24:52 -04:00
Douglas Stebila
e0eda13ca8
Add build scripts and continuous integration for ARM (#460)
* Scripts for ARM build

* Set permissions

* Fix ARM script bugs

* Fix typo

* Tweak ARM build

* Update README with ARM build instructions
2019-02-12 16:42:34 -05:00
Douglas Stebila
5135f5c0cd Sync scripts/check_kats on master with nist 2018-10-02 17:10:13 -04:00
Christian Paquin
dc9617f81f Refactored sig api following nist-branch (issue380) (#391)
* Fixed a typo in a comment

* Refactored sig API following nist-branch (also fixes issue 380)

* Fixed Windows compilation error in sig.c.

* Added Picnic to Windows' config, and changed defaul alg to Picnic (since qTesla is not yet supported on Windows)

* Moved sig_picnic and sig_qtesla under sig directory, to harmonize with kem api

* Use different default sig alg on Windows to fix Travis back-compat tests and platform gap.

* Further changes required for OQS to be properly used by applications

* Compare OQS functions's return values to OQS error codes in sig.c.

* Fixed typos in comments.

* Replaced minimal_oqs_sig with example_sig.

* Ensure travis tests fail on error

* Add try-catch block in all-tests.sh

* Ignore example_sig

* Point global-namespace-check to .libs/liboqs.a

* More precise error handling in global-namespace-check

* Warning colours in travis tests and error handling in free-check

* Error handling in style-check

* Clean up style-check

* Removed leftover minimal_sig_oqs ref and VS projects.

* Prettyprint

* Revert clang-format version check

* Re-revert clang-format style check

* Prettyprint

* Added speed_sig to master.

* Removed superfluous extern from sig schemes .h
2018-09-26 10:01:53 -04:00
Christian Paquin
b4766939a9 Migrated SIDH to KEM API (issue 350) (#368)
* Exposed SIDH through KEM API.

* Removed old kex_sidh_msr refs

* Removed kex_sidh_msr refs from Visual Studio project

* Removed kex_sidh_msr from test_kex.

* Added sidh alg sheet

* Skip sidh in kat check (no kat files for sidh, unlike the related sike alg)

* Added return values to sidh KEM methods (to fix wrong default return values on mac).

* Addressed review comments on PR368.

* Removed text_kex from Visual Studio; no more KEX built by default on Windows.

* Removed test_kex from appveyor test.

* Removed minimal_kex from appveyor
2018-09-17 05:00:52 -04:00
Shravan Mishra
18365bf828 Add KAT checks (#348)
* Enable KAT-check

* Add check_kats script

* Add kat kem checks

* Make pretty print happy

* Update travis

* Update .gitignore

* Add kat-check to travis

* Fix path in  kat-check

* Add -lm for kat

* Update travis.yml

* If algorithm is not enabled then kat check should not throw errors

* Prevent code duplication

* Add new kat files and modified script from nist-branch for bike

* Don't fail if algorithm not enabled

* Add rand_nist.c to VisualStudio build (manually edited VS files)

* Remove rand_nist.c from windows build

* Disable rand nist for windowa

* Fix
2018-09-04 21:36:07 -04:00