John M. Schanck
941e0bfe21
ntru: faster multiplication for reference implementations
2020-11-05 18:06:01 -05: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
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
268b62f3ce
NTRU: Move crypto_sort_int32.h include to top of sample.c
2020-08-25 07:57:26 -04:00
John M. Schanck
146a3195e9
NTRU: more explicit casts for MS compiler
2020-08-24 10:56:18 -04:00
John M. Schanck
f49d18a75b
NTRU: add explicit cast for MS compiler
2020-08-24 10:43:44 -04:00
John M. Schanck
1d26f6a582
Update NTRU and add AVX2 NTRU implementations
2020-08-24 09:47:30 -04:00
John Schanck
4ea4b478ba
Update NTRU ( #311 )
...
* Update NTRU
version: https://github.com/jschanck/ntru/tree/485dde03
* Fixed ntruhrss701/clean/Makefile.Microsoft_nmake
2020-08-15 14:26:25 -04:00
Thom Wiggers
f792b925b4
Enable optimizers on Windows ( #244 )
2019-10-21 14:23:59 +02:00
Thom Wiggers
199adb8072
Add -Wredundant-decls
2019-05-20 16:12:01 +02:00
Douglas Stebila
e568dd09c0
Copy ntru fixes from recent commits
2019-04-29 09:41:17 -04:00
Douglas Stebila
6e86989eb2
Undo breaking compiler warning fix
2019-04-29 09:41:17 -04:00
Douglas Stebila
2927f42c59
Fix Windows compiler warnings
2019-04-29 09:41:17 -04:00
Douglas Stebila
ea8fd5886c
Add ntruhps4096821
2019-04-29 09:41:17 -04:00