boringssl/crypto/newhope
Matt Braithwaite db207264ad newhope: refactor and add test vectors.
The test vectors are taken from the reference implementation, modified
to output the results of its random-number generator, and the results of
key generation prior to SHA3.  This allows the interoperability of the
two implementations to be tested somewhat.

To accomplish the testing, this commit creates a new, lower-level API
that leaves the generation of random numbers and all wire encoding and
decoding up to the caller.

Change-Id: Ifae3517696dde4be4a0b7c1998bdefb789bac599
Reviewed-on: https://boringssl-review.googlesource.com/8070
Reviewed-by: Adam Langley <agl@google.com>
2016-05-31 21:57:45 +00:00
..
CMakeLists.txt newhope: refactor and add test vectors. 2016-05-31 21:57:45 +00:00
error_correction.c newhope: refactor and add test vectors. 2016-05-31 21:57:45 +00:00
internal.h newhope: refactor and add test vectors. 2016-05-31 21:57:45 +00:00
newhope_test.c Rename NEWHOPE functions to offer/accept/finish. 2016-05-19 18:17:48 +00:00
newhope_test.txt newhope: refactor and add test vectors. 2016-05-31 21:57:45 +00:00
newhope_vectors_test.cc newhope: refactor and add test vectors. 2016-05-31 21:57:45 +00:00
newhope.c newhope: refactor and add test vectors. 2016-05-31 21:57:45 +00:00
ntt.c Import `newhope' (post-quantum key exchange). 2016-04-26 22:53:59 +00:00
poly.c newhope: refactor and add test vectors. 2016-05-31 21:57:45 +00:00
precomp.c Import `newhope' (post-quantum key exchange). 2016-04-26 22:53:59 +00:00
reduce.c Import `newhope' (post-quantum key exchange). 2016-04-26 22:53:59 +00:00