boringssl/crypto/curve25519
David Benjamin 5509bc06d8 Add a test driver for Wycheproof's x25519_test.json.
FileTest and Wycheproof express more-or-less the same things, so I've
just written a script to mechanically convert them. Saves writing a JSON
parser.

I've also left a TODO with other files that are worth converting. Per
Thai, the webcrypto variants of the files are just a different format
and will later be consolidated, so I've ignored those. The
curve/hash-specific ECDSA files and the combined one are intended to be
the same, so I've ignored the combined one. (Just by test counts, there
are some discrepancies, but Thai says he'll fix that and we can update
when that happens.)

Change-Id: I5fcbd5cb0e1bea32964b09fb469cb43410f53c2d
Reviewed-on: https://boringssl-review.googlesource.com/27785
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
2018-04-27 18:55:38 +00:00
..
asm Remove x86_64 x25519 assembly. 2018-02-01 21:44:58 +00:00
CMakeLists.txt Remove x86_64 x25519 assembly. 2018-02-01 21:44:58 +00:00
ed25519_test.cc Require that Ed25519 |s| values be < order. 2018-02-02 20:45:08 +00:00
ed25519_tests.txt Import additional test vectors from RFC 8032. 2017-03-30 16:28:55 +00:00
spake25519_test.cc Move curve25519 code to third_party/fiat. 2017-11-03 22:23:59 +00:00
spake25519.c Move curve25519 code to third_party/fiat. 2017-11-03 22:23:59 +00:00
x25519_test.cc Add a test driver for Wycheproof's x25519_test.json. 2018-04-27 18:55:38 +00:00