38 Commits

Author SHA1 Message Date
xvzcf
90798f9dc1
Fixes for issues 732 and 738 (#743)
* Removed parallelism from ubuntu-bionic-x86_64-asan CircleCI workflow.

* Modified Picnic CMakeLists.txt to forgo optimizations if Clang is the compiler.
2020-05-05 21:51:56 -04:00
xvzcf
e69bdcbd32
Broadened OQS_BUILD_TESTS to OQS_BUILD_ONLY_LIB and removed side-effecting asserts. (#741) 2020-04-28 15:05:00 -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
Douglas Stebila
f8e74ba7c7
Reenable qTesla CI on ARM (#716) 2020-04-14 21:01:46 -04:00
xvzcf
722ca648a1
Overhauled compiler-time CPU-extension detection. (#713)
Refactored .CMake/alg_support.cmake, and kem/ and sig/ CMakeLists.txt files.

Refactored copy_from_pqclean/ templating.

Added custom x64 CPU extension detection code and removed cpu_features.

Removed duplicate Kyber source directories.
2020-04-14 07:58:41 +02:00
Michael Baentsch
a00781ca46
add IBM Research attribution; limit Win-testing to mb-* branches (#711) 2020-04-09 13:45:53 -04:00
Michael Baentsch
7419141d94
CircleCI testing for Windows (#690)
* enable Windows testing on CircleCI

* full CCI enabled (incl. Win)

* trigger AppVeyor build
2020-04-08 10:36:24 -04:00
Douglas Stebila
854f074808
Fix AddressSanitizer issues and enable in nightly runs (#707)
* Fix buffer overrun on Falcon KATs

* Fix memory leak in Picnic2

* Enable address sanitizer in nightly builds
2020-04-07 13:38:02 -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
xvzcf
0d39a601b1
CMake refactoring. (#652)
* Overhauled the propagation of compiler flags

* Added "Dependency" CMake build type

* Removed src/common/CMakeLists.txt and src/crypto/CMakeLists.txt

* Set default build type to exclude CPU extension-based optimizations
2020-03-11 10:48:28 -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
Franziskus Kiefer
f857b57df8
Add UBSAN builds to CI (#621)
This will surface another set of errors.
2020-02-17 10:02:27 -05:00
Douglas Stebila
410caa77a1
Make AddressSanitizer available (#617)
* Initial format with astyle

* Fix templating to match

* Remove old line

* Add address sanitizer to CI

* Undo merge commit screwup
2020-02-16 17:32:56 -05:00
Douglas Stebila
ca66375f30
Switch from clang-format to astyle (#613)
* Initial format with astyle

* Fix templating to match

* Fix files with missing newline at EOF

* Remove old line

* Remove old .clang-format spec

* Add prettyprint target to CMake
2020-02-15 23:34:31 -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
28f7c668f1
OSX testing on CircleCI alternative (#597)
* Use OpenSSL's EVP_MD_CTX_new and _free

* OSX testing added (only on checkin, only on master)

* Alternative way of running stuff only on recent check-ins

* OR not AND

* Build OSX on commit temporarily

* Missing checkout

* Install missing Python module on OSX

* Remove macOS on Travis

Co-authored-by: Michael Baentsch <57787676+baentsch@users.noreply.github.com>
2020-01-30 22:40:01 -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
Michael Baentsch
8ef00c06d1 Centos testing added (#581) 2020-01-21 20:52:53 -05: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
Douglas Stebila
90f90def3b No make parallelization in emulated CircleCI builds 2019-09-24 15:01:41 -04:00
Douglas Stebila
a61aa2c8e3 Only run ARM CircleCI tests in nightly builds
[skip ci]
2019-08-07 15:55:52 -04:00
Douglas Stebila
887622edf0 Temporarily enable ARM tests on CircleCI 2019-08-07 09:35:44 -04:00
Douglas Stebila
4f9f811a3d Fix compilation problems on ARM 2019-08-07 08:48:33 -04:00
Douglas Stebila
ce9bbcaef3 Add CircleCI builds for emaulated ARM jobs (aarch64, armhf, armel) 2019-08-07 08:48:33 -04:00
Douglas Stebila
0ae901de3a Back out ARMv8 aarch64 CircleCI job on master
[skip ci]
2019-08-06 22:07:39 -04:00
Douglas Stebila
1caeeb60bc Add ARMv8 aarch64 CircleCI job 2019-08-06 21:27:07 -04:00
Douglas Stebila
9e2de77d83 Remove Trusty targets for CircleCI 2019-08-01 18:54:19 -04:00
Douglas Stebila
5f24950b5d Fix Python on Trusty 2019-08-01 18:46:53 -04:00
Douglas Stebila
fbd3cfe4ba Parallelize pytest tests 2019-08-01 17:01:59 -04:00
Douglas Stebila
0bbafd9a6d Improve test output display on CircleCI 2019-08-01 16:55:22 -04:00
Douglas Stebila
71f3c4c138 Combine duplicate lines 2019-08-01 16:23:36 -04:00
Douglas Stebila
fa4ca92b5e Disable BIKE on CircleCI due to CMP_LT_OS errors 2019-08-01 16:17:38 -04:00
Douglas Stebila
8418cb5cc1 Nicely formatted test results on CircleCI 2019-08-01 15:59:59 -04:00
Douglas Stebila
0feb9560d7 Rename jobs 2019-08-01 15:53:22 -04:00
Douglas Stebila
f327bf1555 Rename jobs 2019-08-01 15:50:11 -04:00
Douglas Stebila
52ccd7729a Switch style checks to Python test suite 2019-08-01 14:13:39 -04:00
Douglas Stebila
bbb1991eb4 Add CircleCI initial configuration 2019-08-01 13:20:39 -04:00