wycheproof/testvectors/dsa_test: Small typo fixes
NOKEYCHECK=True PiperOrigin-RevId: 281551579 GitOrigin-RevId: 41f93acb7124c5f3e02669277e358ac5ad9866f3
This commit is contained in:
committed by
Tink Team
parent
a8b9d3d935
commit
fe3dba2640
@@ -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" : [
|
||||
|
||||
@@ -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" : [
|
||||
|
||||
Reference in New Issue
Block a user