5883 lines
258 KiB
JSON
5883 lines
258 KiB
JSON
|
{
|
||
|
"algorithm" : "ECDSA",
|
||
|
"schema" : "ecdsa_verify_schema.json",
|
||
|
"generatorVersion" : "0.9rc5",
|
||
|
"numberOfTests" : 438,
|
||
|
"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."
|
||
|
},
|
||
|
"Untruncatedhash" : {
|
||
|
"bugType" : "MISSING_STEP",
|
||
|
"description" : "If the size of the digest is longer than the size of the underlying order of the multiplicative subgroup then the hash digest must be truncated during signature generation and verification. This test vector contains a signature where this step has been omitted."
|
||
|
},
|
||
|
"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-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 1,
|
||
|
"comment" : "pseudorandom signature",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "",
|
||
|
"sig" : "303d021c464bb0fb437b06922073e124528486e500b1394a05e86b0bf58aa70b021d00f2819cdd8f311adae3930586d1fb883ae071cc8d60435904ffb9d872",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 2,
|
||
|
"comment" : "pseudorandom signature",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "4d7367",
|
||
|
"sig" : "303e021d009868b57ff5572fd854ce7eb8b8513a1c54501e8fef97540291059a55021d008ece23bafe5a9456b59d1a17a03da1dbf825cbab651ec7d143d9b70c",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 3,
|
||
|
"comment" : "pseudorandom signature",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00a3588793e8c156fbfba20ee28c8dc7242460330a71868f6c68988db4021d00b3db0f3fa566afb6aeea4d3ed9eb65e91b1a6bedbe77b1e27154aa2b",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 4,
|
||
|
"comment" : "pseudorandom signature",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "0000000000000000000000000000000000000000",
|
||
|
"sig" : "303d021c31ec5c59558df32ce76d49cce64d63bf85ce4c28b20bc3b375fd4a9c021d00adf21d877868bc754eaa1db8847caa33ddd9ace6fdcea59c1e37e32d",
|
||
|
"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-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 5,
|
||
|
"comment" : "signature malleability",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021c3fc04f62221710b2a8510cc9cdc437a622fc0dca8509d7bde7e55ce5",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 6,
|
||
|
"comment" : "Legacy: ASN encoding of s misses leading 0",
|
||
|
"flags" : [
|
||
|
"MissingZero"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021cc03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 7,
|
||
|
"comment" : "valid",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 8,
|
||
|
"comment" : "length of sequence [r, s] uses long form encoding",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30813d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 9,
|
||
|
"comment" : "length of sequence [r, s] contains a leading 0",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3082003d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 10,
|
||
|
"comment" : "length of sequence [r, s] uses 62 instead of 61",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 11,
|
||
|
"comment" : "length of sequence [r, s] uses 60 instead of 61",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 12,
|
||
|
"comment" : "uint32 overflow in length of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3085010000003d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 13,
|
||
|
"comment" : "uint64 overflow in length of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "308901000000000000003d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 14,
|
||
|
"comment" : "length of sequence [r, s] = 2**31 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30847fffffff021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 15,
|
||
|
"comment" : "length of sequence [r, s] = 2**31",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "308480000000021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 16,
|
||
|
"comment" : "length of sequence [r, s] = 2**32 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3084ffffffff021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 17,
|
||
|
"comment" : "length of sequence [r, s] = 2**40 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3085ffffffffff021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 18,
|
||
|
"comment" : "length of sequence [r, s] = 2**64 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3088ffffffffffffffff021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 19,
|
||
|
"comment" : "incorrect length of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30ff021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 20,
|
||
|
"comment" : "replaced sequence [r, s] by an indefinite length tag without termination",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 21,
|
||
|
"comment" : "removing sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 22,
|
||
|
"comment" : "lonely sequence tag",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 23,
|
||
|
"comment" : "appending 0's to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 24,
|
||
|
"comment" : "prepending 0's to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f0000021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 25,
|
||
|
"comment" : "appending unused 0's to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 26,
|
||
|
"comment" : "appending null value to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 27,
|
||
|
"comment" : "prepending garbage to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042498177303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 28,
|
||
|
"comment" : "prepending garbage to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30412500303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 29,
|
||
|
"comment" : "appending garbage to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120004deadbeef",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 30,
|
||
|
"comment" : "including undefined tags",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045aa00bb00cd00303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 31,
|
||
|
"comment" : "including undefined tags",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30452224aa00bb00cd00021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 32,
|
||
|
"comment" : "including undefined tags",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00782225aa00bb00cd00021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 33,
|
||
|
"comment" : "truncated length of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3081",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 34,
|
||
|
"comment" : "including undefined tags to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3043aa02aabb303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 35,
|
||
|
"comment" : "using composition with indefinite length for sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 36,
|
||
|
"comment" : "using composition with wrong tag for sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080313d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 37,
|
||
|
"comment" : "Replacing sequence [r, s] with NULL",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "0500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 38,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "2e3d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 39,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "2f3d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 40,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "313d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 41,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "323d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 42,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "ff3d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 43,
|
||
|
"comment" : "dropping value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 44,
|
||
|
"comment" : "using composition for sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3041300102303c1c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 45,
|
||
|
"comment" : "truncated sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 46,
|
||
|
"comment" : "truncated sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c1c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 47,
|
||
|
"comment" : "sequence [r, s] of size 4158 to check for overflows",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3082103e021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 48,
|
||
|
"comment" : "indefinite length",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 49,
|
||
|
"comment" : "indefinite length with truncated delimiter",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba551200",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 50,
|
||
|
"comment" : "indefinite length with additional element",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba551205000000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 51,
|
||
|
"comment" : "indefinite length with truncated element",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512060811220000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 52,
|
||
|
"comment" : "indefinite length with garbage",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120000fe02beef",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 53,
|
||
|
"comment" : "indefinite length with nonempty EOC",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120002beef",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 54,
|
||
|
"comment" : "prepend empty sequence",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f3000021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 55,
|
||
|
"comment" : "append empty sequence",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55123000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 56,
|
||
|
"comment" : "append zero",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 57,
|
||
|
"comment" : "append garbage with high tag number",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3040021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512bf7f00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 58,
|
||
|
"comment" : "append null with explicit tag",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3041021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512a0020500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 59,
|
||
|
"comment" : "append null with implicit tag",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512a000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 60,
|
||
|
"comment" : "sequence of sequence",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 61,
|
||
|
"comment" : "truncated sequence: removed last 1 elements",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "301e021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 62,
|
||
|
"comment" : "repeating element in sequence",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "305c021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 63,
|
||
|
"comment" : "flipped bit 0 in r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303b241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0079021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 64,
|
||
|
"comment" : "flipped bit 32 in r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303b241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70556c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 65,
|
||
|
"comment" : "flipped bit 48 in r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303b241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f60557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 66,
|
||
|
"comment" : "flipped bit 64 in r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303b241b54acec345f866a6bc2c44014c0cfa5cb2bb8c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 67,
|
||
|
"comment" : "length of r uses long form encoding",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e02811c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 68,
|
||
|
"comment" : "length of r contains a leading 0",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f0282001c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 69,
|
||
|
"comment" : "length of r uses 29 instead of 28",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 70,
|
||
|
"comment" : "length of r uses 27 instead of 28",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021b241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 71,
|
||
|
"comment" : "uint32 overflow in length of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30420285010000001c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 72,
|
||
|
"comment" : "uint64 overflow in length of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046028901000000000000001c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 73,
|
||
|
"comment" : "length of r = 2**31 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304102847fffffff241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 74,
|
||
|
"comment" : "length of r = 2**31",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3041028480000000241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 75,
|
||
|
"comment" : "length of r = 2**32 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30410284ffffffff241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 76,
|
||
|
"comment" : "length of r = 2**40 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30420285ffffffffff241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 77,
|
||
|
"comment" : "length of r = 2**64 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30450288ffffffffffffffff241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 78,
|
||
|
"comment" : "incorrect length of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d02ff241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 79,
|
||
|
"comment" : "replaced r by an indefinite length tag without termination",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d0280241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 80,
|
||
|
"comment" : "removing r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "301f021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 81,
|
||
|
"comment" : "lonely integer tag",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302002021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 82,
|
||
|
"comment" : "lonely integer tag",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "301f021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db007802",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 83,
|
||
|
"comment" : "appending 0's to r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021e241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780000021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 84,
|
||
|
"comment" : "prepending 0's to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021e0000241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 85,
|
||
|
"comment" : "appending unused 0's to r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780000021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 86,
|
||
|
"comment" : "appending null value to r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021e241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780500021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 87,
|
||
|
"comment" : "prepending garbage to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30422221498177021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 88,
|
||
|
"comment" : "prepending garbage to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304122202500021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 89,
|
||
|
"comment" : "appending garbage to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045221e021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780004deadbeef021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 90,
|
||
|
"comment" : "truncated length of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30210281021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 91,
|
||
|
"comment" : "including undefined tags to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30432222aa02aabb021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 92,
|
||
|
"comment" : "using composition with indefinite length for r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30412280021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780000021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 93,
|
||
|
"comment" : "using composition with wrong tag for r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30412280031c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780000021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 94,
|
||
|
"comment" : "Replacing r with NULL",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30210500021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 95,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d001c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 96,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d011c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 97,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d031c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 98,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d041c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 99,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303dff1c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 100,
|
||
|
"comment" : "dropping value of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30210200021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 101,
|
||
|
"comment" : "using composition for r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30412220020124021b1b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 102,
|
||
|
"comment" : "modifying first byte of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c261b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 103,
|
||
|
"comment" : "modifying last byte of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00f8021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 104,
|
||
|
"comment" : "truncated r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021b241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 105,
|
||
|
"comment" : "truncated r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021b1b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 106,
|
||
|
"comment" : "r of size 4125 to check for overflows",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "308210400282101d241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db007800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 107,
|
||
|
"comment" : "leading ff in r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dff241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 108,
|
||
|
"comment" : "replaced r by infinity",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022090180021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 109,
|
||
|
"comment" : "replacing r with zero",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020100021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 110,
|
||
|
"comment" : "flipped bit 0 in s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303b021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db007800c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5513",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 111,
|
||
|
"comment" : "flipped bit 32 in s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303b021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db007800c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b28eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 112,
|
||
|
"comment" : "flipped bit 48 in s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303b021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db007800c03fb09ddde8ef4d57aef336323da542aff053ba45e7d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 113,
|
||
|
"comment" : "flipped bit 64 in s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303b021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db007800c03fb09ddde8ef4d57aef336323da542aff053bb45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 114,
|
||
|
"comment" : "length of s uses long form encoding",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db007802811d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 115,
|
||
|
"comment" : "length of s contains a leading 0",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780282001d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 116,
|
||
|
"comment" : "length of s uses 30 instead of 29",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021e00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 117,
|
||
|
"comment" : "length of s uses 28 instead of 29",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021c00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 118,
|
||
|
"comment" : "uint32 overflow in length of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780285010000001d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 119,
|
||
|
"comment" : "uint64 overflow in length of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078028901000000000000001d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 120,
|
||
|
"comment" : "length of s = 2**31 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3041021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db007802847fffffff00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 121,
|
||
|
"comment" : "length of s = 2**31",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3041021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db007802848000000000c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 122,
|
||
|
"comment" : "length of s = 2**32 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3041021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780284ffffffff00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 123,
|
||
|
"comment" : "length of s = 2**40 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780285ffffffffff00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 124,
|
||
|
"comment" : "length of s = 2**64 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780288ffffffffffffffff00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 125,
|
||
|
"comment" : "incorrect length of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db007802ff00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 126,
|
||
|
"comment" : "replaced s by an indefinite length tag without termination",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078028000c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 127,
|
||
|
"comment" : "appending 0's to s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021f00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 128,
|
||
|
"comment" : "prepending 0's to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021f000000c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 129,
|
||
|
"comment" : "appending null value to s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021f00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 130,
|
||
|
"comment" : "prepending garbage to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3042021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00782222498177021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 131,
|
||
|
"comment" : "prepending garbage to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3041021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db007822212500021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 132,
|
||
|
"comment" : "appending garbage to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078221f021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120004deadbeef",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 133,
|
||
|
"comment" : "truncated length of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3020021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780281",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 134,
|
||
|
"comment" : "including undefined tags to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3043021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00782223aa02aabb021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 135,
|
||
|
"comment" : "using composition with indefinite length for s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3041021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00782280021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 136,
|
||
|
"comment" : "using composition with wrong tag for s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3041021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00782280031d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55120000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 137,
|
||
|
"comment" : "Replacing s with NULL",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3020021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 138,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078001d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 139,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078011d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 140,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078031d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 141,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078041d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 142,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078ff1d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 143,
|
||
|
"comment" : "dropping value of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3020021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780200",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 144,
|
||
|
"comment" : "using composition for s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3041021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00782221020100021cc03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 145,
|
||
|
"comment" : "modifying first byte of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d02c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 146,
|
||
|
"comment" : "modifying last byte of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5592",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 147,
|
||
|
"comment" : "truncated s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021c00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba55",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 148,
|
||
|
"comment" : "s of size 4126 to check for overflows",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30821040021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db00780282101e00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 149,
|
||
|
"comment" : "leading ff in s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021eff00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 150,
|
||
|
"comment" : "replaced s by infinity",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078090180",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 151,
|
||
|
"comment" : "replacing s with zero",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021c241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 152,
|
||
|
"comment" : "replaced r by r + n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d01241b54acec345f866a6bc2c440169db878b78d3e93e7aec93e7ab26f021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 153,
|
||
|
"comment" : "replaced r by r - n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dff241b54acec345f866a6bc2c44012e3e6d2deca34fe065be6513b4e81021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 154,
|
||
|
"comment" : "replaced r by r + 256 * n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021e0100241b54acec345f866a6bc2c441f1a9a2922cb084b9a076ce678cf778021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 155,
|
||
|
"comment" : "replaced r by -r",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021cdbe4ab5313cba07995943d3bbfeb3f305a34d4463708faa83824ff88021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 156,
|
||
|
"comment" : "replaced r by n - r",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00dbe4ab5313cba07995943d3bbfed1c192d2135cb01f9a419aec4b17f021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 157,
|
||
|
"comment" : "replaced r by -n - r",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dfedbe4ab5313cba07995943d3bbfe96247874872c16c185136c1854d91021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 158,
|
||
|
"comment" : "replaced r by r + 2**225",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d02241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 159,
|
||
|
"comment" : "replaced r by r - 2**225",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dfe241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 160,
|
||
|
"comment" : "replaced r by r + 2**289",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30460225020000000000000000241b54acec345f866a6bc2c44014c0cfa5cb2bb9c8f70557c7db0078021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 161,
|
||
|
"comment" : "replaced s by s + n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d01c03fb09ddde8ef4d57aef336323f822b82dcb53f10d77b25055a0709021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 162,
|
||
|
"comment" : "replaced s by s - n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021cc03fb09ddde8ef4d57aef336323bc859dd03f2357af62842181aa31b021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 163,
|
||
|
"comment" : "replaced s by s + 256 * n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303f021e0100c03fb09ddde8ef4d57aef336341a8e159c51d8853690432a2e6c4c12021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 164,
|
||
|
"comment" : "replaced s by -s",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dff3fc04f62221710b2a8510cc9cdc25abd500fac45ba192e4c7145aaee021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 165,
|
||
|
"comment" : "replaced s by -n - s",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dfe3fc04f62221710b2a8510cc9cdc07dd47d234ac0ef2884dafaa5f8f7021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 166,
|
||
|
"comment" : "replaced s by s + 2**225",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d02c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 167,
|
||
|
"comment" : "replaced s by s - 2**225",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021dfec03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 168,
|
||
|
"comment" : "replaced s by s + 2**289",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30460225020000000000000000c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512021d00c03fb09ddde8ef4d57aef336323da542aff053ba45e6d1b38eba5512",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 169,
|
||
|
"comment" : "Signature with special case values r=0 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 170,
|
||
|
"comment" : "Signature with special case values r=0 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 171,
|
||
|
"comment" : "Signature with special case values r=0 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201000201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 172,
|
||
|
"comment" : "Signature with special case values r=0 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020100021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 173,
|
||
|
"comment" : "Signature with special case values r=0 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020100021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 174,
|
||
|
"comment" : "Signature with special case values r=0 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020100021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 175,
|
||
|
"comment" : "Signature with special case values r=0 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020100021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 176,
|
||
|
"comment" : "Signature with special case values r=0 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020100021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 177,
|
||
|
"comment" : "Signature with special case values r=1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 178,
|
||
|
"comment" : "Signature with special case values r=1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 179,
|
||
|
"comment" : "Signature with special case values r=1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201010201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 180,
|
||
|
"comment" : "Signature with special case values r=1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020101021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 181,
|
||
|
"comment" : "Signature with special case values r=1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020101021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 182,
|
||
|
"comment" : "Signature with special case values r=1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020101021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 183,
|
||
|
"comment" : "Signature with special case values r=1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020101021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 184,
|
||
|
"comment" : "Signature with special case values r=1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020101021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 185,
|
||
|
"comment" : "Signature with special case values r=-1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 186,
|
||
|
"comment" : "Signature with special case values r=-1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 187,
|
||
|
"comment" : "Signature with special case values r=-1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff0201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 188,
|
||
|
"comment" : "Signature with special case values r=-1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30220201ff021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 189,
|
||
|
"comment" : "Signature with special case values r=-1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30220201ff021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 190,
|
||
|
"comment" : "Signature with special case values r=-1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30220201ff021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 191,
|
||
|
"comment" : "Signature with special case values r=-1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30220201ff021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 192,
|
||
|
"comment" : "Signature with special case values r=-1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30220201ff021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 193,
|
||
|
"comment" : "Signature with special case values r=n and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 194,
|
||
|
"comment" : "Signature with special case values r=n and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 195,
|
||
|
"comment" : "Signature with special case values r=n and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f70201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 196,
|
||
|
"comment" : "Signature with special case values r=n and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 197,
|
||
|
"comment" : "Signature with special case values r=n and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 198,
|
||
|
"comment" : "Signature with special case values r=n and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 199,
|
||
|
"comment" : "Signature with special case values r=n and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 200,
|
||
|
"comment" : "Signature with special case values r=n and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 201,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 202,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 203,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f60201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 204,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 205,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 206,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 207,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 208,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 209,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 210,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 211,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f80201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 212,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 213,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 214,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 215,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 216,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 217,
|
||
|
"comment" : "Signature with special case values r=p and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 218,
|
||
|
"comment" : "Signature with special case values r=p and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 219,
|
||
|
"comment" : "Signature with special case values r=p and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d0201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 220,
|
||
|
"comment" : "Signature with special case values r=p and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 221,
|
||
|
"comment" : "Signature with special case values r=p and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 222,
|
||
|
"comment" : "Signature with special case values r=p and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 223,
|
||
|
"comment" : "Signature with special case values r=p and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 224,
|
||
|
"comment" : "Signature with special case values r=p and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 225,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 226,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 227,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e0201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 228,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 229,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 230,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f8",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 231,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 232,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 233,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3008020100090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 234,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 235,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 236,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 237,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201000500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 238,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201000c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 239,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201000c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 240,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201003000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 241,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30080201003003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 242,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3008020101090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 243,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 244,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 245,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 246,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201010500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 247,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201010c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 248,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201010c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 249,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201013000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 250,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30080201013003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 251,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30080201ff090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 252,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 253,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 254,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 255,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201ff0500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 256,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201ff0c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 257,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff0c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 258,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201ff3000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 259,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30080201ff3003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 260,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3024021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 261,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 262,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 263,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f7010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 264,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f70500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 265,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f70c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 266,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f70c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 267,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f73000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 268,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3024021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1f73003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 269,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3024021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 270,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 271,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 272,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 273,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d0500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 274,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d0c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 275,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d0c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 276,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d3000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 277,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3024021d00fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d3003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 278,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0.25, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300a090380fe01090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 279,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=nan, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006090142090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 280,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=True, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006010101010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 281,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=False, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006010100010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 282,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=Null, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300405000500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 283,
|
||
|
"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" : 284,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=\"0\", s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060c01300c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 285,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=empty list, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300430003000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 286,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=list containing 0, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300a30030201003003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 287,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0.25, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3008090380fe01020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 288,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=nan, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006090142020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 289,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=True, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006010101020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 290,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=False, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006010100020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 291,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=Null, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050500020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 292,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=empyt UTF-8 string, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050c00020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 293,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=\"0\", s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060c0130020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 294,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=empty list, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30053000020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 295,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=list containing 0, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30083003020100020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 296,
|
||
|
"comment" : "Edge case for Shamir multiplication",
|
||
|
"flags" : [
|
||
|
"EdgeCaseShamirMultiplication"
|
||
|
],
|
||
|
"msg" : "3638393039",
|
||
|
"sig" : "303e021d00b3b20995de5790b06f1baf8aac6cb45d240b94f8386ce5cb85fd767e021d00f9ed86660b3f8cab18aeaa3c7ccc171781c37849e202f91234428a67",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 297,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "343236343739373234",
|
||
|
"sig" : "303e021d00d185705d14349c8135580703fa073448588c3fa6c3f4fd1d259baf0a021d00f265b8ab29519fc6d01c64dd10508c25a0da8a84eba301b3a45c988f",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 298,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "37313338363834383931",
|
||
|
"sig" : "303d021d00dcc8e76934dd8f2898ea3913dd13ff819bf11ae7ff4092ba02e5810f021c2baf248326573f71cf0bee75de4bef569d993cb2fddd723a779682d9",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 299,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3130333539333331363638",
|
||
|
"sig" : "303d021c7f3fe54fc07dcfef793d82276f4d65683fb2d97c0c36262880dd83ed021d00f2e7f13c3cf4f08057e61d49cb1fa771c0bfba07b61a15a569e2fc54",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 300,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33393439343031323135",
|
||
|
"sig" : "303d021c3e2f81e04eb857268f9637f4c74fc186acff0caa606108abf3e589a4021d00f454f0afa411cc0b6e1851c99b5569ddefe283c15911df9081527613",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 301,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31333434323933303739",
|
||
|
"sig" : "303c021c7c0828d863ce6d6913b1c286f73953e4ae012e848a052e82afda0530021c0d7e7befa3c03caaad5d76afa887f1e90a46458074f3655268994f0a",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 302,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33373036323131373132",
|
||
|
"sig" : "303c021c5e0d4c378d083719d87502c5d37d173169143d3caefa1fbe9e0c0de2021c6e64b7656ac29958a7ca2b83ae97504ac97b4fe7f79cbed87ee43f51",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 303,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "333433363838373132",
|
||
|
"sig" : "303d021d008b7d2b774cfff76b2af7e26442a9ae208e1dc6a34ef834f4b4457544021c1277305bc63a6be1c7391843c49d84b2c09e4559915bde823ceac80d",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 304,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31333531353330333730",
|
||
|
"sig" : "303d021c73097b86f4e6d993d712283efe20722179853ab4f28cac9133e12574021d00b9fabcad69137c3dd65e77dcc4af68fc3962dd068d51d38fa458dcb5",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 305,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "36353533323033313236",
|
||
|
"sig" : "303d021c0426536cadbf410c017fde31a0774b55f65ecaa4fba920b27a18263a021d00bbfe0fadf37bc81e674d0dd585a79016425b433aa036a8bea0f0b5f7",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 306,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31353634333436363033",
|
||
|
"sig" : "303e021d008118c784b1ae2bb122cc922c6d7bb12f1ee74476a337d0b928416a72021d00bb6f13c2467282ff0c7b9edf55309ed4ba724465746603c295b9eca1",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 307,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34343239353339313137",
|
||
|
"sig" : "303e021d0087f59675df4fbd38e286a30a1c283d16bda45d64d59d5398050d0535021d00c841b0035d9dc8a52303954b50b99451963f89944516b28cfe13a0cb",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 308,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3130393533323631333531",
|
||
|
"sig" : "303c021c6d53edf91ce58bdd92e12e2d8f55d7637edd7ee59ac6e78381ebeec3021c6d5a0743de3e5cad36e8894aa07a5a07a714370051b692361ad3debc",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 309,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "35393837333530303431",
|
||
|
"sig" : "303e021d00f1c232db08b807c9eeb2c08a9fb12cc43f501bd9307e5927ab5b868b021d00b326a28d3829937393e2bd7010791bed95d84fa35119aa3a8a7e587c",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 310,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33343633303036383738",
|
||
|
"sig" : "303d021c0e8620fe1b96c708db18bef7103b1c950d0b84fa50288d5f90606b5c021d00cca0c85563f2a3babb22e0bb27aaf0c9bd21551d82acfaa704e60cbf",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 311,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "39383137333230323837",
|
||
|
"sig" : "303e021d00a0dbe08a31ec55514eb92e8812c4aadb3be44a46b70b0aa5f966e408021d00ad82b9591408fb300fc55db29847b54e3501ae33709fa174e2104aed",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 312,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33323232303431303436",
|
||
|
"sig" : "303d021c675357659ae8e6b8380d4d84bf9bec14378337ea445efc5796e94c03021d009804b36633faae3d5d576192904fdc24abd07bafd15a85e5299ca021",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 313,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "36363636333037313034",
|
||
|
"sig" : "303e021d00904ae6242505e55f365fe5616dcc0928efe3c3745487a8f066cbe59c021d009e1b7b1b9a0bfc1a12c4ac979077982bba97d9d90b82be4a943187c0",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 314,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31303335393531383938",
|
||
|
"sig" : "303c021c6a9c1de2cb1969901f38ab2e521a5a4c2d054db43851f2a175f6712e021c40d588366e72441ebf1b1cb2e3516dd500b3322f7ec9771c3d0eb849",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 315,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31383436353937313935",
|
||
|
"sig" : "303e021d00b10e9f30ada774daed4b4ed9138f07448d1638b6b3997596031f739b021d00d67d07dc32141aa5f6826d22c8a108261e52eebbc4c21e23f8e6db2b",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 316,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33313336303436313839",
|
||
|
"sig" : "303c021c5d4dbf8017a04f12d9502e63718677d241cf46cfca25413c38f38f62021c077cd018618cfa428887d8cf9cc49085a7ef963b8fd01d5aaaf862a6",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 317,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32363633373834323534",
|
||
|
"sig" : "303c021c1a2c2331eb8f97daf2157042ac472119bc45d661fec664483a1fc81e021c305c423b008045a4f5dc1bbdd0bb7b29dcd29cd389e52a4a7ed5ac27",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 318,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31363532313030353234",
|
||
|
"sig" : "303d021c45e512bbad719cdf4023e25d5f02b9f82d3fa254c7a1389378018f95021d00a9e4254c881cfd8cfd4cf8f64621a97ef349ad648f3d68b09b5fd0dc",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 319,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "35373438303831363936",
|
||
|
"sig" : "303d021c4814fb555f1fa664f7c9fa3f345181866afdfe0e0826d43b63265c26021d00984dde5455253c4ffb35116cada8f9e8b6f2f2dcb5e456b3fa0fa360",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 320,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "36333433393133343638",
|
||
|
"sig" : "303e021d00851aef44b0869b4c0f3d7d5926e6799f094ab345bc03166ba48f6aa2021d00d228916088d12e4a17e499c48c0ca8feefc8b264e22122f0144e7b77",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 321,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31353431313033353938",
|
||
|
"sig" : "303d021c23bbc9d0e3178ffc71fbad8584e166aab86c498597cd1891bf407d6b021d00d8b80633d631a5aa06197b14e3fc1f76778db72f721b6087a131d68b",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 322,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3130343738353830313238",
|
||
|
"sig" : "303c021c593d30711700976c78bb617a2029d0b433af7b8f706856ca1248ba27021c07ea97204b37184d723520069e83c27e53142a67bc9e68e777c50072",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 323,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3130353336323835353638",
|
||
|
"sig" : "303c021c49285c90a8738e3092fbf78819f5b562c7da020e4881e01fd0b6824e021c33044f586ac7ecdb506e1ce3f3a1abafbb44951565367c8070541369",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 324,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "393533393034313035",
|
||
|
"sig" : "303d021c7049f7f70a97bc356803cf49695b72a82b2a98b70ff1c026ff01e2d0021d00f152ed9b31f1c90b06c36220d8d4a557c1b95a55b50398a47e88be8e",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 325,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "393738383438303339",
|
||
|
"sig" : "303d021c1a8960b59b53ff42dc42582f58fa0d853db5022422b6885393168dff021d00979477b5a23092cd7f90e48372b7efa4a78e53d1c224279b45158619",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 326,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33363130363732343432",
|
||
|
"sig" : "303d021d00f0635e4b65dd762ea99b62dd8ad719d68c0ea6d5dcd02f5454735e7d021c606d10db9561f5895d4ab524fb79b475580d29ecde7fdd1bb85c5b4d",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 327,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31303534323430373035",
|
||
|
"sig" : "303c021c3408da6225d974875437816e5c9aa7f2dcae06b42da3d03ff92f94ce021c5201beea5fdbcbfff8082937c32d95ed1a9b89121c2ed94097d73f07",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 328,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "35313734343438313937",
|
||
|
"sig" : "303c021c4b375c050402389b8c7e60ff896b3ec60951b7714a7a0f89d754558f021c6b1a9669881f83d75229d3cfbc4efd8d86c2d3ab2e2e8bcbcfae844c",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 329,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31393637353631323531",
|
||
|
"sig" : "303e021d00ac6c28591ae72d7f27282598d214a8abe7a0deceb3420f0c7e2fe7c8021d009b85701bcbb2a80f72111c8ed8c182bfac5bf7816ac3e0432f2ba1b7",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 330,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33343437323533333433",
|
||
|
"sig" : "303c021c2bf7cc09a7405cc9ff20028aa246322acb9d05ed979c5f67dc0522ca021c64cfb2076f0773e5a0a89d81a2bac2dccf2341e0f82f8d6dd23ea425",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 331,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "333638323634333138",
|
||
|
"sig" : "303d021d009ada9fb763f99aafc2e49fa8d8d25ef9a856f9556d864ddf540e324f021c7568bc71ae33acb7e200739c8c5dc622413106efd81443d7e42439a7",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 332,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33323631313938363038",
|
||
|
"sig" : "303e021d00cc81edd6949a519f85dccac80fbff7e9687d3b470a2680cd6f208f60021d00fabc8d2ca0b84a66ac1bfc845b90c724d5e6da26c444bb3f6950c004",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 333,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "39363738373831303934",
|
||
|
"sig" : "303d021c37db84341c99735661e277d8b17eca9833b253be56e22d5eb300551b021d00894f213e4218e208284bb4152ef926e7b7740eac72b1816fe6ff57e2",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 334,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34393538383233383233",
|
||
|
"sig" : "303e021d008685cfc397575b4519102ad8f6e9950389a02ffc3e3b151616e6c057021d00de04d0948d1e8ea4bb7ddd38c19d3a039688d9b5218768a9e717ee9c",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 335,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "383234363337383337",
|
||
|
"sig" : "303e021d008b4ac0a09b785fd09f67088687f1fe7604d7e7dfea48917a6e14955c021d00c08640f0386d64f18c31dc4b1a09bff70c508d05258649226b0cae71",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 336,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3131303230383333373736",
|
||
|
"sig" : "303d021c6671c4f541bb626145bc2fdf8aaee83477048efa22d0bb25d3a03b8b021d00c36bfe072281fdbb39ceb8899d71347acd22d63f011d29576075acb6",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 337,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "313333383731363438",
|
||
|
"sig" : "303d021d00a6757619dc34907429497852518eee66309a69e899678323531b037e021c0168342d4a621255ec49b2e90d87ec583947afa35f04d972b81fff93",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 338,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "333232313434313632",
|
||
|
"sig" : "303d021d00bdf013257440075b018e68a60a4353d017303dad825138eb8a2a58d4021c4855f2391f313e7a6fb3a78f00eb48f0435d45358591e9a2bc8f5351",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 339,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3130363836363535353436",
|
||
|
"sig" : "303c021c5cfdcd39f1a1cb8c259323823896c23f25d3354fdbad446d51006673021c0bef5f32aa56df10f062d33b5e8408a9c1281c002c8f325242a62861",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 340,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3632313535323436",
|
||
|
"sig" : "303c021c06b9c9328ee02d7828eb73697dd41de06619cb0581f16d6d224d0491021c0431999d333bd4ee2bff37ce9094cf33e72696456122e11bff431482",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 341,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "37303330383138373734",
|
||
|
"sig" : "303e021d009eedfa8555c75abdb6113c8af62ad9f501a4b0f1d302c2e2330ab80b021d00fc9034a89f32a5c1e2962694981a13f11296f497a6fe6132ba710d82",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 342,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "35393234353233373434",
|
||
|
"sig" : "303d021d008e7c79348b3c9cd6ed186c97d6986fa4c505a5d11e4283930fb64cf6021c5be14fb89e87b3d821d8f5440b1ff7648a56fb9469ba801c5e57f854",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 343,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31343935353836363231",
|
||
|
"sig" : "303d021c30901d4b952d7c59a14a5e4c7c4c420b53295d6b9738111471103ec9021d00b83f03ef8dea9060adb27de34814c12d6759a011f2bcceb5e4bf9f92",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 344,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34303035333134343036",
|
||
|
"sig" : "303d021c630e6f0a1a29e979aab89c830c4ca8cc9d848d5c4dd821e35a43aa76021d00c27dc32fbd2fd6342bec1389bf63c27150f6bd72480b3f7289a1ec91",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 345,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33303936343537353132",
|
||
|
"sig" : "303d021d00ebbb7fa96725acaadd8b6760fa1b66052817d5c5cce6c29cda9f360f021c5a9cfecd47b0c014f6d7f8a669f409e96e4536a3600990bbcaabff77",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 346,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32373834303235363230",
|
||
|
"sig" : "303e021d00ed1f449ce9fc545706d286b69ad395e9a3ce6bec58ea8cfb237b8469021d00c746f27a705a8bb629f57d7417bf33aad3711ff31243ee5f91bafad7",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 347,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32363138373837343138",
|
||
|
"sig" : "303d021d009f047e69fe223049f4512516af3f40dce646763b2e02bd26ab75cb3a021c56dc557edfa262734769caaa8fe27cbbe916a4c659da490df7b7e65a",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 348,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31363432363235323632",
|
||
|
"sig" : "303c021c45373e696c28f8d2e869e51c5ba9a8e76dc04015f479e49fa354b626021c6a1f35a36ec1a1d032b48dc98f711d247459d9148d61a9a6a6884d0a",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 349,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "36383234313839343336",
|
||
|
"sig" : "303e021d0086740c5821490591acfd5e13ffc317798fe6924c1564cee689a3a419021d009a8fa36a94fbaaee93c743994dc82d58b4ee19079284cdb74fba7246",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 350,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "343834323435343235",
|
||
|
"sig" : "303d021d00d6195954e66c78a0f8ff4d76b00c495eec59e693e9f6816661804d6d021c19a6d0dafe4a069128d17cefc716158e02f0675c9884e50ceadfa575",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 351,
|
||
|
"comment" : "Signature generated without truncating the hash",
|
||
|
"flags" : [
|
||
|
"Untruncatedhash"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d00838f95addf1212676e8fbca5cf34d525856116a2e7162658fd384446021d00a4d53d1f7cdbe6d71393aed1c41c6d5aa314b553e86f8169b5a11543",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "042cad534f3a9b9f7af75ef6b52b34e98b39afca1f76cdb3a3478d5e0405f4b39f0b8e0e89e4d21c43d7046501cbc5506344f717487860c76a",
|
||
|
"wx" : "2cad534f3a9b9f7af75ef6b52b34e98b39afca1f76cdb3a3478d5e04",
|
||
|
"wy" : "05f4b39f0b8e0e89e4d21c43d7046501cbc5506344f717487860c76a"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00042cad534f3a9b9f7af75ef6b52b34e98b39afca1f76cdb3a3478d5e0405f4b39f0b8e0e89e4d21c43d7046501cbc5506344f717487860c76a",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAELK1TTzqbn3r3Xva1KzTpizmvyh92zbOj\nR41eBAX0s58Ljg6J5NIcQ9cEZQHLxVBjRPcXSHhgx2o=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 352,
|
||
|
"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" : "040626c8135926a2ebca46bdba2a88c99ddab5367f06ffe11ff9c58dac296491e4e37f21f84e28993dd0e0896cf56fa05ed411ce670d74257c",
|
||
|
"wx" : "0626c8135926a2ebca46bdba2a88c99ddab5367f06ffe11ff9c58dac",
|
||
|
"wy" : "296491e4e37f21f84e28993dd0e0896cf56fa05ed411ce670d74257c"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00040626c8135926a2ebca46bdba2a88c99ddab5367f06ffe11ff9c58dac296491e4e37f21f84e28993dd0e0896cf56fa05ed411ce670d74257c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEBibIE1kmouvKRr26KojJndq1Nn8G/+Ef\n+cWNrClkkeTjfyH4TiiZPdDgiWz1b6Be1BHOZw10JXw=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 353,
|
||
|
"comment" : "r,s are large",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020f01dce8d2ec6184caf0a972769fcc86020f01dce8d2ec6184caf0a972769fcc85",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04e65c9ff5718ade2472f6a60a0932455772d6c6dc17a0fdb9dae48bca29d6f9569efae6aedb8380a8bc8075b04eb4491edde3514af5bd129d",
|
||
|
"wx" : "00e65c9ff5718ade2472f6a60a0932455772d6c6dc17a0fdb9dae48bca",
|
||
|
"wy" : "29d6f9569efae6aedb8380a8bc8075b04eb4491edde3514af5bd129d"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004e65c9ff5718ade2472f6a60a0932455772d6c6dc17a0fdb9dae48bca29d6f9569efae6aedb8380a8bc8075b04eb4491edde3514af5bd129d",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE5lyf9XGK3iRy9qYKCTJFV3LWxtwXoP25\n2uSLyinW+Vae+uau24OAqLyAdbBOtEke3eNRSvW9Ep0=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 354,
|
||
|
"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" : "04968402f95fd321c0cf75f78edbd2f8c836f2d8b55952b820f7a0ba34354db2bda50b742a03d972b9063f455ab0f6cf6dab448b33f540f922",
|
||
|
"wx" : "00968402f95fd321c0cf75f78edbd2f8c836f2d8b55952b820f7a0ba34",
|
||
|
"wy" : "354db2bda50b742a03d972b9063f455ab0f6cf6dab448b33f540f922"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004968402f95fd321c0cf75f78edbd2f8c836f2d8b55952b820f7a0ba34354db2bda50b742a03d972b9063f455ab0f6cf6dab448b33f540f922",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEloQC+V/TIcDPdfeO29L4yDby2LVZUrgg\n96C6NDVNsr2lC3QqA9lyuQY/RVqw9s9tq0SLM/VA+SI=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 355,
|
||
|
"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" : "042f874521547c06dbcb5dd575632a45cbac3ccc69e59ccef1a1652afaf014b8c953ffd4e3f157130293b0cab1739a9542543a36e90b35177a",
|
||
|
"wx" : "2f874521547c06dbcb5dd575632a45cbac3ccc69e59ccef1a1652afa",
|
||
|
"wy" : "00f014b8c953ffd4e3f157130293b0cab1739a9542543a36e90b35177a"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00042f874521547c06dbcb5dd575632a45cbac3ccc69e59ccef1a1652afaf014b8c953ffd4e3f157130293b0cab1739a9542543a36e90b35177a",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEL4dFIVR8BtvLXdV1YypFy6w8zGnlnM7x\noWUq+vAUuMlT/9Tj8VcTApOwyrFzmpVCVDo26Qs1F3o=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 356,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020102020101",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04c48a1d6cc5f68b379f875e4971723299b28089019afd67628e3a6bf709c63f963d2656bf864e080cda07cc5d30e8f4ac61bb6ea2d5646b0b",
|
||
|
"wx" : "00c48a1d6cc5f68b379f875e4971723299b28089019afd67628e3a6bf7",
|
||
|
"wy" : "09c63f963d2656bf864e080cda07cc5d30e8f4ac61bb6ea2d5646b0b"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004c48a1d6cc5f68b379f875e4971723299b28089019afd67628e3a6bf709c63f963d2656bf864e080cda07cc5d30e8f4ac61bb6ea2d5646b0b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAExIodbMX2izefh15JcXIymbKAiQGa/Wdi\njjpr9wnGP5Y9Jla/hk4IDNoHzF0w6PSsYbtuotVkaws=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 357,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020102020102",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04db7a161f1cf83a215b43ab283deea50bf2dabf29d38277ae826f14b4f6c231b0fbc035998fd72431475d0c1c7ecae43aa2366f3afdf5d50b",
|
||
|
"wx" : "00db7a161f1cf83a215b43ab283deea50bf2dabf29d38277ae826f14b4",
|
||
|
"wy" : "00f6c231b0fbc035998fd72431475d0c1c7ecae43aa2366f3afdf5d50b"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004db7a161f1cf83a215b43ab283deea50bf2dabf29d38277ae826f14b4f6c231b0fbc035998fd72431475d0c1c7ecae43aa2366f3afdf5d50b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE23oWHxz4OiFbQ6soPe6lC/LavynTgneu\ngm8UtPbCMbD7wDWZj9ckMUddDBx+yuQ6ojZvOv311Qs=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 358,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020102020103",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04b621d2678163deaa6fa425ec3f7a3936ce24bc71737bad547668c5008a6d3abcd5c6ebdf88fb90b0ff3da086b41f2df5f33df5b50b9ae879",
|
||
|
"wx" : "00b621d2678163deaa6fa425ec3f7a3936ce24bc71737bad547668c500",
|
||
|
"wy" : "008a6d3abcd5c6ebdf88fb90b0ff3da086b41f2df5f33df5b50b9ae879"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004b621d2678163deaa6fa425ec3f7a3936ce24bc71737bad547668c5008a6d3abcd5c6ebdf88fb90b0ff3da086b41f2df5f33df5b50b9ae879",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEtiHSZ4Fj3qpvpCXsP3o5Ns4kvHFze61U\ndmjFAIptOrzVxuvfiPuQsP89oIa0Hy318z31tQua6Hk=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 359,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020104020101",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04d263f43fca0fda72b3f6bb521e1bba6d50f392b81b6eeb7312a21fbce95f160949fa569352497e88c56f7232f204f1aade752d8b3f21663d",
|
||
|
"wx" : "00d263f43fca0fda72b3f6bb521e1bba6d50f392b81b6eeb7312a21fbc",
|
||
|
"wy" : "00e95f160949fa569352497e88c56f7232f204f1aade752d8b3f21663d"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004d263f43fca0fda72b3f6bb521e1bba6d50f392b81b6eeb7312a21fbce95f160949fa569352497e88c56f7232f204f1aade752d8b3f21663d",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE0mP0P8oP2nKz9rtSHhu6bVDzkrgbbutz\nEqIfvOlfFglJ+laTUkl+iMVvcjLyBPGq3nUtiz8hZj0=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 360,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020104020103",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0492064e58faac9017d5fd40dacfa4da86459156c8876780a993dc8351ce6a6c3786b87deba14855118156f0a9af09fe82999e81f2dd46e0b6",
|
||
|
"wx" : "0092064e58faac9017d5fd40dacfa4da86459156c8876780a993dc8351",
|
||
|
"wy" : "00ce6a6c3786b87deba14855118156f0a9af09fe82999e81f2dd46e0b6"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000492064e58faac9017d5fd40dacfa4da86459156c8876780a993dc8351ce6a6c3786b87deba14855118156f0a9af09fe82999e81f2dd46e0b6",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEkgZOWPqskBfV/UDaz6TahkWRVsiHZ4Cp\nk9yDUc5qbDeGuH3roUhVEYFW8KmvCf6CmZ6B8t1G4LY=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 361,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020104020104",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "048a5913b8da46091e1f3521703a129057582c16c60b781353f0c2b3c1028c5efb2add74557d0f17df2795ee6f374482473a3b7b0904f6b147",
|
||
|
"wx" : "008a5913b8da46091e1f3521703a129057582c16c60b781353f0c2b3c1",
|
||
|
"wy" : "028c5efb2add74557d0f17df2795ee6f374482473a3b7b0904f6b147"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00048a5913b8da46091e1f3521703a129057582c16c60b781353f0c2b3c1028c5efb2add74557d0f17df2795ee6f374482473a3b7b0904f6b147",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEilkTuNpGCR4fNSFwOhKQV1gsFsYLeBNT\n8MKzwQKMXvsq3XRVfQ8X3yeV7m83RIJHOjt7CQT2sUc=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 362,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020104020105",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 363,
|
||
|
"comment" : "r is larger than n",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022021d010000000000000000000000000001dce8d2ec6184caf0a971769fb1fb020105",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04e8fd619638ec64e34ca3cd9093afc5937dd213acecc22cdd5552a1ae6abc8dfa960b55bb3282c625367fb542ccc5e00b21879192ad1f7feb",
|
||
|
"wx" : "00e8fd619638ec64e34ca3cd9093afc5937dd213acecc22cdd5552a1ae",
|
||
|
"wy" : "6abc8dfa960b55bb3282c625367fb542ccc5e00b21879192ad1f7feb"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004e8fd619638ec64e34ca3cd9093afc5937dd213acecc22cdd5552a1ae6abc8dfa960b55bb3282c625367fb542ccc5e00b21879192ad1f7feb",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE6P1hljjsZONMo82Qk6/Fk33SE6zswizd\nVVKhrmq8jfqWC1W7MoLGJTZ/tULMxeALIYeRkq0ff+s=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 364,
|
||
|
"comment" : "s is larger than n",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3022020104021d010000000000000000000000000001dce8d2ec6184caf0a97176b2887e",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04fd2b95781249901d53e78d7a1c18db65cfbce5e59d1e01d36fce3cbd976a445f957cd6aa009b052fc7bccdac1d057d35d8e6539f30c98c15",
|
||
|
"wx" : "00fd2b95781249901d53e78d7a1c18db65cfbce5e59d1e01d36fce3cbd",
|
||
|
"wy" : "00976a445f957cd6aa009b052fc7bccdac1d057d35d8e6539f30c98c15"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004fd2b95781249901d53e78d7a1c18db65cfbce5e59d1e01d36fce3cbd976a445f957cd6aa009b052fc7bccdac1d057d35d8e6539f30c98c15",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE/SuVeBJJkB1T5416HBjbZc+85eWdHgHT\nb848vZdqRF+VfNaqAJsFL8e8zawdBX012OZTnzDJjBU=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 365,
|
||
|
"comment" : "small r and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302302020100021d00c183060c183060c183060c1830622a02a3783996c5bfff133f76b2df",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0492f0088eff3b24fd6cfb8d99adcbfebb873c3b15fad012214d22d64c0b7b8a94a75b60f7bb4130ccc01297c7a250091d78df6a04c3cda624",
|
||
|
"wx" : "0092f0088eff3b24fd6cfb8d99adcbfebb873c3b15fad012214d22d64c",
|
||
|
"wy" : "0b7b8a94a75b60f7bb4130ccc01297c7a250091d78df6a04c3cda624"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000492f0088eff3b24fd6cfb8d99adcbfebb873c3b15fad012214d22d64c0b7b8a94a75b60f7bb4130ccc01297c7a250091d78df6a04c3cda624",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEkvAIjv87JP1s+42Zrcv+u4c8OxX60BIh\nTSLWTAt7ipSnW2D3u0EwzMASl8eiUAkdeN9qBMPNpiQ=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 366,
|
||
|
"comment" : "smallish r and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302702072d9b4d347952cc021c0135fa9cb663a24b634b6c650b61ea744182b35e059463d8479f4057",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04c9d1d50e5a5efc6d387beb9fc7aa8a73fd7597e7f2b49c817455623937f6d59c22426d5d6be3c0ce305f80bb8f912faf9dfe9ad843128ba1",
|
||
|
"wx" : "00c9d1d50e5a5efc6d387beb9fc7aa8a73fd7597e7f2b49c8174556239",
|
||
|
"wy" : "37f6d59c22426d5d6be3c0ce305f80bb8f912faf9dfe9ad843128ba1"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004c9d1d50e5a5efc6d387beb9fc7aa8a73fd7597e7f2b49c817455623937f6d59c22426d5d6be3c0ce305f80bb8f912faf9dfe9ad843128ba1",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEydHVDlpe/G04e+ufx6qKc/11l+fytJyB\ndFViOTf21ZwiQm1da+PAzjBfgLuPkS+vnf6a2EMSi6E=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 367,
|
||
|
"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" : "0441a2ea107b28cb0dab233a102ed40609a68ba7e1c1b1cd85ac880ba4aed24d7da7571c9d1934e11c919783872bc6cceeacae25a0bb50e2a7",
|
||
|
"wx" : "41a2ea107b28cb0dab233a102ed40609a68ba7e1c1b1cd85ac880ba4",
|
||
|
"wy" : "00aed24d7da7571c9d1934e11c919783872bc6cceeacae25a0bb50e2a7"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000441a2ea107b28cb0dab233a102ed40609a68ba7e1c1b1cd85ac880ba4aed24d7da7571c9d1934e11c919783872bc6cceeacae25a0bb50e2a7",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEQaLqEHsoyw2rIzoQLtQGCaaLp+HBsc2F\nrIgLpK7STX2nVxydGTThHJGXg4crxszurK4loLtQ4qc=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 368,
|
||
|
"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" : "04e052de3ece2d4bf492b7d5a427bcff08ab178416ffaf0706fd9eb11f862cc16f03150a4d90cb778f40f648398ab9763ad0fc86988e866943",
|
||
|
"wx" : "00e052de3ece2d4bf492b7d5a427bcff08ab178416ffaf0706fd9eb11f",
|
||
|
"wy" : "00862cc16f03150a4d90cb778f40f648398ab9763ad0fc86988e866943"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004e052de3ece2d4bf492b7d5a427bcff08ab178416ffaf0706fd9eb11f862cc16f03150a4d90cb778f40f648398ab9763ad0fc86988e866943",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE4FLePs4tS/SSt9WkJ7z/CKsXhBb/rwcG\n/Z6xH4YswW8DFQpNkMt3j0D2SDmKuXY60PyGmI6GaUM=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 369,
|
||
|
"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" : "04fc64cb84f8f635864a29fec2897e8be844e54839d8f20c028b0f4ed1d1a9f5ebb38cfd8a9449a90a6dfbd73faf9c60a440919ab56e5dcd10",
|
||
|
"wx" : "00fc64cb84f8f635864a29fec2897e8be844e54839d8f20c028b0f4ed1",
|
||
|
"wy" : "00d1a9f5ebb38cfd8a9449a90a6dfbd73faf9c60a440919ab56e5dcd10"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004fc64cb84f8f635864a29fec2897e8be844e54839d8f20c028b0f4ed1d1a9f5ebb38cfd8a9449a90a6dfbd73faf9c60a440919ab56e5dcd10",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE/GTLhPj2NYZKKf7CiX6L6ETlSDnY8gwC\niw9O0dGp9euzjP2KlEmpCm371z+vnGCkQJGatW5dzRA=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 370,
|
||
|
"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" : "04ca0b442aad1e1d57c43c67d7a648797f344233537b8dae6ddd248d5de3994babccac8782cc18e56ce18772a2add8ec4d47fb807756390877",
|
||
|
"wx" : "00ca0b442aad1e1d57c43c67d7a648797f344233537b8dae6ddd248d5d",
|
||
|
"wy" : "00e3994babccac8782cc18e56ce18772a2add8ec4d47fb807756390877"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004ca0b442aad1e1d57c43c67d7a648797f344233537b8dae6ddd248d5de3994babccac8782cc18e56ce18772a2add8ec4d47fb807756390877",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEygtEKq0eHVfEPGfXpkh5fzRCM1N7ja5t\n3SSNXeOZS6vMrIeCzBjlbOGHcqKt2OxNR/uAd1Y5CHc=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 371,
|
||
|
"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" : "04f39dc37388cb4c34fe5d5a1f2aa6041c4c108ccc13e42c61f0c418deadb51ba0d123842cbf2a83a8a75e2a3d2bed11adf11784d15278c550",
|
||
|
"wx" : "00f39dc37388cb4c34fe5d5a1f2aa6041c4c108ccc13e42c61f0c418de",
|
||
|
"wy" : "00adb51ba0d123842cbf2a83a8a75e2a3d2bed11adf11784d15278c550"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004f39dc37388cb4c34fe5d5a1f2aa6041c4c108ccc13e42c61f0c418deadb51ba0d123842cbf2a83a8a75e2a3d2bed11adf11784d15278c550",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE853Dc4jLTDT+XVofKqYEHEwQjMwT5Cxh\n8MQY3q21G6DRI4QsvyqDqKdeKj0r7RGt8ReE0VJ4xVA=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 372,
|
||
|
"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" : "04c8b6ea8c530305db5ad07d53d51d61858a13d2bf766541040e7acecff255573d8521b52299bdcbf2ca5cdd4e00bb14dec6a07b7df5a56e41",
|
||
|
"wx" : "00c8b6ea8c530305db5ad07d53d51d61858a13d2bf766541040e7acecf",
|
||
|
"wy" : "00f255573d8521b52299bdcbf2ca5cdd4e00bb14dec6a07b7df5a56e41"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004c8b6ea8c530305db5ad07d53d51d61858a13d2bf766541040e7acecff255573d8521b52299bdcbf2ca5cdd4e00bb14dec6a07b7df5a56e41",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEyLbqjFMDBdta0H1T1R1hhYoT0r92ZUEE\nDnrOz/JVVz2FIbUimb3L8spc3U4AuxTexqB7ffWlbkE=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 373,
|
||
|
"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" : "0449f6f1d2a600142eaaf7410097c1a644a91349fe8677963892d68c86a0dbf7abeb84ac9b5b2129b4b7e4baad0989c990321f33e5edf1ced2",
|
||
|
"wx" : "49f6f1d2a600142eaaf7410097c1a644a91349fe8677963892d68c86",
|
||
|
"wy" : "00a0dbf7abeb84ac9b5b2129b4b7e4baad0989c990321f33e5edf1ced2"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000449f6f1d2a600142eaaf7410097c1a644a91349fe8677963892d68c86a0dbf7abeb84ac9b5b2129b4b7e4baad0989c990321f33e5edf1ced2",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAESfbx0qYAFC6q90EAl8GmRKkTSf6Gd5Y4\nktaMhqDb96vrhKybWyEptLfkuq0JicmQMh8z5e3xztI=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 374,
|
||
|
"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" : "044cbacc728670e4e1df367749fce32c6a4f17bc634bc52f502d44cc95e0a864b52cdffddaeb70ed9f073484a45858889c58e80ec8007e9fc6",
|
||
|
"wx" : "4cbacc728670e4e1df367749fce32c6a4f17bc634bc52f502d44cc95",
|
||
|
"wy" : "00e0a864b52cdffddaeb70ed9f073484a45858889c58e80ec8007e9fc6"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00044cbacc728670e4e1df367749fce32c6a4f17bc634bc52f502d44cc95e0a864b52cdffddaeb70ed9f073484a45858889c58e80ec8007e9fc6",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAETLrMcoZw5OHfNndJ/OMsak8XvGNLxS9Q\nLUTMleCoZLUs3/3a63Dtnwc0hKRYWIicWOgOyAB+n8Y=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 375,
|
||
|
"comment" : "s == 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021c5555555555555555555555555555f44d9ba4208198fae325d2353b55020101",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 376,
|
||
|
"comment" : "s == 0",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3021021c5555555555555555555555555555f44d9ba4208198fae325d2353b55020100",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "044b9c0cf9f218f64d1317ffc18caf11797cbb431550816b42e658da6c5051333576ab8be2753bcfbad797b29c0b8eb76b4b310bb24f3c6ec7",
|
||
|
"wx" : "4b9c0cf9f218f64d1317ffc18caf11797cbb431550816b42e658da6c",
|
||
|
"wy" : "5051333576ab8be2753bcfbad797b29c0b8eb76b4b310bb24f3c6ec7"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00044b9c0cf9f218f64d1317ffc18caf11797cbb431550816b42e658da6c5051333576ab8be2753bcfbad797b29c0b8eb76b4b310bb24f3c6ec7",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAES5wM+fIY9k0TF//BjK8ReXy7QxVQgWtC\n5ljabFBRMzV2q4vidTvPuteXspwLjrdrSzELsk88bsc=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 377,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c74d89d2b42107a17e0df7430a84102f0c3befe18e59ea9ed5aef3195",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "048981be0db57c743232f8a5d30b419840c4d38087d66c501597f737acb07a341cac19c626da4adb9f3119cb4439e954b1718a7eae45f7a933",
|
||
|
"wx" : "008981be0db57c743232f8a5d30b419840c4d38087d66c501597f737ac",
|
||
|
"wy" : "00b07a341cac19c626da4adb9f3119cb4439e954b1718a7eae45f7a933"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00048981be0db57c743232f8a5d30b419840c4d38087d66c501597f737acb07a341cac19c626da4adb9f3119cb4439e954b1718a7eae45f7a933",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEiYG+DbV8dDIy+KXTC0GYQMTTgIfWbFAV\nl/c3rLB6NBysGcYm2krbnzEZy0Q56VSxcYp+rkX3qTM=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 378,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c2a179e7ed670727c33ba8da63fe226140a7fcf62d2cfaea7ea59d1d4",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0469f46cfddcec6520e4e65590c64466c19cff0f581e13ed401d4f3470cfb829ac4e52055461d0785876d78e3d5889a7749be663a6bf08459b",
|
||
|
"wx" : "69f46cfddcec6520e4e65590c64466c19cff0f581e13ed401d4f3470",
|
||
|
"wy" : "00cfb829ac4e52055461d0785876d78e3d5889a7749be663a6bf08459b"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000469f46cfddcec6520e4e65590c64466c19cff0f581e13ed401d4f3470cfb829ac4e52055461d0785876d78e3d5889a7749be663a6bf08459b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEafRs/dzsZSDk5lWQxkRmwZz/D1geE+1A\nHU80cM+4KaxOUgVUYdB4WHbXjj1Yiad0m+Zjpr8IRZs=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 379,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c6d50b1cb505189520a6901a895ea13458ff5076156c27efc00639c35",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0486ae72267749417993992aa8724e9d760dc3962b2ad01ebc28019fa05a107cf5332ff42f5516451f2298a362a894d95ba849d48ed389ffd5",
|
||
|
"wx" : "0086ae72267749417993992aa8724e9d760dc3962b2ad01ebc28019fa0",
|
||
|
"wy" : "5a107cf5332ff42f5516451f2298a362a894d95ba849d48ed389ffd5"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000486ae72267749417993992aa8724e9d760dc3962b2ad01ebc28019fa05a107cf5332ff42f5516451f2298a362a894d95ba849d48ed389ffd5",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEhq5yJndJQXmTmSqock6ddg3Dlisq0B68\nKAGfoFoQfPUzL/QvVRZFHyKYo2KolNlbqEnUjtOJ/9U=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 380,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c0f59ae2e4259dbe0997caabcdb25bdbe8d6df67f433a4651342d5219",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04d39979285ed39d2250c5125305868dbd4274b8a603d571e3537c2ea5f7c67e822535efc4c1021b6b312c34e4d60be2e89984e95f5dddb7de",
|
||
|
"wx" : "00d39979285ed39d2250c5125305868dbd4274b8a603d571e3537c2ea5",
|
||
|
"wy" : "00f7c67e822535efc4c1021b6b312c34e4d60be2e89984e95f5dddb7de"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004d39979285ed39d2250c5125305868dbd4274b8a603d571e3537c2ea5f7c67e822535efc4c1021b6b312c34e4d60be2e89984e95f5dddb7de",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE05l5KF7TnSJQxRJTBYaNvUJ0uKYD1XHj\nU3wupffGfoIlNe/EwQIbazEsNOTWC+LomYTpX13dt94=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 381,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c5e10dd8d9f91876988f21a2bc2fefa4df57ab4efc82ca41a773ae802",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "045329099622fe9e1008c891fff3ba768c6d764d420509fd232830603b2d9d32aff3af504eb4389dc7bde4f9c4c5fdac7bff001d6da369104c",
|
||
|
"wx" : "5329099622fe9e1008c891fff3ba768c6d764d420509fd232830603b",
|
||
|
"wy" : "2d9d32aff3af504eb4389dc7bde4f9c4c5fdac7bff001d6da369104c"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00045329099622fe9e1008c891fff3ba768c6d764d420509fd232830603b2d9d32aff3af504eb4389dc7bde4f9c4c5fdac7bff001d6da369104c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEUykJliL+nhAIyJH/87p2jG12TUIFCf0j\nKDBgOy2dMq/zr1BOtDidx73k+cTF/ax7/wAdbaNpEEw=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 382,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c511eb0edc14410a1c38d655e04e0c99cd8af84d8caa0ffd69da2dc44",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0490d1161f4794186cc6d0baeaa03f63e84ae61b3428712cd561978ecdacd7e006ada0004b6ea0f27da9ea26791a94292e57e3584af0de87c5",
|
||
|
"wx" : "0090d1161f4794186cc6d0baeaa03f63e84ae61b3428712cd561978ecd",
|
||
|
"wy" : "00acd7e006ada0004b6ea0f27da9ea26791a94292e57e3584af0de87c5"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000490d1161f4794186cc6d0baeaa03f63e84ae61b3428712cd561978ecdacd7e006ada0004b6ea0f27da9ea26791a94292e57e3584af0de87c5",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEkNEWH0eUGGzG0LrqoD9j6ErmGzQocSzV\nYZeOzazX4AatoABLbqDyfanqJnkalCkuV+NYSvDeh8U=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 383,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c11577274428aaa4ac5d23552e64d35c2e45667773fe77fba629f873f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04326aa12c68fd569b573884a97b899c197c18fb9c509782be8b18011f82d76e993348dd4de2440a6d7bbfcd7461729a6ac70a3fade02fbd8b",
|
||
|
"wx" : "326aa12c68fd569b573884a97b899c197c18fb9c509782be8b18011f",
|
||
|
"wy" : "0082d76e993348dd4de2440a6d7bbfcd7461729a6ac70a3fade02fbd8b"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004326aa12c68fd569b573884a97b899c197c18fb9c509782be8b18011f82d76e993348dd4de2440a6d7bbfcd7461729a6ac70a3fade02fbd8b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEMmqhLGj9VptXOISpe4mcGXwY+5xQl4K+\nixgBH4LXbpkzSN1N4kQKbXu/zXRhcppqxwo/reAvvYs=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 384,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c2fb159d4c8769a346ee620bb1e5027f2aa0fd3b1d8b3a2411c9b9ca0",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "040633d37de65ad8897f863b485babc75cb14175692597db295e4d2beb649f25584f8f9f3121549431e1e3ea5290ed186d443ac4b53df57b14",
|
||
|
"wx" : "0633d37de65ad8897f863b485babc75cb14175692597db295e4d2beb",
|
||
|
"wy" : "649f25584f8f9f3121549431e1e3ea5290ed186d443ac4b53df57b14"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00040633d37de65ad8897f863b485babc75cb14175692597db295e4d2beb649f25584f8f9f3121549431e1e3ea5290ed186d443ac4b53df57b14",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEBjPTfeZa2Il/hjtIW6vHXLFBdWkll9sp\nXk0r62SfJVhPj58xIVSUMeHj6lKQ7RhtRDrEtT31exQ=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 385,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c59d3622af6be99859f0aea85aa20e669ec373992af2856f37dea777f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0493f80c5d235dbb8efb8622bf70716316b021ece8a37d2ff33a422cbdb0fe70e8e87e04736a54a943d524b3ef27628d7f7688e901fdb25f40",
|
||
|
"wx" : "0093f80c5d235dbb8efb8622bf70716316b021ece8a37d2ff33a422cbd",
|
||
|
"wy" : "00b0fe70e8e87e04736a54a943d524b3ef27628d7f7688e901fdb25f40"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000493f80c5d235dbb8efb8622bf70716316b021ece8a37d2ff33a422cbdb0fe70e8e87e04736a54a943d524b3ef27628d7f7688e901fdb25f40",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEk/gMXSNdu477hiK/cHFjFrAh7OijfS/z\nOkIsvbD+cOjofgRzalSpQ9Uks+8nYo1/dojpAf2yX0A=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 386,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c3296bcaf337a66617b38e2ab65833612cd0bae1b7b3e670863dac215",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "046bd84040f3c08088a7dab45cb4a455a8b5336a00f2b2899779adc048cf5d1bdbb1042789adeb363dbd7c4f776560f7d3c6ff24e58d0709c0",
|
||
|
"wx" : "6bd84040f3c08088a7dab45cb4a455a8b5336a00f2b2899779adc048",
|
||
|
"wy" : "00cf5d1bdbb1042789adeb363dbd7c4f776560f7d3c6ff24e58d0709c0"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00046bd84040f3c08088a7dab45cb4a455a8b5336a00f2b2899779adc048cf5d1bdbb1042789adeb363dbd7c4f776560f7d3c6ff24e58d0709c0",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEa9hAQPPAgIin2rRctKRVqLUzagDysomX\nea3ASM9dG9uxBCeJres2Pb18T3dlYPfTxv8k5Y0HCcA=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 387,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c1b468ea6fa697becc552ec879c3e9ffdd72969403d5fb745bbd7f366",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "046a942adc74e5a542beb5a9ed73166bba16a621fde05fad8feb93041ab9d8e5797a2e237b2785c36f24156dd40d3ed35064f8878bb6db114a",
|
||
|
"wx" : "6a942adc74e5a542beb5a9ed73166bba16a621fde05fad8feb93041a",
|
||
|
"wy" : "00b9d8e5797a2e237b2785c36f24156dd40d3ed35064f8878bb6db114a"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00046a942adc74e5a542beb5a9ed73166bba16a621fde05fad8feb93041ab9d8e5797a2e237b2785c36f24156dd40d3ed35064f8878bb6db114a",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEapQq3HTlpUK+tantcxZruhamIf3gX62P\n65MEGrnY5Xl6LiN7J4XDbyQVbdQNPtNQZPiHi7bbEUo=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 388,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c244b2ee0f3acf3ca0d086215fbc12728516ffc93c03d27a601d31a8a",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0474897882013164324092db05bb1d2e0d44386fea0ad1b2eefec195650f28f541785399eb1b825131e82b18da9a30049686fd4af36fff43ce",
|
||
|
"wx" : "74897882013164324092db05bb1d2e0d44386fea0ad1b2eefec19565",
|
||
|
"wy" : "0f28f541785399eb1b825131e82b18da9a30049686fd4af36fff43ce"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000474897882013164324092db05bb1d2e0d44386fea0ad1b2eefec195650f28f541785399eb1b825131e82b18da9a30049686fd4af36fff43ce",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEdIl4ggExZDJAktsFux0uDUQ4b+oK0bLu\n/sGVZQ8o9UF4U5nrG4JRMegrGNqaMASWhv1K82//Q84=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 389,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c5625c3f523582b7986ad997a8488acfbfc4b2db75913a1fa4b437ec5",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0481a4a2c2c959ba5ef743d32f173b1e24567ea1c37fc5cf6e36b02577079d37fa3c2f8540bed4d6465ff45ed71878ba86cee8ffb4776231ad",
|
||
|
"wx" : "0081a4a2c2c959ba5ef743d32f173b1e24567ea1c37fc5cf6e36b02577",
|
||
|
"wy" : "079d37fa3c2f8540bed4d6465ff45ed71878ba86cee8ffb4776231ad"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000481a4a2c2c959ba5ef743d32f173b1e24567ea1c37fc5cf6e36b02577079d37fa3c2f8540bed4d6465ff45ed71878ba86cee8ffb4776231ad",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEgaSiwslZul73Q9MvFzseJFZ+ocN/xc9u\nNrAldwedN/o8L4VAvtTWRl/0XtcYeLqGzuj/tHdiMa0=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 390,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b55021c148bd1fd5c6502009ef1febb26c374cacd3a62e7f3f232e21f145115",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "049473345d373f2e5511b33bdb3dd2335c0eb3979eeb8176972ca6312b940b9640487c1b5c0c501c91bbebf037e42f43970ff57b55cf8d4a7c",
|
||
|
"wx" : "009473345d373f2e5511b33bdb3dd2335c0eb3979eeb8176972ca6312b",
|
||
|
"wy" : "00940b9640487c1b5c0c501c91bbebf037e42f43970ff57b55cf8d4a7c"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00049473345d373f2e5511b33bdb3dd2335c0eb3979eeb8176972ca6312b940b9640487c1b5c0c501c91bbebf037e42f43970ff57b55cf8d4a7c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAElHM0XTc/LlURszvbPdIzXA6zl57rgXaX\nLKYxK5QLlkBIfBtcDFAckbvr8DfkL0OXD/V7Vc+NSnw=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 391,
|
||
|
"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" : "04e34c5ec17254bffb619c695ef1f57b337307178260de9e3afd1b0056c45191abe124ff2b7e7444e3e4828bb501978c4de01d9570d6758e77",
|
||
|
"wx" : "00e34c5ec17254bffb619c695ef1f57b337307178260de9e3afd1b0056",
|
||
|
"wy" : "00c45191abe124ff2b7e7444e3e4828bb501978c4de01d9570d6758e77"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004e34c5ec17254bffb619c695ef1f57b337307178260de9e3afd1b0056c45191abe124ff2b7e7444e3e4828bb501978c4de01d9570d6758e77",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE40xewXJUv/thnGle8fV7M3MHF4Jg3p46\n/RsAVsRRkavhJP8rfnRE4+SCi7UBl4xN4B2VcNZ1jnc=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 392,
|
||
|
"comment" : "edge case for signature malleability",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d008000000000000000000000000000ee74697630c2657854b8bb4fd8fe021d008000000000000000000000000000ee74697630c2657854b8bb4fd8fb",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04c1ff9c2ed13e9898adce894b574a9c1a07507e90613001e50a787a04578ecd045261a7121e12ce909fd2509ec3cb2aa9082e7b80cc075f44",
|
||
|
"wx" : "00c1ff9c2ed13e9898adce894b574a9c1a07507e90613001e50a787a04",
|
||
|
"wy" : "578ecd045261a7121e12ce909fd2509ec3cb2aa9082e7b80cc075f44"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004c1ff9c2ed13e9898adce894b574a9c1a07507e90613001e50a787a04578ecd045261a7121e12ce909fd2509ec3cb2aa9082e7b80cc075f44",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEwf+cLtE+mJitzolLV0qcGgdQfpBhMAHl\nCnh6BFeOzQRSYacSHhLOkJ/SUJ7DyyqpCC57gMwHX0Q=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 393,
|
||
|
"comment" : "edge case for signature malleability",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303e021d008000000000000000000000000000ee74697630c2657854b8bb4fd8fe021d008000000000000000000000000000ee74697630c2657854b8bb4fd8fc",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04c8185e31d2c92b095a0bfbaa54341919719c17694fb4189277b8c20301d456a7ff02096789fd426737f735b050a1a6c918b3a0cf6cf0f838",
|
||
|
"wx" : "00c8185e31d2c92b095a0bfbaa54341919719c17694fb4189277b8c203",
|
||
|
"wy" : "01d456a7ff02096789fd426737f735b050a1a6c918b3a0cf6cf0f838"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004c8185e31d2c92b095a0bfbaa54341919719c17694fb4189277b8c20301d456a7ff02096789fd426737f735b050a1a6c918b3a0cf6cf0f838",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEyBheMdLJKwlaC/uqVDQZGXGcF2lPtBiS\nd7jCAwHUVqf/Aglnif1CZzf3NbBQoabJGLOgz2zw+Dg=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 394,
|
||
|
"comment" : "u1 == 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c5555555555555555555555555555f44d9ba4208198fae325d2353b4e021d0176b4a5e85f3924c3da86c3eb284543c6006dcf86564e19100f4833fd",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0420683d2970e76ede44f92ece6a6c2ec0a165724ac3bd725f968fe03953baf1f5521c63bb4b938019f6b82625312c40a247cd92561114e886",
|
||
|
"wx" : "20683d2970e76ede44f92ece6a6c2ec0a165724ac3bd725f968fe039",
|
||
|
"wy" : "53baf1f5521c63bb4b938019f6b82625312c40a247cd92561114e886"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000420683d2970e76ede44f92ece6a6c2ec0a165724ac3bd725f968fe03953baf1f5521c63bb4b938019f6b82625312c40a247cd92561114e886",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEIGg9KXDnbt5E+S7OamwuwKFlckrDvXJf\nlo/gOVO68fVSHGO7S5OAGfa4JiUxLECiR82SVhEU6IY=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 395,
|
||
|
"comment" : "u1 == n - 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c5555555555555555555555555555f44d9ba4208198fae325d2353b4e021d00894b5a17a0c6db3c25793c14d7be760ba56af3833f9339d2ddf72ff1",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04c73ef8ec74b35b83942ec13f90b838147e31e00c84c82166fbee4a8e2adf5032da443a8ec22a4cff4c3a4724a79ace6394048237b5bd6890",
|
||
|
"wx" : "00c73ef8ec74b35b83942ec13f90b838147e31e00c84c82166fbee4a8e",
|
||
|
"wy" : "2adf5032da443a8ec22a4cff4c3a4724a79ace6394048237b5bd6890"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004c73ef8ec74b35b83942ec13f90b838147e31e00c84c82166fbee4a8e2adf5032da443a8ec22a4cff4c3a4724a79ace6394048237b5bd6890",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAExz747HSzW4OULsE/kLg4FH4x4AyEyCFm\n++5KjirfUDLaRDqOwipM/0w6RySnms5jlASCN7W9aJA=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 396,
|
||
|
"comment" : "u2 == 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b4e021c5555555555555555555555555555f44d9ba4208198fae325d2353b4e",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04342a7eab53183ab55771a1dc973d9514a475546ee0f58f10251d4ce755116ba58412a175c71122063c4bf6d774adb1d2f27ab3b160d22b32",
|
||
|
"wx" : "342a7eab53183ab55771a1dc973d9514a475546ee0f58f10251d4ce7",
|
||
|
"wy" : "55116ba58412a175c71122063c4bf6d774adb1d2f27ab3b160d22b32"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004342a7eab53183ab55771a1dc973d9514a475546ee0f58f10251d4ce755116ba58412a175c71122063c4bf6d774adb1d2f27ab3b160d22b32",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAENCp+q1MYOrVXcaHclz2VFKR1VG7g9Y8Q\nJR1M51URa6WEEqF1xxEiBjxL9td0rbHS8nqzsWDSKzI=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 397,
|
||
|
"comment" : "u2 == n - 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021c5555555555555555555555555555f44d9ba4208198fae325d2353b4e021d00aaaaaaaaaaaaaaaaaaaaaaaaaaabe89b3748410331f5c64ba46a76a9",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "046e812955a9eeeea8ebeffff30463446bb4bba9f54687be4a7cd7ad3132c67a10c00f31e826e3b8bf50da9826bd4aa29270c004f4d5c5692d",
|
||
|
"wx" : "6e812955a9eeeea8ebeffff30463446bb4bba9f54687be4a7cd7ad31",
|
||
|
"wy" : "32c67a10c00f31e826e3b8bf50da9826bd4aa29270c004f4d5c5692d"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00046e812955a9eeeea8ebeffff30463446bb4bba9f54687be4a7cd7ad3132c67a10c00f31e826e3b8bf50da9826bd4aa29270c004f4d5c5692d",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEboEpVanu7qjr7//zBGNEa7S7qfVGh75K\nfNetMTLGehDADzHoJuO4v1DamCa9SqKScMAE9NXFaS0=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 398,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00d23c374d75130c4148d796a3b817b58f9bc8bb03b5bf962b2ca2a1fc",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0414d87a664bac68655b1767aec2bb50c920f92c31eb07d4f08cefd2b2618d1fbfff7dfa24e85b3ac5de8e433618fe56480698113a76915f80",
|
||
|
"wx" : "14d87a664bac68655b1767aec2bb50c920f92c31eb07d4f08cefd2b2",
|
||
|
"wy" : "618d1fbfff7dfa24e85b3ac5de8e433618fe56480698113a76915f80"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000414d87a664bac68655b1767aec2bb50c920f92c31eb07d4f08cefd2b2618d1fbfff7dfa24e85b3ac5de8e433618fe56480698113a76915f80",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEFNh6ZkusaGVbF2euwrtQySD5LDHrB9Tw\njO/SsmGNH7//ffok6Fs6xd6OQzYY/lZIBpgROnaRX4A=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 399,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c050bc5eda83286e4e8506020be6a8eb2d500ea3be9104339e91396fc",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "041c04f658b6f346d883578f43b7a7022595805df36ec9135fa60ff3848b3363c603485d2c56ed870277319d18426c26fd600306f41fa64bc4",
|
||
|
"wx" : "1c04f658b6f346d883578f43b7a7022595805df36ec9135fa60ff384",
|
||
|
"wy" : "008b3363c603485d2c56ed870277319d18426c26fd600306f41fa64bc4"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00041c04f658b6f346d883578f43b7a7022595805df36ec9135fa60ff3848b3363c603485d2c56ed870277319d18426c26fd600306f41fa64bc4",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEHAT2WLbzRtiDV49Dt6cCJZWAXfNuyRNf\npg/zhIszY8YDSF0sVu2HAncxnRhCbCb9YAMG9B+mS8Q=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 400,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00e14150ae375f5c042821b2b1bc3806fe885461d0cadd0fecef622e2d",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0429e8873e1492e132461dd827cb9d6bb0b824789ef3d5c7211015f0e7ad90890e2805e13c5fb2968a5770cd580d6d13f8dbd182b8e8c2ade7",
|
||
|
"wx" : "29e8873e1492e132461dd827cb9d6bb0b824789ef3d5c7211015f0e7",
|
||
|
"wy" : "00ad90890e2805e13c5fb2968a5770cd580d6d13f8dbd182b8e8c2ade7"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000429e8873e1492e132461dd827cb9d6bb0b824789ef3d5c7211015f0e7ad90890e2805e13c5fb2968a5770cd580d6d13f8dbd182b8e8c2ade7",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEKeiHPhSS4TJGHdgny51rsLgkeJ7z1cch\nEBXw562QiQ4oBeE8X7KWildwzVgNbRP429GCuOjCrec=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 401,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00947e3ca712b14ca9894b5a17a0c7efddeaff84f1461aa0419ca1d30a",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "041a7aa4f0d18ca3d2b63b70f8045fa368c08dc9ded1f1a27ce43aa0524923a32e3a6627159ec389f5adb1aa4bf1c8196125ab5de07db13050",
|
||
|
"wx" : "1a7aa4f0d18ca3d2b63b70f8045fa368c08dc9ded1f1a27ce43aa052",
|
||
|
"wy" : "4923a32e3a6627159ec389f5adb1aa4bf1c8196125ab5de07db13050"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00041a7aa4f0d18ca3d2b63b70f8045fa368c08dc9ded1f1a27ce43aa0524923a32e3a6627159ec389f5adb1aa4bf1c8196125ab5de07db13050",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEGnqk8NGMo9K2O3D4BF+jaMCNyd7R8aJ8\n5DqgUkkjoy46ZicVnsOJ9a2xqkvxyBlhJatd4H2xMFA=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 402,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00e3ca712b14ca9894b5a17a0c6db56ab329525d6aeb501e2699a4957f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0431158fad37ccb15efd5002f7b0aed5c56f31c099b6957fd1a6afe0a519d786ee55ca132dbf1ead663df5bf62b810ed324bc07ed9dd5c9ea4",
|
||
|
"wx" : "31158fad37ccb15efd5002f7b0aed5c56f31c099b6957fd1a6afe0a5",
|
||
|
"wy" : "19d786ee55ca132dbf1ead663df5bf62b810ed324bc07ed9dd5c9ea4"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000431158fad37ccb15efd5002f7b0aed5c56f31c099b6957fd1a6afe0a519d786ee55ca132dbf1ead663df5bf62b810ed324bc07ed9dd5c9ea4",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEMRWPrTfMsV79UAL3sK7VxW8xwJm2lX/R\npq/gpRnXhu5VyhMtvx6tZj31v2K4EO0yS8B+2d1cnqQ=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 403,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00c794e256299531296b42f418db68f87d7fb859510baf92dbbca97907",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04d67cb3bb26f994c8a6e591b821245f5e118b2667b7f75c9251eef20061b5696a63106e89fd531b9ccdfae032a668fe274bc1cbf5be1bc200",
|
||
|
"wx" : "00d67cb3bb26f994c8a6e591b821245f5e118b2667b7f75c9251eef200",
|
||
|
"wy" : "61b5696a63106e89fd531b9ccdfae032a668fe274bc1cbf5be1bc200"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004d67cb3bb26f994c8a6e591b821245f5e118b2667b7f75c9251eef20061b5696a63106e89fd531b9ccdfae032a668fe274bc1cbf5be1bc200",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE1nyzuyb5lMim5ZG4ISRfXhGLJme391yS\nUe7yAGG1aWpjEG6J/VMbnM364DKmaP4nS8HL9b4bwgA=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 404,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c12b14ca9894b5a17a0c6db3c25795ee7825cdea7d37ffcbbcc8b03df",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0422b01f7ed9019b0d96aff38822cf9cd7644ee1ad0cc5d1b2a3f67bc216b5dcda155b053a914f59cf86b39e2d6882ba4757a8ca9d84b88d66",
|
||
|
"wx" : "22b01f7ed9019b0d96aff38822cf9cd7644ee1ad0cc5d1b2a3f67bc2",
|
||
|
"wy" : "16b5dcda155b053a914f59cf86b39e2d6882ba4757a8ca9d84b88d66"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000422b01f7ed9019b0d96aff38822cf9cd7644ee1ad0cc5d1b2a3f67bc216b5dcda155b053a914f59cf86b39e2d6882ba4757a8ca9d84b88d66",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEIrAfftkBmw2Wr/OIIs+c12RO4a0MxdGy\no/Z7wha13NoVWwU6kU9Zz4azni1ogrpHV6jKnYS4jWY=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 405,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d0087a0a17317277df51e86bc3a0bfd4a589d51772d3e55d7ef1cfa0650",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0404f39a7ded5b62d429e3af6d2718457ffd87a9d00f4b5389e023084857b0cbadb8326c12a2fc15a42206d515011ec6e5272583e5d2036c1e",
|
||
|
"wx" : "04f39a7ded5b62d429e3af6d2718457ffd87a9d00f4b5389e0230848",
|
||
|
"wy" : "57b0cbadb8326c12a2fc15a42206d515011ec6e5272583e5d2036c1e"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000404f39a7ded5b62d429e3af6d2718457ffd87a9d00f4b5389e023084857b0cbadb8326c12a2fc15a42206d515011ec6e5272583e5d2036c1e",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEBPOafe1bYtQp469tJxhFf/2HqdAPS1OJ\n4CMISFewy624MmwSovwVpCIG1RUBHsblJyWD5dIDbB4=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 406,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c2dc3c8b28aecf3beb728695c47ea27593723a6811531134649fd0ffb",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "048278a0f8fb890f0df8c4c72c40d55cb5ff8c5c39f280c917b76fa5c3e4e68e0b21853347f458409c88cd160990486cdf2e0d094c1c7484d5",
|
||
|
"wx" : "008278a0f8fb890f0df8c4c72c40d55cb5ff8c5c39f280c917b76fa5c3",
|
||
|
"wy" : "00e4e68e0b21853347f458409c88cd160990486cdf2e0d094c1c7484d5"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00048278a0f8fb890f0df8c4c72c40d55cb5ff8c5c39f280c917b76fa5c3e4e68e0b21853347f458409c88cd160990486cdf2e0d094c1c7484d5",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEgnig+PuJDw34xMcsQNVctf+MXDnygMkX\nt2+lw+TmjgshhTNH9FhAnIjNFgmQSGzfLg0JTBx0hNU=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 407,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00c4a5ad0bd0636d9e12bc9e0a6be0297a3c2baa840541f1a22a4b70f4",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "0480a9a9352af442fcfecb93e8566d34e455b0bffe53b30ddc59a7f10f33291dc141ceb06597ef3e091dcd75413484eea32aff99af5d2c78cc",
|
||
|
"wx" : "0080a9a9352af442fcfecb93e8566d34e455b0bffe53b30ddc59a7f10f",
|
||
|
"wy" : "33291dc141ceb06597ef3e091dcd75413484eea32aff99af5d2c78cc"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000480a9a9352af442fcfecb93e8566d34e455b0bffe53b30ddc59a7f10f33291dc141ceb06597ef3e091dcd75413484eea32aff99af5d2c78cc",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEgKmpNSr0Qvz+y5PoVm005FWwv/5Tsw3c\nWafxDzMpHcFBzrBll+8+CR3NdUE0hO6jKv+Zr10seMw=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 408,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00f0a0a8571bafae021410d958de1cf1f3ada061aacae6dcaf3300f012",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04a824ae928cb209d3d4143a8cd10a7b29d863150a5482f873972e603112f9d12f2fff94f4e0a5b9e3e5a88bc21b2d09da15584ca655c31094",
|
||
|
"wx" : "00a824ae928cb209d3d4143a8cd10a7b29d863150a5482f873972e6031",
|
||
|
"wy" : "12f9d12f2fff94f4e0a5b9e3e5a88bc21b2d09da15584ca655c31094"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004a824ae928cb209d3d4143a8cd10a7b29d863150a5482f873972e603112f9d12f2fff94f4e0a5b9e3e5a88bc21b2d09da15584ca655c31094",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEqCSukoyyCdPUFDqM0Qp7KdhjFQpUgvhz\nly5gMRL50S8v/5T04KW54+Woi8IbLQnaFVhMplXDEJQ=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 409,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300d02050100001a90020455555e30",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04fc53f6e5bef640cdfb14fdfe17172145b795b6daea5d3eb94a995c82353627058219defd06caceed9b10520ac8e6a06ed793273c585a3ab6",
|
||
|
"wx" : "00fc53f6e5bef640cdfb14fdfe17172145b795b6daea5d3eb94a995c82",
|
||
|
"wy" : "353627058219defd06caceed9b10520ac8e6a06ed793273c585a3ab6"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004fc53f6e5bef640cdfb14fdfe17172145b795b6daea5d3eb94a995c82353627058219defd06caceed9b10520ac8e6a06ed793273c585a3ab6",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE/FP25b72QM37FP3+FxchRbeVttrqXT65\nSplcgjU2JwWCGd79BsrO7ZsQUgrI5qBu15MnPFhaOrY=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 410,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00b64b7ce572ee917838a4cd1441ce7a5870cb872b6e1afa7d474581ad",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "045e423679db282576cec351f1500a4ee1a3e6bc146b76c147c3798fe3ed029bdb0474eddaad50e2a6f2780ff184b33f4c38c03738ed6c1ba7",
|
||
|
"wx" : "5e423679db282576cec351f1500a4ee1a3e6bc146b76c147c3798fe3",
|
||
|
"wy" : "00ed029bdb0474eddaad50e2a6f2780ff184b33f4c38c03738ed6c1ba7"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00045e423679db282576cec351f1500a4ee1a3e6bc146b76c147c3798fe3ed029bdb0474eddaad50e2a6f2780ff184b33f4c38c03738ed6c1ba7",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEXkI2edsoJXbOw1HxUApO4aPmvBRrdsFH\nw3mP4+0Cm9sEdO3arVDipvJ4D/GEsz9MOMA3OO1sG6c=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 411,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c39232f26cb0fcd6b2eeb69ba41b9ef00813616da98cd16e2ef21123f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04038925a04a7e62c3f709ae4150051692290405fc3e2c0ec2eb0de4288d7148d65237c36fe18e125447adf9189793b86f5256e915c52d44d9",
|
||
|
"wx" : "038925a04a7e62c3f709ae4150051692290405fc3e2c0ec2eb0de428",
|
||
|
"wy" : "008d7148d65237c36fe18e125447adf9189793b86f5256e915c52d44d9"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004038925a04a7e62c3f709ae4150051692290405fc3e2c0ec2eb0de4288d7148d65237c36fe18e125447adf9189793b86f5256e915c52d44d9",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEA4kloEp+YsP3Ca5BUAUWkikEBfw+LA7C\n6w3kKI1xSNZSN8Nv4Y4SVEet+RiXk7hvUlbpFcUtRNk=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 412,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302502050100001a90021c121c0384a8d015f000000000000021bc8ed98db7f846a8b77b820ac0",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04b5ed1385fd9206c7e5f60ceba655e8f0fe5f46cd058ea5c756ec4296bd7fd5bd557d4fda0853583b5ab5aae1b5fc2adbecb9c0a8f4e4ad55",
|
||
|
"wx" : "00b5ed1385fd9206c7e5f60ceba655e8f0fe5f46cd058ea5c756ec4296",
|
||
|
"wy" : "00bd7fd5bd557d4fda0853583b5ab5aae1b5fc2adbecb9c0a8f4e4ad55"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004b5ed1385fd9206c7e5f60ceba655e8f0fe5f46cd058ea5c756ec4296bd7fd5bd557d4fda0853583b5ab5aae1b5fc2adbecb9c0a8f4e4ad55",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEte0Thf2SBsfl9gzrplXo8P5fRs0FjqXH\nVuxClr1/1b1VfU/aCFNYO1q1quG1/Crb7LnAqPTkrVU=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 413,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00c0384a8d015f000000000000000166177c01689b50dc2ea136641829",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04cf7680caf9081bbcf6ab137781f38cad821115358a9f14d20e343a1f500dff2e5067de9fa32331bdad78809dd195dba19f9157fb0eaf4e08",
|
||
|
"wx" : "00cf7680caf9081bbcf6ab137781f38cad821115358a9f14d20e343a1f",
|
||
|
"wy" : "500dff2e5067de9fa32331bdad78809dd195dba19f9157fb0eaf4e08"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004cf7680caf9081bbcf6ab137781f38cad821115358a9f14d20e343a1f500dff2e5067de9fa32331bdad78809dd195dba19f9157fb0eaf4e08",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEz3aAyvkIG7z2qxN3gfOMrYIRFTWKnxTS\nDjQ6H1AN/y5QZ96foyMxva14gJ3Rlduhn5FX+w6vTgg=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 414,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d008070951a02be0000000000000000ef4625166fb1d6c7b3d0f6287e5b",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04830814c8b60123572cf9e740f12de791198bc9be1f9439eff154e0a98e098f637ccfc6687f95b54f08cf9dbe246cd0b638a938d545a3df91",
|
||
|
"wx" : "00830814c8b60123572cf9e740f12de791198bc9be1f9439eff154e0a9",
|
||
|
"wy" : "008e098f637ccfc6687f95b54f08cf9dbe246cd0b638a938d545a3df91"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004830814c8b60123572cf9e740f12de791198bc9be1f9439eff154e0a98e098f637ccfc6687f95b54f08cf9dbe246cd0b638a938d545a3df91",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEgwgUyLYBI1cs+edA8S3nkRmLyb4flDnv\n8VTgqY4Jj2N8z8Zof5W1TwjPnb4kbNC2OKk41UWj35E=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 415,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d00a8d015f0000000000000000000013a7c7074b3a182ae23e0218e57a4",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04976242536e189112598b48a6cd3603aea2e573f95f780c04e55ecbdecc06c81713c45020788448e707fed861bc6ca97d8790a3ca93fc14e2",
|
||
|
"wx" : "00976242536e189112598b48a6cd3603aea2e573f95f780c04e55ecbde",
|
||
|
"wy" : "00cc06c81713c45020788448e707fed861bc6ca97d8790a3ca93fc14e2"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004976242536e189112598b48a6cd3603aea2e573f95f780c04e55ecbdecc06c81713c45020788448e707fed861bc6ca97d8790a3ca93fc14e2",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEl2JCU24YkRJZi0imzTYDrqLlc/lfeAwE\n5V7L3swGyBcTxFAgeIRI5wf+2GG8bKl9h5CjypP8FOI=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 416,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d010000000000000000000000000001dce8d2ec6184caf0a9716866ccef",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "041f087f752f3e023f66d5487d9123375d11161b516174455bcc18764dba3f6edb1ffc8c5cdb338bdfde9363361db29df1662d375959260a02",
|
||
|
"wx" : "1f087f752f3e023f66d5487d9123375d11161b516174455bcc18764d",
|
||
|
"wy" : "00ba3f6edb1ffc8c5cdb338bdfde9363361db29df1662d375959260a02"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00041f087f752f3e023f66d5487d9123375d11161b516174455bcc18764dba3f6edb1ffc8c5cdb338bdfde9363361db29df1662d375959260a02",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEHwh/dS8+Aj9m1Uh9kSM3XREWG1FhdEVb\nzBh2Tbo/btsf/Ixc2zOL396TYzYdsp3xZi03WVkmCgI=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 417,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d010000000000000000000000000001dce8d2ec6184caf0a971214a53c7",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04e4220766ddba093f8d7b44b4a2c6631808e31a30eb019a1b50d94ee2faecc0a837e7e88a96f9848ec32bb52032fb66f1aa171c3fe7819f52",
|
||
|
"wx" : "00e4220766ddba093f8d7b44b4a2c6631808e31a30eb019a1b50d94ee2",
|
||
|
"wy" : "00faecc0a837e7e88a96f9848ec32bb52032fb66f1aa171c3fe7819f52"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004e4220766ddba093f8d7b44b4a2c6631808e31a30eb019a1b50d94ee2faecc0a837e7e88a96f9848ec32bb52032fb66f1aa171c3fe7819f52",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE5CIHZt26CT+Ne0S0osZjGAjjGjDrAZob\nUNlO4vrswKg35+iKlvmEjsMrtSAy+2bxqhccP+eBn1I=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 418,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d010000000000000000000000000001dce8d2ec6184caf0a970f69fa4af",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "041fd75eec503aa7f892d5133b8348e1888a40f1af64aefa0b480010af76509a2b5607ee7a1d87cfd6f9e8cc5255b783809e56ddaa8f4151f6",
|
||
|
"wx" : "1fd75eec503aa7f892d5133b8348e1888a40f1af64aefa0b480010af",
|
||
|
"wy" : "76509a2b5607ee7a1d87cfd6f9e8cc5255b783809e56ddaa8f4151f6"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00041fd75eec503aa7f892d5133b8348e1888a40f1af64aefa0b480010af76509a2b5607ee7a1d87cfd6f9e8cc5255b783809e56ddaa8f4151f6",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEH9de7FA6p/iS1RM7g0jhiIpA8a9krvoL\nSAAQr3ZQmitWB+56HYfP1vnozFJVt4OAnlbdqo9BUfY=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 419,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302602050100001a90021d009c9197936587e6b59775b4dd20dde5f4aa113c2fb1dee02a32e0621b",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04dcdfd288cd39527cae16e666d7c1ab01fd548599251e9c7dfd3195f81e72a8cf308f14ac7cff3eeb189e29e56be9cc4dace858299d2a6ab9",
|
||
|
"wx" : "00dcdfd288cd39527cae16e666d7c1ab01fd548599251e9c7dfd3195f8",
|
||
|
"wy" : "1e72a8cf308f14ac7cff3eeb189e29e56be9cc4dace858299d2a6ab9"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004dcdfd288cd39527cae16e666d7c1ab01fd548599251e9c7dfd3195f81e72a8cf308f14ac7cff3eeb189e29e56be9cc4dace858299d2a6ab9",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE3N/SiM05UnyuFuZm18GrAf1UhZklHpx9\n/TGV+B5yqM8wjxSsfP8+6xieKeVr6cxNrOhYKZ0qark=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 420,
|
||
|
"comment" : "point duplication during verification",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00c294f85b63b7c629862a1d3afbf880caf92695bc763a51bf8b3450ee021c17dffe0d34cffc00054c58130dd5bd8e069e95fc4acab8bccdacdfe6",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04dcdfd288cd39527cae16e666d7c1ab01fd548599251e9c7dfd3195f8e18d5730cf70eb538300c114e761d61a941633b25317a7d562d57ab4",
|
||
|
"wx" : "00dcdfd288cd39527cae16e666d7c1ab01fd548599251e9c7dfd3195f8",
|
||
|
"wy" : "00e18d5730cf70eb538300c114e761d61a941633b25317a7d562d57ab4"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004dcdfd288cd39527cae16e666d7c1ab01fd548599251e9c7dfd3195f8e18d5730cf70eb538300c114e761d61a941633b25317a7d562d57ab4",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE3N/SiM05UnyuFuZm18GrAf1UhZklHpx9\n/TGV+OGNVzDPcOtTgwDBFOdh1hqUFjOyUxen1WLVerQ=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 421,
|
||
|
"comment" : "duplication bug",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00c294f85b63b7c629862a1d3afbf880caf92695bc763a51bf8b3450ee021c17dffe0d34cffc00054c58130dd5bd8e069e95fc4acab8bccdacdfe6",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "045126d8509cc88bd0ae29c97062b8ba4b416906294a9331bc678dd36265171023f5de2d1c8a2da0080f50b29972875fc7c1bf9428d95aa704",
|
||
|
"wx" : "5126d8509cc88bd0ae29c97062b8ba4b416906294a9331bc678dd362",
|
||
|
"wy" : "65171023f5de2d1c8a2da0080f50b29972875fc7c1bf9428d95aa704"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00045126d8509cc88bd0ae29c97062b8ba4b416906294a9331bc678dd36265171023f5de2d1c8a2da0080f50b29972875fc7c1bf9428d95aa704",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEUSbYUJzIi9CuKclwYri6S0FpBilKkzG8\nZ43TYmUXECP13i0cii2gCA9Qsplyh1/Hwb+UKNlapwQ=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 422,
|
||
|
"comment" : "comparison with point at infinity ",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303c021c5555555555555555555555555555f44d9ba4208198fae325d2353b52021c33333333333333333333333333339294f6fc1380f5635516b1532397",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04ad0435d05538bdea3b6f75bd2157af6e581ba0470e6b176fe48fc43a45e9de57c4f65768602c6dbc3f48232a3ab5d8a475509a63727a08ac",
|
||
|
"wx" : "00ad0435d05538bdea3b6f75bd2157af6e581ba0470e6b176fe48fc43a",
|
||
|
"wy" : "45e9de57c4f65768602c6dbc3f48232a3ab5d8a475509a63727a08ac"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004ad0435d05538bdea3b6f75bd2157af6e581ba0470e6b176fe48fc43a45e9de57c4f65768602c6dbc3f48232a3ab5d8a475509a63727a08ac",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAErQQ10FU4veo7b3W9IVevblgboEcOaxdv\n5I/EOkXp3lfE9ldoYCxtvD9IIyo6tdikdVCaY3J6CKw=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 423,
|
||
|
"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" : "04721c01fa7cfe06059affd4de9c75c7b556cf7f02490cfc4644b48b1e93db5689ff2282693dd1e19ac2fae301b0d410e5b8ce778485216545",
|
||
|
"wx" : "721c01fa7cfe06059affd4de9c75c7b556cf7f02490cfc4644b48b1e",
|
||
|
"wy" : "0093db5689ff2282693dd1e19ac2fae301b0d410e5b8ce778485216545"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004721c01fa7cfe06059affd4de9c75c7b556cf7f02490cfc4644b48b1e93db5689ff2282693dd1e19ac2fae301b0d410e5b8ce778485216545",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEchwB+nz+BgWa/9TenHXHtVbPfwJJDPxG\nRLSLHpPbVon/IoJpPdHhmsL64wGw1BDluM53hIUhZUU=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 424,
|
||
|
"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" : "04c8ea63c6afe1c64474e13b6d579fd9edf20f75b9ecb60150c4041ad6adfa14549ecae5920029195e4c5426038ba70058c7f3fdd394d932de",
|
||
|
"wx" : "00c8ea63c6afe1c64474e13b6d579fd9edf20f75b9ecb60150c4041ad6",
|
||
|
"wy" : "00adfa14549ecae5920029195e4c5426038ba70058c7f3fdd394d932de"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004c8ea63c6afe1c64474e13b6d579fd9edf20f75b9ecb60150c4041ad6adfa14549ecae5920029195e4c5426038ba70058c7f3fdd394d932de",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEyOpjxq/hxkR04TttV5/Z7fIPdbnstgFQ\nxAQa1q36FFSeyuWSACkZXkxUJgOLpwBYx/P905TZMt4=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 425,
|
||
|
"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" : "047f6ccdfc4bc1a0a699d938b6bcbbc7930b1374772c64e458a3396105e1b8048589069de732a8935f3c40e1dfb9b215ef95ae173eda60f03c",
|
||
|
"wx" : "7f6ccdfc4bc1a0a699d938b6bcbbc7930b1374772c64e458a3396105",
|
||
|
"wy" : "00e1b8048589069de732a8935f3c40e1dfb9b215ef95ae173eda60f03c"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00047f6ccdfc4bc1a0a699d938b6bcbbc7930b1374772c64e458a3396105e1b8048589069de732a8935f3c40e1dfb9b215ef95ae173eda60f03c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEf2zN/EvBoKaZ2Ti2vLvHkwsTdHcsZORY\nozlhBeG4BIWJBp3nMqiTXzxA4d+5shXvla4XPtpg8Dw=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 426,
|
||
|
"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" : "04060a436d62c31fe65f90eb80347182d818c898155f1c821c829a2eaa45db9ff41a6f5e6a6c7ae4eb7ae1bcb53db9c95768e907c8b4d446e7",
|
||
|
"wx" : "060a436d62c31fe65f90eb80347182d818c898155f1c821c829a2eaa",
|
||
|
"wy" : "45db9ff41a6f5e6a6c7ae4eb7ae1bcb53db9c95768e907c8b4d446e7"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004060a436d62c31fe65f90eb80347182d818c898155f1c821c829a2eaa45db9ff41a6f5e6a6c7ae4eb7ae1bcb53db9c95768e907c8b4d446e7",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEBgpDbWLDH+ZfkOuANHGC2BjImBVfHIIc\ngpouqkXbn/Qab15qbHrk63rhvLU9uclXaOkHyLTURuc=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 427,
|
||
|
"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" : "04dbabab2e4f527a54179119636e0cbfe1ff47898d711054e668530c281127e0ee1ccc776155d9e957f5cf8a14f138b47c51b3b98b3a52b658",
|
||
|
"wx" : "00dbabab2e4f527a54179119636e0cbfe1ff47898d711054e668530c28",
|
||
|
"wy" : "1127e0ee1ccc776155d9e957f5cf8a14f138b47c51b3b98b3a52b658"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004dbabab2e4f527a54179119636e0cbfe1ff47898d711054e668530c281127e0ee1ccc776155d9e957f5cf8a14f138b47c51b3b98b3a52b658",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE26urLk9SelQXkRljbgy/4f9HiY1xEFTm\naFMMKBEn4O4czHdhVdnpV/XPihTxOLR8UbO5izpStlg=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 428,
|
||
|
"comment" : "extreme value for k",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d0086c0deb56aeb9712390999a0232b9bf596b9639fa1ce8cf426749e60021c0eb10e5ab95e2e3a079268cf3a6524239ef04127208663a54968804f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp224k1",
|
||
|
"keySize" : 224,
|
||
|
"uncompressed" : "04ff74391905cadc0cd906fa519a873b04d46fb0a5950a6d2739b7c2386124bc5f2538b2195a99ff9bebf89e49cf890d22096e0c9e9f455651",
|
||
|
"wx" : "00ff74391905cadc0cd906fa519a873b04d46fb0a5950a6d2739b7c238",
|
||
|
"wy" : "6124bc5f2538b2195a99ff9bebf89e49cf890d22096e0c9e9f455651"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004ff74391905cadc0cd906fa519a873b04d46fb0a5950a6d2739b7c2386124bc5f2538b2195a99ff9bebf89e49cf890d22096e0c9e9f455651",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE/3Q5GQXK3AzZBvpRmoc7BNRvsKWVCm0n\nObfCOGEkvF8lOLIZWpn/m+v4nknPiQ0iCW4Mnp9FVlE=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 429,
|
||
|
"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" : "04bc641827b39c4035b146fbba8c0b8b4d160781ef18ff59b4e9a0e8fd7e772274ea9aa156c6891f4132c009191f881e6fc534bbd222481b11",
|
||
|
"wx" : "00bc641827b39c4035b146fbba8c0b8b4d160781ef18ff59b4e9a0e8fd",
|
||
|
"wy" : "7e772274ea9aa156c6891f4132c009191f881e6fc534bbd222481b11"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004bc641827b39c4035b146fbba8c0b8b4d160781ef18ff59b4e9a0e8fd7e772274ea9aa156c6891f4132c009191f881e6fc534bbd222481b11",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEvGQYJ7OcQDWxRvu6jAuLTRYHge8Y/1m0\n6aDo/X53InTqmqFWxokfQTLACRkfiB5vxTS70iJIGxE=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 430,
|
||
|
"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" : "042e7cb47b3bf0bd2f1708f89161b9310f6b72db0245bb4bfb9a175ecf23bbb92cd72771d510e6ffe99f40079d38b37aa1ba08db2f9e96fa6b",
|
||
|
"wx" : "2e7cb47b3bf0bd2f1708f89161b9310f6b72db0245bb4bfb9a175ecf",
|
||
|
"wy" : "23bbb92cd72771d510e6ffe99f40079d38b37aa1ba08db2f9e96fa6b"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00042e7cb47b3bf0bd2f1708f89161b9310f6b72db0245bb4bfb9a175ecf23bbb92cd72771d510e6ffe99f40079d38b37aa1ba08db2f9e96fa6b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAELny0ezvwvS8XCPiRYbkxD2ty2wJFu0v7\nmhdezyO7uSzXJ3HVEOb/6Z9AB504s3qhugjbL56W+ms=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 431,
|
||
|
"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" : "041bc33add16c9f6d80dbe98dd620408976c497b2bba6bb1a390c5219074821a06d64f86ee2b0888efb032c9731367898eb398836e5fbeb5bb",
|
||
|
"wx" : "1bc33add16c9f6d80dbe98dd620408976c497b2bba6bb1a390c52190",
|
||
|
"wy" : "74821a06d64f86ee2b0888efb032c9731367898eb398836e5fbeb5bb"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a00041bc33add16c9f6d80dbe98dd620408976c497b2bba6bb1a390c5219074821a06d64f86ee2b0888efb032c9731367898eb398836e5fbeb5bb",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEG8M63RbJ9tgNvpjdYgQIl2xJeyu6a7Gj\nkMUhkHSCGgbWT4buKwiI77AyyXMTZ4mOs5iDbl++tbs=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 432,
|
||
|
"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" : "04ea602b888ac8095114fbb0bfd56d2df146df5a5d664370e33b0c9e9fcab9b3aff24ac5b4282a7f1e32a375991028bd5fe3a8a1d211928506",
|
||
|
"wx" : "00ea602b888ac8095114fbb0bfd56d2df146df5a5d664370e33b0c9e9f",
|
||
|
"wy" : "00cab9b3aff24ac5b4282a7f1e32a375991028bd5fe3a8a1d211928506"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a0004ea602b888ac8095114fbb0bfd56d2df146df5a5d664370e33b0c9e9fcab9b3aff24ac5b4282a7f1e32a375991028bd5fe3a8a1d211928506",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAE6mAriIrICVEU+7C/1W0t8UbfWl1mQ3Dj\nOwyen8q5s6/ySsW0KCp/HjKjdZkQKL1f46ih0hGShQY=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 433,
|
||
|
"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" : "0483e6196134f944eb73a0239b6eb32249eefb5bc91a135e46efb97a95bed598f10b7a81ca181366fc087eaf48bcf47ad8ecaf720f7f72d992",
|
||
|
"wx" : "0083e6196134f944eb73a0239b6eb32249eefb5bc91a135e46efb97a95",
|
||
|
"wy" : "00bed598f10b7a81ca181366fc087eaf48bcf47ad8ecaf720f7f72d992"
|
||
|
},
|
||
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040020033a000483e6196134f944eb73a0239b6eb32249eefb5bc91a135e46efb97a95bed598f10b7a81ca181366fc087eaf48bcf47ad8ecaf720f7f72d992",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAEg+YZYTT5ROtzoCObbrMiSe77W8kaE15G\n77l6lb7VmPELeoHKGBNm/Ah+r0i89HrY7K9yD39y2ZI=\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHA-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 434,
|
||
|
"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-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 435,
|
||
|
"comment" : "public key shares x-coordinate with generator",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d0176b4a5e85f3924c3da86c3eb284543c6006dcf86564e19100f4833fd021c24924924924924924924924924928d45d4fd3280af46f3a27ea9196c",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 436,
|
||
|
"comment" : "public key shares x-coordinate with generator",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00894b5a17a0c6db3c25793c14d7be760ba56af3833f9339d2ddf72ff1021c24924924924924924924924924928d45d4fd3280af46f3a27ea9196c",
|
||
|
"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-256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 437,
|
||
|
"comment" : "public key shares x-coordinate with generator",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d0176b4a5e85f3924c3da86c3eb284543c6006dcf86564e19100f4833fd021c24924924924924924924924924928d45d4fd3280af46f3a27ea9196c",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 438,
|
||
|
"comment" : "public key shares x-coordinate with generator",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "303d021d00894b5a17a0c6db3c25793c14d7be760ba56af3833f9339d2ddf72ff1021c24924924924924924924924924928d45d4fd3280af46f3a27ea9196c",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|