Commit Graph

1077 Commits

Author SHA1 Message Date
5f380fb74a reorg 2021-03-03 06:50:52 +00:00
188312f23c reorg 2021-03-03 06:50:25 +00:00
2f3b7e91c9 Remove META files 2021-03-03 06:43:43 +00:00
f0797a032f Reorg 2021-02-20 01:45:07 +00:00
5c6bdaf5f7 add sign back 2021-02-20 01:31:21 +00:00
3e6c9f7d43 move to separated folders 2021-02-20 01:30:21 +00:00
0c46849e47 Removes some variations 2021-02-20 01:20:50 +00:00
79411404c9 Fix 2021-02-17 13:56:44 +00:00
f051c60522 Add one AVX target 2021-02-17 13:38:23 +00:00
63bfaff41b Defines structure of the CMake 2021-02-17 12:40:38 +00:00
354257df8e remove all Makefiles 2021-02-10 00:25:08 +00:00
db745b4451 init: cmake 2021-02-10 00:21:31 +00:00
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