Test vectors version 0.4.12.
Tests using the new test vectors will be added in another CL. Changes: AES-GCM has test vectors for modified tags, which were previously missing. ECDSA has more test vectors for potential arithmetic errors. There are no more random test vectors. Webcrypto has a few test vectors with the bitcoin curve (since some libraries want to add this). DSA and ECDSA have more invalid test vectors with r,s = ((q-1)/2 or q-1). This is motivated by some weak ElGamal implementation in beecrypt. ECDH test vectors have some new files where the public key is just a point using SEC 1 / X9.62 format. All tests for ASN modifications are removed from ecdh_test.json, so that this file has a more resonable size. These test vectors are included in the files ecdh_curve_test.json. EDDSA has a few more invalid test vectors for malformed signatures. (I.e. the python implementation in the RFC has a small bug). Adding test vectors for AES-CCM. (tested against BouncyCastle, which sort of abuses the JCE interface) There are some test vectors for RSA-PSS (so far tested with BouncyCastle and boringSSL) More tests will be added when we have an idea what is actually being used. PiperOrigin-RevId: 205802874 GitOrigin-RevId: 250ab89370a0dcfc56e887fb185a494f45f9a3f5
This commit is contained in:
committed by
quannguyentm
parent
f1b3b3429b
commit
8f2cba4d3f