5579 lines
247 KiB
JSON
5579 lines
247 KiB
JSON
|
{
|
||
|
"algorithm" : "ECDSA",
|
||
|
"schema" : "ecdsa_verify_schema.json",
|
||
|
"generatorVersion" : "0.9rc5",
|
||
|
"numberOfTests" : 408,
|
||
|
"header" : [
|
||
|
"Test vectors of type EcdsaVerify are meant for the verification",
|
||
|
"of ASN encoded ECDSA signatures."
|
||
|
],
|
||
|
"notes" : {
|
||
|
"ArithmeticError" : {
|
||
|
"bugType" : "EDGE_CASE",
|
||
|
"description" : "Some implementations of ECDSA have arithmetic errors that occur when intermediate results have extreme values. This test vector has been constructed to test such occurences.",
|
||
|
"cves" : [
|
||
|
"CVE-2017-18146"
|
||
|
]
|
||
|
},
|
||
|
"BerEncodedSignature" : {
|
||
|
"bugType" : "BER_ENCODING",
|
||
|
"description" : "ECDSA signatures are usually DER encoded. This signature contains valid values for r and s, but it uses alternative BER encoding.",
|
||
|
"effect" : "Accepting alternative BER encodings may be benign in some cases, or be an issue if protocol requires signature malleability.",
|
||
|
"cves" : [
|
||
|
"CVE-2020-14966",
|
||
|
"CVE-2020-13822",
|
||
|
"CVE-2019-14859",
|
||
|
"CVE-2016-1000342"
|
||
|
]
|
||
|
},
|
||
|
"EdgeCaseShamirMultiplication" : {
|
||
|
"bugType" : "EDGE_CASE",
|
||
|
"description" : "Shamir proposed a fast method for computing the sum of two scalar multiplications efficiently. This test vector has been constructed so that an intermediate result is the point at infinity if Shamir's method is used."
|
||
|
},
|
||
|
"IntegerOverflow" : {
|
||
|
"bugType" : "CAN_OF_WORMS",
|
||
|
"description" : "The test vector contains an r and s that has been modified, so that the original value is restored if the implementation ignores the most significant bits.",
|
||
|
"effect" : "Without further analysis it is unclear if the modification can be used to forge signatures."
|
||
|
},
|
||
|
"InvalidEncoding" : {
|
||
|
"bugType" : "CAN_OF_WORMS",
|
||
|
"description" : "ECDSA signatures are encoded using ASN.1. This test vector contains an incorrectly encoded signature. The test vector itself was generated from a valid signature by modifying its encoding.",
|
||
|
"effect" : "Without further analysis it is unclear if the modification can be used to forge signatures."
|
||
|
},
|
||
|
"InvalidSignature" : {
|
||
|
"bugType" : "AUTH_BYPASS",
|
||
|
"description" : "The signature contains special case values such as r=0 and s=0. Buggy implementations may accept such values, if the implementation does not check boundaries and computes s^(-1) == 0.",
|
||
|
"effect" : "Accepting such signatures can have the effect that an adversary can forge signatures without even knowning the message to sign.",
|
||
|
"cves" : [
|
||
|
"CVE-2022-21449",
|
||
|
"CVE-2021-43572",
|
||
|
"CVE-2022-24884"
|
||
|
]
|
||
|
},
|
||
|
"InvalidTypesInSignature" : {
|
||
|
"bugType" : "AUTH_BYPASS",
|
||
|
"description" : "The signature contains invalid types. Dynamic typed languages sometime coerce such values of different types into integers. If an implementation is careless and has additional bugs, such as not checking integer boundaries then it may be possible that such signatures are accepted.",
|
||
|
"effect" : "Accepting such signatures can have the effect that an adversary can forge signatures without even knowning the message to sign.",
|
||
|
"cves" : [
|
||
|
"CVE-2022-21449"
|
||
|
]
|
||
|
},
|
||
|
"MissingZero" : {
|
||
|
"bugType" : "LEGACY",
|
||
|
"description" : "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.",
|
||
|
"effect" : "While signatures are more malleable if such signatures are accepted, this typically leads to no vulnerability, since a badly encoded signature can be reencoded correctly."
|
||
|
},
|
||
|
"ModifiedInteger" : {
|
||
|
"bugType" : "CAN_OF_WORMS",
|
||
|
"description" : "The test vector contains an r and s that has been modified. The goal is to check for arithmetic errors.",
|
||
|
"effect" : "Without further analysis it is unclear if the modification can be used to forge signatures."
|
||
|
},
|
||
|
"ModifiedSignature" : {
|
||
|
"bugType" : "CAN_OF_WORMS",
|
||
|
"description" : "The test vector contains an invalid signature that was generated from a valid signature by modifying it.",
|
||
|
"effect" : "Without further analysis it is unclear if the modification can be used to forge signatures."
|
||
|
},
|
||
|
"ModularInverse" : {
|
||
|
"bugType" : "EDGE_CASE",
|
||
|
"description" : "The test vectors contains a signature where computing the modular inverse of s hits an edge case.",
|
||
|
"effect" : "While the signature in this test vector is constructed and similar cases are unlikely to occur, it is important to determine if the underlying arithmetic error can be used to forge signatures.",
|
||
|
"cves" : [
|
||
|
"CVE-2019-0865"
|
||
|
]
|
||
|
},
|
||
|
"PointDuplication" : {
|
||
|
"bugType" : "EDGE_CASE",
|
||
|
"description" : "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.",
|
||
|
"cves" : [
|
||
|
"2020-12607",
|
||
|
"CVE-2015-2730"
|
||
|
]
|
||
|
},
|
||
|
"RangeCheck" : {
|
||
|
"bugType" : "CAN_OF_WORMS",
|
||
|
"description" : "The test vector contains an r and s that has been modified. By adding or subtracting the order of the group (or other values) the test vector checks whether signature verification verifies the range of r and s.",
|
||
|
"effect" : "Without further analysis it is unclear if the modification can be used to forge signatures."
|
||
|
},
|
||
|
"SmallRandS" : {
|
||
|
"bugType" : "EDGE_CASE",
|
||
|
"description" : "The test vectors contains a signature where both r and s are small integers. Some libraries cannot verify such signatures.",
|
||
|
"effect" : "While the signature in this test vector is constructed and similar cases are unlikely to occur, it is important to determine if the underlying arithmetic error can be used to forge signatures.",
|
||
|
"cves" : [
|
||
|
"2020-13895"
|
||
|
]
|
||
|
},
|
||
|
"SpecialCaseHash" : {
|
||
|
"bugType" : "EDGE_CASE",
|
||
|
"description" : "The test vector contains a signature where the hash of the message is a special case, e.g., contains a long run of 0 or 1 bits."
|
||
|
},
|
||
|
"ValidSignature" : {
|
||
|
"bugType" : "BASIC",
|
||
|
"description" : "The test vector contains a valid signature that was generated pseudorandomly. Such signatures should not fail to verify unless some of the parameters (e.g. curve or hash function) are not supported."
|
||
|
}
|
||
|
},
|
||
|
"testGroups" : [
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "042ef983fa542b64472e2bc405d9eedd861acc9a7f814fad8275ce6b9a3459ba4ab52164883bd29eb6ac7e6d22ac7d302c053dc39684928ef9",
|
||
|
"wx" : "2ef983fa542b64472e2bc405d9eedd861acc9a7f814fad8275ce6b9a",
|
||
|
"wy" : "3459ba4ab52164883bd29eb6ac7e6d22ac7d302c053dc39684928ef9"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00042ef983fa542b64472e2bc405d9eedd861acc9a7f814fad8275ce6b9a3459ba4ab52164883bd29eb6ac7e6d22ac7d302c053dc39684928ef9",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAELvmD+lQrZEcuK8QF2e7dhhrMmn+BT62C\ndc5rmjRZukq1IWSIO9Ketqx+bSKsfTAsBT3DloSSjvk=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 1,
|
||
|
"comment" : "pseudorandom signature",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "",
|
||
|
"sig" : "303e021d00e6a214ba602a2a371a7db42c92ad3d63da09c84992dcb5e4036dafb1021d00fd4c323943614d244d76064ad3620bca3fdaa4d0db53b93b07d18575",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 2,
|
||
|
"comment" : "pseudorandom signature",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "4d7367",
|
||
|
"sig" : "303d021d00892e1b8d68e4a0ba0f6a832cc72291440d3d7f8d033321531a5b77be021c7bc573cbef7a0c241a67c2e439c243c627c04b2b6cfc3c857198d58f",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 3,
|
||
|
"comment" : "pseudorandom signature",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5ce02714d7f45d9e95071d0be517c5b44b50af7ff18f2fa56376bf32021c624361a30801417f956da2c02c8fd7ad0c390b07105e19e03427143d",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 4,
|
||
|
"comment" : "pseudorandom signature",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "0000000000000000000000000000000000000000",
|
||
|
"sig" : "303d021d00e52fb6cbddf6d21cb346b19229ebd5c548dfeac27011b8663ed06b7e021c77051043ce80a21bfb944639e526c335bd7f07c79a038a1431cea5e4",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0428aa93c8c9c2d81b7e5a466f01be0a0aa3ebee2197abff4d11edb00c6b7d6594c1def5d4701e9875f25b80176e7ef5cbc51da250a702d65c",
|
||
|
"wx" : "28aa93c8c9c2d81b7e5a466f01be0a0aa3ebee2197abff4d11edb00c",
|
||
|
"wy" : "6b7d6594c1def5d4701e9875f25b80176e7ef5cbc51da250a702d65c"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000428aa93c8c9c2d81b7e5a466f01be0a0aa3ebee2197abff4d11edb00c6b7d6594c1def5d4701e9875f25b80176e7ef5cbc51da250a702d65c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEKKqTyMnC2Bt+WkZvAb4KCqPr7iGXq/9N\nEe2wDGt9ZZTB3vXUcB6YdfJbgBdufvXLxR2iUKcC1lw=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 5,
|
||
|
"comment" : "signature malleability",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021c2de29341ffa199c044fa37c80ca356d32769c4954d57345745121730",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 6,
|
||
|
"comment" : "Legacy: ASN encoding of r misses leading 0",
|
||
|
"flags" : [
|
||
|
"MissingZero"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021cc42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 7,
|
||
|
"comment" : "Legacy: ASN encoding of s misses leading 0",
|
||
|
"flags" : [
|
||
|
"MissingZero"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021cd21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 8,
|
||
|
"comment" : "valid",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 9,
|
||
|
"comment" : "length of sequence [r, s] uses long form encoding",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30813e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 10,
|
||
|
"comment" : "length of sequence [r, s] contains a leading 0",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3082003e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 11,
|
||
|
"comment" : "length of sequence [r, s] uses 63 instead of 62",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 12,
|
||
|
"comment" : "length of sequence [r, s] uses 61 instead of 62",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 13,
|
||
|
"comment" : "uint32 overflow in length of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3085010000003e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 14,
|
||
|
"comment" : "uint64 overflow in length of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "308901000000000000003e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 15,
|
||
|
"comment" : "length of sequence [r, s] = 2**31 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30847fffffff021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 16,
|
||
|
"comment" : "length of sequence [r, s] = 2**31",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "308480000000021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 17,
|
||
|
"comment" : "length of sequence [r, s] = 2**32 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3084ffffffff021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 18,
|
||
|
"comment" : "length of sequence [r, s] = 2**40 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3085ffffffffff021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 19,
|
||
|
"comment" : "length of sequence [r, s] = 2**64 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3088ffffffffffffffff021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 20,
|
||
|
"comment" : "incorrect length of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30ff021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 21,
|
||
|
"comment" : "replaced sequence [r, s] by an indefinite length tag without termination",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 22,
|
||
|
"comment" : "removing sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 23,
|
||
|
"comment" : "lonely sequence tag",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 24,
|
||
|
"comment" : "appending 0's to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 25,
|
||
|
"comment" : "prepending 0's to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30400000021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 26,
|
||
|
"comment" : "appending unused 0's to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 27,
|
||
|
"comment" : "appending null value to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 28,
|
||
|
"comment" : "prepending garbage to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3043498177303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 29,
|
||
|
"comment" : "prepending garbage to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30422500303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 30,
|
||
|
"comment" : "appending garbage to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70004deadbeef",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 31,
|
||
|
"comment" : "including undefined tags",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046aa00bb00cd00303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 32,
|
||
|
"comment" : "including undefined tags",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30462225aa00bb00cd00021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 33,
|
||
|
"comment" : "including undefined tags",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f22225aa00bb00cd00021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 34,
|
||
|
"comment" : "truncated length of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3081",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 35,
|
||
|
"comment" : "including undefined tags to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044aa02aabb303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 36,
|
||
|
"comment" : "using composition with indefinite length for sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 37,
|
||
|
"comment" : "using composition with wrong tag for sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080313e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 38,
|
||
|
"comment" : "Replacing sequence [r, s] with NULL",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "0500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 39,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "2e3e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 40,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "2f3e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 41,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "313e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 42,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "323e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 43,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "ff3e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 44,
|
||
|
"comment" : "dropping value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 45,
|
||
|
"comment" : "using composition for sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042300102303d1d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 46,
|
||
|
"comment" : "truncated sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9a",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 47,
|
||
|
"comment" : "truncated sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d1d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 48,
|
||
|
"comment" : "sequence [r, s] of size 4159 to check for overflows",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3082103f021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 49,
|
||
|
"comment" : "indefinite length",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 50,
|
||
|
"comment" : "indefinite length with truncated delimiter",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac700",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 51,
|
||
|
"comment" : "indefinite length with additional element",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac705000000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 52,
|
||
|
"comment" : "indefinite length with truncated element",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7060811220000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 53,
|
||
|
"comment" : "indefinite length with garbage",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70000fe02beef",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 54,
|
||
|
"comment" : "indefinite length with nonempty EOC",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70002beef",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 55,
|
||
|
"comment" : "prepend empty sequence",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30403000021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 56,
|
||
|
"comment" : "append empty sequence",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac73000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 57,
|
||
|
"comment" : "append zero",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3041021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 58,
|
||
|
"comment" : "append garbage with high tag number",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3041021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7bf7f00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 59,
|
||
|
"comment" : "append null with explicit tag",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7a0020500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 60,
|
||
|
"comment" : "append null with implicit tag",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7a000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 61,
|
||
|
"comment" : "sequence of sequence",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 62,
|
||
|
"comment" : "truncated sequence: removed last 1 elements",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "301f021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 63,
|
||
|
"comment" : "repeating element in sequence",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "305d021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 64,
|
||
|
"comment" : "flipped bit 0 in r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f3021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 65,
|
||
|
"comment" : "flipped bit 32 in r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c00c42eac458542d60b6cf35f83b76274f7420250f4a53179c6298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 66,
|
||
|
"comment" : "flipped bit 48 in r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c00c42eac458542d60b6cf35f83b76274f7420250f4a53079c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 67,
|
||
|
"comment" : "flipped bit 64 in r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c00c42eac458542d60b6cf35f83b76274f7420250f5a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 68,
|
||
|
"comment" : "length of r uses long form encoding",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f02811d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 69,
|
||
|
"comment" : "length of r contains a leading 0",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30400282001d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 70,
|
||
|
"comment" : "length of r uses 30 instead of 29",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021e00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 71,
|
||
|
"comment" : "length of r uses 28 instead of 29",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021c00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 72,
|
||
|
"comment" : "uint32 overflow in length of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30430285010000001d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 73,
|
||
|
"comment" : "uint64 overflow in length of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3047028901000000000000001d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 74,
|
||
|
"comment" : "length of r = 2**31 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304202847fffffff00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 75,
|
||
|
"comment" : "length of r = 2**31",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304202848000000000c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 76,
|
||
|
"comment" : "length of r = 2**32 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30420284ffffffff00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 77,
|
||
|
"comment" : "length of r = 2**40 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30430285ffffffffff00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 78,
|
||
|
"comment" : "length of r = 2**64 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30460288ffffffffffffffff00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 79,
|
||
|
"comment" : "incorrect length of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e02ff00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 80,
|
||
|
"comment" : "replaced r by an indefinite length tag without termination",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e028000c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 81,
|
||
|
"comment" : "removing r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "301f021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 82,
|
||
|
"comment" : "lonely integer tag",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302002021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 83,
|
||
|
"comment" : "lonely integer tag",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3020021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f202",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 84,
|
||
|
"comment" : "appending 0's to r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021f00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20000021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 85,
|
||
|
"comment" : "prepending 0's to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021f000000c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 86,
|
||
|
"comment" : "appending unused 0's to r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20000021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 87,
|
||
|
"comment" : "appending null value to r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021f00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20500021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 88,
|
||
|
"comment" : "prepending garbage to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30432222498177021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 89,
|
||
|
"comment" : "prepending garbage to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304222212500021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 90,
|
||
|
"comment" : "appending garbage to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046221f021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20004deadbeef021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 91,
|
||
|
"comment" : "truncated length of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30210281021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 92,
|
||
|
"comment" : "including undefined tags to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30442223aa02aabb021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 93,
|
||
|
"comment" : "using composition with indefinite length for r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30422280021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20000021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 94,
|
||
|
"comment" : "using composition with wrong tag for r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30422280031d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20000021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 95,
|
||
|
"comment" : "Replacing r with NULL",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30210500021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 96,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e001d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 97,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e011d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 98,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e031d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 99,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e041d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 100,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303eff1d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 101,
|
||
|
"comment" : "dropping value of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30210200021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 102,
|
||
|
"comment" : "using composition for r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30422221020100021cc42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 103,
|
||
|
"comment" : "modifying first byte of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d02c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 104,
|
||
|
"comment" : "modifying last byte of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d8872021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 105,
|
||
|
"comment" : "truncated r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 106,
|
||
|
"comment" : "r of size 4126 to check for overflows",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "308210410282101e00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 107,
|
||
|
"comment" : "leading ff in r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021eff00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 108,
|
||
|
"comment" : "replaced r by infinity",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022090180021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 109,
|
||
|
"comment" : "replacing r with zero",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020100021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 110,
|
||
|
"comment" : "flipped bit 0 in s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f200d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 111,
|
||
|
"comment" : "flipped bit 32 in s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f200d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751b318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 112,
|
||
|
"comment" : "flipped bit 48 in s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f200d21d6cbe005e663fbb05c837f35e8615ab829cef7d98751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 113,
|
||
|
"comment" : "flipped bit 64 in s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f200d21d6cbe005e663fbb05c837f35e8615ab829cee7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 114,
|
||
|
"comment" : "length of s uses long form encoding",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f202811d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 115,
|
||
|
"comment" : "length of s contains a leading 0",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20282001d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 116,
|
||
|
"comment" : "length of s uses 30 instead of 29",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021e00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 117,
|
||
|
"comment" : "length of s uses 28 instead of 29",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021c00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 118,
|
||
|
"comment" : "uint32 overflow in length of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3043021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20285010000001d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 119,
|
||
|
"comment" : "uint64 overflow in length of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3047021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2028901000000000000001d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 120,
|
||
|
"comment" : "length of s = 2**31 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f202847fffffff00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 121,
|
||
|
"comment" : "length of s = 2**31",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f202848000000000d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 122,
|
||
|
"comment" : "length of s = 2**32 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20284ffffffff00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 123,
|
||
|
"comment" : "length of s = 2**40 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3043021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20285ffffffffff00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 124,
|
||
|
"comment" : "length of s = 2**64 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20288ffffffffffffffff00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 125,
|
||
|
"comment" : "incorrect length of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f202ff00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 126,
|
||
|
"comment" : "replaced s by an indefinite length tag without termination",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2028000d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 127,
|
||
|
"comment" : "appending 0's to s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021f00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 128,
|
||
|
"comment" : "prepending 0's to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021f000000d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 129,
|
||
|
"comment" : "appending null value to s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021f00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 130,
|
||
|
"comment" : "prepending garbage to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3043021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f22222498177021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 131,
|
||
|
"comment" : "prepending garbage to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f222212500021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 132,
|
||
|
"comment" : "appending garbage to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2221f021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70004deadbeef",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 133,
|
||
|
"comment" : "truncated length of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20281",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 134,
|
||
|
"comment" : "including undefined tags to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f22223aa02aabb021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 135,
|
||
|
"comment" : "using composition with indefinite length for s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f22280021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 136,
|
||
|
"comment" : "using composition with wrong tag for s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f22280031d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 137,
|
||
|
"comment" : "Replacing s with NULL",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 138,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2001d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 139,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2011d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 140,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2031d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 141,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2041d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 142,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2ff1d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 143,
|
||
|
"comment" : "dropping value of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20200",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 144,
|
||
|
"comment" : "using composition for s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f22221020100021cd21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 145,
|
||
|
"comment" : "modifying first byte of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d02d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 146,
|
||
|
"comment" : "modifying last byte of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9a47",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 147,
|
||
|
"comment" : "truncated s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021c00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9a",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 148,
|
||
|
"comment" : "s of size 4126 to check for overflows",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30821041021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f20282101e00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 149,
|
||
|
"comment" : "leading ff in s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021eff00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 150,
|
||
|
"comment" : "replaced s by infinity",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2090180",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 151,
|
||
|
"comment" : "replacing s with zero",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 152,
|
||
|
"comment" : "replaced r by r + n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d01c42eac458542d60b6cf35f83b76451e014eeb27970222338a02d3ae9021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 153,
|
||
|
"comment" : "replaced r by r - n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021cc42eac458542d60b6cf35f83b760980e6f15ef6fda40d055b2edd6fb021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 154,
|
||
|
"comment" : "replaced r by r + 256 * n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021e0100c42eac458542d60b6cf35f83b93f5dca2e63d5bf95daeb3dc93f7ff2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 155,
|
||
|
"comment" : "replaced r by -r",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dff3bd153ba7abd29f4930ca07c489d8b08bdfdaf0b5ace8638d672770e021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 156,
|
||
|
"comment" : "replaced r by n - r",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c3bd153ba7abd29f4930ca07c489f67f190ea109025bf2faa4d122905021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 157,
|
||
|
"comment" : "replaced r by -n - r",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dfe3bd153ba7abd29f4930ca07c489bae1feb114d868fdddcc75fd2c517021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 158,
|
||
|
"comment" : "replaced r by r - 2**225",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dfec42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 159,
|
||
|
"comment" : "replaced r by r + 2**289",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30460225020000000000000000c42eac458542d60b6cf35f83b76274f7420250f4a53179c7298d88f2021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 160,
|
||
|
"comment" : "replaced s by s + n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d01d21d6cbe005e663fbb05c837f36062fe7e6efe74488a1e8ba82d4cbe021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 161,
|
||
|
"comment" : "replaced s by s - n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021cd21d6cbe005e663fbb05c837f35ca92cd8963b6ab2a8cba8baede8d0021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 162,
|
||
|
"comment" : "replaced s by s + 256 * n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021e0100d21d6cbe005e663fbb05c837f53b6ee897e421ba6e42e690d13f91c7021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 163,
|
||
|
"comment" : "replaced s by -s",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dff2de29341ffa199c044fa37c80ca179ea547d631082668ae5ce726539021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 164,
|
||
|
"comment" : "replaced s by -n - s",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dfe2de29341ffa199c044fa37c80c9f9d018191018bb775e17457d2b342021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 165,
|
||
|
"comment" : "replaced s by s + 2**225",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d02d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 166,
|
||
|
"comment" : "replaced s by s - 2**225",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dfed21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 167,
|
||
|
"comment" : "replaced s by s + 2**289",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30460225020000000000000000d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7021d00d21d6cbe005e663fbb05c837f35e8615ab829cef7d99751a318d9ac7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 168,
|
||
|
"comment" : "Signature with special case values r=0 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 169,
|
||
|
"comment" : "Signature with special case values r=0 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 170,
|
||
|
"comment" : "Signature with special case values r=0 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201000201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 171,
|
||
|
"comment" : "Signature with special case values r=0 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020100021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 172,
|
||
|
"comment" : "Signature with special case values r=0 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020100021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 173,
|
||
|
"comment" : "Signature with special case values r=0 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020100021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 174,
|
||
|
"comment" : "Signature with special case values r=0 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020100021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 175,
|
||
|
"comment" : "Signature with special case values r=0 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020100021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 176,
|
||
|
"comment" : "Signature with special case values r=1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 177,
|
||
|
"comment" : "Signature with special case values r=1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 178,
|
||
|
"comment" : "Signature with special case values r=1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201010201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 179,
|
||
|
"comment" : "Signature with special case values r=1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020101021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 180,
|
||
|
"comment" : "Signature with special case values r=1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020101021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 181,
|
||
|
"comment" : "Signature with special case values r=1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020101021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 182,
|
||
|
"comment" : "Signature with special case values r=1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020101021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 183,
|
||
|
"comment" : "Signature with special case values r=1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020101021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 184,
|
||
|
"comment" : "Signature with special case values r=-1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 185,
|
||
|
"comment" : "Signature with special case values r=-1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 186,
|
||
|
"comment" : "Signature with special case values r=-1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff0201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 187,
|
||
|
"comment" : "Signature with special case values r=-1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30220201ff021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 188,
|
||
|
"comment" : "Signature with special case values r=-1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30220201ff021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 189,
|
||
|
"comment" : "Signature with special case values r=-1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30220201ff021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 190,
|
||
|
"comment" : "Signature with special case values r=-1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30220201ff021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 191,
|
||
|
"comment" : "Signature with special case values r=-1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30220201ff021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 192,
|
||
|
"comment" : "Signature with special case values r=n and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 193,
|
||
|
"comment" : "Signature with special case values r=n and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 194,
|
||
|
"comment" : "Signature with special case values r=n and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f70201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 195,
|
||
|
"comment" : "Signature with special case values r=n and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 196,
|
||
|
"comment" : "Signature with special case values r=n and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 197,
|
||
|
"comment" : "Signature with special case values r=n and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 198,
|
||
|
"comment" : "Signature with special case values r=n and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 199,
|
||
|
"comment" : "Signature with special case values r=n and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 200,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 201,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 202,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f60201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 203,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 204,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 205,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 206,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 207,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 208,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 209,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 210,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f80201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 211,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 212,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 213,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 214,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 215,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 216,
|
||
|
"comment" : "Signature with special case values r=p and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 217,
|
||
|
"comment" : "Signature with special case values r=p and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 218,
|
||
|
"comment" : "Signature with special case values r=p and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d0201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 219,
|
||
|
"comment" : "Signature with special case values r=p and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 220,
|
||
|
"comment" : "Signature with special case values r=p and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 221,
|
||
|
"comment" : "Signature with special case values r=p and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 222,
|
||
|
"comment" : "Signature with special case values r=p and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 223,
|
||
|
"comment" : "Signature with special case values r=p and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 224,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 225,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 226,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e0201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 227,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 228,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 229,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 230,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 231,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 232,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3008020100090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 233,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 234,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 235,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 236,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201000500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 237,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201000c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 238,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201000c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 239,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201003000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 240,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30080201003003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 241,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3008020101090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 242,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 243,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 244,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 245,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201010500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 246,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201010c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 247,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201010c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 248,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201013000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 249,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30080201013003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 250,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30080201ff090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 251,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 252,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 253,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 254,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201ff0500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 255,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201ff0c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 256,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff0c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 257,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201ff3000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 258,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30080201ff3003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 259,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3024021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 260,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 261,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 262,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 263,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f70500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 264,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f70c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 265,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f70c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 266,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f73000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 267,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3024021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f73003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 268,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3024021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 269,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 270,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 271,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 272,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d0500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 273,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d0c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 274,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d0c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 275,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d3000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 276,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3024021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d3003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 277,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0.25, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300a090380fe01090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 278,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=nan, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006090142090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 279,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=True, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006010101010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 280,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=False, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006010100010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 281,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=Null, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300405000500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 282,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=empyt UTF-8 string, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30040c000c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 283,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=\"0\", s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060c01300c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 284,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=empty list, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300430003000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 285,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=list containing 0, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300a30030201003003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 286,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0.25, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3008090380fe01020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 287,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=nan, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006090142020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 288,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=True, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006010101020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 289,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=False, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006010100020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 290,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=Null, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050500020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 291,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=empyt UTF-8 string, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050c00020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 292,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=\"0\", s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060c0130020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 293,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=empty list, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30053000020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 294,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=list containing 0, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30083003020100020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 295,
|
||
|
"comment" : "Edge case for Shamir multiplication",
|
||
|
"flags" : [
|
||
|
"EdgeCaseShamirMultiplication"
|
||
|
],
|
||
|
"msg" : "3531303437",
|
||
|
"sig" : "303d021d00b3b20995de5790b06f1baf8aac6cb45d240b94f8386ce5cb85fd767e021c67b5c3cfeac9d49294e8553f4a3c08d3ce826a7079dde9dc916bb317",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 296,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32323534363238393834",
|
||
|
"sig" : "303d021c0c1862036103e254b5737718c90b742713d596609d2941a7a97356d4021d00a610fb6d7139309c34f2d19241762acc1173515dcb7fc039064523b3",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 297,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31383237383738363130",
|
||
|
"sig" : "303e021d008eb4f81cb5e9093b975eb099552ccefbcbbd29f65c999d8d0c8a8382021d0088df346e725e27ea9890b468dff19abc1fca17a07e0139aff4875fa5",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 298,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31353138383631373039",
|
||
|
"sig" : "303d021c3923df98590727ea28750b4d19ce14e24abeae2ab666b39b81048dc5021d00f08e7171fe895dc56e24db45cbad878daba5d60293a26776d22735c3",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 299,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32313239323333343232",
|
||
|
"sig" : "303d021d00fa5ffaf382f86350f7d1b1e47f96802fa988dcf3f484afe99d4148dd021c6acf89cc50a1453b7d0ad3c846481b9910b71c5a6213d98fc431dfed",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 300,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31323231393739303539",
|
||
|
"sig" : "303d021d00b7f1842fc78c02cc0ccafad3f0188c3e6d0a70f6aba58fd571ccf75b021c6ae30af1ed87288c44fcde598d57c01e5b654d9f2c85a06b307ab3c3",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 301,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32333032353637363131",
|
||
|
"sig" : "303d021c43846c754f0db2cee1f9c7e1951723567cc239fcc82bdce315db34ff021d00e054b4893900157d64101e9e4808e1e580a8d23c81c5f9a5abaeeef5",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 302,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31313035383638343732",
|
||
|
"sig" : "303c021c6c3c6edfb81276742b34454007aa43bbf2731289e092d063dadaeda8021c1c1b46ebe0b283e3367358d87c15c7c122026e017cbab59dae2821ae",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 303,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31343636363134343432",
|
||
|
"sig" : "303c021c586e910c8cb2d4170d6538a059412dddb856e5879654c63874ca3575021c0393b8d4098d41697f762dbad1355e4c0f3e22e76a95f7985df02ac3",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 304,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "343431393536343230",
|
||
|
"sig" : "303c021c7b88c0a3351eeca76b680f8a7824c57829d9bb133731d1ae6a064f84021c3c913599029bf8b49be234b39b874765b4ab8d9d74e926c70c21bd3f",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 305,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31393639343836303634",
|
||
|
"sig" : "303c021c3847950d73124ccae028783eea3cff216f04ec91b87ccf9b7d60083d021c39b8cab1e094a1946522513c1c0fd37c3f1d9e76eef40640b3855328",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 306,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32323335363732383833",
|
||
|
"sig" : "303e021d00ef0f5892b40c30546b5f581c5550a9efd8fe3959c32f08d921450c86021d00999404ce9ffaf6390a79adb507bb063a534af34a1ab14f4baaa047b9",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 307,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32323537383433373033",
|
||
|
"sig" : "303c021c0f85cff3c0bba68d2beb76818fd26403084676663d3d1faa16ca974b021c71f8fb857a6ce286225e2b3719ec54990671734d2b10b4c3a4fcf33b",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 308,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "393434353030393436",
|
||
|
"sig" : "303c021c78aea1343d812a3e56755124c8602c874739f83252db674dc6a4a43d021c33dfde70e01052fa1ada76db0bd9f51f37b31d3e2888a35af256a79c",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 309,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31363837373839343130",
|
||
|
"sig" : "303c021c67c840b744f4f71cf368178493543ddd8932c5b78c1bfb471accffff021c3bffeb3df45d39225383a8afb1d1e220cc2e30b1ca292a6ff0e3a18f",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 310,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "333933323631323238",
|
||
|
"sig" : "303d021c7935cec92b3ade86e0839b2236a8168651d02bbeb851eb10fd9ed0e1021d00894cbc792389317abb7cbb0557076b57886588adc4aa96a68c9d1131",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 311,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31303733353731303935",
|
||
|
"sig" : "303d021c088f3be5b93dbe4e4c2347f6e9008b4e255be1f03e7a4f8e7bc42129021d00cbe8c7f0e818dee331401519915e3e27b5448d178b43a0450fb67f10",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 312,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3630383837343734",
|
||
|
"sig" : "303c021c1b0ab71fd509fbb90fafea56ae9cb948146f126d17dccc63a3087389021c0577414f131486d6438da6b6c38d989fc2e2f5cbb75ac18f605497c1",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 313,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31313932353639393632",
|
||
|
"sig" : "303d021c5d553d90046ee450958842b74a1bb93cf39a5853fd39cfdf62eb2f2b021d00e0690261ea0034bf7f5508c94265b30629e8725cc3f2b8a8630aa708",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 314,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3930303736303933",
|
||
|
"sig" : "303d021c666f9380357ad213d902a4ecdc06d68c3ff12ed1c35e135bbb131388021d00bcb1d10817abf6962065934377be68cdbb34696f385cfb3c10163710",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 315,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31363032383336313337",
|
||
|
"sig" : "303d021d009a95dc549c3241a89ac0b6d5684967bc5c6481f29d87a5987a0ddb0e021c2a5a03291446f375c85b7731ccc814e89555ed6e11a6fc9f49582d76",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 316,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32303830323435363734",
|
||
|
"sig" : "303d021d00aab48c21f01cee764b21e46b5affabfba8f06c65bdc8a80dcafa1ce7021c14e217b6e888cb0846594498c4b19ed36979dd3a6e1bd875f3bf3076",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 317,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31373938323734363539",
|
||
|
"sig" : "303e021d00d2c790e6a3a702da92e3368d5e0c66dff541441bc4b2dc932c068a0b021d00a8c1a3f01ab1b758fab803567046e6ff183215ea0c19cc10abb99624",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 318,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31313535353737373230",
|
||
|
"sig" : "303c021c5b2b50af51fb9cab8456ea3e834d1ea6616634a0a954a675ad783f80021c45c4230d9e331ead772995fcb66d4fbb50e9372eadf282fdbc6b211b",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 319,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32343332343734363634",
|
||
|
"sig" : "303e021d008e32bcbdc8dde00027a3b8c935310050ea49737b29231f4129c51524021d00966a4763d4f35ae041c101939651b2c4c764aec10b9b91f32be985a3",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 320,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32343137323832323737",
|
||
|
"sig" : "303d021c6a39fce93982f78b0b13d89a0921ba2c5f54378cb5b565c1d8d142b3021d00cefc50c64c50881a51a8eb809a6185569bd688383aa9e8358aa85c84",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 321,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3737383734373731",
|
||
|
"sig" : "303d021d00b0e8cf1979f5c58e87e908caf06672f38711474c885903a03bac1a08021c0fc0e59d65064932e42de8e4b4d6b1ed3a6c6ad14a30521e4b48c91d",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04390c4aaffd78b32032ece3e584849da3a4e6a7e191c81ed5cba98f2700d198d4aaa5af077729d104e752a66acca188300f8a99772cc8af5a",
|
||
|
"wx" : "390c4aaffd78b32032ece3e584849da3a4e6a7e191c81ed5cba98f27",
|
||
|
"wy" : "00d198d4aaa5af077729d104e752a66acca188300f8a99772cc8af5a"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004390c4aaffd78b32032ece3e584849da3a4e6a7e191c81ed5cba98f2700d198d4aaa5af077729d104e752a66acca188300f8a99772cc8af5a",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEOQxKr/14syAy7OPlhISdo6Tmp+GRyB7V\ny6mPJwDRmNSqpa8HdynRBOdSpmrMoYgwD4qZdyzIr1o=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 322,
|
||
|
"comment" : "k*G has a large x-coordinate",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56c021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f4",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04bba4b17b580130513dc505cdd37bbd06e327857862f97de8bcf64324d611e22350c877ba8e827775d64be0341512d0b3464e4e89a3db3e5c",
|
||
|
"wx" : "00bba4b17b580130513dc505cdd37bbd06e327857862f97de8bcf64324",
|
||
|
"wy" : "00d611e22350c877ba8e827775d64be0341512d0b3464e4e89a3db3e5c"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004bba4b17b580130513dc505cdd37bbd06e327857862f97de8bcf64324d611e22350c877ba8e827775d64be0341512d0b3464e4e89a3db3e5c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEu6Sxe1gBMFE9xQXN03u9BuMnhXhi+X3o\nvPZDJNYR4iNQyHe6joJ3ddZL4DQVEtCzRk5OiaPbPlw=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 323,
|
||
|
"comment" : "r,s are large",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020f01dce8d2ec6184caf0a972769fcc86020f01dce8d2ec6184caf0a972769fcc85",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04a8837d94a13561751c7d635fb243166d44502bba64c1a7b99fbb48cebee624b3519bb7fb6fb289a1538361ae5233c41ea0ace7cefc2f581b",
|
||
|
"wx" : "00a8837d94a13561751c7d635fb243166d44502bba64c1a7b99fbb48ce",
|
||
|
"wy" : "00bee624b3519bb7fb6fb289a1538361ae5233c41ea0ace7cefc2f581b"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004a8837d94a13561751c7d635fb243166d44502bba64c1a7b99fbb48cebee624b3519bb7fb6fb289a1538361ae5233c41ea0ace7cefc2f581b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEqIN9lKE1YXUcfWNfskMWbURQK7pkwae5\nn7tIzr7mJLNRm7f7b7KJoVODYa5SM8QeoKznzvwvWBs=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 324,
|
||
|
"comment" : "r and s^-1 have a large Hamming weight",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a92021c6b40cfab3ff22bd6ef6f2b1a28398acd590fadc0b1c3d530f69e2736",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "044520e6975013bc243d8e505b6de457398882f06f6d89396f394914e8432cef35a248e1e01b070b17809480647d1a73ebbff082225b10d374",
|
||
|
"wx" : "4520e6975013bc243d8e505b6de457398882f06f6d89396f394914e8",
|
||
|
"wy" : "432cef35a248e1e01b070b17809480647d1a73ebbff082225b10d374"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00044520e6975013bc243d8e505b6de457398882f06f6d89396f394914e8432cef35a248e1e01b070b17809480647d1a73ebbff082225b10d374",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAERSDml1ATvCQ9jlBbbeRXOYiC8G9tiTlv\nOUkU6EMs7zWiSOHgGwcLF4CUgGR9GnPrv/CCIlsQ03Q=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 325,
|
||
|
"comment" : "r and s^-1 have a large Hamming weight",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a92021c40e62110de4b8ede6ab17d2f8ac1bce1b3230f4bb3c676b2caa9150c",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04ddbe2e0d74279daf1301c14633570955ec93c4879bf23ecad30d57a0f74e75219b1a6453cd6a6c219dc94d19c6390db3e3c3ff774db56876",
|
||
|
"wx" : "00ddbe2e0d74279daf1301c14633570955ec93c4879bf23ecad30d57a0",
|
||
|
"wy" : "00f74e75219b1a6453cd6a6c219dc94d19c6390db3e3c3ff774db56876"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004ddbe2e0d74279daf1301c14633570955ec93c4879bf23ecad30d57a0f74e75219b1a6453cd6a6c219dc94d19c6390db3e3c3ff774db56876",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE3b4uDXQnna8TAcFGM1cJVeyTxIeb8j7K\n0w1XoPdOdSGbGmRTzWpsIZ3JTRnGOQ2z48P/d021aHY=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 326,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020102020101",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04ddf9cc8f42eafddece0405ab4553911d3b0eabe28394c781c6a4c1b8d1b667b1eddcd313cfb3331c289b1bed3f957e203fcb7702e36e6c61",
|
||
|
"wx" : "00ddf9cc8f42eafddece0405ab4553911d3b0eabe28394c781c6a4c1b8",
|
||
|
"wy" : "00d1b667b1eddcd313cfb3331c289b1bed3f957e203fcb7702e36e6c61"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004ddf9cc8f42eafddece0405ab4553911d3b0eabe28394c781c6a4c1b8d1b667b1eddcd313cfb3331c289b1bed3f957e203fcb7702e36e6c61",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE3fnMj0Lq/d7OBAWrRVORHTsOq+KDlMeB\nxqTBuNG2Z7Ht3NMTz7MzHCibG+0/lX4gP8t3AuNubGE=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 327,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020102020102",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "047f34aa352636f9518c086ce79b41fcc8132dc46b5f60ba7c6f2e49a1738514f46207cefc457741f8005a8ed9f473a8bf1432f29338f07a2b",
|
||
|
"wx" : "7f34aa352636f9518c086ce79b41fcc8132dc46b5f60ba7c6f2e49a1",
|
||
|
"wy" : "738514f46207cefc457741f8005a8ed9f473a8bf1432f29338f07a2b"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00047f34aa352636f9518c086ce79b41fcc8132dc46b5f60ba7c6f2e49a1738514f46207cefc457741f8005a8ed9f473a8bf1432f29338f07a2b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEfzSqNSY2+VGMCGznm0H8yBMtxGtfYLp8\nby5JoXOFFPRiB878RXdB+ABajtn0c6i/FDLykzjweis=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 328,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020102020103",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04ca3287291665c5e0dfba51ca8c5ee0c2e12429d9d40f0194bc3dd21607c2778a1d0d662407a2b7301b2fbd84010b678a87325cba81a48a05",
|
||
|
"wx" : "00ca3287291665c5e0dfba51ca8c5ee0c2e12429d9d40f0194bc3dd216",
|
||
|
"wy" : "07c2778a1d0d662407a2b7301b2fbd84010b678a87325cba81a48a05"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004ca3287291665c5e0dfba51ca8c5ee0c2e12429d9d40f0194bc3dd21607c2778a1d0d662407a2b7301b2fbd84010b678a87325cba81a48a05",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEyjKHKRZlxeDfulHKjF7gwuEkKdnUDwGU\nvD3SFgfCd4odDWYkB6K3MBsvvYQBC2eKhzJcuoGkigU=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 329,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020104020101",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04898ff4e39ddc5f33488ed36e2375d86bc4bc0c457a50f84e33c59fd78a2d460d6409947ca17024f83f880f81331e8afd1b8607c6eb82a991",
|
||
|
"wx" : "00898ff4e39ddc5f33488ed36e2375d86bc4bc0c457a50f84e33c59fd7",
|
||
|
"wy" : "008a2d460d6409947ca17024f83f880f81331e8afd1b8607c6eb82a991"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004898ff4e39ddc5f33488ed36e2375d86bc4bc0c457a50f84e33c59fd78a2d460d6409947ca17024f83f880f81331e8afd1b8607c6eb82a991",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEiY/0453cXzNIjtNuI3XYa8S8DEV6UPhO\nM8Wf14otRg1kCZR8oXAk+D+ID4EzHor9G4YHxuuCqZE=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 330,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020104020103",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04fe5f20bbe60c2f5d52f16a087d0bffaae62548fba49c567eb77fc1a314d74b9b4c50caa097c4abdc28e72219c6a54c6b1766ace7293f337d",
|
||
|
"wx" : "00fe5f20bbe60c2f5d52f16a087d0bffaae62548fba49c567eb77fc1a3",
|
||
|
"wy" : "14d74b9b4c50caa097c4abdc28e72219c6a54c6b1766ace7293f337d"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004fe5f20bbe60c2f5d52f16a087d0bffaae62548fba49c567eb77fc1a314d74b9b4c50caa097c4abdc28e72219c6a54c6b1766ace7293f337d",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE/l8gu+YML11S8WoIfQv/quYlSPuknFZ+\nt3/BoxTXS5tMUMqgl8Sr3CjnIhnGpUxrF2as5yk/M30=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 331,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020104020104",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04d481200ffe9bd6e8530150e3fc55c570869822d6e92205e1cc6db43086d518fd247777477996ac839fb38ef8e3aa86abbbcb5eae6f688b54",
|
||
|
"wx" : "00d481200ffe9bd6e8530150e3fc55c570869822d6e92205e1cc6db430",
|
||
|
"wy" : "0086d518fd247777477996ac839fb38ef8e3aa86abbbcb5eae6f688b54"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004d481200ffe9bd6e8530150e3fc55c570869822d6e92205e1cc6db43086d518fd247777477996ac839fb38ef8e3aa86abbbcb5eae6f688b54",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE1IEgD/6b1uhTAVDj/FXFcIaYItbpIgXh\nzG20MIbVGP0kd3dHeZasg5+zjvjjqoaru8term9oi1Q=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 332,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020104020105",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 333,
|
||
|
"comment" : "r is larger than n",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1fb020105",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "046b16e5da2bb24bf7fcab1c047c087c388e0863e5c47465d8067f0c363216a1aa606f043bef581f6a4937ff47e9a350b0f4a22ab5243d7f68",
|
||
|
"wx" : "6b16e5da2bb24bf7fcab1c047c087c388e0863e5c47465d8067f0c36",
|
||
|
"wy" : "3216a1aa606f043bef581f6a4937ff47e9a350b0f4a22ab5243d7f68"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00046b16e5da2bb24bf7fcab1c047c087c388e0863e5c47465d8067f0c363216a1aa606f043bef581f6a4937ff47e9a350b0f4a22ab5243d7f68",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEaxbl2iuyS/f8qxwEfAh8OI4IY+XEdGXY\nBn8MNjIWoapgbwQ771gfakk3/0fpo1Cw9KIqtSQ9f2g=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 334,
|
||
|
"comment" : "s is larger than n",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020104021d010000000000000000000000000001dce8d2ec6184caf0a97176b2887e",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04ff106d611e13fc937ca88a63183c7caab6d345663cd1e89f3876873efe708537dfd10e348a1e5dbf8badbb112173c7f8f8e8d9bb83b47c18",
|
||
|
"wx" : "00ff106d611e13fc937ca88a63183c7caab6d345663cd1e89f3876873e",
|
||
|
"wy" : "00fe708537dfd10e348a1e5dbf8badbb112173c7f8f8e8d9bb83b47c18"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004ff106d611e13fc937ca88a63183c7caab6d345663cd1e89f3876873efe708537dfd10e348a1e5dbf8badbb112173c7f8f8e8d9bb83b47c18",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE/xBtYR4T/JN8qIpjGDx8qrbTRWY80eif\nOHaHPv5whTff0Q40ih5dv4utuxEhc8f4+OjZu4O0fBg=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 335,
|
||
|
"comment" : "small r and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302302020100021d00c183060c183060c183060c1830622a02a3783996c5bfff133f76b2df",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04873e6e4895748baab16e87ebbfc45c7ad4279f9436a56d994aecee5a1f55e2e7720a4b803f3134f578c40b375240bcf2a6242c14188140f8",
|
||
|
"wx" : "00873e6e4895748baab16e87ebbfc45c7ad4279f9436a56d994aecee5a",
|
||
|
"wy" : "1f55e2e7720a4b803f3134f578c40b375240bcf2a6242c14188140f8"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004873e6e4895748baab16e87ebbfc45c7ad4279f9436a56d994aecee5a1f55e2e7720a4b803f3134f578c40b375240bcf2a6242c14188140f8",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEhz5uSJV0i6qxbofrv8RcetQnn5Q2pW2Z\nSuzuWh9V4udyCkuAPzE09XjECzdSQLzypiQsFBiBQPg=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 336,
|
||
|
"comment" : "smallish r and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302702072d9b4d347952cc021c0135fa9cb663a24b634b6c650b61ea744182b35e059463d8479f4057",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0432a765ac4a5a057092c7c3b693d26e9d327c151f6a02786973ab9db10645b613c88383da3f9821d47165b24e3fb9332872d0586702906f2e",
|
||
|
"wx" : "32a765ac4a5a057092c7c3b693d26e9d327c151f6a02786973ab9db1",
|
||
|
"wy" : "0645b613c88383da3f9821d47165b24e3fb9332872d0586702906f2e"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000432a765ac4a5a057092c7c3b693d26e9d327c151f6a02786973ab9db10645b613c88383da3f9821d47165b24e3fb9332872d0586702906f2e",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEMqdlrEpaBXCSx8O2k9JunTJ8FR9qAnhp\nc6udsQZFthPIg4PaP5gh1HFlsk4/uTMoctBYZwKQby4=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 337,
|
||
|
"comment" : "100-bit r and small s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302d020d1033e67e37b32b445580bf4efb021c19e619e619e619e619e619e619e64a257fec15d1aaf17fb5d03bfc17",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "040368781cabbbc90462b01351f9d863ec9093be95e6cde27ebcd43de99b46ca67173f74507c0dc4dcb86f312a9fb344391d2a8aeb88257ad0",
|
||
|
"wx" : "0368781cabbbc90462b01351f9d863ec9093be95e6cde27ebcd43de9",
|
||
|
"wy" : "009b46ca67173f74507c0dc4dcb86f312a9fb344391d2a8aeb88257ad0"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00040368781cabbbc90462b01351f9d863ec9093be95e6cde27ebcd43de99b46ca67173f74507c0dc4dcb86f312a9fb344391d2a8aeb88257ad0",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEA2h4HKu7yQRisBNR+dhj7JCTvpXmzeJ+\nvNQ96ZtGymcXP3RQfA3E3LhvMSqfs0Q5HSqK64gletA=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 338,
|
||
|
"comment" : "small r and 100 bit s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302302020100021d00bc9db5f704530ba1cc7ab8d5b5b0255d6a7115ba6cb5e94d54f0dd8d",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "043ceee3f3ba6a4aa7286df0d0673a86be1088ddff3ae5f66c2353f9b9fb1e85509038636643ac714c943443d648e2d23abebb3ce2c653a77f",
|
||
|
"wx" : "3ceee3f3ba6a4aa7286df0d0673a86be1088ddff3ae5f66c2353f9b9",
|
||
|
"wy" : "00fb1e85509038636643ac714c943443d648e2d23abebb3ce2c653a77f"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00043ceee3f3ba6a4aa7286df0d0673a86be1088ddff3ae5f66c2353f9b9fb1e85509038636643ac714c943443d648e2d23abebb3ce2c653a77f",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEPO7j87pqSqcobfDQZzqGvhCI3f865fZs\nI1P5ufsehVCQOGNmQ6xxTJQ0Q9ZI4tI6vrs84sZTp38=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 339,
|
||
|
"comment" : "100-bit r and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302e020d062522bbd3ecbe7c39e93e7c24021d00bc9db5f704530ba1cc7ab8d5b5b0255d6a7115ba6cb5e94d54f0dd8d",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "045cbfe9de03530137e026a2063ec9dc9a5ddb11d65c623576245335e5ac57dd7bb4bce0aed43afcba3f6838627cd8cacfbdeac9f534bf1fb6",
|
||
|
"wx" : "5cbfe9de03530137e026a2063ec9dc9a5ddb11d65c623576245335e5",
|
||
|
"wy" : "00ac57dd7bb4bce0aed43afcba3f6838627cd8cacfbdeac9f534bf1fb6"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00045cbfe9de03530137e026a2063ec9dc9a5ddb11d65c623576245335e5ac57dd7bb4bce0aed43afcba3f6838627cd8cacfbdeac9f534bf1fb6",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEXL/p3gNTATfgJqIGPsncml3bEdZcYjV2\nJFM15axX3Xu0vOCu1Dr8uj9oOGJ82MrPverJ9TS/H7Y=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 340,
|
||
|
"comment" : "r and s^-1 are close to n",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302f020f01dce8d2ec6184caf0a972769fcc0b021c5555555555555555555555555555f44d9ba4208198fae325d2353b52",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04a02bfe059b09e7d4c095cabe341fad177c731b7d0ade0fe1167b5f41efd6eea686e60c5119885f5b689b527dcc9ceaa1b090f2d08be00242",
|
||
|
"wx" : "00a02bfe059b09e7d4c095cabe341fad177c731b7d0ade0fe1167b5f41",
|
||
|
"wy" : "00efd6eea686e60c5119885f5b689b527dcc9ceaa1b090f2d08be00242"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004a02bfe059b09e7d4c095cabe341fad177c731b7d0ade0fe1167b5f41efd6eea686e60c5119885f5b689b527dcc9ceaa1b090f2d08be00242",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEoCv+BZsJ59TAlcq+NB+tF3xzG30K3g/h\nFntfQe/W7qaG5gxRGYhfW2ibUn3MnOqhsJDy0IvgAkI=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 341,
|
||
|
"comment" : "r and s are 64-bit integer",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30160209009c44febf31c3594d020900839ed28247c2b06b",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0432f2fbe54587a6d34d80b188e94a222cd4cf93d978510dbb5da6d6685a01326218a7b6448aa91e513a14bd489b1113cb595b31c90ad8f8b5",
|
||
|
"wx" : "32f2fbe54587a6d34d80b188e94a222cd4cf93d978510dbb5da6d668",
|
||
|
"wy" : "5a01326218a7b6448aa91e513a14bd489b1113cb595b31c90ad8f8b5"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000432f2fbe54587a6d34d80b188e94a222cd4cf93d978510dbb5da6d6685a01326218a7b6448aa91e513a14bd489b1113cb595b31c90ad8f8b5",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEMvL75UWHptNNgLGI6UoiLNTPk9l4UQ27\nXabWaFoBMmIYp7ZEiqkeUToUvUibERPLWVsxyQrY+LU=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 342,
|
||
|
"comment" : "r and s are 100-bit integer",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "301e020d09df8b682430beef6f5fd7c7cd020d0fd0a62e13778f4222a0d61c8a",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0497776bc4489f4a60a3a1d3dc834c14c1ebb10b87101086df465ae61e7b5744905d7ad0b5b077a3b55939d10141ceded02da0d69097e3b4dd",
|
||
|
"wx" : "0097776bc4489f4a60a3a1d3dc834c14c1ebb10b87101086df465ae61e",
|
||
|
"wy" : "7b5744905d7ad0b5b077a3b55939d10141ceded02da0d69097e3b4dd"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000497776bc4489f4a60a3a1d3dc834c14c1ebb10b87101086df465ae61e7b5744905d7ad0b5b077a3b55939d10141ceded02da0d69097e3b4dd",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEl3drxEifSmCjodPcg0wUweuxC4cQEIbf\nRlrmHntXRJBdetC1sHejtVk50QFBzt7QLaDWkJfjtN0=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 343,
|
||
|
"comment" : "r and s are 128-bit integer",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30260211008a598e563a89f526c32ebec8de26367a02110084f633e2042630e99dd0f1e16f7a04bf",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04a96c39bc737ae0029e357761d9291e4b0396fa4d8fbf80193fb924bf3431ab7a06a894bf7e932958f56c9f39ada029afb753425583d56658",
|
||
|
"wx" : "00a96c39bc737ae0029e357761d9291e4b0396fa4d8fbf80193fb924bf",
|
||
|
"wy" : "3431ab7a06a894bf7e932958f56c9f39ada029afb753425583d56658"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004a96c39bc737ae0029e357761d9291e4b0396fa4d8fbf80193fb924bf3431ab7a06a894bf7e932958f56c9f39ada029afb753425583d56658",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEqWw5vHN64AKeNXdh2SkeSwOW+k2Pv4AZ\nP7kkvzQxq3oGqJS/fpMpWPVsnzmtoCmvt1NCVYPVZlg=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 344,
|
||
|
"comment" : "r and s are 160-bit integer",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302e021500aa6eeb5823f7fa31b466bb473797f0d0314c0bdf021500e2977c479e6d25703cebbc6bd561938cc9d1bfb9",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0451060eef6b0146850641c76b42b2d1d8916d462cc2d163b8c66ac9fa6340d5cd0b747413cfb66de9c8587bac0997a361c9efb98e254bb10e",
|
||
|
"wx" : "51060eef6b0146850641c76b42b2d1d8916d462cc2d163b8c66ac9fa",
|
||
|
"wy" : "6340d5cd0b747413cfb66de9c8587bac0997a361c9efb98e254bb10e"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000451060eef6b0146850641c76b42b2d1d8916d462cc2d163b8c66ac9fa6340d5cd0b747413cfb66de9c8587bac0997a361c9efb98e254bb10e",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEUQYO72sBRoUGQcdrQrLR2JFtRizC0WO4\nxmrJ+mNA1c0LdHQTz7Zt6chYe6wJl6Nhye+5jiVLsQ4=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 345,
|
||
|
"comment" : "s == 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021c5555555555555555555555555555f44d9ba4208198fae325d2353b55020101",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 346,
|
||
|
"comment" : "s == 0",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021c5555555555555555555555555555f44d9ba4208198fae325d2353b55020100",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04426fd93102b7d56a42e4d30ed7abd6d18ca785cad6e60196647e1c4f70491f5d938fb3ab0996a21a59079f66da6b7e8a07e4e71a1387e00f",
|
||
|
"wx" : "426fd93102b7d56a42e4d30ed7abd6d18ca785cad6e60196647e1c4f",
|
||
|
"wy" : "70491f5d938fb3ab0996a21a59079f66da6b7e8a07e4e71a1387e00f"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004426fd93102b7d56a42e4d30ed7abd6d18ca785cad6e60196647e1c4f70491f5d938fb3ab0996a21a59079f66da6b7e8a07e4e71a1387e00f",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEQm/ZMQK31WpC5NMO16vW0YynhcrW5gGW\nZH4cT3BJH12Tj7OrCZaiGlkHn2baa36KB+TnGhOH4A8=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 347,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c74d89d2b42107a17e0df7430a84102f0c3befe18e59ea9ed5aef3195",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0405dbdf0c137c712993b9e93459bb869902fcca438f82021131c64bdecb48ca10d52f59525d287b3366132a18021db363de8aac8b9d525ec8",
|
||
|
"wx" : "05dbdf0c137c712993b9e93459bb869902fcca438f82021131c64bde",
|
||
|
"wy" : "00cb48ca10d52f59525d287b3366132a18021db363de8aac8b9d525ec8"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000405dbdf0c137c712993b9e93459bb869902fcca438f82021131c64bdecb48ca10d52f59525d287b3366132a18021db363de8aac8b9d525ec8",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEBdvfDBN8cSmTuek0WbuGmQL8ykOPggIR\nMcZL3stIyhDVL1lSXSh7M2YTKhgCHbNj3oqsi51SXsg=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 348,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c2a179e7ed670727c33ba8da63fe226140a7fcf62d2cfaea7ea59d1d4",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "040a519e54bb2a23abe81df47e23ff7e643b4dfb6ce1051955a1a8ccbf314f8c4070400361bc86f95358b2ea43efdce256ffc2ff3285cf7873",
|
||
|
"wx" : "0a519e54bb2a23abe81df47e23ff7e643b4dfb6ce1051955a1a8ccbf",
|
||
|
"wy" : "314f8c4070400361bc86f95358b2ea43efdce256ffc2ff3285cf7873"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00040a519e54bb2a23abe81df47e23ff7e643b4dfb6ce1051955a1a8ccbf314f8c4070400361bc86f95358b2ea43efdce256ffc2ff3285cf7873",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEClGeVLsqI6voHfR+I/9+ZDtN+2zhBRlV\noajMvzFPjEBwQANhvIb5U1iy6kPv3OJW/8L/MoXPeHM=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 349,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c6d50b1cb505189520a6901a895ea13458ff5076156c27efc00639c35",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04907456d95d0c30fab38d020580895ebefbea0adbb21c19959778664eaca4601da3de28d9eb6781f37f4b7bdddb639282311efdf0b22bc81c",
|
||
|
"wx" : "00907456d95d0c30fab38d020580895ebefbea0adbb21c19959778664e",
|
||
|
"wy" : "00aca4601da3de28d9eb6781f37f4b7bdddb639282311efdf0b22bc81c"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004907456d95d0c30fab38d020580895ebefbea0adbb21c19959778664eaca4601da3de28d9eb6781f37f4b7bdddb639282311efdf0b22bc81c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEkHRW2V0MMPqzjQIFgIlevvvqCtuyHBmV\nl3hmTqykYB2j3ijZ62eB839Le93bY5KCMR798LIryBw=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 350,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c0f59ae2e4259dbe0997caabcdb25bdbe8d6df67f433a4651342d5219",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04b4e167c761f3799860c2072288ce17530835cfb7dfd84b52b42f36dbcfc02424a769fc2c5ca7b24ed7941aef67944d8255084c6a05cadb74",
|
||
|
"wx" : "00b4e167c761f3799860c2072288ce17530835cfb7dfd84b52b42f36db",
|
||
|
"wy" : "00cfc02424a769fc2c5ca7b24ed7941aef67944d8255084c6a05cadb74"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004b4e167c761f3799860c2072288ce17530835cfb7dfd84b52b42f36dbcfc02424a769fc2c5ca7b24ed7941aef67944d8255084c6a05cadb74",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEtOFnx2HzeZhgwgciiM4XUwg1z7ff2EtS\ntC8228/AJCSnafwsXKeyTteUGu9nlE2CVQhMagXK23Q=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 351,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c5e10dd8d9f91876988f21a2bc2fefa4df57ab4efc82ca41a773ae802",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04320e965080beaf3b9dc98870ae33781571ea3924b72eae99faccc10fb6c415a4725c2a2c8f9a130e04dbb70eba802c58ccfe465f40783b80",
|
||
|
"wx" : "320e965080beaf3b9dc98870ae33781571ea3924b72eae99faccc10f",
|
||
|
"wy" : "00b6c415a4725c2a2c8f9a130e04dbb70eba802c58ccfe465f40783b80"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004320e965080beaf3b9dc98870ae33781571ea3924b72eae99faccc10fb6c415a4725c2a2c8f9a130e04dbb70eba802c58ccfe465f40783b80",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEMg6WUIC+rzudyYhwrjN4FXHqOSS3Lq6Z\n+szBD7bEFaRyXCosj5oTDgTbtw66gCxYzP5GX0B4O4A=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 352,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c511eb0edc14410a1c38d655e04e0c99cd8af84d8caa0ffd69da2dc44",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04286c423f33e1a1aeefc0ba921ddd37995ded7d8ebf5472652f8df4a9121cb2d68b208962ccf5b0447c93c9e4ce234ded2f1e81cc47f2e998",
|
||
|
"wx" : "286c423f33e1a1aeefc0ba921ddd37995ded7d8ebf5472652f8df4a9",
|
||
|
"wy" : "121cb2d68b208962ccf5b0447c93c9e4ce234ded2f1e81cc47f2e998"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004286c423f33e1a1aeefc0ba921ddd37995ded7d8ebf5472652f8df4a9121cb2d68b208962ccf5b0447c93c9e4ce234ded2f1e81cc47f2e998",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEKGxCPzPhoa7vwLqSHd03mV3tfY6/VHJl\nL430qRIcstaLIIlizPWwRHyTyeTOI03tLx6BzEfy6Zg=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 353,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c11577274428aaa4ac5d23552e64d35c2e45667773fe77fba629f873f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0417406d025e3852887ca04b54eef2b3881dbf12f235ede88e5242caf228d5f086f89493f367d82d830c1a10eea54b86f03132c5f571a989cf",
|
||
|
"wx" : "17406d025e3852887ca04b54eef2b3881dbf12f235ede88e5242caf2",
|
||
|
"wy" : "28d5f086f89493f367d82d830c1a10eea54b86f03132c5f571a989cf"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000417406d025e3852887ca04b54eef2b3881dbf12f235ede88e5242caf228d5f086f89493f367d82d830c1a10eea54b86f03132c5f571a989cf",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEF0BtAl44Uoh8oEtU7vKziB2/EvI17eiO\nUkLK8ijV8Ib4lJPzZ9gtgwwaEO6lS4bwMTLF9XGpic8=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 354,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c2fb159d4c8769a346ee620bb1e5027f2aa0fd3b1d8b3a2411c9b9ca0",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04bc46e45ce750b6628f62bc9d1727c8e603248d08e191d6681daaba7b119726065855b67d43ee16ac4b50997f5790c0ef5353d3081e14d674",
|
||
|
"wx" : "00bc46e45ce750b6628f62bc9d1727c8e603248d08e191d6681daaba7b",
|
||
|
"wy" : "119726065855b67d43ee16ac4b50997f5790c0ef5353d3081e14d674"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004bc46e45ce750b6628f62bc9d1727c8e603248d08e191d6681daaba7b119726065855b67d43ee16ac4b50997f5790c0ef5353d3081e14d674",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEvEbkXOdQtmKPYrydFyfI5gMkjQjhkdZo\nHaq6exGXJgZYVbZ9Q+4WrEtQmX9XkMDvU1PTCB4U1nQ=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 355,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c59d3622af6be99859f0aea85aa20e669ec373992af2856f37dea777f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04086b4f1da6ad89b6872fd54a578a30b3a428e21d3a3e5bef89933c2120a38103e106e5f14b523b8555b3b236b8b0f5b6700aab54c4f15fb4",
|
||
|
"wx" : "086b4f1da6ad89b6872fd54a578a30b3a428e21d3a3e5bef89933c21",
|
||
|
"wy" : "20a38103e106e5f14b523b8555b3b236b8b0f5b6700aab54c4f15fb4"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004086b4f1da6ad89b6872fd54a578a30b3a428e21d3a3e5bef89933c2120a38103e106e5f14b523b8555b3b236b8b0f5b6700aab54c4f15fb4",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAECGtPHaatibaHL9VKV4ows6Qo4h06Plvv\niZM8ISCjgQPhBuXxS1I7hVWzsja4sPW2cAqrVMTxX7Q=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 356,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c3296bcaf337a66617b38e2ab65833612cd0bae1b7b3e670863dac215",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "047b2273baac75656a228cd99d051a0c69e7340a99a31e39ce85d87a6f13df919646699552f26fece93ad85feb87f65264947dc3723205379c",
|
||
|
"wx" : "7b2273baac75656a228cd99d051a0c69e7340a99a31e39ce85d87a6f",
|
||
|
"wy" : "13df919646699552f26fece93ad85feb87f65264947dc3723205379c"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00047b2273baac75656a228cd99d051a0c69e7340a99a31e39ce85d87a6f13df919646699552f26fece93ad85feb87f65264947dc3723205379c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEeyJzuqx1ZWoijNmdBRoMaec0CpmjHjnO\nhdh6bxPfkZZGaZVS8m/s6TrYX+uH9lJklH3DcjIFN5w=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 357,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c1b468ea6fa697becc552ec879c3e9ffdd72969403d5fb745bbd7f366",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04f8b73230a3f097b09874c4a767ab923c7ab316da4cd652f415b66eac5a55992a820c2dd7392c9348903f7cdbc7895962dc3c93ea0f855acd",
|
||
|
"wx" : "00f8b73230a3f097b09874c4a767ab923c7ab316da4cd652f415b66eac",
|
||
|
"wy" : "5a55992a820c2dd7392c9348903f7cdbc7895962dc3c93ea0f855acd"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004f8b73230a3f097b09874c4a767ab923c7ab316da4cd652f415b66eac5a55992a820c2dd7392c9348903f7cdbc7895962dc3c93ea0f855acd",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE+LcyMKPwl7CYdMSnZ6uSPHqzFtpM1lL0\nFbZurFpVmSqCDC3XOSyTSJA/fNvHiVli3DyT6g+FWs0=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 358,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c244b2ee0f3acf3ca0d086215fbc12728516ffc93c03d27a601d31a8a",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "042c36352caca0f38f60a3cc63f1ef4cc12fa895bbdfa8a1f8da7a7a38da31f30df3f43fc79e2ea91a02eaac604051ccfd8fd6827f2202649e",
|
||
|
"wx" : "2c36352caca0f38f60a3cc63f1ef4cc12fa895bbdfa8a1f8da7a7a38",
|
||
|
"wy" : "00da31f30df3f43fc79e2ea91a02eaac604051ccfd8fd6827f2202649e"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00042c36352caca0f38f60a3cc63f1ef4cc12fa895bbdfa8a1f8da7a7a38da31f30df3f43fc79e2ea91a02eaac604051ccfd8fd6827f2202649e",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAELDY1LKyg849go8xj8e9MwS+olbvfqKH4\n2np6ONox8w3z9D/Hni6pGgLqrGBAUcz9j9aCfyICZJ4=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 359,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c5625c3f523582b7986ad997a8488acfbfc4b2db75913a1fa4b437ec5",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04e6b553db2a77e8e2de01646f5af2c109555a3fe2ee3ec4d7fb7a5146b266be649d0d1c6d94031a7b5101dfa5422ab44dce4be506cfa76ecf",
|
||
|
"wx" : "00e6b553db2a77e8e2de01646f5af2c109555a3fe2ee3ec4d7fb7a5146",
|
||
|
"wy" : "00b266be649d0d1c6d94031a7b5101dfa5422ab44dce4be506cfa76ecf"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004e6b553db2a77e8e2de01646f5af2c109555a3fe2ee3ec4d7fb7a5146b266be649d0d1c6d94031a7b5101dfa5422ab44dce4be506cfa76ecf",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE5rVT2yp36OLeAWRvWvLBCVVaP+LuPsTX\n+3pRRrJmvmSdDRxtlAMae1EB36VCKrRNzkvlBs+nbs8=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 360,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c148bd1fd5c6502009ef1febb26c374cacd3a62e7f3f232e21f145115",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0498d812c901433cc01f67220959b48ad0cb8650a3a1312f0e66cc444c0047f7743a32a098fd2456a8a7f3e04010508d20a7bd46f6d89d2c1d",
|
||
|
"wx" : "0098d812c901433cc01f67220959b48ad0cb8650a3a1312f0e66cc444c",
|
||
|
"wy" : "47f7743a32a098fd2456a8a7f3e04010508d20a7bd46f6d89d2c1d"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000498d812c901433cc01f67220959b48ad0cb8650a3a1312f0e66cc444c0047f7743a32a098fd2456a8a7f3e04010508d20a7bd46f6d89d2c1d",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEmNgSyQFDPMAfZyIJWbSK0MuGUKOhMS8O\nZsxETABH93Q6MqCY/SRWqKfz4EAQUI0gp71G9tidLB0=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 361,
|
||
|
"comment" : "point at infinity during verify",
|
||
|
"flags" : [
|
||
|
"PointDuplication",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d008000000000000000000000000000ee74697630c2657854b8bb4fd8fb021c5555555555555555555555555555f44d9ba4208198fae325d2353b52",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "046057b27da6a1c4b680279ca23823b02b1ee292b14d620d5b4e138900287396050f9681a15d3cebbdacda5ffb5699af41c9d3913335fb933f",
|
||
|
"wx" : "6057b27da6a1c4b680279ca23823b02b1ee292b14d620d5b4e138900",
|
||
|
"wy" : "287396050f9681a15d3cebbdacda5ffb5699af41c9d3913335fb933f"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00046057b27da6a1c4b680279ca23823b02b1ee292b14d620d5b4e138900287396050f9681a15d3cebbdacda5ffb5699af41c9d3913335fb933f",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEYFeyfaahxLaAJ5yiOCOwKx7ikrFNYg1b\nThOJAChzlgUPloGhXTzrvazaX/tWma9BydORMzX7kz8=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 362,
|
||
|
"comment" : "edge case for signature malleability",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d008000000000000000000000000000ee74697630c2657854b8bb4fd8fe021d008000000000000000000000000000ee74697630c2657854b8bb4fd8fb",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "049d121d515bd23aabe2171b6dd912f287e64089dda59cc24af881af389f78b2e0a74b0f8c6bcb8e0b74d6f7590edaba70ee7c5eb8664a0d82",
|
||
|
"wx" : "009d121d515bd23aabe2171b6dd912f287e64089dda59cc24af881af38",
|
||
|
"wy" : "009f78b2e0a74b0f8c6bcb8e0b74d6f7590edaba70ee7c5eb8664a0d82"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00049d121d515bd23aabe2171b6dd912f287e64089dda59cc24af881af389f78b2e0a74b0f8c6bcb8e0b74d6f7590edaba70ee7c5eb8664a0d82",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEnRIdUVvSOqviFxtt2RLyh+ZAid2lnMJK\n+IGvOJ94suCnSw+Ma8uOC3TW91kO2rpw7nxeuGZKDYI=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 363,
|
||
|
"comment" : "edge case for signature malleability",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d008000000000000000000000000000ee74697630c2657854b8bb4fd8fe021d008000000000000000000000000000ee74697630c2657854b8bb4fd8fc",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0465fec661cd7e6b034c46499bdabf10e1b08625cface2a7a6d2b8de8596205c053f9c6eb798548bd085bdcc125de01530a87b199431783be4",
|
||
|
"wx" : "65fec661cd7e6b034c46499bdabf10e1b08625cface2a7a6d2b8de85",
|
||
|
"wy" : "0096205c053f9c6eb798548bd085bdcc125de01530a87b199431783be4"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000465fec661cd7e6b034c46499bdabf10e1b08625cface2a7a6d2b8de8596205c053f9c6eb798548bd085bdcc125de01530a87b199431783be4",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEZf7GYc1+awNMRkmb2r8Q4bCGJc+s4qem\n0rjehZYgXAU/nG63mFSL0IW9zBJd4BUwqHsZlDF4O+Q=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 364,
|
||
|
"comment" : "u1 == 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b4e021c753bb40078934081d7bd113ec49b19ef09d1ba33498690516d4d122c",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04f9180626e48237261b8bf7b857fa14c38a24e6b7aa50d7798e6c8cbcb2dff42c9a5c4324f3bdaf3d63412b711217753d9efc239e6089bf08",
|
||
|
"wx" : "00f9180626e48237261b8bf7b857fa14c38a24e6b7aa50d7798e6c8cbc",
|
||
|
"wy" : "00b2dff42c9a5c4324f3bdaf3d63412b711217753d9efc239e6089bf08"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004f9180626e48237261b8bf7b857fa14c38a24e6b7aa50d7798e6c8cbcb2dff42c9a5c4324f3bdaf3d63412b711217753d9efc239e6089bf08",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE+RgGJuSCNyYbi/e4V/oUw4ok5reqUNd5\njmyMvLLf9CyaXEMk872vPWNBK3ESF3U9nvwjnmCJvwg=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 365,
|
||
|
"comment" : "u1 == n - 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c5555555555555555555555555555f44d9ba4208198fae325d2353b4e021d008ac44bff876cbf7e2842eec13b66c2f9c91aa751816a192009529fcb",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04a93401d3a9dffc19856a3e0b50809d021a81ecc443d15c014762fd818e1c54b8300cca631cbbe4f3af8e80f0ddfaf59467b7e23257fdf458",
|
||
|
"wx" : "00a93401d3a9dffc19856a3e0b50809d021a81ecc443d15c014762fd81",
|
||
|
"wy" : "008e1c54b8300cca631cbbe4f3af8e80f0ddfaf59467b7e23257fdf458"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004a93401d3a9dffc19856a3e0b50809d021a81ecc443d15c014762fd818e1c54b8300cca631cbbe4f3af8e80f0ddfaf59467b7e23257fdf458",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEqTQB06nf/BmFaj4LUICdAhqB7MRD0VwB\nR2L9gY4cVLgwDMpjHLvk86+OgPDd+vWUZ7fiMlf99Fg=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 366,
|
||
|
"comment" : "u2 == 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b4e021c5555555555555555555555555555f44d9ba4208198fae325d2353b4e",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "041fce279f908029d4e0b52b18f1ee01a415797a2d93292ba36e914cd65522696372f75c63ba69c0351b9f2c14fcdeb1fb8c998286a9fcd89f",
|
||
|
"wx" : "1fce279f908029d4e0b52b18f1ee01a415797a2d93292ba36e914cd6",
|
||
|
"wy" : "5522696372f75c63ba69c0351b9f2c14fcdeb1fb8c998286a9fcd89f"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00041fce279f908029d4e0b52b18f1ee01a415797a2d93292ba36e914cd65522696372f75c63ba69c0351b9f2c14fcdeb1fb8c998286a9fcd89f",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEH84nn5CAKdTgtSsY8e4BpBV5ei2TKSuj\nbpFM1lUiaWNy91xjumnANRufLBT83rH7jJmChqn82J8=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 367,
|
||
|
"comment" : "u2 == n - 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c5555555555555555555555555555f44d9ba4208198fae325d2353b4e021d00aaaaaaaaaaaaaaaaaaaaaaaaaaabe89b3748410331f5c64ba46a76a9",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04029ab0aa092a53cbbd8ecd46720c5009c9b2088f7693f1a882ff4586a33e72cea1b306695d64088b734bb6ff795c291e427ab05605610320",
|
||
|
"wx" : "029ab0aa092a53cbbd8ecd46720c5009c9b2088f7693f1a882ff4586",
|
||
|
"wy" : "00a33e72cea1b306695d64088b734bb6ff795c291e427ab05605610320"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004029ab0aa092a53cbbd8ecd46720c5009c9b2088f7693f1a882ff4586a33e72cea1b306695d64088b734bb6ff795c291e427ab05605610320",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEApqwqgkqU8u9js1GcgxQCcmyCI92k/Go\ngv9FhqM+cs6hswZpXWQIi3NLtv95XCkeQnqwVgVhAyA=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 368,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00d1be91557d866ad5f2945b14ec34f1403a8e29bef522a1117384275e",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "043652302b8bb81f479c403cb1f7865912df87bda7135ccae4cffde084534d6170b6f463de38276343fc9dab28193ca6cd08b4889d4cf02d29",
|
||
|
"wx" : "3652302b8bb81f479c403cb1f7865912df87bda7135ccae4cffde084",
|
||
|
"wy" : "534d6170b6f463de38276343fc9dab28193ca6cd08b4889d4cf02d29"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00043652302b8bb81f479c403cb1f7865912df87bda7135ccae4cffde084534d6170b6f463de38276343fc9dab28193ca6cd08b4889d4cf02d29",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAENlIwK4u4H0ecQDyx94ZZEt+HvacTXMrk\nz/3ghFNNYXC29GPeOCdjQ/ydqygZPKbNCLSInUzwLSk=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 369,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c02f6ff80ae947c3d6e95a25c8ec467e8fd0e72340fb22750fd3361ec",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04c70db18ca15965bfb5181f1864ac0704513073c61c1bda194105f2d0d6d33588f7d5ce23f53a3294946c230f213eedde0f4eb93495f5c3d4",
|
||
|
"wx" : "00c70db18ca15965bfb5181f1864ac0704513073c61c1bda194105f2d0",
|
||
|
"wy" : "00d6d33588f7d5ce23f53a3294946c230f213eedde0f4eb93495f5c3d4"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004c70db18ca15965bfb5181f1864ac0704513073c61c1bda194105f2d0d6d33588f7d5ce23f53a3294946c230f213eedde0f4eb93495f5c3d4",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAExw2xjKFZZb+1GB8YZKwHBFEwc8YcG9oZ\nQQXy0NbTNYj31c4j9ToylJRsIw8hPu3eD065NJX1w9Q=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 370,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c650e2f73a206c9f9ed58ee4b0f3b3bb8ab0099c58f974c1e8f28c712",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0486e6a32973cbc653e8d3a6cda0eed65b5c1a480e8fe6212292acadcedf2cf5a4a15c537562e1c5dbe1f36687cc0b969f1081e06e76e7d587",
|
||
|
"wx" : "0086e6a32973cbc653e8d3a6cda0eed65b5c1a480e8fe6212292acadce",
|
||
|
"wy" : "00df2cf5a4a15c537562e1c5dbe1f36687cc0b969f1081e06e76e7d587"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000486e6a32973cbc653e8d3a6cda0eed65b5c1a480e8fe6212292acadcedf2cf5a4a15c537562e1c5dbe1f36687cc0b969f1081e06e76e7d587",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEhuajKXPLxlPo06bNoO7WW1waSA6P5iEi\nkqytzt8s9aShXFN1YuHF2+HzZofMC5afEIHgbnbn1Yc=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 371,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c4b06dd481b4f74338ac44bff876d4b4327be734f61339dfd10246f11",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04838bad9291a26cb844382df95ddb724f3b2f7c74838eaa5d6efa3f07114ab516f716584377b180fa8c3b882682baf60c3e7db899c2617a76",
|
||
|
"wx" : "00838bad9291a26cb844382df95ddb724f3b2f7c74838eaa5d6efa3f07",
|
||
|
"wy" : "114ab516f716584377b180fa8c3b882682baf60c3e7db899c2617a76"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004838bad9291a26cb844382df95ddb724f3b2f7c74838eaa5d6efa3f07114ab516f716584377b180fa8c3b882682baf60c3e7db899c2617a76",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEg4utkpGibLhEOC35XdtyTzsvfHSDjqpd\nbvo/BxFKtRb3FlhDd7GA+ow7iCaCuvYMPn24mcJhenY=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 372,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c6dd481b4f74338ac44bff876cbf8af1f332bd79bf1c58d263a5eda30",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04e97af48a5a9f89d29af62a8e295cc68603d27acc6f9d719085b14976a9402187e10bd177ca24b9015b17ed70b9778cf3dd459e335e7257b1",
|
||
|
"wx" : "00e97af48a5a9f89d29af62a8e295cc68603d27acc6f9d719085b14976",
|
||
|
"wy" : "00a9402187e10bd177ca24b9015b17ed70b9778cf3dd459e335e7257b1"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004e97af48a5a9f89d29af62a8e295cc68603d27acc6f9d719085b14976a9402187e10bd177ca24b9015b17ed70b9778cf3dd459e335e7257b1",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE6Xr0ilqfidKa9iqOKVzGhgPSesxvnXGQ\nhbFJdqlAIYfhC9F3yiS5AVsX7XC5d4zz3UWeM15yV7E=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 373,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00dba90369ee867158897ff0ed97f15e3e6657af37e38b1a4c74bdb460",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04181a6b18bf76139dedf29a0e60fbd75410e8c30e8e71f4ad037fce1d9cb1470d4e55cc49e5c76b7a5359b4eae9a5d0f1442879e482b3cc37",
|
||
|
"wx" : "181a6b18bf76139dedf29a0e60fbd75410e8c30e8e71f4ad037fce1d",
|
||
|
"wy" : "009cb1470d4e55cc49e5c76b7a5359b4eae9a5d0f1442879e482b3cc37"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004181a6b18bf76139dedf29a0e60fbd75410e8c30e8e71f4ad037fce1d9cb1470d4e55cc49e5c76b7a5359b4eae9a5d0f1442879e482b3cc37",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEGBprGL92E53t8poOYPvXVBDoww6OcfSt\nA3/OHZyxRw1OVcxJ5cdrelNZtOrppdDxRCh55IKzzDc=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 374,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c1b4f74338ac44bff876cbf7e284321a1cdf74a2a03c442de3da9b788",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0418e1b75927120197f70e8a1fc44ee74de8bde56d52a411e5f980af651fc6dc450f2e07b90e6ffd4ec9d12171f3c9de727522fcfac082322e",
|
||
|
"wx" : "18e1b75927120197f70e8a1fc44ee74de8bde56d52a411e5f980af65",
|
||
|
"wy" : "1fc6dc450f2e07b90e6ffd4ec9d12171f3c9de727522fcfac082322e"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000418e1b75927120197f70e8a1fc44ee74de8bde56d52a411e5f980af651fc6dc450f2e07b90e6ffd4ec9d12171f3c9de727522fcfac082322e",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEGOG3WScSAZf3DoofxE7nTei95W1SpBHl\n+YCvZR/G3EUPLge5Dm/9TsnRIXHzyd5ydSL8+sCCMi4=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 375,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c32603d1c6b144387023c9b7c834d216d91e1c4371aca72f83ef48a18",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04d9d9a9f898e72435861d14366d876e8f6565d4503208995a2d4cccaa9df36494b3a56403b591206daec195f39795ad88cd2d4fe4743961f8",
|
||
|
"wx" : "00d9d9a9f898e72435861d14366d876e8f6565d4503208995a2d4cccaa",
|
||
|
"wy" : "009df36494b3a56403b591206daec195f39795ad88cd2d4fe4743961f8"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004d9d9a9f898e72435861d14366d876e8f6565d4503208995a2d4cccaa9df36494b3a56403b591206daec195f39795ad88cd2d4fe4743961f8",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE2dmp+JjnJDWGHRQ2bYduj2Vl1FAyCJla\nLUzMqp3zZJSzpWQDtZEgba7BlfOXla2IzS1P5HQ5Yfg=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 376,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c2e416eaa8279952a0d6ba4eb13cceba8985e37c5d5ce0860031b8a99",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04c8eddfe1c1dda67027a8e11fe7e02600956f8520bf712e0d1f736f2fad5bb3959689dd716d435bce5a953439beffe97b23778fec5bf46863",
|
||
|
"wx" : "00c8eddfe1c1dda67027a8e11fe7e02600956f8520bf712e0d1f736f2f",
|
||
|
"wy" : "00ad5bb3959689dd716d435bce5a953439beffe97b23778fec5bf46863"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004c8eddfe1c1dda67027a8e11fe7e02600956f8520bf712e0d1f736f2fad5bb3959689dd716d435bce5a953439beffe97b23778fec5bf46863",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEyO3f4cHdpnAnqOEf5+AmAJVvhSC/cS4N\nH3NvL61bs5WWid1xbUNbzlqVNDm+/+l7I3eP7Fv0aGM=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 377,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00c56225ffc3b65fbf142177609db44ff14e03846b262d6148bff928e1",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0486c63ef4b2db4729fc894409c3bf180cf7a5aaf4c5c684ffc0a2eb9412360b318c9bf76f258bd0b11965275a0384d99cd862810938c120cc",
|
||
|
"wx" : "0086c63ef4b2db4729fc894409c3bf180cf7a5aaf4c5c684ffc0a2eb94",
|
||
|
"wy" : "12360b318c9bf76f258bd0b11965275a0384d99cd862810938c120cc"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000486c63ef4b2db4729fc894409c3bf180cf7a5aaf4c5c684ffc0a2eb9412360b318c9bf76f258bd0b11965275a0384d99cd862810938c120cc",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEhsY+9LLbRyn8iUQJw78YDPelqvTFxoT/\nwKLrlBI2CzGMm/dvJYvQsRllJ1oDhNmc2GKBCTjBIMw=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 378,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c328717b9d10364fcf6ac7725879d9ddc55804ce2c7cba60f47946389",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "041e5259f6b7d051027291b60e48568a743221b414c162fdb875a51489d462eba3944e1ee3fe32bcda0cc00ee32f4f61bfa0164757ba45a24e",
|
||
|
"wx" : "1e5259f6b7d051027291b60e48568a743221b414c162fdb875a51489",
|
||
|
"wy" : "00d462eba3944e1ee3fe32bcda0cc00ee32f4f61bfa0164757ba45a24e"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00041e5259f6b7d051027291b60e48568a743221b414c162fdb875a51489d462eba3944e1ee3fe32bcda0cc00ee32f4f61bfa0164757ba45a24e",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEHlJZ9rfQUQJykbYOSFaKdDIhtBTBYv24\ndaUUidRi66OUTh7j/jK82gzADuMvT2G/oBZHV7pFok4=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 379,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300d02050100001a90020455555e30",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04219abcca8bcf1bc7fcee95c616fc24435e8297ccc2d83a845c0afb55fcc4d52cd5d302f813c2874cb83c1beccb7481a03298fe40af0a9e9c",
|
||
|
"wx" : "219abcca8bcf1bc7fcee95c616fc24435e8297ccc2d83a845c0afb55",
|
||
|
"wy" : "00fcc4d52cd5d302f813c2874cb83c1beccb7481a03298fe40af0a9e9c"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004219abcca8bcf1bc7fcee95c616fc24435e8297ccc2d83a845c0afb55fcc4d52cd5d302f813c2874cb83c1beccb7481a03298fe40af0a9e9c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEIZq8yovPG8f87pXGFvwkQ16Cl8zC2DqE\nXAr7VfzE1SzV0wL4E8KHTLg8G+zLdIGgMpj+QK8Knpw=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 380,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00b64b7ce572ee917838a4cd1441ce7a5870cb872b6e1afa7d474581ad",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04996eba038fea450f2dba453b035c6e446ba83bcc7a0b979418923cd0219c73538e79edaf29c3572ec8b4423f4c4687241b034d6501c50826",
|
||
|
"wx" : "00996eba038fea450f2dba453b035c6e446ba83bcc7a0b979418923cd0",
|
||
|
"wy" : "219c73538e79edaf29c3572ec8b4423f4c4687241b034d6501c50826"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004996eba038fea450f2dba453b035c6e446ba83bcc7a0b979418923cd0219c73538e79edaf29c3572ec8b4423f4c4687241b034d6501c50826",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEmW66A4/qRQ8tukU7A1xuRGuoO8x6C5eU\nGJI80CGcc1OOee2vKcNXLsi0Qj9MRockGwNNZQHFCCY=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 381,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c39232f26cb0fcd6b2eeb69ba41b9ef00813616da98cd16e2ef21123f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "043374be1f9815f7893e7b0e1733128d7990a7471f9e786f4e3bb23edb7cc3fcf36e986fa2eb5c97b6e4022b68670484d6e2b76e09cd67b0ce",
|
||
|
"wx" : "3374be1f9815f7893e7b0e1733128d7990a7471f9e786f4e3bb23edb",
|
||
|
"wy" : "7cc3fcf36e986fa2eb5c97b6e4022b68670484d6e2b76e09cd67b0ce"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00043374be1f9815f7893e7b0e1733128d7990a7471f9e786f4e3bb23edb7cc3fcf36e986fa2eb5c97b6e4022b68670484d6e2b76e09cd67b0ce",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEM3S+H5gV94k+ew4XMxKNeZCnRx+eeG9O\nO7I+23zD/PNumG+i61yXtuQCK2hnBITW4rduCc1nsM4=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 382,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c121c0384a8d015f000000000000021bc8ed98db7f846a8b77b820ac0",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0421c85e32badb501ded623b9b1c87bb83bf2c511ab09ed3c4e03e1c1d1e435059b5657cd6c8ff79adced5f04cfeb0eeef03371be9917ebae7",
|
||
|
"wx" : "21c85e32badb501ded623b9b1c87bb83bf2c511ab09ed3c4e03e1c1d",
|
||
|
"wy" : "1e435059b5657cd6c8ff79adced5f04cfeb0eeef03371be9917ebae7"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000421c85e32badb501ded623b9b1c87bb83bf2c511ab09ed3c4e03e1c1d1e435059b5657cd6c8ff79adced5f04cfeb0eeef03371be9917ebae7",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEIcheMrrbUB3tYjubHIe7g78sURqwntPE\n4D4cHR5DUFm1ZXzWyP95rc7V8Ez+sO7vAzcb6ZF+uuc=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 383,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00c0384a8d015f000000000000000166177c01689b50dc2ea136641829",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0419dfb21a5d1463dfe7cd7431da60a3dea0890fc2c2d08b70c19774ab5d19a19c1658f024bb861daffb192154ea4efa1bbf2593fc5c3e50e2",
|
||
|
"wx" : "19dfb21a5d1463dfe7cd7431da60a3dea0890fc2c2d08b70c19774ab",
|
||
|
"wy" : "5d19a19c1658f024bb861daffb192154ea4efa1bbf2593fc5c3e50e2"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000419dfb21a5d1463dfe7cd7431da60a3dea0890fc2c2d08b70c19774ab5d19a19c1658f024bb861daffb192154ea4efa1bbf2593fc5c3e50e2",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEGd+yGl0UY9/nzXQx2mCj3qCJD8LC0Itw\nwZd0q10ZoZwWWPAku4Ydr/sZIVTqTvobvyWT/Fw+UOI=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 384,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d008070951a02be0000000000000000ef4625166fb1d6c7b3d0f6287e5b",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04d22da3943ddc1b261b10d3bd3df31197d2e6699b9f4e7f7b402cb5a8bb5e2a67c56d45402b8ba2d1e38d96b987aa94d58cda73dd6271cb7b",
|
||
|
"wx" : "00d22da3943ddc1b261b10d3bd3df31197d2e6699b9f4e7f7b402cb5a8",
|
||
|
"wy" : "00bb5e2a67c56d45402b8ba2d1e38d96b987aa94d58cda73dd6271cb7b"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004d22da3943ddc1b261b10d3bd3df31197d2e6699b9f4e7f7b402cb5a8bb5e2a67c56d45402b8ba2d1e38d96b987aa94d58cda73dd6271cb7b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE0i2jlD3cGyYbENO9PfMRl9LmaZufTn97\nQCy1qLteKmfFbUVAK4ui0eONlrmHqpTVjNpz3WJxy3s=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 385,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00a8d015f0000000000000000000013a7c7074b3a182ae23e0218e57a4",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0482cced81d6faace13671dab3e78f1e13fb956e291af8d09ffb32f005fd139e12f1efd362faa41024398023934e19e39c891c90045520ec71",
|
||
|
"wx" : "0082cced81d6faace13671dab3e78f1e13fb956e291af8d09ffb32f005",
|
||
|
"wy" : "00fd139e12f1efd362faa41024398023934e19e39c891c90045520ec71"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000482cced81d6faace13671dab3e78f1e13fb956e291af8d09ffb32f005fd139e12f1efd362faa41024398023934e19e39c891c90045520ec71",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEgsztgdb6rOE2cdqz548eE/uVbika+NCf\n+zLwBf0TnhLx79Ni+qQQJDmAI5NOGeOciRyQBFUg7HE=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 386,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d010000000000000000000000000001dce8d2ec6184caf0a9716866ccef",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04429bc8a0d7f6daa3618d58dfc0df4acbd817de788423fcedce97b1c024fc8bec15943c13f2de32677c93f5e650135003bd35c033cc83a645",
|
||
|
"wx" : "429bc8a0d7f6daa3618d58dfc0df4acbd817de788423fcedce97b1c0",
|
||
|
"wy" : "24fc8bec15943c13f2de32677c93f5e650135003bd35c033cc83a645"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004429bc8a0d7f6daa3618d58dfc0df4acbd817de788423fcedce97b1c024fc8bec15943c13f2de32677c93f5e650135003bd35c033cc83a645",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEQpvIoNf22qNhjVjfwN9Ky9gX3niEI/zt\nzpexwCT8i+wVlDwT8t4yZ3yT9eZQE1ADvTXAM8yDpkU=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 387,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d010000000000000000000000000001dce8d2ec6184caf0a971214a53c7",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "043091c29be58d1a2c7cdca4b413492edc08c7edaa6f76891ace54fe639a042cbc9a09ecbb01b861687b5671c1d986f6caec03fe8159eff49b",
|
||
|
"wx" : "3091c29be58d1a2c7cdca4b413492edc08c7edaa6f76891ace54fe63",
|
||
|
"wy" : "009a042cbc9a09ecbb01b861687b5671c1d986f6caec03fe8159eff49b"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00043091c29be58d1a2c7cdca4b413492edc08c7edaa6f76891ace54fe639a042cbc9a09ecbb01b861687b5671c1d986f6caec03fe8159eff49b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEMJHCm+WNGix83KS0E0ku3AjH7apvdoka\nzlT+Y5oELLyaCey7AbhhaHtWccHZhvbK7AP+gVnv9Js=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 388,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d010000000000000000000000000001dce8d2ec6184caf0a970f69fa4af",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04c84fbac691ab8355b8a9a9fe0b70769c7e190f0738ccc91e687f837d0d7d1df138c0db720b0ef00258733606279f309b82214a684ef78024",
|
||
|
"wx" : "00c84fbac691ab8355b8a9a9fe0b70769c7e190f0738ccc91e687f837d",
|
||
|
"wy" : "0d7d1df138c0db720b0ef00258733606279f309b82214a684ef78024"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004c84fbac691ab8355b8a9a9fe0b70769c7e190f0738ccc91e687f837d0d7d1df138c0db720b0ef00258733606279f309b82214a684ef78024",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEyE+6xpGrg1W4qan+C3B2nH4ZDwc4zMke\naH+DfQ19HfE4wNtyCw7wAlhzNgYnnzCbgiFKaE73gCQ=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 389,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d009c9197936587e6b59775b4dd20dde5f4aa113c2fb1dee02a32e0621b",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "045b88903a31211afd2b79bbef1f381065e34d4c99406c54cc7c0742f32d83d3c92be669f590520acff9fa0891bc5d1a5ff8832ba93815a579",
|
||
|
"wx" : "5b88903a31211afd2b79bbef1f381065e34d4c99406c54cc7c0742f3",
|
||
|
"wy" : "2d83d3c92be669f590520acff9fa0891bc5d1a5ff8832ba93815a579"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00045b88903a31211afd2b79bbef1f381065e34d4c99406c54cc7c0742f32d83d3c92be669f590520acff9fa0891bc5d1a5ff8832ba93815a579",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEW4iQOjEhGv0rebvvHzgQZeNNTJlAbFTM\nfAdC8y2D08kr5mn1kFIKz/n6CJG8XRpf+IMrqTgVpXk=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 390,
|
||
|
"comment" : "point duplication during verification",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c294f85b63b7c629862a1d3afbf880caf92695bc763a51bf8b3450ee021d00ddb14ce7eb2e7fc0457964db695e89f7e1fa7cbba8691ee0fee8a76a",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "045b88903a31211afd2b79bbef1f381065e34d4c99406c54cc7c0742f3d27c2c36d419960a6fadf5300605f76e43a2e5a0077cd455c7ea3ff4",
|
||
|
"wx" : "5b88903a31211afd2b79bbef1f381065e34d4c99406c54cc7c0742f3",
|
||
|
"wy" : "00d27c2c36d419960a6fadf5300605f76e43a2e5a0077cd455c7ea3ff4"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00045b88903a31211afd2b79bbef1f381065e34d4c99406c54cc7c0742f3d27c2c36d419960a6fadf5300605f76e43a2e5a0077cd455c7ea3ff4",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEW4iQOjEhGv0rebvvHzgQZeNNTJlAbFTM\nfAdC89J8LDbUGZYKb631MAYF925DouWgB3zUVcfqP/Q=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 391,
|
||
|
"comment" : "duplication bug",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00c294f85b63b7c629862a1d3afbf880caf92695bc763a51bf8b3450ee021d00ddb14ce7eb2e7fc0457964db695e89f7e1fa7cbba8691ee0fee8a76a",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "049ff4795a54e1e67a153b5e7b5f71aa9ca865fc488f5b0580bb736dc7e18fc789e60ee818646a4176cbe040b3e206646aa8f4670c1ac3599a",
|
||
|
"wx" : "009ff4795a54e1e67a153b5e7b5f71aa9ca865fc488f5b0580bb736dc7",
|
||
|
"wy" : "00e18fc789e60ee818646a4176cbe040b3e206646aa8f4670c1ac3599a"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00049ff4795a54e1e67a153b5e7b5f71aa9ca865fc488f5b0580bb736dc7e18fc789e60ee818646a4176cbe040b3e206646aa8f4670c1ac3599a",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEn/R5WlTh5noVO157X3GqnKhl/EiPWwWA\nu3Ntx+GPx4nmDugYZGpBdsvgQLPiBmRqqPRnDBrDWZo=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 392,
|
||
|
"comment" : "comparison with point at infinity ",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b52021c33333333333333333333333333339294f6fc1380f5635516b1532397",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0484dfb70567a3a02f6b6a733f97f3e36774336747902dfe913c505da7bc0c6ffb4760bcbcfdb786663fce0d530a4b342be64b93277a918a0f",
|
||
|
"wx" : "0084dfb70567a3a02f6b6a733f97f3e36774336747902dfe913c505da7",
|
||
|
"wy" : "00bc0c6ffb4760bcbcfdb786663fce0d530a4b342be64b93277a918a0f"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000484dfb70567a3a02f6b6a733f97f3e36774336747902dfe913c505da7bc0c6ffb4760bcbcfdb786663fce0d530a4b342be64b93277a918a0f",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEhN+3BWejoC9ranM/l/PjZ3QzZ0eQLf6R\nPFBdp7wMb/tHYLy8/beGZj/ODVMKSzQr5kuTJ3qRig8=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 393,
|
||
|
"comment" : "extreme value for k and edgecase s",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d0086c0deb56aeb9712390999a0232b9bf596b9639fa1ce8cf426749e60021c5555555555555555555555555555f44d9ba4208198fae325d2353b52",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04993b4486ef90b0e2567ca9f560b370c3c5b076ba17e7c87c1ba085cce9ff863a18c89141c379b50d47580d5ad41ac8be3e494db2fe03bf7c",
|
||
|
"wx" : "00993b4486ef90b0e2567ca9f560b370c3c5b076ba17e7c87c1ba085cc",
|
||
|
"wy" : "00e9ff863a18c89141c379b50d47580d5ad41ac8be3e494db2fe03bf7c"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004993b4486ef90b0e2567ca9f560b370c3c5b076ba17e7c87c1ba085cce9ff863a18c89141c379b50d47580d5ad41ac8be3e494db2fe03bf7c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEmTtEhu+QsOJWfKn1YLNww8WwdroX58h8\nG6CFzOn/hjoYyJFBw3m1DUdYDVrUGsi+PklNsv4Dv3w=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 394,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d0086c0deb56aeb9712390999a0232b9bf596b9639fa1ce8cf426749e60021d00b6db6db6db6db6db6db6db6db6dcc25d28f1fc836c62c22c794d7f1e",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04c3250844fa9ffe35cdc0857080523aabfb7b304904bc96cd1f1b7740b2e2def0a997c2a71ff17b1f1e80b8162ac830f051f91c5f6b8f2dc4",
|
||
|
"wx" : "00c3250844fa9ffe35cdc0857080523aabfb7b304904bc96cd1f1b7740",
|
||
|
"wy" : "00b2e2def0a997c2a71ff17b1f1e80b8162ac830f051f91c5f6b8f2dc4"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004c3250844fa9ffe35cdc0857080523aabfb7b304904bc96cd1f1b7740b2e2def0a997c2a71ff17b1f1e80b8162ac830f051f91c5f6b8f2dc4",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEwyUIRPqf/jXNwIVwgFI6q/t7MEkEvJbN\nHxt3QLLi3vCpl8KnH/F7Hx6AuBYqyDDwUfkcX2uPLcQ=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 395,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d0086c0deb56aeb9712390999a0232b9bf596b9639fa1ce8cf426749e60021d00ccccccccccccccccccccccccccce4a53dbf04e03d58d545ac54c8e5f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "048e07d8ab4b957206532eeb71460f8c78a372e16ea14e5fbb72a0213fc3b1e8f2722709b7be18eae5a6ebb313081660255275b5f9e9a062f2",
|
||
|
"wx" : "008e07d8ab4b957206532eeb71460f8c78a372e16ea14e5fbb72a0213f",
|
||
|
"wy" : "00c3b1e8f2722709b7be18eae5a6ebb313081660255275b5f9e9a062f2"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00048e07d8ab4b957206532eeb71460f8c78a372e16ea14e5fbb72a0213fc3b1e8f2722709b7be18eae5a6ebb313081660255275b5f9e9a062f2",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEjgfYq0uVcgZTLutxRg+MeKNy4W6hTl+7\ncqAhP8Ox6PJyJwm3vhjq5abrsxMIFmAlUnW1+emgYvI=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 396,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d0086c0deb56aeb9712390999a0232b9bf596b9639fa1ce8cf426749e60021c33333333333333333333333333339294f6fc1380f5635516b1532398",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "045819cba8185d512a8efc2462477fa786d68274ba5024b2557fba75523c8a07b43c2ed22ef6c81490318a2df3a60514e46c52f8f8cfc896f0",
|
||
|
"wx" : "5819cba8185d512a8efc2462477fa786d68274ba5024b2557fba7552",
|
||
|
"wy" : "3c8a07b43c2ed22ef6c81490318a2df3a60514e46c52f8f8cfc896f0"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00045819cba8185d512a8efc2462477fa786d68274ba5024b2557fba75523c8a07b43c2ed22ef6c81490318a2df3a60514e46c52f8f8cfc896f0",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEWBnLqBhdUSqO/CRiR3+nhtaCdLpQJLJV\nf7p1UjyKB7Q8LtIu9sgUkDGKLfOmBRTkbFL4+M/IlvA=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 397,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d0086c0deb56aeb9712390999a0232b9bf596b9639fa1ce8cf426749e60021c49249249249249249249249249251a8ba9fa65015e8de744fd5232d9",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "046dc52405cbb9091ebb9e3fceed9ba3f1fe68fd70db2be4ba63be5cd14324f4cd6ee0cb798131a7965bfa740c15984b6cef11c8d1aa20755e",
|
||
|
"wx" : "6dc52405cbb9091ebb9e3fceed9ba3f1fe68fd70db2be4ba63be5cd1",
|
||
|
"wy" : "4324f4cd6ee0cb798131a7965bfa740c15984b6cef11c8d1aa20755e"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00046dc52405cbb9091ebb9e3fceed9ba3f1fe68fd70db2be4ba63be5cd14324f4cd6ee0cb798131a7965bfa740c15984b6cef11c8d1aa20755e",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEbcUkBcu5CR67nj/O7Zuj8f5o/XDbK+S6\nY75c0UMk9M1u4Mt5gTGnllv6dAwVmEts7xHI0aogdV4=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 398,
|
||
|
"comment" : "extreme value for k",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d0086c0deb56aeb9712390999a0232b9bf596b9639fa1ce8cf426749e60021c0eb10e5ab95e2e3a079268cf3a6524239ef04127208663a54968804f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04488e3319d074abddbc0e3a597114a05d89547f155de8086b21705795fb2e62c230a731bc02e52f5894a8f0e834ab80eb1c2ff47d1b1f748e",
|
||
|
"wx" : "488e3319d074abddbc0e3a597114a05d89547f155de8086b21705795",
|
||
|
"wy" : "00fb2e62c230a731bc02e52f5894a8f0e834ab80eb1c2ff47d1b1f748e"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004488e3319d074abddbc0e3a597114a05d89547f155de8086b21705795fb2e62c230a731bc02e52f5894a8f0e834ab80eb1c2ff47d1b1f748e",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAESI4zGdB0q928DjpZcRSgXYlUfxVd6Ahr\nIXBXlfsuYsIwpzG8AuUvWJSo8Og0q4DrHC/0fRsfdI4=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 399,
|
||
|
"comment" : "extreme value for k and edgecase s",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00a1455b334df099df30fc28a169a467e9e47075a90f7e650eb6b7a45c021c5555555555555555555555555555f44d9ba4208198fae325d2353b52",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0464f572629e7b184329ebe67c053e75c68c4788f9e53a3363f9d2a66f632722295dbb4debc9b145f210473dc949c915a56366dfaf6f2cccaa",
|
||
|
"wx" : "64f572629e7b184329ebe67c053e75c68c4788f9e53a3363f9d2a66f",
|
||
|
"wy" : "632722295dbb4debc9b145f210473dc949c915a56366dfaf6f2cccaa"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000464f572629e7b184329ebe67c053e75c68c4788f9e53a3363f9d2a66f632722295dbb4debc9b145f210473dc949c915a56366dfaf6f2cccaa",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEZPVyYp57GEMp6+Z8BT51xoxHiPnlOjNj\n+dKmb2MnIildu03rybFF8hBHPclJyRWlY2bfr28szKo=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 400,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00a1455b334df099df30fc28a169a467e9e47075a90f7e650eb6b7a45c021d00b6db6db6db6db6db6db6db6db6dcc25d28f1fc836c62c22c794d7f1e",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04ac27de476e57f5dbaafb7ed072d7ea1374120d9e0204502219258ef3a9267277e4ff3f72f59691e592505f5f143bbf89b40fa7a7645d72ab",
|
||
|
"wx" : "00ac27de476e57f5dbaafb7ed072d7ea1374120d9e0204502219258ef3",
|
||
|
"wy" : "00a9267277e4ff3f72f59691e592505f5f143bbf89b40fa7a7645d72ab"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004ac27de476e57f5dbaafb7ed072d7ea1374120d9e0204502219258ef3a9267277e4ff3f72f59691e592505f5f143bbf89b40fa7a7645d72ab",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAErCfeR25X9duq+37QctfqE3QSDZ4CBFAi\nGSWO86kmcnfk/z9y9ZaR5ZJQX18UO7+JtA+np2Rdcqs=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 401,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00a1455b334df099df30fc28a169a467e9e47075a90f7e650eb6b7a45c021d00ccccccccccccccccccccccccccce4a53dbf04e03d58d545ac54c8e5f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "044505bc3477e688e884629f3dbf67400f4e399bd28a2baf390b7e472a3d919f8720bbee55c8929930cb12fdf9a56e9689e9ef224a2fc944d1",
|
||
|
"wx" : "4505bc3477e688e884629f3dbf67400f4e399bd28a2baf390b7e472a",
|
||
|
"wy" : "3d919f8720bbee55c8929930cb12fdf9a56e9689e9ef224a2fc944d1"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00044505bc3477e688e884629f3dbf67400f4e399bd28a2baf390b7e472a3d919f8720bbee55c8929930cb12fdf9a56e9689e9ef224a2fc944d1",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAERQW8NHfmiOiEYp89v2dAD045m9KKK685\nC35HKj2Rn4cgu+5VyJKZMMsS/fmlbpaJ6e8iSi/JRNE=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 402,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00a1455b334df099df30fc28a169a467e9e47075a90f7e650eb6b7a45c021c33333333333333333333333333339294f6fc1380f5635516b1532398",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04d9c59b9016ef3cf7d7ebdfecda989b0321f10bcf7f886f194362e4ad65173e83d7719007fd0d74d45ae5218acfaacfa425ce693cf45d8a85",
|
||
|
"wx" : "00d9c59b9016ef3cf7d7ebdfecda989b0321f10bcf7f886f194362e4ad",
|
||
|
"wy" : "65173e83d7719007fd0d74d45ae5218acfaacfa425ce693cf45d8a85"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004d9c59b9016ef3cf7d7ebdfecda989b0321f10bcf7f886f194362e4ad65173e83d7719007fd0d74d45ae5218acfaacfa425ce693cf45d8a85",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE2cWbkBbvPPfX69/s2pibAyHxC89/iG8Z\nQ2LkrWUXPoPXcZAH/Q101FrlIYrPqs+kJc5pPPRdioU=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 403,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00a1455b334df099df30fc28a169a467e9e47075a90f7e650eb6b7a45c021c49249249249249249249249249251a8ba9fa65015e8de744fd5232d9",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0405086640ececab5b16b6bf61676a8793a7e07601ddd620d643664a8d8b82dcb23d6d972c326848c6b9391bed996a2bad62067646c234e132",
|
||
|
"wx" : "05086640ececab5b16b6bf61676a8793a7e07601ddd620d643664a8d",
|
||
|
"wy" : "008b82dcb23d6d972c326848c6b9391bed996a2bad62067646c234e132"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000405086640ececab5b16b6bf61676a8793a7e07601ddd620d643664a8d8b82dcb23d6d972c326848c6b9391bed996a2bad62067646c234e132",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEBQhmQOzsq1sWtr9hZ2qHk6fgdgHd1iDW\nQ2ZKjYuC3LI9bZcsMmhIxrk5G+2ZaiutYgZ2RsI04TI=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 404,
|
||
|
"comment" : "extreme value for k",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00a1455b334df099df30fc28a169a467e9e47075a90f7e650eb6b7a45c021c0eb10e5ab95e2e3a079268cf3a6524239ef04127208663a54968804f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04a1455b334df099df30fc28a169a467e9e47075a90f7e650eb6b7a45c7e089fed7fba344282cafbd6f7e319f7c0b0bd59e2ca4bdb556d61a5",
|
||
|
"wx" : "00a1455b334df099df30fc28a169a467e9e47075a90f7e650eb6b7a45c",
|
||
|
"wy" : "7e089fed7fba344282cafbd6f7e319f7c0b0bd59e2ca4bdb556d61a5"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004a1455b334df099df30fc28a169a467e9e47075a90f7e650eb6b7a45c7e089fed7fba344282cafbd6f7e319f7c0b0bd59e2ca4bdb556d61a5",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEoUVbM03wmd8w/CihaaRn6eRwdakPfmUO\ntrekXH4In+1/ujRCgsr71vfjGffAsL1Z4spL21VtYaU=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 405,
|
||
|
"comment" : "public key shares x-coordinate with generator",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c753bb40078934081d7bd113ec49b19ef09d1ba33498690516d4d122c021c24924924924924924924924924928d45d4fd3280af46f3a27ea9196c",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 406,
|
||
|
"comment" : "public key shares x-coordinate with generator",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d008ac44bff876cbf7e2842eec13b66c2f9c91aa751816a192009529fcb021c24924924924924924924924924928d45d4fd3280af46f3a27ea9196c",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04a1455b334df099df30fc28a169a467e9e47075a90f7e650eb6b7a45c81f760128045cbbd7d350429081ce6083f4f42a61d35b423aa9283c8",
|
||
|
"wx" : "00a1455b334df099df30fc28a169a467e9e47075a90f7e650eb6b7a45c",
|
||
|
"wy" : "0081f760128045cbbd7d350429081ce6083f4f42a61d35b423aa9283c8"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004a1455b334df099df30fc28a169a467e9e47075a90f7e650eb6b7a45c81f760128045cbbd7d350429081ce6083f4f42a61d35b423aa9283c8",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEoUVbM03wmd8w/CihaaRn6eRwdakPfmUO\ntrekXIH3YBKARcu9fTUEKQgc5gg/T0KmHTW0I6qSg8g=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-224",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 407,
|
||
|
"comment" : "public key shares x-coordinate with generator",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c753bb40078934081d7bd113ec49b19ef09d1ba33498690516d4d122c021c24924924924924924924924924928d45d4fd3280af46f3a27ea9196c",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 408,
|
||
|
"comment" : "public key shares x-coordinate with generator",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d008ac44bff876cbf7e2842eec13b66c2f9c91aa751816a192009529fcb021c24924924924924924924924924928d45d4fd3280af46f3a27ea9196c",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|