Commit Graph

1037 Commits

Author SHA1 Message Date
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
John M. Schanck
4bc2872af8 dilithium: Remove leading underscore from some internal symbols 2020-10-11 14:25:44 -04:00
Thom Wiggers
de2338d837
Schedule nightly builds 2020-10-11 13:26:09 +02:00
Thom Wiggers
a613db4d4a
don't trigger builds on markdown file changes 2020-10-11 13:23:38 +02:00
Thom Wiggers
7a7caad4d7
putting all badges in the README was a bit too much 2020-10-11 13:20:31 +02:00
Thom Wiggers
f9f50ebc0d
Update README with github actions info 2020-10-11 13:14:30 +02:00
Thom Wiggers
462c7971d8
Merge pull request #300 from thomwiggers/test-actions
Use Github Actions to run tests (+ many SPHINCS+ AVX2 fixes for Windows)
2020-10-11 13:05:16 +02:00
Thom Wiggers
32b066036d
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)
2020-10-09 15:11:23 +02:00
Thom Wiggers
1941405d91
Merge pull request #332 from jschanck/hqc
HQC: updated packaging script. should resolve #327
2020-10-06 09:08:28 +02:00
Thom Wiggers
c9e6843d23
Merge pull request #333 from jschanck/ntru
ntru: packaging script update. resolves #331
2020-10-06 09:05:49 +02:00