7c9c6db85c
There are format changes: * All test vector files contain a new field schema, which points to a JSON schema definition in the directory wycheproof/schema. * More consistent type definition: E.g. the field "type" in a testGroup is now describing the type of the test the vectors are intended for. The type of the test defines formatting (e.g. whether signatures use P1363 encoding or ASN encoding) and the tested operation (e.g. whether the test vectors signatures are primarily are meant for verification or signature generation) The test types will also be included in the documentation. * More unified test vectors: RSA-PKCS#1 v1.5 signature no longer have a field "padding". * Added public and private keys in jwk format. This is done when the jwk format is defined and where the key format is not part of the test. Additional test vectors: * Added vectors for edge cases that can occur in ECDH computations with projective or Jacobian coordinates. In particular this implements a detection for the attack in "Zero-Value Point Attacks on Elliptic Curve Cryptosystem" by T.Akishita and T Takagi, ISC 2003 * Added more edge cases for Xdh. * Added more test cases for ASN parsing (e.g. high number tags) * Added test vectors for CVE-2017-18330 to CCM and EAX. * Added more edge cases for poly1305 * Added test vectors for HKDF. * Removed some duplicates in the test vectors. NOKEYCHECK=True PiperOrigin-RevId: 228700977 GitOrigin-RevId: 5708361fc71a2089a5c102be7d73adbc3b3b8efd