Commit Graph

1065 Commits

Author SHA1 Message Date
John Schanck
4f86c39515
Round 3 update for Dilithium (from github source) (#369)
* Update Dilithium

* Alternative montgomery reduce to avoid i386 functest errors

* Explicit casts for msvc

* More casts; bump upstream version; fix metadata

* another cast
2021-02-01 13:32:40 +08:00
Matthias J. Kannwischer
3d7d2024fa
FrodoKEM: Fix bug in the output of the ct_verify function (#367)
* Fix bug in the output of the ct_verify function

A bug in the CCA transformation was reported on the pqc-forum on 2020-12-10
https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/kSUKzDNc5ME

It was fixed today in 669522db63.
This commit ports that fix to PQClean

* add note to SECURITY.md

* update upstream commit in META.yml
2020-12-14 10:39:10 -05:00
Thom Wiggers
c380c628bc
Merge pull request #366 from PQClean/fix364
Rainbow: Fix out out-of-bounds memset
2020-12-02 17:17:18 +01:00
Matthias J. Kannwischer
76641be93d fix #364 2020-12-02 14:25:05 +01:00
Thom Wiggers
168e362598
Merge pull request #353 from PQClean/enable_slow_tests
Disable skipping slow tests
2020-12-02 09:09:12 +01:00
Thom Wiggers
0d88ed65d9
Disable SPHINCS+ test taking too much RAM in ASAN 2020-12-01 12:33:33 +01:00
Thom Wiggers
957996ddd3
Merge pull request #349 from jschanck/update-kyber
Round 3 Kyber
2020-11-30 13:55:16 +01:00
Thom Wiggers
fedc88be4b
Disable slowest tests on travis 2020-11-30 13:51:28 +01:00
Thom Wiggers
7557be7471
Disable asan if clang is mentioned in CC (like in 'ccache clang') 2020-11-30 13:51:28 +01:00
Thom Wiggers
3e2c7b6b05
Disable skipping slow tests 2020-11-30 13:51:28 +01:00
Matthias J. Kannwischer
3d5079129d
Update Rainbow to round 3 parameter sets (#361)
* rainbow update

* update workflows

* re-add /O2 in nmake Makefile
2020-11-27 18:55:15 +01:00
John M. Schanck
bde916274f Use PQClean AES 2020-11-27 10:25:12 -05:00
John M. Schanck
c00cb2dd20 explicit casts 2020-11-27 08:32:56 -05:00
John M. Schanck
688ff2fe50 Round 3 Kyber 2020-11-26 21:42:35 -05:00
John M. Schanck
10d3f34b39 Prepare for round 3 update with packaging script 2020-11-26 13:10:21 -05:00
Thom Wiggers
4aca5dee41 Fix boolean operation in assignment 2020-11-26 13:10:21 -05:00
Thom Wiggers
a385278582 Fix libname for kyber90s 2020-11-26 13:10:21 -05:00
Thom Wiggers
e7a83922d5 Silence a bunch of Windows warnings 2020-11-26 13:10:21 -05:00
Thom Wiggers
c99c406551 Update Kyber from upstream
Makes Kyber-AVX run on MacOS (#251)
2020-11-26 13:10:21 -05:00
Thom Wiggers
b41dc77b22
Merge pull request #363 from PQClean/fix_frodo_take3
Fix missed overflowing mul in FrodoKEM
2020-11-25 11:30:28 +01:00
Thom Wiggers
cdd11413f3
Fix missed overflowing mul in FrodoKEM
It happened in another place
2020-11-24 11:50:33 +01:00
Thom Wiggers
d32b1cd7c2
Merge pull request #360 from PQClean/clang12
Skip overly restrictive clang-tidy checks
2020-11-19 18:26:47 +01:00
Matthias J. Kannwischer
eb6c2058cc skip new clang-tidy checks
my new clang-tidy version comes with some quite restrictive checks that fail on
current code in PQClean.

I have disabled the following three:
https://releases.llvm.org/11.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/llvmlibc-restrict-system-libc-headers.html
https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-init-variables.html
https://clang.llvm.org/extra/clang-tidy/checks/bugprone-reserved-identifier.html
2020-11-19 16:09:18 +01:00
Thom Wiggers
891e2e2718
Merge pull request #357 from PQClean/fix_frodo_more
Fix more overflowing muls in Frodo
2020-11-19 15:07:16 +01:00
Thom Wiggers
6d0684df63
Fix more overflowing muls in Frodo 2020-11-19 07:48:32 +01:00
Thom Wiggers
7218c5659b
Merge pull request #358 from jschanck/hqc
hqc-rmrs-256: remove unused static vars
2020-11-19 07:46:28 +01:00
John M. Schanck
b4945e4a16 hqc-rmrs-256: remove unused static vars 2020-11-18 17:14:30 -05:00
Thom Wiggers
954c80b642
Merge pull request #356 from PQClean/fix_frodokem
Fix overflowing multiplication in FrodoKEM AES
2020-11-18 14:28:09 +01:00
Thom Wiggers
01f709ac33
Also fix problem in FrodoKEM-SHAKE 2020-11-18 09:05:35 +01:00
Thom Wiggers
3efcd2b186
Fix overflowing multiplication in FrodoKEM AES 2020-11-17 12:25:34 +01:00
Thom Wiggers
9120129ca4
Merge pull request #354 from jschanck/ntru
ntru/poly_rq_mul: explicit casts to satisfy 32-bit clang sanitizer
2020-11-17 11:55:12 +01:00
John M. Schanck
9e543a40c1 ntru/poly_rq_mul: explicit casts to satisfy 32-bit clang sanitizer 2020-11-10 15:43:51 -05:00
Thom Wiggers
3c8be3cb1f
Merge pull request #351 from PQClean/disable-valist-tidy
Disable buggy clang-tidy valist linters
2020-11-09 11:21:04 +01:00
Thom Wiggers
dd1845b059
Merge pull request #350 from jschanck/ntru
NTRU: faster multiplication for reference implementations
2020-11-06 11:32:10 +01:00
Thom Wiggers
a44e35dcaa
Disable buggy clang-tidy valist linters 2020-11-06 09:59:40 +01:00
John M. Schanck
941e0bfe21 ntru: faster multiplication for reference implementations 2020-11-05 18:06:01 -05:00
Thom Wiggers
3c45712da6
Merge pull request #340 from jschanck/saber
Update Saber and add AVX2 implementation
2020-11-02 09:31:26 +01:00
Thom Wiggers
7371c4a9bd
Merge pull request #344 from jschanck/falcon
Add AVX2 Falcon
2020-11-02 09:25:52 +01:00
Thom Wiggers
e1036c8d81
Merge pull request #348 from jschanck/hqc
Round 3 HQC
2020-11-02 09:23:29 +01:00
John M. Schanck
dd00b7fbd8 slightly faster avx2 schoolbook multiplications 2020-10-30 18:01:44 -04:00
John M. Schanck
11b4772e73 explicit casts 2020-10-28 23:42:28 -04:00
John M. Schanck
f8503cbd71 simplify pack_unpack.c 2020-10-28 23:31:01 -04:00
John M. Schanck
8af8939e2b Remove empty file 2020-10-28 12:15:04 -04:00
John M. Schanck
bb037b918b Update packaging script version 2020-10-28 12:12:44 -04:00
John M. Schanck
135f95e15b Clean up AVX2 code 2020-10-28 12:07:07 -04:00
John M. Schanck
e92a052ea4 saber: output pointers on left, and size_t for indexing 2020-10-28 12:07:07 -04:00
John M. Schanck
2f97b11031 saber: fix initialization and casting issues 2020-10-28 12:07:07 -04:00
John M. Schanck
baa309ea7a *saber/avx2: declare mul_add static 2020-10-28 12:07:07 -04:00
John M. Schanck
0a3146831f Update Saber and add AVX2 implementation 2020-10-28 12:07:07 -04:00
John M. Schanck
a439b498fc HQC: remove bitmask macro 2020-10-25 22:43:14 -04:00