163 Commits

Author SHA1 Message Date
Douglas Stebila
a152118915 Update list of Rainbow algorithms in README 2021-01-25 20:50:46 -05:00
Michael Baentsch
b08d581acb
add portability tests (#871)
* added portability tests only on Ubuntu, documentation added

* using Westmere as test CPU type; disable avx2 for common code other than sha3x4 on portable builds

* removed extraneous PORTABLE_BUILD guards
2020-12-17 16:10:27 +01:00
xvzcf
0c17d3dfe7 Switched default branch from master to main. 2020-11-06 10:56:31 -05:00
Douglas Stebila
46693cf93a
Add NTRU-Prime from PQClean (#848) 2020-11-03 13:36:24 -05:00
Douglas Stebila
acb4024f3f
Additional comments on limitations for use in production environments (#828)
* Additional comments on limitations for use in production environments

* Incorporate Michael's suggestions.
2020-09-23 10:48:22 -04:00
Douglas Stebila
226b4637d9
Remove non-Round 3 algorithms (NewHope, ThreeBears, MQDSS, qTesla) (#810) 2020-08-17 13:25:08 -04:00
Douglas Stebila
adac989932
Added HQC from PQClean. (#805) 2020-08-04 13:22:45 -04:00
Douglas Stebila
ed1baf3d27 Change to 0.4.0-dev and some cleanup 2020-07-24 20:38:46 -04:00
Douglas Stebila
34ec4b83a7
Re-add AES-NI with CPU feature detection (#770)
* Start re-adding AES-NI with CPU feature detection

* Follow Goutam's feedback on CPU feature detection

* Macrify CPU feature detection logic in AES

* AES128 and AES256 using NI based on Romain Dolbeau's public domain code

* Fewer calls to C_OR_NI

* Restricting setting of OQS_USE_CPU_EXTENSIONS.

* Unroll AES loops

Co-authored-by: xvzcf <xvzcf@users.noreply.github.com>
2020-07-24 13:53:14 -04:00
Christian Paquin
0327ed9169
Merge pull request #771 from christianpaquin/cp-picnicv3
Integrated picnic v3.0
2020-07-06 11:54:25 -04:00
Kevin Kane
7f7bbaf59e
Update cross-compiling instructions for Windows in README.md (#772)
OQS_USE_CPU_EXTENSIONS has to be OFF in the cross-compiling scenario, or CMake will fail.
2020-06-26 17:26:20 +02:00
Christian Paquin
f4d4d47c81 Integrated picnic v3.0. 2020-06-24 20:18:39 -04:00
Vlad Gheorghiu
696485cbea
Update README.md (#765) 2020-06-12 13:49:38 -04:00
Douglas Stebila
f6ca3dca5e liboqs 0.3.0 2020-06-10 11:57:51 -04:00
Douglas Stebila
d198d6c071
Clean up FrodoKEM algorithm datasheet (#755)
* Clean up FrodoKEM algorithm datasheet

* Revisions based on @xvzcf's suggestions
2020-06-01 14:00:39 -04:00
Douglas Stebila
6e0b0d79a9
Add SPDX-License-Identifier headers (#749)
* Add SPDX-License-Identifier in src/common

* Add SPDX-License-Identifier in FrodoKEM

* Add SPDX-License-Identifier in SIKE

* Add SPDX-License-Identifier in BIKE

* Add SPDX-License-Identifier in OQS headers

* Add SPDX-License-Identifier in files generated during copy-from-pqclean

* Add SPDX-License-Identifier in Picnic

* Add SPDX-License-Identifier in qTesla

* Add SPDX-License-Identifier in CMake files

* Update license info in README

* Add SPDX-License-Identifier in scripts

* Add SPDX-License-Info to CMakeLists

* Add SPDX-License-Info in tests

* Add SPDX-License-Info to various files

* Prettyprint

* Add test for SPDX-License-Identifier headers

* Updated license identifiers for CPU extension detection code.

* Use conjunction for SPDX in file with two licenses

Co-authored-by: xvzcf <xvzcf@users.noreply.github.com>
2020-05-12 11:45:37 -04:00
xvzcf
8950275409
Removed non-standard CMake build types and fixed other bugs. (#726)
* Removed non-standard CMake build types and introduced new variables to customize the build.

* Added handling for new build variables to all KEMS and signatures and updated CI.

* Added clang-9 test to CI.
2020-04-16 13:53:04 -04:00
Michael Baentsch
a00781ca46
add IBM Research attribution; limit Win-testing to mb-* branches (#711) 2020-04-09 13:45:53 -04:00
Vlad Gheorghiu
df189ce69d
Merge pull request #671 from open-quantum-safe/ds-tests-in-threads
Run the test_kem and test_sig tests on a thread when possible
2020-03-27 09:44:05 -04:00
Kevin Kane
fc18d44fc4
Add Windows AMD64 cross-compilation instructions to README.md (#684) 2020-03-26 17:30:24 -04:00
Douglas Stebila
f437663bd0 Run big stack usage tests on main thread 2020-03-25 17:23:31 -04:00
Douglas Stebila
4c3016f43e
Add Rainbow from PQClean (#662)
* Add Rainbow from PQClean

* Adapt CircleCI config to handle larger number of local files
2020-03-15 20:25:42 -04:00
Douglas Stebila
a4d3753666 Add Classic McEliece to README
[skip ci]
2020-03-15 16:58:28 -04:00
Douglas Stebila
795c1b7932
Add Falcon from PQClean (#660)
* More cleanup after replaced dashes in filenames

* Add Falcon from PQClean and sync with latest PQClean commits

* Try to fix type punning warning in Falcon

* Missed templating

* Formatting change
2020-03-14 10:56:42 -04:00
xvzcf
adcfe2744c Replaced dashes in filenames with underscores for consistency. 2020-03-11 15:06:26 -04:00
xvzcf
9c01847b21
Refactored oqsconfig.h.cmake (#628)
* Added OQS_ prefix and assigned values to all #defines in oqsconfig.h.cmake

* Updated CI and templating scripts
2020-02-24 18:04:01 -05:00
xvzcf
56eece81d1
Improved CPU extension handling and updated README. (#622) 2020-02-20 11:17:25 -05:00
Douglas Stebila
f8bfb1af1e
Add toolchain for Raspberry Pi cross compilation (#618) 2020-02-16 20:15:32 -05:00
xvzcf
889a03bd15
Switched build system to CMake. (#556)
* Removed cross-compilation scripts and associated Travis CI workflows.
2020-02-14 14:03:29 -05:00
Douglas Stebila
6d87c34dda
Use OpenSSL's EVP_MD_CTX_new and _free (#591)
* Check for OpenSSL 1.1.0 or higher

* Use OpenSSL's EVP_MD_CTX_new and _free

* Detect OpenSSL version without compiling

* Remove Ubuntu Xenial testing on CircleCI and add some on Ubuntu Bionic

* Rename Bionic CI images
2020-01-30 09:06:29 -05:00
Douglas Stebila
01014db7d5 Add Kyber90s variants 2019-10-23 22:07:13 -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
92fda4ab70 Added qtesla round2, replacing heuristic param sets with the provably-secure ones. 2019-09-19 13:14:39 -04:00
Christian Paquin
36b13ec53e Integrated the SIKE v3.2 library, containing the compressed variants. 2019-09-11 16:26:40 -04:00
Vlad Gheorghiu
314c3a09d3
Update README.md
fixed link
2019-08-24 01:49:42 -04:00
xvzcf
e7f14a1526 Modified README to make Doxygen happy. 2019-08-20 11:33:28 -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
8ba4cbbd3f Minor updates to README [skip ci] 2019-08-09 11:50:30 -04:00
xvzcf
b990da6f2a Addressing review comments and build errors. 2019-08-08 15:27:57 -04:00
xvzcf
fe0b6b9320 Final touches. 2019-08-07 17:32:39 -04:00
xvzcf
d9b497ff9d Refactoring. 2019-08-07 16:56:37 -04:00
xvzcf
78b80b4e6d Cleaned up README 2019-08-07 14:23:06 -04:00
Douglas Stebila
abea47380d Add kat_sig 2019-08-02 09:40:01 -04:00
Douglas Stebila
9e2de77d83 Remove Trusty targets for CircleCI 2019-08-01 18:54:19 -04:00
Douglas Stebila
0bbafd9a6d Improve test output display on CircleCI 2019-08-01 16:55:22 -04:00
Douglas Stebila
0cd87d0a8d Fix images in Doxygen
https://github.com/doxygen/doxygen/issues/6039
2019-08-01 16:10:14 -04:00
Douglas Stebila
0feb9560d7 Rename jobs 2019-08-01 15:53:22 -04:00
Douglas Stebila
9326d1bcf0 Update documentation about CI tests 2019-08-01 15:50:27 -04:00
Douglas Stebila
91614924b6 Make test_kem and test_sig run one algorithm at a time 2019-08-01 13:36:41 -04:00