35fe41359d
Extending the tests for signature bias. E.g. biased signature generations that choose s' as min(s, q-s) because of signature malleability will not be detected. Such implementations exist: https://eprint.iacr.org/2019/023.pdf Removing test vectors in the tests. These test vectors are no longer necessary, since there are more test vectors in the JSON files. Additionally, the test vectors here are old and have not been updated. Replacing comparisons for test vector version with comparisons for the JSON schema. A new schema (with a different name) will be used whenever the format of the test vectors changes without backwards compatibility. Hence the JSON schema should change less frequently than the version and give a better indication whether test vectors and test match. Reducing the log size a bit. Bugs: b/33190860: default key size for DSA is now 2048. This has been fixed by Oracle. NOKEYCHECK=True PiperOrigin-RevId: 232647129 GitOrigin-RevId: 76f43890f0115a2ff72c6078a3376a96882a1504