Commit Graph

7 Commits

Author SHA1 Message Date
John M. Schanck
941e0bfe21 ntru: faster multiplication for reference implementations 2020-11-05 18:06:01 -05: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
0f148a6991 ntru: packaging script update. resolves #331 2020-10-05 14:09:11 -04:00
John M. Schanck
bf15d518ea NTRU: remove unused .s file 2020-09-02 13:05:51 -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
db7fad1232 ntruhrss701/avx2: fix non-PIC call 2020-08-27 11:05:07 -04:00
John M. Schanck
1d26f6a582 Update NTRU and add AVX2 NTRU implementations 2020-08-24 09:47:30 -04:00