Commit Graph

1014 Commits

Author SHA1 Message Date
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
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
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
John M. Schanck
de82d896a3 ntru: sort includes 2020-10-05 18:38:22 -04:00
John M. Schanck
4e1314d338 ntru: fix narrowing warning 2020-10-05 17:28:18 -04:00
John M. Schanck
0f148a6991 ntru: packaging script update. resolves #331 2020-10-05 14:09:11 -04:00
John M. Schanck
40d5b64fd0 HQC: updated packaging script. should resolve #327 2020-10-05 12:55:34 -04:00
mergify[bot]
5eed5d3af1
Merge pull request #329 from PQClean/fix-test_symbol_namespace
Fix the test_symbol_namespace test
2020-10-02 05:48:05 +00:00
mergify[bot]
3a589a1301
Merge branch 'master' into fix-test_symbol_namespace 2020-10-01 17:27:44 +00:00
mergify[bot]
68e8292a2a
Merge pull request #330 from PQClean/fix-hqc-meta
Fix flags specified in HQC meta files
2020-10-01 14:19:27 +00:00
Thom Wiggers
1302bbbffb
Fix flags specified in HQC meta files 2020-10-01 09:21:50 +02:00
Thom Wiggers
325750f396
Namespace global variable in HQC 2020-10-01 09:17:54 +02:00
Thom Wiggers
08154573f0
Fix test_symbol_namespace 2020-10-01 09:17:34 +02:00
Thom Wiggers
383874f408
Merge pull request #325 from jschanck/test_boolean
Ban boolean operators in arithmetic expressions
2020-09-21 16:24:47 +02:00
John M. Schanck
60751536aa falcon: fix fpr_lt 2020-09-18 22:18:08 -04:00
John M. Schanck
a7e44f79ac astyle 2020-09-17 11:54:58 -04:00
John M. Schanck
1caa0cfeff falcon: conversion warning 2020-09-17 11:25:08 -04:00
John M. Schanck
3773b71aa3 falcon/test_boolean: conversion warning 2020-09-17 07:19:31 -04:00
John M. Schanck
bcc9a619d9 rainbow/test_boolean: Use 1^x instead of 1-x to avoid conversion warning 2020-09-17 07:19:31 -04:00
John M. Schanck
9064186cdb astyle 2020-09-17 07:19:31 -04:00
John M. Schanck
d708e6163a falcon: satisfy test_boolean 2020-09-17 07:19:31 -04:00
John M. Schanck
121258e054 sphincs: satisfy test_boolean 2020-09-17 07:19:31 -04:00
John M. Schanck
a59cf4cba7 frodo: satisfy test_boolean 2020-09-17 07:19:31 -04:00
John M. Schanck
83613a5978 rainbow: satisfy test_boolean 2020-09-17 07:19:31 -04:00
John M. Schanck
938a5dcd5d mceliece, ntru, ntruprime: satisfy test_boolean (in int32_sort)" 2020-09-17 07:19:31 -04:00
John M. Schanck
8ec84d0c3a inspect initializations 2020-09-17 07:19:31 -04:00