73 Commits

Author SHA1 Message Date
Christian Paquin
4cb278e36a Adds avx2 implementation for qtesla (#553)
* Renamed qtesla portable folder, to better integrate avx2 files.

* Added avx2 support to qtesla

* Disabled KAT check for qtesla when avx2 is enabled.

* Commented the disabling of kat check for qtesla w/ avx2

* Fixed portable qtesla version and disabled avx2 on windows.

* Now reads use options from oqsconfig.h, accessible in CI tests.

* Skip config option check on windows.

* Moved cshake128x4 from qtesla dir to common sha3 dir.

* Added qtesla avx2 KATs, and use them when avx2 is enabled

* Prettyprint

* Fixed the qtesla avx2 condition check (needed a not xor)
2019-11-05 19:03:33 -05:00
Douglas Stebila
01014db7d5 Add Kyber90s variants 2019-10-23 22:07:13 -04:00
Douglas Stebila
c6e646f4c2 Sync with PQClean 2019-10-23 22:04:55 -04:00
Nir Drucker
4a2a3cd059 BIKE Round 2 (#554)
* Supporting BIKE KEM reference code

* Hiding print global symbol when VERBOSE!=2

* Supporting USE_OPENSSL + OPENSSL_DIR

* Rename functions by using a legend instead of the FN() macro

* prettyprint

* Fixing the bug caused by OpenSSL GF2m_mod_inv API change in 1.1* see https://github.com/open-quantum-safe/openssl/issues/42 for more details.

* 1) Adding BIKE-1 Level-1/3 with the FO tranformation
2) Removing BIKE-2/3
3) Removing BIKE-1 Level-5
4) Renaming BIKE-1 Level-1/3 to BIKE-1-CPA

* Fixing tests

* Fixing the CPA KATs

* Supporting AVX512

* Enable BIKE in CircleCI

* Fixing ARM script with the new BIKE names.

* Don't include OpenSSL headers when the flag --without-openssl is provided

* Fixing duplicate symbol

* Typo in symbol name

* Removing the dependency on config.h

* Addressing comments from the review

* Update KEM algorithms length [skip ci]
2019-10-17 15:21:44 -04:00
Christian Paquin
8202cc2aff Merged commit dcaabb from qtesla upstream. 2019-09-19 21:41:45 -04:00
Christian Paquin
92fda4ab70 Added qtesla round2, replacing heuristic param sets with the provably-secure ones. 2019-09-19 13:14:39 -04:00
Douglas Stebila
25c9f8cf74
Merge pull request #547 from christianpaquin/cp-sidh-v3.2
Upgraded SIKE to v3.2
2019-09-17 10:13:06 -04:00
Christian Paquin
36b13ec53e Integrated the SIKE v3.2 library, containing the compressed variants. 2019-09-11 16:26:40 -04:00
Christian Paquin
e3e504abd9 Upgraged to v2.1.1 of picnic. 2019-08-29 19:56:46 -04:00
xvzcf
83ec7c3145 Added SHA256 SPHINCS variants to README and removed references to nist-branch from algorithm datasheets. 2019-08-20 10:37:47 -04:00
xvzcf
cb3f1ddd03 Removed more traces of Rainbow. 2019-08-20 08:34:21 -04:00
Douglas Stebila
9dcbb7bdb0 Generate kat_sig combine_message_signature from template 2019-08-02 09:50:21 -04:00
Douglas Stebila
0bddafd8fd Add Rainbow algorithm datasheet 2019-07-31 21:15:41 -04:00
Douglas Stebila
6c9961b678 Update algorithm datasheet 2019-07-31 09:49:05 -04:00
Douglas Stebila
dd4152170d Sync with updated version from PQClean 2019-07-31 09:49:05 -04:00
Douglas Stebila
1e6ad568fd Update SPHINCS+ Haraka and SHAKE256 to more updated PQClean version 2019-07-31 09:49:05 -04:00
Douglas Stebila
1931e292b9 Update documentation 2019-07-31 09:49:05 -04:00
Douglas Stebila
8d17b22961 Add SPHINCS+ Haraka and SHAKE256 variants 2019-07-31 09:49:05 -04:00
Douglas Stebila
a1a50771e7 Missing hooks for SHA-2 implementation in build system 2019-07-30 13:01:08 -04:00
Vlad Gheorghiu
77524aea43
Merge pull request #524 from open-quantum-safe/ds-backout-ledakem
Remove LEDAcrypt temporarily
2019-07-16 21:15:12 -04:00
Douglas Stebila
7ef11b2351 Fix wording
[skip ci]
2019-07-16 16:34:48 -04:00
Douglas Stebila
11e09f4cbc Remove LEDAcrypt temporarily 2019-07-16 15:43:32 -04:00
Douglas Stebila
66c0c29e78 Typo in key size
[skip ci]
2019-07-16 09:38:36 -04:00
Douglas Stebila
39a852d79d Add KATs and algorithm data sheet for LEDAkem 2019-07-15 22:41:08 -04:00
Douglas Stebila
2749c68d9a Complete Doxygen documentation for revised SHA-3 2019-07-05 10:25:02 -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
129da4322b Add algorithm datasheet for Saber 2019-07-04 13:53:13 -04:00
Douglas Stebila
6d5835bfda Add algorithm datasheet for MQDSS 2019-07-04 13:33:47 -04:00
Christian Paquin
3b302200c3 Integrated SIKE changes from commit 214cd0 to 5ca332. 2019-07-02 00:26:05 -04:00
Christian Paquin
b2ca2279d5 Updated SIDH/SIKE doc alg sheets. 2019-06-28 18:45:49 -04:00
Douglas Stebila
71c8b7cd53 Rename algorithms in Dilithium datasheet 2019-06-18 21:03:47 -04:00
Douglas Stebila
223ced1de7 Merge remote-tracking branch 'oqs/master' into PQClean_Dilithium 2019-06-18 20:28:22 -04:00
Douglas Stebila
16ea923cec Replace NewHope with PQClean round 2 version, update PQClean KEMs 2019-06-13 20:34:35 -04:00
dimisik
e8d1dbaed8 Integrates Dilithium 2019-06-13 16:39:35 -04:00
Douglas Stebila
cd006f698b Merge branch 'master' of github.com:open-quantum-safe/liboqs into cp-add-picnic-round2 2019-06-10 11:02:28 -04:00
Christian Paquin
3355e1d990 Fixed picnic artefact size in doc. 2019-05-22 11:38:31 -04:00
Douglas Stebila
a8f43c690d Add missing algorithms datasheets 2019-05-13 11:36:21 -04:00
Christian Paquin
8198072ce7 Integrated Picnic round2. 2019-05-02 22:07:21 -04:00
Douglas Stebila
8fe4928dd6 Add FrodoKEM-976 and 1344 to build system 2019-04-14 16:24:03 -04:00
Douglas Stebila
ab2c96a65e
Replace the Kyber768 implementation in liboqs master with PQClean's implementation (#466)
* Initial import of PQClean's Kyber768 clean implementation

* Integrate PQClean's Kyber768 into liboqs master

* Exempt PQClean code from namespacing and prettyprint

* Build PQClean's Kyber768 on Windows

* Add PQClean shim headers to Windows build

* Include PQClean's shim headers on Windows

* Update Kyber768 implementation from PQClean 

Commit 
0fa56021d1

* Update algorithm datasheet for Kyber768 PQClean
2019-03-20 12:50:22 -04:00
Christian Paquin
a7da6ec8ea Updated Picnic to v1.3.1 (#457)
* Added example_kem/sig and speed_kem/sig to Visual Studio.

* Updated picnic to v1.3.1

* Renamed exposed picnic functions to satisfy OQS naming conventions.

* Replaced free functions with OQS's versions.

* Removed picnic's config.h do avoid conflict with OQS's.

* Updated Visual Studio project with latest Picnic files, and removed unused commented-out code.

* Removed some hardcoded picnic defines.

* Added oqs's common.h to aligned_alloc's includes.
2019-01-31 19:49:54 -05:00
cryptojedi
1e36f1f000 Add Kyber to master branch (#448)
* Added Kyber to the liboqs Master branch

* Added OQS_MEM_cleanse calls to Kyber

* Updated file formatting with make prettyprint

* Added algorithm datasheet for Kyber

* Added Kyber KAT files

* Copied kyber header file to Visual Studio dir.
2018-12-20 17:00:03 -05:00
Douglas Stebila
bd3f7002ae Typo 2018-10-22 11:07:42 -04:00
Douglas Stebila
c409ce6e78 Mark relevant functions with OQS_API 2018-10-19 15:54:28 -04:00
Douglas Stebila
67a2411ba4
Set version in configure, library, and algorithms (#411)
* Set version of liboqs master and add draft release notes

* Add alg_version field for KEMs and signature schemes

* Prettyprint

* Added alg_version for qtesla and picnic.

* Update versioning proposal
2018-10-12 19:20:58 -04:00
Shravan Mishra
bc4ebbaf2f
Merge pull request #412 from open-quantum-safe/master-newhope-consistent
Rename NewHope to NewHopeNIST to be consistent with nist-branch
2018-10-10 11:36:48 -04:00
Douglas Stebila
2b9a61789a
Clarify public versus internal API and documentation (#414) 2018-10-10 08:36:14 -04:00
Douglas Stebila
2f05262bf4 Rename NewHope to NewHopeNIST to be consistent with nist-branch 2018-10-09 21:49:11 -04:00
Douglas Stebila
84e8dcb119
Remove old OQS_RAND object and API (#403)
* Remove old RAND API, AES-CTR and ChaCha20-based RNGs, and test_rand.

* Fix build and API for shared libraries

* Fix problems from merge with master
2018-10-09 20:36:57 -04:00
Christian Paquin
9e09252304 Updated sig algs datasheets (#405)
* Added example_kem/sig and speed_kem/sig to Visual Studio.

* Updated sig data sheet (copied from nist-branch).

* Updated ref to branch (nist-branch --> master)
2018-10-09 19:48:41 -04:00