John M. Schanck
60111b36b2
Prepare for round 3 update with packaging script
2021-03-24 21:02:49 +00:00
Thom Wiggers
7df37208d6
Fix boolean operation in assignment
2021-03-24 21:02:49 +00:00
Thom Wiggers
2dfa7ed48f
Fix libname for kyber90s
2021-03-24 21:02:49 +00:00
Thom Wiggers
22cb59d083
Silence a bunch of Windows warnings
2021-03-24 21:02:49 +00:00
Thom Wiggers
c0f56ccdc2
Update Kyber from upstream
...
Makes Kyber-AVX run on MacOS (#251 )
2021-03-24 21:02:49 +00:00
Matthias J. Kannwischer
7aef8a6f80
Update Rainbow to round 3 parameter sets ( #361 )
...
* rainbow update
* update workflows
* re-add /O2 in nmake Makefile
2021-03-24 21:02:49 +00:00
Thom Wiggers
560ac15334
Fix missed overflowing mul in FrodoKEM
...
It happened in another place
2021-03-24 21:02:49 +00:00
Matthias J. Kannwischer
6d6776f3fe
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
2021-03-24 21:02:49 +00:00
Thom Wiggers
af9b25b8fa
Fix more overflowing muls in Frodo
2021-03-24 21:02:49 +00:00
John M. Schanck
583423b2ee
hqc-rmrs-256: remove unused static vars
2021-03-24 21:02:49 +00:00
Thom Wiggers
9a1319454f
Also fix problem in FrodoKEM-SHAKE
2021-03-24 21:02:49 +00:00
Thom Wiggers
747908d35b
Fix overflowing multiplication in FrodoKEM AES
2021-03-24 21:02:49 +00:00
John M. Schanck
7bac779bb5
ntru/poly_rq_mul: explicit casts to satisfy 32-bit clang sanitizer
2021-03-24 21:02:49 +00:00
Thom Wiggers
bc7bc515e9
Disable buggy clang-tidy valist linters
2021-03-24 21:02:49 +00:00
John M. Schanck
7d44f5f587
ntru: faster multiplication for reference implementations
2021-03-24 21:02:49 +00:00
John M. Schanck
3543b1718d
slightly faster avx2 schoolbook multiplications
2021-03-24 21:02:49 +00:00
John M. Schanck
8263a9d0cb
explicit casts
2021-03-24 21:02:49 +00:00
John M. Schanck
4406f00784
simplify pack_unpack.c
2021-03-24 21:02:49 +00:00
John M. Schanck
7b48693ae8
Remove empty file
2021-03-24 21:02:49 +00:00
John M. Schanck
cb38d66efd
Update packaging script version
2021-03-24 21:02:49 +00:00
John M. Schanck
df9f4a17a4
Clean up AVX2 code
2021-03-24 21:02:49 +00:00
John M. Schanck
997f9d462b
saber: output pointers on left, and size_t for indexing
2021-03-24 21:02:49 +00:00
John M. Schanck
7a3e05045c
saber: fix initialization and casting issues
2021-03-24 21:02:49 +00:00
John M. Schanck
b1a3b03e65
*saber/avx2: declare mul_add static
2021-03-24 21:02:49 +00:00
John M. Schanck
39c00e8c47
Update Saber and add AVX2 implementation
2021-03-24 21:02:49 +00:00
John M. Schanck
de8665bff2
duplicate_consistency: strip spaces before comparison
2021-03-24 21:02:49 +00:00
John M. Schanck
f11041f45f
falcon: use hyphen in library name
2021-03-24 21:02:49 +00:00
John M. Schanck
79623b0765
Add AVX2 Falcon
2021-03-24 21:02:49 +00:00
John M. Schanck
1113fdce69
HQC: remove bitmask macro
2021-03-24 21:02:49 +00:00
John M. Schanck
a96df80f89
HQC: update from upstream
2021-03-24 21:02:48 +00:00
John M. Schanck
0bbc8ccf4c
hqc: pclmul to pclmulqdq
2021-03-24 21:02:48 +00:00
John M. Schanck
0fcd954047
hqc: Add -Wshadow and fix shadowing warnings
2021-03-24 21:02:48 +00:00
Thom Wiggers
174060858b
Setup python correctly in common tests on Windows and MacOS
2021-03-24 21:02:48 +00:00
Thom Wiggers
f53268924d
fix emulated common tests
2021-03-24 21:02:48 +00:00
Thom Wiggers
8914d1669d
fix another typo in common tests
2021-03-24 21:02:48 +00:00
Thom Wiggers
b1ed225699
Update workflows
2021-03-24 21:02:48 +00:00
Thom Wiggers
a7bff5a7b5
Do not test if other schemes duplicate_consistency files changed
2021-03-24 21:02:48 +00:00
Thom Wiggers
4793d260eb
fix pull request trigger for common workflow
2021-03-24 21:02:48 +00:00
Thom Wiggers
c96487039f
Schedule nightly builds
2021-03-24 21:02:48 +00:00
Thom Wiggers
6b7a685b20
don't trigger builds on markdown file changes
2021-03-24 21:02:48 +00:00
Thom Wiggers
708de2c3c4
putting all badges in the README was a bit too much
2021-03-24 21:02:48 +00:00
Thom Wiggers
904f91cf9b
Update README with github actions info
2021-03-24 21:02:48 +00:00
John M. Schanck
97968b3768
ntru: Match sample_fixed_weight to spec. Changes KATs. (c.f. Simone Dutto pqcforum 20200731)
2021-03-24 21:02:48 +00:00
John M. Schanck
b5dab8de93
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.
2021-03-24 21:02:48 +00:00
John M. Schanck
ba7ac6f316
dilithium: format nttconsts.c
2021-03-24 21:02:48 +00:00
John M. Schanck
3db4fa4876
dilithium: Remove leading underscore from some internal symbols
2021-03-24 21:02:48 +00:00
Thom Wiggers
351d17ae70
Implement testing via Github actions
...
* Fix a bunch of issues in SPHINCS+ on Windows
* Fix testing makefile dependencies by fixing times of common files
(affected Windows testing mainly)
2021-03-24 21:02:48 +00:00
John M. Schanck
f38ac3c833
HQC: updated packaging script. should resolve #327
2021-03-24 21:02:48 +00:00
John M. Schanck
f80ed6dce2
ntru: sort includes
2021-03-24 21:02:48 +00:00
John M. Schanck
61e52f8004
ntru: fix narrowing warning
2021-03-24 21:02:48 +00:00