20 Commits

Author SHA1 Message Date
Norman Ashley
971173ad82
Add Stateful Signature (XMSS and LMS) (#1650)
Add support for LMS and XMSS. Key generation and signing are disabled behind a feature flag labelled "hazardous experimental."

---------

Signed-off-by: Duc Tri Nguyen <dnguye69@gmu.edu>
Signed-off-by: Spencer Wilson <spencer.wilson@uwaterloo.ca>
Signed-off-by: Norman Ashley <nashley@cisco.com>
Signed-off-by: Douglas Stebila <dstebila@uwaterloo.ca>
Co-authored-by: Duc Tri Nguyen <dnguye69@gmu.edu>
Co-authored-by: Douglas Stebila <dstebila@uwaterloo.ca>
Co-authored-by: Duc Nguyen <106774416+ducnguyen-sb@users.noreply.github.com>
Co-authored-by: Douglas Stebila <dstebila@users.noreply.github.com>
Co-authored-by: Duc Nguyen <ductri.nguyen@sandboxquantum.com>
Co-authored-by: Spencer Wilson <spencer.wilson@uwaterloo.ca>
Co-authored-by: Jason Goertzen <133878263+jgoertzen-sb@users.noreply.github.com>
2024-06-05 15:59:40 -04:00
Spencer Wilson
7c56bcb6ce
Test against all 100 KAT values (#1560)
Run full KAT tests weekly. All should pass except Falcon-1024, which is pending upstream changes.

---------

Co-authored-by: Michael Baentsch <57787676+baentsch@users.noreply.github.com>
2024-01-30 16:01:46 -05:00
Douglas Stebila
1e47e14556
Remove SIDH and SIKE (#1272)
Due to https://eprint.iacr.org/2022/975.

Fixes #1268.
2022-08-03 10:19:28 -04:00
Douglas Stebila
226b4637d9
Remove non-Round 3 algorithms (NewHope, ThreeBears, MQDSS, qTesla) (#810) 2020-08-17 13:25:08 -04:00
Michael Baentsch
5f277fc019
KAT testing using hashes (#784)
* removed full-size KATs

* corrected qTesla avx2 KAT selection

* Fixed macOS build warnings. (#782)

* removed full-size KATs

* corrected qTesla avx2 KAT selection

* KATs as dicts; simplified & corrected logic
2020-07-08 10:40:50 -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
Christian Paquin
bd671eb844 Disabled qtesla avx2 optimizations on darwin (#582)
* Disabled qtesla avx2 optimizations on darwin.

* Only use optimized qtesla kat file on linux
2020-01-21 20:36:36 -05:00
Christian Paquin
d68bacfa58 Fix nightly qtesla failure on gcc5 (#573) 2019-12-16 12:01:39 -05:00
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
Christian Paquin
cac45613b1 Added SIKE compressed KATs, just added to the source project. 2019-09-12 12:38:24 -04:00
Christian Paquin
91be46de97 Renamed SIKE KAT files to match uppercased alg name. 2019-09-12 12:19:28 -04:00
Christian Paquin
142649b2e9 Renamed Sidh to SIDH in test_kat.py 2019-09-12 11:42:49 -04:00
Douglas Stebila
abea47380d Add kat_sig 2019-08-02 09:40:01 -04:00
Douglas Stebila
99a05f698a Fix bugs for tests on Windows 2019-08-01 19:50:55 -04:00
Douglas Stebila
cd2dbe2520 Try to make Python tests run on Windows 2019-08-01 16:54:57 -04:00
Douglas Stebila
c795ed2ac4 Use more available function 2019-08-01 15:30:13 -04:00
Douglas Stebila
e3a949a31a Filter some tests 2019-08-01 14:14:43 -04:00
Douglas Stebila
ba6027f4f4 Change how disabled KEMs are handled 2019-08-01 13:20:32 -04:00
Douglas Stebila
ab970ae2c0 Switch KEM KAT checks to Python test suite 2019-08-01 11:53:15 -04:00