John M. Schanck
7bac779bb5
ntru/poly_rq_mul: explicit casts to satisfy 32-bit clang sanitizer
2021-03-24 21:02:49 +00:00
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
f80ed6dce2
ntru: sort includes
2021-03-24 21:02:48 +00:00
John M. Schanck
61e52f8004
ntru: fix narrowing warning
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
4c268aae14
NTRU: inline the one call that needed @plt
2021-03-24 21:02:46 +00:00
John M. Schanck
a008d4ad21
ntruhrss701/avx2: fix non-PIC call
2021-03-24 21:02:46 +00:00
John M. Schanck
2f56d17d67
NTRU: more explicit casts for MS compiler
2021-03-24 21:02:46 +00:00
John M. Schanck
f772093fd4
NTRU: add explicit cast for MS compiler
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
John Schanck
0d7743d576
Update NTRU ( #311 )
...
* Update NTRU
version: https://github.com/jschanck/ntru/tree/485dde03
* Fixed ntruhrss701/clean/Makefile.Microsoft_nmake
2021-03-24 21:02:46 +00:00
Matthias J. Kannwischer
7d10484030
fix algo names for schemes that are inconsistent with the api.h
2019-09-19 12:44:26 +02:00
Thom Wiggers
4cea81d15f
Convert principal-submitter
into a list
...
There are schemes, like SABER (#192 ) that have more than one principal
submitter. Consistency warrants that we turn it into a list for all
schemes and don't do something with allowing either a str or a list:
that would just be very annoying to parse.
Closes #194
2019-06-21 09:30:55 +02:00
Matthias J. Kannwischer
0127ba93f5
Add IND-CPA/IND-CCA2 security field to METADATA. add test for it as well ( #165 )
2019-05-13 11:20:32 -04:00
Douglas Stebila
6e1f66d047
Don't run testvectors checks on KEMs ( #161 )
2019-04-30 11:15:57 -04:00
Douglas Stebila
266a40d2fe
Move length-secret-key
2019-04-29 09:48:15 -04:00
Douglas Stebila
5b733ede1c
Add ntruhrss701
2019-04-29 09:41:17 -04:00