Elliptic curves cryptography program for checking point multiplication, ECDH and ECDSA. The output is based on test vectors from Botan project
For the moment, it is POSIX dependant (getopt usage)
Test vectors references are available here: http://point-at-infinity.org/ecc/nisttv
Test vectors references are available here: http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-3ecdsatestvectors.zip
Test vectors references are available here: http://csrc.nist.gov/groups/STM/cavp/documents/components/ecccdhtestvectors.zip
This experimental test vectors generator uses openssl-1.0.2h
- CMake
- A C compiler (gcc, clang, ...)
- AddressSanitizer
- cmake .
./ecc_test_vectors [-e] { secp192r1 | secp224r1 | secp256r1 | secp384r1 | secp521r1 | frp256v1 } [-f] { ecc_pointmul | ecdh | ecdsa } [-h] { 224 | 256 | 384 | 512 }
-e Specify the elliptic curve cryptography
-f Specify the function
-h Specify the sha hash function (sha224, sha256, sha384 or sha512)