openssl/test/recipes/30-test_evp_data
Billy Brumley 249330de02 More EVP ECC testing: positive and negative
1. For every named curve, two "golden" keypair positive tests.
2. Also two "golden" stock ECDH positive tests.
3. For named curves with non-trivial cofactors, additionally two "golden"
   ECC CDH positive tests.
4. For named curves with non-trivial cofactors, additionally two negative
   tests.

There is some overlap with existing EVP tests, especially for the NIST
curves (for example, positive testing ECC CDH KATs for NIST curves).

"Golden" here means all the values are independent from OpenSSL's ECC
code. I used sage to calculate them. What comes from OpenSSL is:

1. The OIDs (parsed by tooling)
2. The curve parameters (parsing ecparam output with tooling)

The values inside the PEMs (private keys, public keys) and shared keys
are from sage. The PEMs themselves are the output of asn1parse, with
input taken from sage.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6608)
2018-06-29 12:29:12 +02:00
..
evpciph.txt SM4: Add SM4 block cipher to EVP 2017-10-31 15:19:14 +10:00
evpdigest.txt SHA512/224 and SHA512/256 2018-01-24 07:09:46 +10:00
evpencod.txt
evpkdf.txt Add interface to the scrypt KDF by means of PKEY_METHOD 2017-08-08 15:44:49 +01:00
evpmac.txt
evppbe.txt
evppkey.txt [crypto/ec] don't assume points are of order group->order 2018-06-21 13:33:42 +02:00
evppkey_ecc.txt More EVP ECC testing: positive and negative 2018-06-29 12:29:12 +02:00