John M. Schanck
9e543a40c1
ntru/poly_rq_mul: explicit casts to satisfy 32-bit clang sanitizer
4 years ago
John M. Schanck
941e0bfe21
ntru: faster multiplication for reference implementations
4 years ago
John M. Schanck
81425edb3b
ntru: Match sample_fixed_weight to spec. Changes KATs. (c.f. Simone Dutto pqcforum 20200731)
4 years ago
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.
4 years ago
John M. Schanck
de82d896a3
ntru: sort includes
4 years ago
John M. Schanck
4e1314d338
ntru: fix narrowing warning
4 years ago
John M. Schanck
0f148a6991
ntru: packaging script update. resolves #331
4 years ago
John M. Schanck
938a5dcd5d
mceliece, ntru, ntruprime: satisfy test_boolean (in int32_sort)"
4 years ago
John M. Schanck
c433b8274d
NTRU: inline the one call that needed @plt
4 years ago
John M. Schanck
db7fad1232
ntruhrss701/avx2: fix non-PIC call
4 years ago
John M. Schanck
268b62f3ce
NTRU: Move crypto_sort_int32.h include to top of sample.c
4 years ago
John M. Schanck
146a3195e9
NTRU: more explicit casts for MS compiler
4 years ago
John M. Schanck
f49d18a75b
NTRU: add explicit cast for MS compiler
4 years ago
John M. Schanck
1d26f6a582
Update NTRU and add AVX2 NTRU implementations
4 years ago
John Schanck
4ea4b478ba
Update NTRU ( #311 )
* Update NTRU
version: https://github.com/jschanck/ntru/tree/485dde03
* Fixed ntruhrss701/clean/Makefile.Microsoft_nmake
4 years ago
Thom Wiggers
f792b925b4
Enable optimizers on Windows ( #244 )
5 years ago
Matthias J. Kannwischer
7d10484030
fix algo names for schemes that are inconsistent with the api.h
5 years ago
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
5 years ago
Thom Wiggers
199adb8072
Add -Wredundant-decls
5 years ago
Matthias J. Kannwischer
0127ba93f5
Add IND-CPA/IND-CCA2 security field to METADATA. add test for it as well ( #165 )
5 years ago
Matthias J. Kannwischer
1597e62514
add IND-CPA/IND-CCA2 security field to METADATA. add test for it as well
5 years ago
Douglas Stebila
6e1f66d047
Don't run testvectors checks on KEMs ( #161 )
5 years ago
Douglas Stebila
266a40d2fe
Move length-secret-key
5 years ago
Douglas Stebila
e568dd09c0
Copy ntru fixes from recent commits
5 years ago
Douglas Stebila
6e86989eb2
Undo breaking compiler warning fix
5 years ago
Douglas Stebila
2927f42c59
Fix Windows compiler warnings
5 years ago
Douglas Stebila
ea8fd5886c
Add ntruhps4096821
5 years ago
Douglas Stebila
4924ea0a6a
Copy ntru fixes from recent commits
5 years ago
Douglas Stebila
6fce9cf1b9
Undo breaking compiler warning fix
5 years ago
Douglas Stebila
91f94cdd1c
Fix Windows compiler warnings
5 years ago
Douglas Stebila
7a175c9e58
Add ntruhps4096821
5 years ago