948 Commits

Author SHA1 Message Date
Christian Paquin
2deda2ce96 Added missing darwin detection in sike cmakefile 2020-06-19 15:50:42 -04:00
Christian Paquin
b2b9ca2f8b Fix cmake sike file on darwin to enable optimizations 2020-06-19 15:37:14 -04:00
Christian Paquin
8288420afb Enabled optimizations on macOS 2020-06-19 14:34:23 -04:00
Christian Paquin
5a3b238139 Upgraded SIKE to v3.3. 2020-06-19 14:03:37 -04:00
Christian Paquin
7170c9824e Moved 3rd party sike files to external folder 2020-06-16 16:30:52 -04:00
Christian Paquin
0ad708d848 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with upstream
2020-06-15 13:20:45 -04:00
Vlad Gheorghiu
696485cbea
Update README.md (#765) 2020-06-12 13:49:38 -04:00
Douglas Stebila
cafb8667c4 Bump to 0.3.1-dev 2020-06-10 12:00:26 -04:00
Douglas Stebila
f6ca3dca5e liboqs 0.3.0 0.3.0 2020-06-10 11:57:51 -04:00
Douglas Stebila
09fa25b6fe Mention BoringSSL in release notes 2020-06-05 19:18:20 -04:00
Douglas Stebila
44618b71f6 liboqs 0.3.0 release candidate 2 2020-06-05 19:16:22 -04:00
Douglas Stebila
bb988e0ad5
Update KEM and signature algorithm datasheets (#759) 2020-06-02 13:18:19 -04:00
Michael Baentsch
6640770d19
Additional fix for issue 757 (#761). 2020-06-02 13:16:23 -04:00
Michael Baentsch
e06866f883
fixes issue 757 (#758)
* fixes issue 757

* Change date

Co-authored-by: Douglas Stebila <dstebila@uwaterloo.ca>
2020-06-02 06:41:01 +02: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
Christian Paquin
5a888129f3 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merged with upstream
2020-05-29 14:09:30 -04:00
Douglas Stebila
ffae460a71
Remove LEDAcrypt v2.1 temporarily (#756)
Due to attack in https://eprint.iacr.org/2020/455
2020-05-26 14:11:11 -04:00
Christian Paquin
f37f420556 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with upstream
2020-05-19 16:02:40 -04:00
Nikita Karpey
1b1eaf20b5
Fixing test behavior (#754) 2020-05-19 09:35:58 -04:00
Douglas Stebila
6516da6651 liboqs 0.3.0 release candidate 1 2020-05-14 17:38:28 -04:00
Christian Paquin
4b0626cfdf Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge
2020-05-12 13:35:53 -04:00
Christian Paquin
229d9afc98
Move external qtesla folders into a common external one (#752)
* Updated frodo's doc's source link

* Moved qtesla avx2 and portable folder into a parent external folder.

* Remove SPDX statement from external qtesla files

* Fixed qtesla cmakelist file.
2020-05-12 13:29:30 -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
Christian Paquin
ba1536774b Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with master.
2020-05-12 11:44:22 -04:00
Christian Paquin
df2f65251b
Update qtesla alg doc (#750)
* Updated frodo's doc's source link

* Updated qtesla alg documentation.
2020-05-11 20:56:52 -04:00
Christian Paquin
a0608ada8e Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with upstream
2020-05-11 10:47:13 -04:00
Christian Paquin
dfb74080c7
Updated frodo's doc's source link (#748) 2020-05-09 11:59:36 -04:00
Christian Paquin
57bff919d2 Updated frodo's doc's source link 2020-05-08 11:07:09 -04:00
Christian Paquin
216cb1a930
Updated picnic to v2.2. (#746)
* Updated picnic to v2.2.

* Re-enabled optimizations with clang-9/10

* Integrated commit 9917e3 from Picnic, fixing a bug with 128 bit word loading.

* Removed hardcoded aligment macro for picnic.

* Remove references to now-unused USE_OPTIMIZATIONS.
2020-05-07 15:47:34 -04:00
Christian Paquin
17c03a1bd2
Merge pull request #747 from open-quantum-safe/sike-cmake-fix
Fixed SIKE non-portable optimized build.
2020-05-07 11:28:54 -04:00
xvzcf
9eb953a083 Fixed SIKE non-portable optimized build. 2020-05-07 09:26:59 -04:00
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
Michael Baentsch
2bcc8ae038
Default alg setting brought in line with documentation (#744) 2020-05-04 09:43:36 -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
Douglas Stebila
3bad81851f
Add AVX2 and AESNI versions of SPHINCS+ (#736)
* Add AVX2 and AESNI versions of SPHINCS+

Also remove all of the dead code that was included (probably due to
a name format change sometime)

* Don't include empty operating_system matcher

* Rerun copy_from_pqclean

Co-authored-by: Thom Wiggers <thom@thomwiggers.nl>
2020-04-27 21:22:38 -04:00
Nikita Karpey
44f4777a51
SIDH build fix. (#734) 2020-04-27 11:20:49 -04:00
Thom Wiggers
2dae6ea120
Update MQDSS to v2.1 (#725) 2020-04-24 14:24:36 -04:00
xvzcf
c103f7b4df
Fixed SIKE CMakeLists.txt. (#731) 2020-04-24 10:14:06 -04:00
xvzcf
faa7589e6f
Refactoring (#730)
* Refactored build and templating scripts.

* Added check for OQS_PORTABLE_BUILD to Frodo.

* Removed security_strength parameter from OQS_randombytes_nist_kat_init.
2020-04-23 15:34:36 -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
Thom Wiggers
866f409de9
Add a basic .gitattributes file (#723)
This should force the handling of trialing whitespace and newlines a bit better.
2020-04-15 09:47:10 -04:00
Nikita Karpey
e91e334e47
SIKE build fix on ARM64 (#719) 2020-04-15 09:40:33 -04:00
Douglas Stebila
f8e74ba7c7
Reenable qTesla CI on ARM (#716) 2020-04-14 21:01:46 -04:00
xvzcf
d6788819d8
Re-enabled Picnic and qTESLA. (#715) 2020-04-14 10:52:52 -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
Christian Paquin
9466677ea4
Don't redefine NDEBUG; fix warning when building cmake release build. (#710) 2020-04-08 09:50:42 -04:00
Douglas Stebila
94e37fed6a
Cleanup a few quirks in copy_from_pqclean (#708)
* Delete accidentally added object files

* Sort filenames when generating CMakeLists

So that execution of copy_from_pqclean on different systems doesn't 
generate different outputs each time
2020-04-07 13:38: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