diff --git a/testvectors/dsa_test.json b/testvectors/dsa_test.json index 3dfcba2..838010f 100644 --- a/testvectors/dsa_test.json +++ b/testvectors/dsa_test.json @@ -8,7 +8,7 @@ ], "notes" : { "EdgeCase" : "Some implementations of DSA do not properly check for boundaries. In some cases the modular inverse of 0 is simply 0. As a result there are implementations where values such as r=1, s=0 lead to forgeries.", - "NoLeadingZero" : "ASN encoded integers with a leading hex-digit in the range 8 .. F are negative. If the first hex-digit of a positive integer is 8 .. F then a leading 0 must be added. Some libraries forgot to do this an therefore generated invalid DSA signatures. Some providers, accept such legacy signatures for compatibility." + "NoLeadingZero" : "ASN encoded integers with a leading hex-digit in the range 8 .. F are negative. If the first hex-digit of a positive integer is 8 .. F then a leading 0 must be added. Some libraries forgot to do this and therefore generated invalid DSA signatures. Some providers accept such legacy signatures for compatibility." }, "schema" : "dsa_verify_schema.json", "testGroups" : [ diff --git a/testvectors/ecdsa_test.json b/testvectors/ecdsa_test.json index 9bf1376..7d213ae 100644 --- a/testvectors/ecdsa_test.json +++ b/testvectors/ecdsa_test.json @@ -12,7 +12,7 @@ "GroupIsomorphism" : "Some EC groups have isomorphic groups that allow an efficient implementation. This is a test vector that contains values that are edge cases on such an isomorphic group.", "MissingZero" : "Some implementations of ECDSA and DSA incorrectly encode r and s by not including leading zeros in the ASN encoding of integers when necessary. Hence, some implementations (e.g. jdk) allow signatures with incorrect ASN encodings assuming that the signature is otherwise valid.", "PointDuplication" : "Some implementations of ECDSA do not handle duplication and points at infinity correctly. This is a test vector that has been specially crafted to check for such an omission.", - "WeakHash" : "The security strength of the hash function used in this signature is weaker than then strength of the EC parameters. Such choices are disallowed in FIPS PUB 186-4 Section 6.1.1. However, it is unclear whether a library should reject such parameter choices." + "WeakHash" : "The security strength of the hash function used in this signature is weaker than the strength of the EC parameters. Such choices are disallowed in FIPS PUB 186-4 Section 6.1.1. However, it is unclear whether a library should reject such parameter choices." }, "schema" : "ecdsa_verify_schema.json", "testGroups" : [