133 Commits

Author SHA1 Message Date
Douglas Stebila
70eae32dd5
Quick fix to Kyber768-90s NIST level (#1014) 2021-06-05 07:08:07 +02:00
Christian Paquin
63ffa9854a
Integrated sike compressed elligator fix. (#1008)
* Integrated sike compressed elligator fix.

* Updated SIKE's github commit ref
2021-06-01 14:30:13 -04:00
John Schanck
9e2044ff2d
Pull latest HQC-192 from PQClean (#992) 2021-05-06 10:18:02 -04:00
Christian Paquin
b1d07278d1
SIKE March 2021 bug fix (#981)
* SIKE March 2021 bug fix

* Reverted typo.
2021-04-29 14:35:57 -04:00
Douglas Stebila
b1e2b44888
Sync with PQClean (#954)
* Sync with PQClean commmit e463123b92a5b315531c883d0d6b7381731e9b1c

* Sync with PQClean commit ef4ad5da02283ec0dd58b57a0684c98a1e33a531

* Reduce concurrency in CircleCI AddressSanitizer builds
2021-04-05 15:40:07 -04:00
John Schanck
b36ff9f17c
Replace OQS_PORTABLE_BUILD and OQS_USE_CPU_EXTENSIONS (#951)
* Replace OQS_PORTABLE_BUILD with OQS_DIST_BUILD

Also introduces OQS_OPT_TARGET and removes OQS_USE_CPU_EXTENSIONS

* Only compile sha3 avx2 code on Linux|Darwin

* Use new ARCH_ARM[X] flags in SIKE CMakeLists

* Update test_portability and rename to test_distbuild

* Update documentation for building Windows AMD64 from Ubuntu Bionic

* Update scripts/build-android.sh

* More specific CMAKE_SYSTEM_PROCESSOR for rasppi toolchain

* CI: Use OQS_DIST_BUILD in some jobs

* Replace OQS_get_available_CPU_extensions by OQS_CPU_has_extension

* ARM64v8/ARM32v7 runtime cpu feature detection

* Compile-time detection of some ARM features

* Toolchain files to cross compile for ARM32v7 and ARM64v8

* Remove unnecessary references to CMAKE_BUILD_TYPE=Release

* Use OQS_DIST_BUILD=ON on Windows
2021-03-31 16:30:54 -04:00
John Schanck
3f2da47b36
Pull latest SPHINCS from PQClean; bump liboqs version to 0.6.0-dev (#950) 2021-03-27 14:11:00 -04:00
John M. Schanck
352b5d3db9 Bump PQClean commit number in copy_from_upstream.yml 2021-03-19 09:03:22 -04:00
John M. Schanck
ac2b828193 Pull latest verison of McEliece from PQClean 2021-03-19 09:03:22 -04:00
Basil Hess
9cf6171007
Dilithium 3.1 update, partially autogenerating docs (#923)
* Updates to Dilithium 3.1 (randomized)

* Update dilithium.md, point to pqcrystals-repo

* Partially autogenerating algorithm docs
2021-02-24 06:39:08 +01:00
Michael Baentsch
6040f559ec
Update Falcon & McEliece (adding AVX) (#920)
* fixing copy_from_upstream issues (>2 optimized implementations)

* adding mceliece-avx & falcon

* alg doc added
2021-02-23 16:45:56 +01:00
Christian Paquin
7ef3f41e09
Updated SIKE to v3.4 (#914)
* Upgraded to sike v3.4

* Commented out check to avoid "always false" warning/error.

* Fixes for OQS inclusion.
2021-02-18 11:23:02 -05:00
Basil Hess
405654c6ec
Kyber768 ref dependencies (#899) (#905) 2021-02-10 14:07:57 +01:00
Basil Hess
bd4d09da75
Sync upstream with copy_from_upstram / pqcrystals pull (#891)
* Point Kyber and Dilithium to pqcrystals-repo.

* Pulls Kyber and Dilithium from PQCrystals using copy_from_upstream

* Dilithium Round 3
* Kyber round 3
* Updates Dilithium Round 3 KAT

* Updates kyber.md and dilithium.md (manual changes after running copy_from_upstream)
2021-02-04 15:46:45 +01:00
Christian Paquin
9fb0bdd6f3
Picnic Dec 2020 update. (#872)
* Updated picnic from commit 1797ab (v3.0.3) to fcddc7.

* Added commit ca45b2, disabling OQS's non-optimized sha3 impl.

* Integrated commits up to v3.0.4 tag.
2021-01-13 13:03:43 -05:00
Douglas Stebila
85597bbc6c
Rainbow Round 3 (#867) 2021-01-04 09:25:35 -05:00
Christian Paquin
1fb8a3d382
Integrates frodokem Dec 2020 update (#869)
* Integrated frodokem Dec 2020 fix.

* Updated frodokem commit URL in doc
2020-12-11 17:06:12 -05:00
Douglas Stebila
689f789d51 Update FrodoKEM algorithm datasheet
[skip ci]
2020-12-09 20:17:48 -05:00
Christian Paquin
c91957ca7b
Integrated SIKE Dec 2020 update. (#863) 2020-12-08 17:46:26 -05:00
Douglas Stebila
3a361a17eb Documentation fix
Missed in #858

[skip ci]
2020-12-08 12:46:14 -05:00
Douglas Stebila
65b3fb6e71
Sync with PQClean (Kyber Round 3) (#858)
* Delete Kyber Round 2

* Sync with PQClean

Major changes; Kyber Round 3
Minor changes: HQC and NTRU

PQClean commit 168e3625988defacdf10812642e4d412fb295dc0
2020-12-03 09:56:03 -05:00
Douglas Stebila
1ad950ac00
Sync with PQClean (#851)
* Remove HQC round 2

* Sync with PQClean

3c8be3cb1f8ca0953f2df44ea665f118efb468d6

* Add HQC from PQClean
2020-11-24 10:04:49 -05: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
2665eaa933
Documentation updates (#847)
[skip ci]
2020-10-29 19:47:00 -04:00
Douglas Stebila
1a923c79e0
Sync with PQClean (#846)
* Change BMI1 and add PCLMUL

* Copy from PQClean

Commit b4078aae55f9efbc7b3ab7b3c702be376f7a7987, excluding HQC

* Update algorithm datasheets

* Prettyprint

* Update version to 0.5.0-dev
2020-10-29 19:46:39 -04:00
Christian Paquin
7c0aa19e8c
Upgraded picnic to v3.0.3. (#838)
* Upgraded picnic to v3.0.2.

* Fix explicit_bzero function.

* Fixed redefinition of AddByte on little endian platforms (picnic's and oqs's namespacing)

* Update picnic to v3.0.3

* Fixing some picnic functions namespacing

* Added namespacing for picnic function on little endian system.

* More picnic namespacing fixes

* More picnic namespacing fixes, round 2

* Added more namespacing prefix

* More picnic namespacing

* Explicit namespacing for KeccakP1600times4_StaticInitialize function
2020-10-22 10:31:51 -04:00
Christian Paquin
8af52852c4
Sept 2020 SIKE updates (#836) 2020-10-02 15:43:50 -04:00
Christian Paquin
5c2f88981a
Fixed SIKE p751 in alg doc. (#832) 2020-09-29 13:07:25 -04:00
Douglas Stebila
4437b7da44
Sync with latest NTRU from PQClean (#827)
Fixes #826
2020-09-17 13:40:35 -04:00
Douglas Stebila
1d08c9d6ab
Sync with PQClean (#817)
* Sync with PQClean

* NTRU update

* SPHINCS updates

* Update commit in documentation
2020-09-10 18:16:18 -04:00
Douglas Stebila
fab14cd090
Doxygen updates (#822)
* Doxygen updates

* Disable parallel tests in some cases

* Fix case sensitivity
2020-09-08 20:56:21 -04:00
Christian Paquin
4d0325518e
Integrated latest SIKE bug fix. (#816) 2020-08-25 13:47:11 -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
aa7f1dfa3d
Cleanup PQClean implementations (#803)
* Sync with PQClean commit 90630db2ebada4bacceb5331b0a1a9a356ba65b9

* Delete duplicate implementations due to underscore bug; add MQDSS AVX2

* Delete more duplicate PQClean implementations
2020-08-04 11:54:25 -04:00
Christian Paquin
a371bc0497 Integrated SIKE commit 50f352. 2020-07-12 14:55:36 -04:00
Christian Paquin
0f9610e15f Integrated SIKE from upstream commit 521aab to 011e11 2020-07-09 17:03:36 -04:00
Christian Paquin
56b2bda572 Added details on new params in alg doc sheet, and cleaned-up namescape macro file. 2020-06-29 15:31:36 -04:00
Christian Paquin
f4d4d47c81 Integrated picnic v3.0. 2020-06-24 20:18:39 -04:00
Christian Paquin
f4312bd640 Updated SIKE to latest upstream commit 521aab, and fix P751 compressed typo 2020-06-22 17:21:07 -04:00
Douglas Stebila
bb988e0ad5
Update KEM and signature algorithm datasheets (#759) 2020-06-02 13:18:19 -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
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
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
dfb74080c7
Updated frodo's doc's source link (#748) 2020-05-09 11:59:36 -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
08300e5b3a
Updated qtesla to v1.0 (#665)
* Updated qtesla to v1.0

* Updated qTesla sizes and KATs after v1.0 changes.
2020-03-19 12:05:10 -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
eaec7972ba
Add Classic McEliece from PQClean (#661)
* Add Classic McEliece from PQClean

* Enlarge stack size on Windows

* Enlarge stack size with Mingw/Cygwin
2020-03-15 08:54:55 -04:00