pqc/crypto_kem/newhope512cpa/clean
Matthias J. Kannwischer de5cda4d7b
Fix NewHope verify
https://github.com/mupq/pqm4/issues/132 repoorted that the NewHope verify function does not actually return 0 or 1, but 0 or -1, which consequenctly breaks the cmov in the FO transform.
This bug was introduced when I integrated this into PQClean.
2020-03-09 15:45:19 -04:00
..
api.h add newhope512cpa 2019-05-08 17:33:08 +02:00
cpapke.c add newhope512cpa 2019-05-08 17:33:08 +02:00
cpapke.h add newhope512cpa 2019-05-08 17:33:08 +02:00
kem.c add newhope512cpa 2019-05-08 17:33:08 +02:00
LICENSE add newhope512cpa 2019-05-08 17:33:08 +02:00
Makefile Add -Wredundant-decls 2019-05-20 16:12:01 +02:00
Makefile.Microsoft_nmake Enable optimizers on Windows (#244) 2019-10-21 14:23:59 +02:00
ntt.c add newhope512cpa 2019-05-08 17:33:08 +02:00
ntt.h add newhope512cpa 2019-05-08 17:33:08 +02:00
params.h add newhope512cpa 2019-05-08 17:33:08 +02:00
poly.c Fix memory leaks in NewHope 2020-03-03 10:15:56 -05:00
poly.h add newhope512cpa 2019-05-08 17:33:08 +02:00
precomp.c add newhope512cpa 2019-05-08 17:33:08 +02:00
reduce.c Fix NewHope verify 2020-03-09 15:45:19 -04:00
reduce.h add newhope512cpa 2019-05-08 17:33:08 +02:00
verify.c Fix NewHope verify 2020-03-09 15:45:19 -04:00
verify.h add newhope512cpa 2019-05-08 17:33:08 +02:00