Commit Graph

358 Commits

Author SHA1 Message Date
Thom Wiggers
4aca5dee41 Fix boolean operation in assignment 2020-11-26 13:10:21 -05:00
Thom Wiggers
a385278582 Fix libname for kyber90s 2020-11-26 13:10:21 -05:00
Thom Wiggers
e7a83922d5 Silence a bunch of Windows warnings 2020-11-26 13:10:21 -05:00
Thom Wiggers
c99c406551 Update Kyber from upstream
Makes Kyber-AVX run on MacOS (#251)
2020-11-26 13:10:21 -05:00
Thom Wiggers
891e2e2718
Merge pull request #357 from PQClean/fix_frodo_more
Fix more overflowing muls in Frodo
2020-11-19 15:07:16 +01:00
Thom Wiggers
6d0684df63
Fix more overflowing muls in Frodo 2020-11-19 07:48:32 +01:00
John M. Schanck
b4945e4a16 hqc-rmrs-256: remove unused static vars 2020-11-18 17:14:30 -05:00
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
John M. Schanck
9e543a40c1 ntru/poly_rq_mul: explicit casts to satisfy 32-bit clang sanitizer 2020-11-10 15:43:51 -05: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
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
81425edb3b ntru: Match sample_fixed_weight to spec. Changes KATs. (c.f. Simone Dutto pqcforum 20200731) 2020-10-16 13:08:44 -04: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
1941405d91
Merge pull request #332 from jschanck/hqc
HQC: updated packaging script. should resolve #327
2020-10-06 09:08:28 +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]
3a589a1301
Merge branch 'master' into fix-test_symbol_namespace 2020-10-01 17:27:44 +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
John M. Schanck
9064186cdb astyle 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
938a5dcd5d mceliece, ntru, ntruprime: satisfy test_boolean (in int32_sort)" 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