Commit Graph

1051 Commits

Author SHA1 Message Date
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
John M. Schanck
7c342d2039 NTRU Prime: Get random bytes in one shot and use corresponding KATs 2020-09-07 09:27:39 -04:00
Thom Wiggers
a129bcafb5
Merge pull request #322 from PQClean/no-flags-for-keccak4x
Remove CFLAGS from keccak4x makefile
2020-09-07 10:07:37 +02:00
Thom Wiggers
f0edc549ac
Remove CFLAGS from keccak4x makefile (closes #321) 2020-09-03 18:00:31 +02:00
Thom Wiggers
a631583fe2
Merge pull request #319 from jschanck/ntru
NTRU: inline the one call that needed @plt
2020-09-03 08:34:49 +02:00
John M. Schanck
7b93f968f1 NTRU Prime: avoid narrowing in loop iteration 2020-09-02 17:30:26 -04:00
John M. Schanck
06ff242344 Revert "NTRU Prime: change prototype for clean/crypto_sort_int32"
This reverts commit 8a372ad2e8.
2020-09-02 17:27:14 -04:00
John M. Schanck
8a372ad2e8 NTRU Prime: change prototype for clean/crypto_sort_int32 2020-09-02 16:41:51 -04:00
John M. Schanck
4f6e00ed69 NTRU Prime: jump directly to crypto_sort_smallindices 2020-09-02 13:37:23 -04:00
John M. Schanck
bf15d518ea NTRU: remove unused .s file 2020-09-02 13:05:51 -04:00
John M. Schanck
75710108fb NTRU Prime: satisfy linter 2020-09-02 13:01:19 -04:00
John M. Schanck
c433b8274d NTRU: inline the one call that needed @plt 2020-09-02 12:54:00 -04:00
John M. Schanck
55c6d04df6 NTRU Prime: Simplified patch set 2020-09-02 12:48:28 -04:00
John M. Schanck
8bb37ad134 NTRU Prime: Disable -Wconversion for gcc 2020-09-01 17:34:55 -04:00
John M. Schanck
7f3228a9b3 NTRU Prime: more unary negations 2020-09-01 17:15:01 -04:00
John M. Schanck
a5b5633534 NTRU Prime: more explicit casts 2020-09-01 17:00:55 -04:00
John M. Schanck
22c4feb174 NTRU Prime: avoid unsigned unary negation 2020-09-01 16:18:21 -04:00
John M. Schanck
2b54c6570d NTRU Prime: more compiler warnings 2020-09-01 15:56:45 -04:00
John M. Schanck
4c5a8326ef NTRU Prime: More changes for MS compiler 2020-09-01 15:16:45 -04:00
John M. Schanck
bfd9e1e8fd NTRU Prime: Explicit casts to avoid conversion warnings 2020-09-01 07:55:46 -04:00
John M. Schanck
5982bdffcc NTRU Prime: Match the NIST submission's sequence of calls to randombytes 2020-08-31 10:22:31 -04:00
Thom Wiggers
c50bc64a40
Merge pull request #316 from jschanck/PIC
ntruhrss701/avx2: fix non-PIC call
2020-08-29 09:04:11 +02:00
John M. Schanck
70543bba37 Add sntrup{653,761,857} and ntrulpr{653,761,857}
Exported from SUPERCOP-20200826 using the scripts at:
https://github.com/jschanck/pqclean-package-ntruprime
2020-08-28 20:22:56 -04:00
John M. Schanck
db7fad1232 ntruhrss701/avx2: fix non-PIC call 2020-08-27 11:05:07 -04:00
mergify[bot]
82ea3c26f6
Merge pull request #315 from PQClean/fix-sphincs
Fix unaligned access in Haraka
2020-08-27 14:14:24 +00:00
Thom Wiggers
5fd615dcd8
Incorporate fix https://github.com/sphincs/sphincsplus/pull/15 2020-08-27 15:07:34 +02:00