1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 15:39:07 +00:00
Commit Graph

956 Commits

Author SHA1 Message Date
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
John M. Schanck
4267e51253 ntru: packaging script update. resolves #331 2021-03-24 21:02:48 +00:00
Thom Wiggers
be7f11975d Fix flags specified in HQC meta files 2021-03-24 21:02:48 +00:00
Thom Wiggers
12c99ff23a Namespace global variable in HQC 2021-03-24 21:02:48 +00:00
Thom Wiggers
7bc63d020b Fix test_symbol_namespace 2021-03-24 21:02:48 +00:00
John M. Schanck
c19e9513e8 falcon: fix fpr_lt 2021-03-24 21:02:48 +00:00
John M. Schanck
ff16fec435 astyle 2021-03-24 21:02:48 +00:00
John M. Schanck
1ba4f503a7 falcon: conversion warning 2021-03-24 21:02:48 +00:00
John M. Schanck
c8cfccc488 falcon/test_boolean: conversion warning 2021-03-24 21:02:48 +00:00
John M. Schanck
bd1fcaabde rainbow/test_boolean: Use 1^x instead of 1-x to avoid conversion warning 2021-03-24 21:02:48 +00:00
John M. Schanck
6154c0d7d3 astyle 2021-03-24 21:02:48 +00:00
John M. Schanck
82ae2d3e34 falcon: satisfy test_boolean 2021-03-24 21:02:48 +00:00
John M. Schanck
a8c4ac414b sphincs: satisfy test_boolean 2021-03-24 21:02:48 +00:00
John M. Schanck
512adcc0db frodo: satisfy test_boolean 2021-03-24 21:02:48 +00:00
John M. Schanck
35f90ed6b3 rainbow: satisfy test_boolean 2021-03-24 21:02:48 +00:00
John M. Schanck
798a7ba86b mceliece, ntru, ntruprime: satisfy test_boolean (in int32_sort)" 2021-03-24 21:02:48 +00:00
John M. Schanck
fdd73d893c inspect initializations 2021-03-24 21:02:48 +00:00
John M. Schanck
331733e9e0 Add test/test_boolean.py 2021-03-24 21:02:48 +00:00
John M. Schanck
629b89ba73 readability changes 2021-03-24 21:02:48 +00:00
John M. Schanck
35ba6edacc trying to satisfy ms again 2021-03-24 21:02:48 +00:00
John M. Schanck
e49e512b06 ms compiler 2021-03-24 21:02:48 +00:00
John M. Schanck
5cddb24de4 typo and unary negation 2021-03-24 21:02:48 +00:00
John M. Schanck
42473fab3b Revert "ms compiler changes for fft.c"
This reverts commit 99bed07f64.
2021-03-24 21:02:48 +00:00
John M. Schanck
7c4859a159 ms compiler 2021-03-24 21:02:48 +00:00
John M. Schanck
3138c9c35f uniform vect_compare implementations 2021-03-24 21:02:48 +00:00
John M. Schanck
d2415c6b09 ms compiler changes for reed_solomon.c 2021-03-24 21:02:48 +00:00
John M. Schanck
84005fd23a negative return code 2021-03-24 21:02:47 +00:00
John M. Schanck
2f05de259d ms compiler changes for fft.c 2021-03-24 21:02:47 +00:00
John M. Schanck
262e64168f simplify clean/repetition.c and satisfy test_boolean 2021-03-24 21:02:47 +00:00
John M. Schanck
c254c2306d Fix non-constant time FO test 2021-03-24 21:02:47 +00:00
John M. Schanck
d1a4fa5e68 uint8_t api for encode/decode in optimized rmrs 2021-03-24 21:02:47 +00:00
John M. Schanck
26e0aea3e2 more endianness fixes 2021-03-24 21:02:47 +00:00