Commit Graph

7 Commits

Author SHA1 Message Date
John M. Schanck
7d44f5f587 ntru: faster multiplication for reference implementations 2021-03-24 21:02:49 +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
4267e51253 ntru: packaging script update. resolves #331 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
97e0aad338 NTRU: Move crypto_sort_int32.h include to top of sample.c 2021-03-24 21:02:46 +00:00
John M. Schanck
f37f0f3e85 Update NTRU and add AVX2 NTRU implementations 2021-03-24 21:02:46 +00:00