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
John M. Schanck
52e1b5c94b
HQC: update from upstream
2020-10-25 22:18:26 -04:00
John M. Schanck
16cf67bee5
hqc: pclmul to pclmulqdq
2020-10-25 22:18:26 -04:00
John M. Schanck
4f44dc7e34
hqc: Add -Wshadow and fix shadowing warnings
2020-10-25 22:18:23 -04:00
John M. Schanck
2aab49b09e
duplicate_consistency: strip spaces before comparison
2020-10-23 10:00:50 -04:00
Thom Wiggers
b4078aae55
Merge pull request #338 from PQClean/update-readme-CI
...
Some finetuning of Github Actions builds
2020-10-23 09:13:00 +02:00
John M. Schanck
d0cea52677
falcon: use hyphen in library name
2020-10-21 17:18:02 -04:00
John M. Schanck
31190562b7
Add AVX2 Falcon
2020-10-21 16:37:33 -04:00
Thom Wiggers
ba43b87867
Merge pull request #341 from jschanck/ntru
...
ntru: Match sample_fixed_type to specification
2020-10-17 10:06:15 +02:00
John M. Schanck
81425edb3b
ntru: Match sample_fixed_weight to spec. Changes KATs. (c.f. Simone Dutto pqcforum 20200731)
2020-10-16 13:08:44 -04:00
Thom Wiggers
d10fa81efc
Setup python correctly in common tests on Windows and MacOS
2020-10-16 13:00:58 +02:00
Thom Wiggers
204bab5272
fix emulated common tests
2020-10-13 13:14:33 +02:00
Thom Wiggers
bf7b755e7b
fix another typo in common tests
2020-10-13 13:07:58 +02:00
Thom Wiggers
b2dfb3e6f7
Update workflows
2020-10-13 08:10:16 +02:00
Thom Wiggers
d665d3f527
Merge pull request #337 from jschanck/ntru
...
Update NTRU
2020-10-13 08:09:14 +02:00
John M. Schanck
a94abf08a1
Update NTRU
...
Oussama Danba caught a bug in how we were handing a test related to
ciphertext encoding. Not a security issue as far as we can tell, but
certainly not the correct behavior.
More detail here: e0ab9525f1
This commit also switches ntruhrss701/avx2/poly_S3_inv to the
Bernstein--Yang code, also slightly simplifies the poly_Rq_to_S3
routine.
2020-10-12 15:24:00 -04:00
Thom Wiggers
4215ad7661
Do not test if other schemes duplicate_consistency files changed
2020-10-12 09:51:33 +02:00
Thom Wiggers
fda6416b35
Merge pull request #335 from jschanck/dilithium
...
Fix dilithium namespacing issues
2020-10-12 09:35:06 +02:00
Thom Wiggers
b36ca46dfc
fix pull request trigger for common workflow
2020-10-12 09:33:08 +02:00
John M. Schanck
26599d60a5
dilithium: format nttconsts.c
2020-10-11 14:25:44 -04:00