Commit Graph

1076 Commits

Author SHA1 Message Date
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
John M. Schanck
720fe60ace Add test/test_boolean.py 2020-09-17 07:19:31 -04:00
Thom Wiggers
365319041a
Merge pull request #324 from jschanck/hqc
New HQC and HQC-RMRS from upstream
2020-09-17 10:29:06 +02:00
John M. Schanck
0dee1d6aa6 readability changes 2020-09-15 11:54:11 -04:00
Thom Wiggers
ee3422d13f
Merge pull request #317 from jschanck/ntruprime
Add sntrup{653,761,857} and ntrulpr{653,761,857}
2020-09-15 10:45:24 +02:00
John M. Schanck
5807a5400c trying to satisfy ms again 2020-09-14 17:47:08 -04:00
John M. Schanck
601e78e0a1 ms compiler 2020-09-14 17:36:52 -04:00
John M. Schanck
43498b628d typo and unary negation 2020-09-14 17:11:08 -04:00
John M. Schanck
7fb5b0e9a4 Revert "ms compiler changes for fft.c"
This reverts commit 99bed07f64.
2020-09-14 17:02:28 -04:00
John M. Schanck
37e0077ec3 ms compiler 2020-09-14 16:45:04 -04:00
John M. Schanck
15330871bf uniform vect_compare implementations 2020-09-14 16:44:09 -04:00
John M. Schanck
cd1c930508 ms compiler changes for reed_solomon.c 2020-09-14 16:09:15 -04:00
John M. Schanck
6499f18855 negative return code 2020-09-14 13:19:20 -04:00
John M. Schanck
99bed07f64 ms compiler changes for fft.c 2020-09-14 13:04:38 -04:00
John M. Schanck
721610cca7 simplify clean/repetition.c and satisfy test_boolean 2020-09-14 12:53:28 -04:00
John M. Schanck
470c2662f9 Fix non-constant time FO test 2020-09-14 11:27:56 -04:00
John M. Schanck
d4008c7f1e uint8_t api for encode/decode in optimized rmrs 2020-09-13 14:44:34 -04:00
John M. Schanck
4da9f0b087 more endianness fixes 2020-09-13 12:23:25 -04:00
John M. Schanck
d9e093c1ad satisfy MS compiler 2020-09-12 20:15:07 -04:00
John M. Schanck
0ff7886b08 narrowing warnings 2020-09-11 17:02:19 -04:00
John M. Schanck
906b3ca175 more endianness fixes 2020-09-11 13:36:03 -04:00
John M. Schanck
e95daec1dd remove unused function 2020-09-11 12:47:03 -04:00
John M. Schanck
4aab2dcb23 Rename log and exp to gf_log and gf_exp 2020-09-11 12:38:08 -04:00
John M. Schanck
04f7375c32 Some MS compiler fixes 2020-09-10 19:30:03 -04:00
John M. Schanck
cc7eae7ce7 typo and more endianness fixes 2020-09-10 17:15:55 -04:00
John M. Schanck
de4e3b49ab remove spaces before semicolons 2020-09-10 17:02:22 -04:00
John M. Schanck
2a261a3f36 Fix endianness issues 2020-09-10 16:27:12 -04:00
John M. Schanck
1309009b59 compiler warnings 2020-09-10 16:26:03 -04:00
John M. Schanck
23238dbed5 Initialize arrays in fft.c and fix a few compiler warnings 2020-09-10 10:26:30 -04:00
John M. Schanck
859522e1c4 Fix left shift overflow for MASK_N2 2020-09-09 17:20:11 -04:00
John M. Schanck
b3a651aebe Remove BITMASK macro 2020-09-09 16:52:51 -04:00
John M. Schanck
8dc9f8fa89 Remove old HQC implementations 2020-09-09 16:10:44 -04:00
John M. Schanck
834f546349 Avoid ==, !=, etc in arithmetic expressions. Some compilers will produce non-constant time code. 2020-09-09 16:07:20 -04:00
John M. Schanck
f0940f92f2 Avoid using log(a) to check if a==0 2020-09-09 16:05:44 -04:00
John M. Schanck
8b6b9ddbb6 Satisfy linter 2020-09-09 10:03:19 -04:00
John M. Schanck
4a301f1896 Simplify hqc-rmrs*/clean/reed_muller.c and fix potentially non-constant time behavior. 2020-09-09 09:44:31 -04:00
John M. Schanck
57282fe962 Fix an avx2/gf2x.c buffer overflow 2020-09-08 10:23:00 -04:00
John M. Schanck
9113313eab Replace avx2 'reduce' in gf2x 2020-09-07 17:39:21 -04:00
John M. Schanck
c2083e13d7 New HQC and HQC-RMRS from upstream 2020-09-07 16:10:13 -04:00