cothan
b19697422f
Update tests/constant_time/sig/passes/falcon_keygen
...
Co-authored-by: Spencer Wilson <spencer.wilson@uwaterloo.ca>
2024-01-02 12:28:13 -05:00
cothan
f123fdc73a
fix space
2024-01-02 12:28:13 -05:00
cothan
985336718f
fix avx2 constant time
2024-01-02 12:28:13 -05:00
cothan
acc915dfdf
fix falcon generic
2024-01-02 12:28:13 -05:00
Spencer Wilson
acac4e998a
Fix BIKE constant-time errors ( #1632 )
...
* Document BIKE CT issues
* Document / fix BIKE constant-time errors
* Revert "< 64" comparison change
* Add and use secure_cmpeq64_mask function
* Remove unnecessary static_assert
2024-01-02 09:40:34 -05:00
Spencer Wilson
aeac3a441d
Pull new HQC implementation from upstream ( #1585 )
...
* Update Sphincs+ PQClean patch
* Don't apply PQClean Dilithium and Kyber patches
* Run copy_from_upstream; don't apply Dilithium and Kyber changes
* Run HQC KATs with custom PRNG
* Satisfy astyle
* Add licence for common code
* Fix CI build errors
* Update HQC version, OQS version, and SOVERSION
* Move HQC PRNG into test file
* Satisfy astyle
* Fix SHA3 link error
* Reset HQC issues/passes
* fixup! Fix SHA3 link error
* fix kat_kem linkage to make HQC PR pass CI (#1601 )
* fix kat_kem linkage
* remove armhf CI support
* Revert "remove armhf CI support"
This reverts commit af759bbf743bb3ecc2e7315cf10c1785e93bcc05.
---------
Co-authored-by: Michael Baentsch <57787676+baentsch@users.noreply.github.com>
2023-11-06 16:40:50 -05:00
Pravek Sharma
cdc8a971c6
Update Classic McEliece supression files ( #1568 )
2023-09-28 16:30:11 -04:00
Pravek Sharma
e6c650c2ef
Document Falcon constant time errors ( #1552 )
...
* Document Falcon constant time errors.
* Update McEliece docs.
* Update Falcon YML to include aarch64 implementation
* Correct Falcon docs.
---------
Co-authored-by: Spencer Wilson <spencer.wilson@uwaterloo.ca>
2023-09-18 13:04:41 -04:00
Pravek Sharma
7ef422a6f5
Update Classic McEliece suppression files ( #1541 )
...
* Update McEliece supression files.
* Update McEliece advisories.
* Update weekly constant time test workflow.
* Update weekly constant time test workflow. Update McEliece supression files.
* Update BIKE advisories.
* Restored BIKE advisories. Deleted unused BIKE supressions.
2023-09-13 08:46:45 -04:00
Pravek Sharma
348ab36bbe
Update Classic McEliece supression files ( #1527 )
...
* Update constant suppression supression files for Round 4 Classic McEliece.
* Update constant suppression supression files for Round 4 Classic McEliece.
2023-08-15 10:48:54 -04:00
Basil Hess
be678118a5
kyber/dilithium aarch64 pull from pqclean + patches ( #1512 )
...
* fix compiler warning/error in aes256_armv8.c
* pull pqclean+paches
* pull pqclean+paches
* remove old patches & update algorithm md/yml
* add new patches
* add patch with fixes for arm/kyber768+kyber1024
* update licenses in yamls and mds
* update kyber/dil suppression files
* removes superfluous pqclean Makefiles & updates copy_from_upstream script to handle this case
* update license infos
2023-08-04 16:52:49 -04:00
Douglas Stebila
b2ad3f97c3
Fix SPHINCS+ constant-time suppression files ( #1480 )
...
* Update SPHINCS+ AVX2 suppression files
* FIx names of SPHINCS+ algs in constant_time passes
* More SPHINCS+ suppressiosn
* SPHINCS SHAKE suppressions.
* Changed suppression annotations.
* Uncommented file name annotations.
---------
Co-authored-by: xvzcf <xvzcf@users.noreply.github.com>
2023-06-06 20:21:25 -04:00
Goutam Tamvada
4d10a58abc
Renamed sphincs-sha256-X to sphincs-sha2-X and sphincs-shake256-X to sphincs-shake-X. ( #1467 )
...
Co-authored-by: Douglas Stebila <dstebila@uwaterloo.ca>
2023-05-17 13:12:03 -04:00
Douglas Stebila
35b1bf2704
Remove remaining references to SPHINCS+-Haraka, Kyber 90s, Dilithium-AES ( #1465 )
...
* Delete Haraka references
* Delete Kyber90s and Dilithium-AES source code and references
* Delete more references to Dilithium-AES
2023-05-16 12:27:12 -04:00
dkostic
8b24019ba0
Make BIKE decode function void to avoid ct issues ( #1400 )
...
* Make decode function void to avoid ct issues
* Update test documentation
* add suppression files
* forgot to add the file
* typo fix
* Compute threshold without floating point operations
* Replace division by a constant with mul+shift
---------
Co-authored-by: dkostic <dkostic@amazon.com>
2023-04-14 14:46:14 -04:00
Douglas Stebila
d61d81c526
Add constant time suppression for Falcon AVX2 ( #1415 )
2023-03-09 10:43:07 -05:00
Thom Wiggers
ec5c3be1ca
Update Falcon implementation ( #1395 )
...
* Update Falcon implementation
* Update license and upstream documentation
* Update Falcon constant-time suppressions
* Whitespace tweak from linter [skip ci]
* Update Falcon spec version [skip ci]
---------
Co-authored-by: Douglas Stebila <dstebila@uwaterloo.ca>
2023-03-01 11:03:38 -05:00
Jeevesh Rishi Dindyal (Sarvesh)
2e42595804
Add ntruprime ( #1328 )
...
* Add back sntrup761
2022-12-22 07:37:44 +01:00
Goutam Tamvada
a7e1b8a32f
Removed NTRU. ( #1335 )
2022-12-15 12:19:29 -05:00
Goutam Tamvada
f5d96cab5c
Removed SABER. ( #1326 )
2022-12-01 14:04:08 -05:00
Goutam Tamvada
c50d38e5a8
Removed NTRU-Prime. ( #1325 )
2022-11-29 07:31:53 +01:00
Goutam Tamvada
fac5a818ed
Removed the Picnic signature scheme. ( #1323 )
2022-11-28 15:29:10 -05:00
Goutam Tamvada
203c9c269b
Removed the rainbow signature scheme ( #1321 ).
2022-11-28 11:34:59 -05:00
Sebastian Ramacher
542b2d0b6b
Cover SHA3/SHAKE-implementation specific code paths in Picnic suppression files ( #1286 )
2022-08-10 10:06:31 -04:00
Sebastian Ramacher
0511af68d7
Update to Picnic 3.0.17 ( #1280 )
...
* Update to Picnic 3.0.17
* Added valgrind constant time execptions for picnic
Co-authored-by: Christian Paquin <cpaquin@microsoft.com>
2022-08-08 17:02:00 +02:00
Michael Baentsch
84fde26ed2
Fixup dilithium-avx2 valgrind test file ( #1283 )
2022-08-06 17:43:24 -04: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
478ccba970
Remove Rainbow level 1 ( #1263 )
...
Fixes #1260
2022-07-27 15:12:16 -04:00
Ted Eaton
feea2f3864
Issues and passes for aarch64 const time checks ( #1214 )
2022-05-25 10:47:34 -04:00
Douglas Stebila
bcc94dad5e
Suppress constant time check for public matrix generation on Kyber AVX2 ( #1189 )
...
* Suppress constant time check for public matrix generation on Kyber AVX2
* Update tests/constant_time/kem/passes/kyber-90s
Co-authored-by: Basil Hess <basil.hess@gmail.com>
* Remove temporary CI job [skip ci]
Co-authored-by: Basil Hess <basil.hess@gmail.com>
2022-02-16 20:19:19 -05:00
Christian Paquin
2af8ad71e2
Updated constant_time suppression files after picnic update ( #1174 )
2022-01-04 14:54:02 -05:00
Christian Paquin
ba5b61a779
Added Keccak constant time exclusion for Picnic AVX2 ( #1124 )
2021-11-16 11:03:04 -05:00
Christian Paquin
c366e19805
Updated valgrind constant time exception for picnic (new code, and updated some line numbers) ( #1121 )
2021-11-09 10:08:46 -05:00
Michael Baentsch
6175da8246
Add S/NTRUP1277 ( #1111 )
...
* adds S/NTRUP1277
* disable McEliece for OSX shared CCI runs
* known sntrup constant_time issue suppressed
2021-10-22 09:31:47 -04:00
Douglas Stebila
a934455362
Update Valgrind suppression files for recent implementation changes ( #1068 )
2021-08-06 09:47:08 -04:00
Basil Hess
568a9df20c
Suppression file update for Dilithium ( #1048 )
...
Simple TravisCI integration for ppc64le
2021-07-08 08:36:40 +02:00
John Schanck
bd23977818
tests/constant_time: update SIKE suppression files [skip ci] ( #1009 )
2021-06-01 17:50:17 -04:00
John Schanck
1b25f45f35
tests/constant_time: update passes file for AVX2 impl of HQC [skip ci] ( #994 )
2021-05-06 19:51:20 -04:00
John Schanck
8981b7f337
tests/constant_time: SIKE issues are resolved ( #987 )
2021-05-06 10:52:35 -04:00
John Schanck
0e4885b569
test_constant_time: Suppression files for AVX McEliece [skip ci] ( #931 )
2021-03-03 12:32:22 -05:00
John Schanck
fa9c2671ec
Use valgrind to check for secret-dependent branching on 'audit' branches ( #904 )
...
* Constant time checks using Valgrind and suppression files
* Suppression file for Kyber (ref+avx), HQC, SIKE, NTRUPrime, McEliece, SIDH, Falcon (ref+avx), SPHINCS, Dilithium r2+r3, picnic
* mark all BIKE implementations as vartime
* Set OQS_DEBUG_BUILD in oqsconfig.h if CMAKE_BUILD_TYPE=Debug
* Add OQS_ENABLE_TEST_CONSTANT_TIME to oqsconfig.h
* Check build options before running
* test_{kem,sig}: avoid direct call to OQS_randombytes_system
* Remove picnic3 issue based on review #889
* fix Kyber namespacing
* Missing BIKE error type, skip BIKE
* Resolve SIDH/SIKE bingcd issue as per #888
* Mark Falcon hash_to_point_vartime issue as resolved
* Disable CI tests
2021-02-25 06:51:01 +01:00