7121 lines
321 KiB
JSON
7121 lines
321 KiB
JSON
|
{
|
||
|
"algorithm" : "ECDSA",
|
||
|
"schema" : "ecdsa_verify_schema.json",
|
||
|
"generatorVersion" : "0.9",
|
||
|
"numberOfTests" : 539,
|
||
|
"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"
|
||
|
]
|
||
|
},
|
||
|
"EdgeCasePublicKey" : {
|
||
|
"bugType" : "EDGE_CASE",
|
||
|
"description" : "The test vector uses a special case public key. "
|
||
|
},
|
||
|
"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" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04782c8ed17e3b2a783b5464f33b09652a71c678e05ec51e84e2bcfc663a3de963af9acb4280b8c7f7c42f4ef9aba6245ec1ec1712fd38a0fa96418d8cd6aa6152",
|
||
|
"wx" : "782c8ed17e3b2a783b5464f33b09652a71c678e05ec51e84e2bcfc663a3de963",
|
||
|
"wy" : "00af9acb4280b8c7f7c42f4ef9aba6245ec1ec1712fd38a0fa96418d8cd6aa6152"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004782c8ed17e3b2a783b5464f33b09652a71c678e05ec51e84e2bcfc663a3de963af9acb4280b8c7f7c42f4ef9aba6245ec1ec1712fd38a0fa96418d8cd6aa6152",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeCyO0X47Kng7VGTzOwllKnHGeOBexR6E\n4rz8Zjo96WOvmstCgLjH98QvTvmrpiRewewXEv04oPqWQY2M1qphUg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 1,
|
||
|
"comment" : "pseudorandom signature",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "",
|
||
|
"sig" : "30440220628b14cbf72917074fa426d416fa5c48f06478530212ad30ae2e9010b8c6fdec0220388acfa3ec598bfaf6688d476ee0cef3e8bf39eb316fcc1aa543d281990d187c",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 2,
|
||
|
"comment" : "pseudorandom signature",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "4d7367",
|
||
|
"sig" : "30450220637773158eadcb85866081effe3a45d179b18351eff65f1ab3856a60f7b4b49d022100fe84f96c9e6949a9c9577b79969a44c328f51ff667466721a0959ae6f1ba93c6",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 3,
|
||
|
"comment" : "pseudorandom signature",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402205a2b4d1b450c88b0eec269c6767089b5aafb38f617957a357cfa6e9ae4515fc9022054f4fb30d46fff7bc676fab15b3619168dd82bf8b568ec2fb2e6d1fa9aac3d16",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 4,
|
||
|
"comment" : "pseudorandom signature",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "0000000000000000000000000000000000000000",
|
||
|
"sig" : "30440220588e02f8dadedba87c109febaf429d306750f840284f8bf332b78793163f85930220645e04e95f243fb9aa72d23aa276bb226002492289a68b5c87031a27d8050305",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6ff0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9",
|
||
|
"wx" : "00b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6f",
|
||
|
"wy" : "00f0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6ff0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEuDj/ROW8F3vyEYnQdmCC/J2EMiaIf8l2\nA3EQC37iCm/wyddb+6ezGmvKGXRJbutW3jVwcZVdg8Sxutqgshgy6Q==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 5,
|
||
|
"comment" : "signature malleability",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022004176f8eb0d09bbf556ea61cdbd899523e1ad8222e79daf4d1925aeb35cf564b",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 6,
|
||
|
"comment" : "Legacy: ASN encoding of r misses leading 0",
|
||
|
"flags" : [
|
||
|
"MissingZero"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30450220ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 7,
|
||
|
"comment" : "Legacy: ASN encoding of s misses leading 0",
|
||
|
"flags" : [
|
||
|
"MissingZero"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0220fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 8,
|
||
|
"comment" : "valid",
|
||
|
"flags" : [
|
||
|
"ValidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 9,
|
||
|
"comment" : "length of sequence [r, s] uses long form encoding",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "308146022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 10,
|
||
|
"comment" : "length of sequence [r, s] contains a leading 0",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30820046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 11,
|
||
|
"comment" : "length of sequence [r, s] uses 71 instead of 70",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3047022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 12,
|
||
|
"comment" : "length of sequence [r, s] uses 69 instead of 70",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 13,
|
||
|
"comment" : "uint32 overflow in length of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30850100000046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 14,
|
||
|
"comment" : "uint64 overflow in length of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3089010000000000000046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 15,
|
||
|
"comment" : "length of sequence [r, s] = 2**31 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30847fffffff022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 16,
|
||
|
"comment" : "length of sequence [r, s] = 2**31",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "308480000000022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 17,
|
||
|
"comment" : "length of sequence [r, s] = 2**32 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3084ffffffff022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 18,
|
||
|
"comment" : "length of sequence [r, s] = 2**40 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3085ffffffffff022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 19,
|
||
|
"comment" : "length of sequence [r, s] = 2**64 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3088ffffffffffffffff022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 20,
|
||
|
"comment" : "incorrect length of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30ff022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 21,
|
||
|
"comment" : "replaced sequence [r, s] by an indefinite length tag without termination",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 22,
|
||
|
"comment" : "removing sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 23,
|
||
|
"comment" : "lonely sequence tag",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 24,
|
||
|
"comment" : "appending 0's to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3048022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 25,
|
||
|
"comment" : "prepending 0's to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30480000022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 26,
|
||
|
"comment" : "appending unused 0's to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 27,
|
||
|
"comment" : "appending null value to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3048022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 28,
|
||
|
"comment" : "prepending garbage to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304b4981773046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 29,
|
||
|
"comment" : "prepending garbage to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a25003046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 30,
|
||
|
"comment" : "appending garbage to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30483046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60004deadbeef",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 31,
|
||
|
"comment" : "including undefined tags",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304eaa00bb00cd003046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 32,
|
||
|
"comment" : "including undefined tags",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304e2229aa00bb00cd00022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 33,
|
||
|
"comment" : "including undefined tags",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304e022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d2229aa00bb00cd00022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 34,
|
||
|
"comment" : "truncated length of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3081",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 35,
|
||
|
"comment" : "including undefined tags to sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304caa02aabb3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 36,
|
||
|
"comment" : "using composition with indefinite length for sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30803046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 37,
|
||
|
"comment" : "using composition with wrong tag for sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30803146022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 38,
|
||
|
"comment" : "Replacing sequence [r, s] with NULL",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "0500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 39,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "2e46022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 40,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "2f46022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 41,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3146022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 42,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3246022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 43,
|
||
|
"comment" : "changing tag value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "ff46022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 44,
|
||
|
"comment" : "dropping value of sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 45,
|
||
|
"comment" : "using composition for sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a30010230452100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 46,
|
||
|
"comment" : "truncated sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66ea",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 47,
|
||
|
"comment" : "truncated sequence [r, s]",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30452100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 48,
|
||
|
"comment" : "sequence [r, s] of size 4167 to check for overflows",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30821047022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 49,
|
||
|
"comment" : "indefinite length",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 50,
|
||
|
"comment" : "indefinite length with truncated delimiter",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf600",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 51,
|
||
|
"comment" : "indefinite length with additional element",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf605000000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 52,
|
||
|
"comment" : "indefinite length with truncated element",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6060811220000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 53,
|
||
|
"comment" : "indefinite length with garbage",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60000fe02beef",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 54,
|
||
|
"comment" : "indefinite length with nonempty EOC",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3080022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60002beef",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 55,
|
||
|
"comment" : "prepend empty sequence",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30483000022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 56,
|
||
|
"comment" : "append empty sequence",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3048022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf63000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 57,
|
||
|
"comment" : "append zero",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3049022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 58,
|
||
|
"comment" : "append garbage with high tag number",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3049022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6bf7f00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 59,
|
||
|
"comment" : "append null with explicit tag",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6a0020500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 60,
|
||
|
"comment" : "append null with implicit tag",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3048022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6a000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 61,
|
||
|
"comment" : "sequence of sequence",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30483046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 62,
|
||
|
"comment" : "truncated sequence: removed last 1 elements",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3023022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 63,
|
||
|
"comment" : "repeating element in sequence",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3069022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 64,
|
||
|
"comment" : "flipped bit 0 in r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304400ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7c022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 65,
|
||
|
"comment" : "flipped bit 32 in r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304400ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250194084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 66,
|
||
|
"comment" : "flipped bit 48 in r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304400ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac1250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 67,
|
||
|
"comment" : "flipped bit 64 in r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304400ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef12ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 68,
|
||
|
"comment" : "length of r uses long form encoding",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304702812100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 69,
|
||
|
"comment" : "length of r contains a leading 0",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30480282002100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 70,
|
||
|
"comment" : "length of r uses 34 instead of 33",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022200ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 71,
|
||
|
"comment" : "length of r uses 32 instead of 33",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022000ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 72,
|
||
|
"comment" : "uint32 overflow in length of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304b0285010000002100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 73,
|
||
|
"comment" : "uint64 overflow in length of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304f028901000000000000002100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 74,
|
||
|
"comment" : "length of r = 2**31 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a02847fffffff00ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 75,
|
||
|
"comment" : "length of r = 2**31",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a02848000000000ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 76,
|
||
|
"comment" : "length of r = 2**32 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a0284ffffffff00ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 77,
|
||
|
"comment" : "length of r = 2**40 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304b0285ffffffffff00ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 78,
|
||
|
"comment" : "length of r = 2**64 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304e0288ffffffffffffffff00ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 79,
|
||
|
"comment" : "incorrect length of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304602ff00ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 80,
|
||
|
"comment" : "replaced r by an indefinite length tag without termination",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046028000ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 81,
|
||
|
"comment" : "removing r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3023022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 82,
|
||
|
"comment" : "lonely integer tag",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302402022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 83,
|
||
|
"comment" : "lonely integer tag",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3024022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d02",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 84,
|
||
|
"comment" : "appending 0's to r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3048022300ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0000022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 85,
|
||
|
"comment" : "prepending 0's to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30480223000000ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 86,
|
||
|
"comment" : "appending unused 0's to r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3048022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0000022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 87,
|
||
|
"comment" : "appending null value to r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3048022300ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0500022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 88,
|
||
|
"comment" : "prepending garbage to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304b2226498177022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 89,
|
||
|
"comment" : "prepending garbage to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a22252500022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 90,
|
||
|
"comment" : "appending garbage to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304e2223022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0004deadbeef022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 91,
|
||
|
"comment" : "truncated length of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30250281022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 92,
|
||
|
"comment" : "including undefined tags to r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304c2227aa02aabb022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 93,
|
||
|
"comment" : "using composition with indefinite length for r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a2280022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0000022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 94,
|
||
|
"comment" : "using composition with wrong tag for r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a2280032100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0000022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 95,
|
||
|
"comment" : "Replacing r with NULL",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30250500022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 96,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046002100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 97,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046012100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 98,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046032100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 99,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046042100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 100,
|
||
|
"comment" : "changing tag value of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046ff2100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 101,
|
||
|
"comment" : "dropping value of r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30250200022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 102,
|
||
|
"comment" : "using composition for r",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a22250201000220ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 103,
|
||
|
"comment" : "modifying first byte of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022102ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 104,
|
||
|
"comment" : "modifying last byte of r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084ffd022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 105,
|
||
|
"comment" : "truncated r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022000ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 106,
|
||
|
"comment" : "r of size 4130 to check for overflows",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "308210490282102200ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 107,
|
||
|
"comment" : "leading ff in r",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30470222ff00ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 108,
|
||
|
"comment" : "replaced r by infinity",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026090180022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 109,
|
||
|
"comment" : "replacing r with zero",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020100022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 110,
|
||
|
"comment" : "flipped bit 0 in s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d00fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf7",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 111,
|
||
|
"comment" : "flipped bit 32 in s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d00fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a09a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 112,
|
||
|
"comment" : "flipped bit 48 in s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d00fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4103a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 113,
|
||
|
"comment" : "flipped bit 64 in s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d00fbe890714f2f6440aa9159e3242766ac7c9404c480cec547ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 114,
|
||
|
"comment" : "length of s uses long form encoding",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3047022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d02812100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 115,
|
||
|
"comment" : "length of s contains a leading 0",
|
||
|
"flags" : [
|
||
|
"BerEncodedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3048022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0282002100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 116,
|
||
|
"comment" : "length of s uses 34 instead of 33",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022200fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 117,
|
||
|
"comment" : "length of s uses 32 instead of 33",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022000fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 118,
|
||
|
"comment" : "uint32 overflow in length of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304b022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0285010000002100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 119,
|
||
|
"comment" : "uint64 overflow in length of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304f022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d028901000000000000002100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 120,
|
||
|
"comment" : "length of s = 2**31 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d02847fffffff00fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 121,
|
||
|
"comment" : "length of s = 2**31",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d02848000000000fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 122,
|
||
|
"comment" : "length of s = 2**32 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0284ffffffff00fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 123,
|
||
|
"comment" : "length of s = 2**40 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304b022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0285ffffffffff00fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 124,
|
||
|
"comment" : "length of s = 2**64 - 1",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304e022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0288ffffffffffffffff00fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 125,
|
||
|
"comment" : "incorrect length of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d02ff00fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 126,
|
||
|
"comment" : "replaced s by an indefinite length tag without termination",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d028000fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 127,
|
||
|
"comment" : "appending 0's to s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3048022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022300fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 128,
|
||
|
"comment" : "prepending 0's to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3048022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0223000000fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 129,
|
||
|
"comment" : "appending null value to s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3048022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022300fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 130,
|
||
|
"comment" : "prepending garbage to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304b022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d2226498177022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 131,
|
||
|
"comment" : "prepending garbage to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d22252500022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 132,
|
||
|
"comment" : "appending garbage to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304e022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d2223022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60004deadbeef",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 133,
|
||
|
"comment" : "truncated length of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3025022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0281",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 134,
|
||
|
"comment" : "including undefined tags to s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304c022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d2227aa02aabb022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 135,
|
||
|
"comment" : "using composition with indefinite length for s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d2280022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 136,
|
||
|
"comment" : "using composition with wrong tag for s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d2280032100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf60000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 137,
|
||
|
"comment" : "Replacing s with NULL",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3025022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 138,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d002100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 139,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d012100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 140,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d032100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 141,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d042100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 142,
|
||
|
"comment" : "changing tag value of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7dff2100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 143,
|
||
|
"comment" : "dropping value of s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3025022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0200",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 144,
|
||
|
"comment" : "using composition for s",
|
||
|
"flags" : [
|
||
|
"InvalidEncoding"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304a022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d22250201000220fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 145,
|
||
|
"comment" : "modifying first byte of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022102fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 146,
|
||
|
"comment" : "modifying last byte of s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66ea76",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 147,
|
||
|
"comment" : "truncated s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022000fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66ea",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 148,
|
||
|
"comment" : "s of size 4130 to check for overflows",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30821049022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0282102200fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 149,
|
||
|
"comment" : "leading ff in s",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3047022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d0222ff00fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 150,
|
||
|
"comment" : "replaced s by infinity",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d090180",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 151,
|
||
|
"comment" : "replacing s with zero",
|
||
|
"flags" : [
|
||
|
"ModifiedSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 152,
|
||
|
"comment" : "replaced r by r + n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022101ddcd43e8cdb75e3c286984ef197e212b39b70b7b640a0f2bea92838d643e90be022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 153,
|
||
|
"comment" : "replaced r by r - n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30450220ddcd43e8cdb75e3c286984ef197e212dc45951ae0578ceb46aedc673c3d20e3c022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 154,
|
||
|
"comment" : "replaced r by r + 256 * n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304702220100ddcd43e8cdb75e3c286984ef197e1fe72de51543fd61aaaffd1eb1d0ca49907d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 155,
|
||
|
"comment" : "replaced r by -r",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30460221ff2232bc173248a1c3d7967b10e681ded380f7d16b4b3e910fd53fdaff6bf7b083022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 156,
|
||
|
"comment" : "replaced r by n - r",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502202232bc173248a1c3d7967b10e681ded23ba6ae51fa87314b9512398c3c2df1c4022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 157,
|
||
|
"comment" : "replaced r by -n - r",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30460221fe2232bc173248a1c3d7967b10e681ded4c648f4849bf5f0d4156d7c729bc16f42022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 158,
|
||
|
"comment" : "replaced r by r + 2**256",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022101ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 159,
|
||
|
"comment" : "replaced r by r + 2**320",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304e0229010000000000000000ddcd43e8cdb75e3c286984ef197e212c7f082e94b4c16ef02ac0250094084f7d022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 160,
|
||
|
"comment" : "replaced s by s + n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022101fbe890714f2f6440aa9159e3242766ab3742e1ab30176582ae12622e6a9d2c37022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 161,
|
||
|
"comment" : "replaced s by s - n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30450220fbe890714f2f6440aa9159e3242766adc1e527ddd186250b2e6da514ca30a9b5022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 162,
|
||
|
"comment" : "replaced s by s + 256 * n",
|
||
|
"flags" : [
|
||
|
"RangeCheck"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304702220100fbe890714f2f6440aa9159e3242765672b70eb73c96f0106c09e9071d0a82bf6022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 163,
|
||
|
"comment" : "replaced s by -s",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30460221ff04176f8eb0d09bbf556ea61cdbd89953836bfb3b7f313ab911bffc5e6599150a022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 164,
|
||
|
"comment" : "replaced s by -n - s",
|
||
|
"flags" : [
|
||
|
"ModifiedInteger"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30460221fe04176f8eb0d09bbf556ea61cdbd89954c8bd1e54cfe89a7d51ed9dd19562d3c9022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 165,
|
||
|
"comment" : "replaced s by s + 2**256",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022101fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 166,
|
||
|
"comment" : "replaced s by s - 2**256",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30450220fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 167,
|
||
|
"comment" : "replaced s by s + 2**320",
|
||
|
"flags" : [
|
||
|
"IntegerOverflow"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304e0229010000000000000000fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6022100fbe890714f2f6440aa9159e3242766ac7c9404c480cec546ee4003a19a66eaf6",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 168,
|
||
|
"comment" : "Signature with special case values r=0 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 169,
|
||
|
"comment" : "Signature with special case values r=0 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 170,
|
||
|
"comment" : "Signature with special case values r=0 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201000201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 171,
|
||
|
"comment" : "Signature with special case values r=0 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 172,
|
||
|
"comment" : "Signature with special case values r=0 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 173,
|
||
|
"comment" : "Signature with special case values r=0 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 174,
|
||
|
"comment" : "Signature with special case values r=0 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 175,
|
||
|
"comment" : "Signature with special case values r=0 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 176,
|
||
|
"comment" : "Signature with special case values r=1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 177,
|
||
|
"comment" : "Signature with special case values r=1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 178,
|
||
|
"comment" : "Signature with special case values r=1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201010201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 179,
|
||
|
"comment" : "Signature with special case values r=1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 180,
|
||
|
"comment" : "Signature with special case values r=1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 181,
|
||
|
"comment" : "Signature with special case values r=1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 182,
|
||
|
"comment" : "Signature with special case values r=1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 183,
|
||
|
"comment" : "Signature with special case values r=1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 184,
|
||
|
"comment" : "Signature with special case values r=-1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 185,
|
||
|
"comment" : "Signature with special case values r=-1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 186,
|
||
|
"comment" : "Signature with special case values r=-1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff0201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 187,
|
||
|
"comment" : "Signature with special case values r=-1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 188,
|
||
|
"comment" : "Signature with special case values r=-1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 189,
|
||
|
"comment" : "Signature with special case values r=-1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 190,
|
||
|
"comment" : "Signature with special case values r=-1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 191,
|
||
|
"comment" : "Signature with special case values r=-1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 192,
|
||
|
"comment" : "Signature with special case values r=n and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 193,
|
||
|
"comment" : "Signature with special case values r=n and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 194,
|
||
|
"comment" : "Signature with special case values r=n and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 195,
|
||
|
"comment" : "Signature with special case values r=n and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 196,
|
||
|
"comment" : "Signature with special case values r=n and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 197,
|
||
|
"comment" : "Signature with special case values r=n and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 198,
|
||
|
"comment" : "Signature with special case values r=n and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 199,
|
||
|
"comment" : "Signature with special case values r=n and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 200,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 201,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 202,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641400201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 203,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 204,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 205,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 206,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 207,
|
||
|
"comment" : "Signature with special case values r=n - 1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 208,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 209,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 210,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641420201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 211,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 212,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 213,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 214,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 215,
|
||
|
"comment" : "Signature with special case values r=n + 1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 216,
|
||
|
"comment" : "Signature with special case values r=p and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 217,
|
||
|
"comment" : "Signature with special case values r=p and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 218,
|
||
|
"comment" : "Signature with special case values r=p and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 219,
|
||
|
"comment" : "Signature with special case values r=p and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 220,
|
||
|
"comment" : "Signature with special case values r=p and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 221,
|
||
|
"comment" : "Signature with special case values r=p and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 222,
|
||
|
"comment" : "Signature with special case values r=p and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 223,
|
||
|
"comment" : "Signature with special case values r=p and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 224,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=0",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 225,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30020101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 226,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=-1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc300201ff",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 227,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=n",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 228,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=n - 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 229,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=n + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 230,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=p",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 231,
|
||
|
"comment" : "Signature with special case values r=p + 1 and s=p + 1",
|
||
|
"flags" : [
|
||
|
"InvalidSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 232,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3008020100090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 233,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 234,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 235,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020100010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 236,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201000500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 237,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201000c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 238,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201000c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 239,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201003000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 240,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30080201003003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 241,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3008020101090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 242,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 243,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 244,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 245,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201010500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 246,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201010c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 247,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201010c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 248,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201013000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 249,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=1, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30080201013003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 250,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30080201ff090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 251,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 252,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 253,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 254,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201ff0500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 255,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201ff0c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 256,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060201ff0c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 257,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050201ff3000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 258,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=-1, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30080201ff3003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 259,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 260,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 261,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 262,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 263,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3025022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 264,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3025022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 265,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 266,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3025022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641413000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 267,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=n, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641413003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 268,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3028022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 269,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 270,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 271,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 272,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3025022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 273,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3025022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 274,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 275,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3025022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f3000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 276,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=p, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3028022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f3003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 277,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0.25, s=0.25",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300a090380fe01090380fe01",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 278,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=nan, s=nan",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006090142090142",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 279,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=True, s=True",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006010101010101",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 280,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=False, s=False",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006010100010100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 281,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=Null, s=Null",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300405000500",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 282,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=empyt UTF-8 string, s=empyt UTF-8 string",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30040c000c00",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 283,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=\"0\", s=\"0\"",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060c01300c0130",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 284,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=empty list, s=empty list",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300430003000",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 285,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=list containing 0, s=list containing 0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "300a30030201003003020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 286,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=0.25, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3008090380fe01020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 287,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=nan, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006090142020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 288,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=True, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006010101020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 289,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=False, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006010100020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 290,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=Null, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050500020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 291,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=empyt UTF-8 string, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30050c00020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 292,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=\"0\", s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30060c0130020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 293,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=empty list, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30053000020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 294,
|
||
|
"comment" : "Signature encoding contains incorrect types: r=list containing 0, s=0",
|
||
|
"flags" : [
|
||
|
"InvalidTypesInSignature"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30083003020100020100",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 295,
|
||
|
"comment" : "Edge case for Shamir multiplication",
|
||
|
"flags" : [
|
||
|
"EdgeCaseShamirMultiplication"
|
||
|
],
|
||
|
"msg" : "3838393131",
|
||
|
"sig" : "3045022100dd1b7d09a7bd8218961034a39a87fecf5314f00c4d25eb58a07ac85e85eab5160220175703ba6e1b31ff9f7826ee6491bf2b64a24e252128a7907c4549bc3a1705a1",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 296,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34343531343631393831",
|
||
|
"sig" : "3046022100febe44c291f8d00b23dd343d012815060c07f086934eab0a75812ca1c7cbfee30221008df2e30bb376e312ebc52bea8ed3e6bd000f28acc50530008e8c47772be39cab",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 297,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "373030393239393039",
|
||
|
"sig" : "3045022066bf0d17b683d67bbe5922dfeb4501cad0ffc30cd409bdb1ff7194e0c2f973bf022100dcb7e6f20d99d831c26752f675be5d12edb83a8b0052f5888f8c86649a257147",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 298,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32343830313737303637",
|
||
|
"sig" : "3046022100b8b3d79edeb8912af9b7a24770331837124287bdbbb7539a551348a0475a0d68022100dd0077d1d38b356b6d2b521117b8aae6dcb9bf90256d9ef0ba88106fc2d5511a",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 299,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "373731363034393337",
|
||
|
"sig" : "304402201b10d9085dc554204dabfaef23e7ccb1bf8b8230b151f69d72c090c254311515022041cd4e2e57ee850160027c0e6fa5f54d853220944545baf7f2a06252ff566f71",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 300,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3131333035393331373331",
|
||
|
"sig" : "304402200f735b8fce2e916009011cb3d8c40308e10c124aa7b983f9ad601e304a962b9602200a3c8804a48ebde1952bc54fa550e25896785d74b079678d0a48d85ca92c3bb5",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 301,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3134383635323132343538",
|
||
|
"sig" : "3044022031884994ff0e27f6bd15301eff0da96f47dd2ca84dfb0dd829f2a07f61d1fd700220545f0241caf7623463137898afa8025a78ca0b6d2a74196c4370ad6683853ca1",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 302,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "363135323834393939",
|
||
|
"sig" : "3045022100c59f661deca240b7306b6aa5fa889f293782dcdea542bdd2ea7c88dd17eabcf20220765df309eeff37a7be634942f622ff3b02abb83be00124aa40e6cb4665ef9ebd",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 303,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31323839373132383731",
|
||
|
"sig" : "3046022100e373195a8517ab1cf4de22de3a3372efbddd09babd93b81de4061a957c4368ae022100be3a5173cd9f152fc935b656b4a1c8ad9552cf10a94007bb3704013ae61f878e",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 304,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34353134333236393935",
|
||
|
"sig" : "3045022100c75fa1a940e191e4d4c54be00ad91278ade1399470ed8a8751935ec4100b85a702205ae64db319748bd3f03e239ecc1401304aa9aaa77f840c302f49f6cd20ddb03d",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 305,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34313138303935373633",
|
||
|
"sig" : "3045022100a4fa215de24e4d3b990037da3b7914f423db9c5775cac4f4b10c95a51a8c3e9a022001e35025feb5eb96b642d26721011e4ed45b2cfe3329aa8a32d9e7bff5715ba7",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 306,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31333435343736353130",
|
||
|
"sig" : "3045022011ff5e2ba3ae1b034d293d10df9bdc837e589d6563e47b88c5671479b7f1e258022100f2d6b13f2adf4b28a694a12f8a72ac8e64765fa4e8dbb3bed1627ba09f2b8754",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 307,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "343232393938313032",
|
||
|
"sig" : "3046022100bfdd84bba4f8a7f8ad94bf5276ae51400008c2e5bae40bcac55b3fac3464b30a022100b74631480be60c3c5022498410e7798dc22a1a76cb7862d702699f7b149e84e2",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 308,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32323635343239383132",
|
||
|
"sig" : "3046022100ae729bc37ac0de1a407f191f300203195fb579ad5d6674fe85573147567b43150221009112958ac5b86ab2cd2f890819055bd84d819593e8c856ac4b76178956369e48",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 309,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "373133303833323137",
|
||
|
"sig" : "304502210091f229d8af15d5d152f571637b568b295474b8256b5424694d2e5b84470fb4c002206f0df837d5d07160a1d61d8c9c46dfab0db0b7cbbd748d5ffd55c6d200e281f1",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 310,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31383232373734333630",
|
||
|
"sig" : "30450221008990060cdfd5d03716985c6d5e13d70c9775b229ba68cda8edf4b78f34774d8102204511488f2dc8bb7f06ba5bdf4a0f49092b1ca72ecf001bbfc0f3c1920e8654a7",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 311,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "323834313630373935",
|
||
|
"sig" : "30440220182f648feed9a6c94e8c246eaf14678c04575f96a0644dcd90aec4d5606be92e02205faf0bee69f700d573961a149a6ea4d801d82d014262d0eb0ab754ad218b27c9",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 312,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34333135343738313236",
|
||
|
"sig" : "3044022057f4d830d887ca207c09c18386e38aa89c4186764d8130695e283de1856c8c90022035d5203604bbfd38a82af452a1045fb31c13d41a7e2b93daa84d298e781d4691",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 313,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32323639373538373331",
|
||
|
"sig" : "3044022014d1eb8cc831c2d3529e2f0668be09e2491da72dd81856ddb3f3b2b6a599037f022009faa962a09d2bcb03c7217a2424a78eec6e55f91ba8966b2a8a672511edb452",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 314,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33353637383031313934",
|
||
|
"sig" : "304402205e55b2148c371a4804c72a183e96c42ea2723d5297985c378992edff5455dd1a0220161b624275d34dffec5809164ada6f87fbeb9c313f0203f2a170c8717421c070",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 315,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32333136323732363237",
|
||
|
"sig" : "3045022100fed819a4507d19c1879fa919c82cecc331e05777b1e1f6987103cf165d2302400220053db04cb475a0c56b258ab822cd705d881b4af2d3ac5a8ab251d43120b0ed74",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 316,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "343638303735353233",
|
||
|
"sig" : "3046022100dc9843356452f785515fd0d8224c591faf5522e86c0996f02b0f2b369cb2bec7022100d5791659abfdfb4415e0978edc4e4f6ce4c9dcaf0e8fc5759c404b527eb7b17a",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 317,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "373536303830323930",
|
||
|
"sig" : "3046022100e25d10a8ba8129c0795917a34df3d94fad24ed1aa142557270aefda4c72d674a022100d829f1cc92ce5fee0bb15d15d279f7ab3540d7c9d29ecbdf0dd575eac3dd5765",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 318,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31333438303136313034",
|
||
|
"sig" : "304402207a03c2f364a4a394b7063162f1d4fb0ba15e7d083440c5329e0aa57cd8d7de160220787d35a1ff9c6101e1aedf413afe2230dc8322c5a13a07ea1f0d7e50f1aa0851",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 319,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32373432363433343935",
|
||
|
"sig" : "30450220381c935be8b793c51de9aede7def421e9917632337fb2619c83489a5ebcfef88022100d8f84b9647e1891b9c96a36b7aa825ce688d57acb6cb5a9ea9844bced84f3b93",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 320,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32323738343235383435",
|
||
|
"sig" : "3046022100ba9ecc381fe98c5d4524c49f71804f65be95798ea12ed0d712e608d60cf20bd402210091d375bfb5aaafac26deae07296625c265a183b5df3d55cfd792679472d94c87",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 321,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33363337313933383031",
|
||
|
"sig" : "3045022065660c90475057b4f70dc2426e666228194045eae878379b674479d6ec787216022100cb7c869959046e1553417e8b3ab6ff712d2c877a1aaab93d861e7992b3c45b9d",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 322,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34353930363837353039",
|
||
|
"sig" : "3045022100c49207258ba205a2147c82c3f81d90e3903cd641c2a504254c488306eff1b1f402205f9c6f9f0f3bccd028a65d14830018287c050d39a2f8b3d0e32621a352ebd005",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 323,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "35383031393936323333",
|
||
|
"sig" : "3045022017be2a69f16f4155aef45d2eaa2d0ac7181436421a90b344e2e3723b491adaa3022100ab80ad0eafd9df39c031e5d43879fade19c51ff492034374895b2cdb5eb2fc52",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 324,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "37343836353732373338",
|
||
|
"sig" : "3045022051b43771b713926b82a4c90a9141d4ae9bbba8f1cb2974bdfcf453fadc531728022100de979c87f48e5ee915f1835fdc24759658e881b00322795a1be99f77460d761f",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 325,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "35323537363038333537",
|
||
|
"sig" : "30450220431e7e678d379a5e0d532861ec29bebf4918253734cecd1741637a1f60ab5ffd022100c884c7ef28d033c843f3e4e0acf834a83fba2bf876fbc91289215d496e17e954",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 326,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31363332383233323433",
|
||
|
"sig" : "304502201db1d6a0c5f3274fda191993287c99cc4dff5c9c6e2332a2370e57f9718ef1fd022100cdd9743a33b63ff4b0244a5e32fdeaf7fa379de1c6c611c2e9278ffc9651f136",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 327,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31393736303637323438",
|
||
|
"sig" : "304402207187361237f7270fe77d02af22186845db7fd70387cd64eb24994050dcf53dff02203d2080e8f129502c73ea86ee5e20ae23fbd8e6760950965c617c207d27224323",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 328,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "35303636393137343638",
|
||
|
"sig" : "3045022068ab52fdde8e098071ea3b989f18c9062d1e88f186de78d162c9760c57af4717022100be37487a8080298e766138b9fe3dfe1ff509aec54ccd665605655d650f6da2b9",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 329,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32333133323633343833",
|
||
|
"sig" : "304402201f114e8559664df9c5452f96c8e537223915e39dbdf92159c7fe9d716333660e02203e2fe6ac85ea3621700ad7563ad7f083e49cad7254bdf3dbb4aa33ba59e5abe4",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 330,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33343535373733313536",
|
||
|
"sig" : "30460221008cc85260b7a08ed2f77e899ad73b185274844f2c267e798dbe1d7bb5e70e28db022100e49d523795e0730171162f1a3f18424c21ef32697f2555e4faea5a9c6a8549e1",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 331,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31363036333337363930",
|
||
|
"sig" : "304502202e3839872cbef3c7554042520c06b8d9508c3519198675387a7220c4fa8f1f6e022100fac8721643d296b46e605ffc6ec8a67c1590b85b34743e0752dab44924738930",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 332,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32393038373634353636",
|
||
|
"sig" : "304402201074773c071aff445f7a0b462d335e4ee88c2b30f45a47e202f12d083e74bbc2022009d24b755b35046be8946a96ab61551062e9bd91e51e7ad4c284e68ed92b8997",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 333,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "37383231353536343934",
|
||
|
"sig" : "30440220604a909e30cc9a5caa5da85a855f08f51619914b6be757c3466137d896b3ca22022021807764ef52afa757c8ec03a3e1ee611d633a5a2a4a112abc0fbfe6c31cf8be",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 334,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3132313430303035393239",
|
||
|
"sig" : "3045022100969749beab754b9fb67ad833c188396f631b89930fb85f5084eea9455b36df6302206e7fe6c81da3d96a0f182559f69e2fff067390a4ca195f0472a2c5da7b0bf340",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 335,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31363239393337313131",
|
||
|
"sig" : "3045022100e73dd2f13791e056cc164c964806d1ec3f1f427bc970dafda4e6e2dbff83495b0220556f2a52c774b17b6b4fbb3c6cb96c5be2c0a0c4da4963cb7eff8a8403e3f93c",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 336,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32373232383437383135",
|
||
|
"sig" : "304402201d8f05198aa2dc03ce13ea57b579d11376555e986134203a5262e14e98df076d0220208ef20d0f8deafbe6860579bbd198a9187bd62605062e23c1db6edb592f500d",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 337,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3337343334313732353931",
|
||
|
"sig" : "30460221009549f21a6ddd1ad34c800686679ef7eeeacdf82943d360b5967fee54a6be3b2d0221008d60ca019ff567b0f93c37efc735c927f9c1d2110abf83dcea8f44d8c22eca62",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 338,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "313837363932303637",
|
||
|
"sig" : "3045022100a072a85fd596859914601fe354d99e10068f90d3bc7ab3714c0cb88dc1efecc802202425ff303cf382e3a640a903a6aa32d4db4b46bc1b9525946a881a50b61c6581",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 339,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32393937353331383431",
|
||
|
"sig" : "3045022100ac9d8ba3f67f51d4b9b71968a0743dcd06856da1edf1fcd5034f8bec9a1d70e702200f4025e786cbcfd49668332949823945513229c19fdcf4e93aedb39dff7c4ff9",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 340,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32313039373331353732",
|
||
|
"sig" : "304402203447d10be371effba54917c40169347cd843e804d886912c1c87a9a480b7a5d802201a666c8bd1918a3a3d6bdfc6857245508e6a386c8d8525f24f92a1de37555608",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 341,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "39373334343133333034",
|
||
|
"sig" : "304502203af219043891ec1ab04b8bfd0cdd6ab3b7e20131573e117138a3e7988553c38e022100d9360ba60bb3cc776b71d06c8552a46bf9978bf96b7669d80fb68ea3b6756f28",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 342,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "313033383236323134",
|
||
|
"sig" : "3046022100e8e4108338a1317072d204883d2ad2b17328d9684c1f4ca1252b329e5285188c022100bf209e785eea25aedbaa5ceced6e77f0c22a5097718e56e44c06382c54864357",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 343,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32303630313336343438",
|
||
|
"sig" : "3046022100a36b8eb29993689593d4197711c2e31c61d51c8eb0d4544680972e99cd78b95f022100dbaf69380e10beae378d508f17deba234da9a9bebebc853c8b1dacb694c46cd9",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 344,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31323133383338383130",
|
||
|
"sig" : "304402206c645b462404b975ac4866740fb193affcf85a894f525d33999153bf3941df2c02200bae62a8c81181f54e98263814f79596cbb329b1c5b94d0f1e185917e346e687",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 345,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "38313938383037333237",
|
||
|
"sig" : "304402202beff020fa970adbeafe941dfc31a2d5e44037c991ce2bf83e1b476e2d91dd410220736c4c5edc0b2183f8ce1220a4257a0f1041bac8de1d69376d3ee2109b9895b5",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 346,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31313739313036333334",
|
||
|
"sig" : "3045022100a5531117b86d4e412aae573c62f04da39cdaaa092e55f5f3aa8f1d3db65a8de902201315724d2ba41b0cbf82b42a95bfc465d833de6390a0b9056b61340c3ec431ca",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 347,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31303734373837393236",
|
||
|
"sig" : "304402206ca8dafcbc1601ab03ec2730f656140866ff4973332c0de44ede1ece29eae6a70220014ba379939522d4ff1d76444e9d8bb3f8f749208b277f0114e22a39eca884cb",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 348,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "36343636363033393934",
|
||
|
"sig" : "304402202cd8a23c99e79836cceb0d4929ebde6cc57dfb4435ef468873848d64273a160302206bf48320536a89bb35189666be3fb6f1a072b150b5f97b9d924f421b19ee01ce",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 349,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "38343138303032383736",
|
||
|
"sig" : "304402207cf9b46ed27c1bccab6f311d05ff13c49ff0bea98a373e9de6e56717b15831f802204d2d3538ff7a7886a75e28934ca78f4c75f9fe4c9ebe64bff85cece2d9b378d0",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 350,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "39323330323534343032",
|
||
|
"sig" : "30460221008ca58fe636d7f545a4c7eedb62fbc4ed4cb2b36ebe061f19e662221a5b1cb02e022100f552845079c2cf2502911f34d6ef4b2157dcd9ab4804fe4c5d50b2a7476db524",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 351,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31303135343735303437",
|
||
|
"sig" : "3045022068bd2e5d34a510df7b27f078e6f12789b294507445593253975969f7bbb9f733022100909f592a8002b9011912cfe6049f808eb9a75bd0dbf453e880bb4fcb6b5d830d",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 352,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34383039333730393031",
|
||
|
"sig" : "3046022100b4dd8c5128a94e747f906696c7c0b883eccee7be0cc324caf521ae2f4a7ecc35022100fed2ea22f2a1ab806454c4050f6dc7931f2d231be37c70eece1ba8f8a383e4d8",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 353,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3133383934303933323238",
|
||
|
"sig" : "3045022022077f5ff01375836d63d03762851c8a28352434176ec44394b30b9175331583022100b79f23c9bf8d231eb87981615849ef2d92f6629af364989117636fbf025532be",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 354,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32363236313230333131",
|
||
|
"sig" : "3045022003561a10658a0cb0944d9926b6db8dc63cd8d60cee19cbd4ef6135a3fdc4606b022100d6650e5b3cd58e03d3497607d086a7223098fa5b6e59c7efb7196f77db0cf2c2",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 355,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32353338303531353839",
|
||
|
"sig" : "30450220109e7b7db507f6679823ccd4421675321a0cd5b8add8ffadbb082ccd15748fdd022100eb4696289031ed3b614a21a827b4dd4cd4d5fc57f02335f3b4cb303ac4d920a1",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 356,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31303533333430343739",
|
||
|
"sig" : "30440220639fb14939c3a87369b9f245e9dc41dbadb1af529fa5287037f46593101f90d40220103385e29239bd4c01ef5e58efb4920d8f65e986791bf08ed89f15735bd8dc48",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 357,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3331323139303635343939",
|
||
|
"sig" : "3046022100d706b070086816bfe6f40503517dfc4d9709ae680201d258bcc60520499636f30221008719b517573e5be6210ba18d179d53558cd07d66204ac2d913e25edac50db569",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 358,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31383231393533303438",
|
||
|
"sig" : "304502204af1e6ddc468d0d2f54789a306c0028061ebec45f49be6aea0b023350befd9380221009e5884bcd42c5ccc168a4ced32ff84f09e8d6bb85387ed6200a4114b204bd6d8",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 359,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31363833323934343538",
|
||
|
"sig" : "3045022100ba8997cda5ade7dec3984afa2928958a63decf1a218c388232ef6f32f505d738022005e4aac028675bdd3702d1ca6456153ab46312861cb5f9eb47b23b2e0c9e3cd5",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 360,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "39333038333139313638",
|
||
|
"sig" : "304402206f5e56a7beb2e8d6450f8e79591df1334a393dfb7a10d13a43d0cfd52067e70c0220323e1d26fc7fea9e53ef7e2bcc5b579ee9a2748eefd14fced94cb71c0c2bfd38",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 361,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "36343136363737323733",
|
||
|
"sig" : "3045022100e85424f9a617f5aa09ed9025e247de12b4390073805f0a822ba5b40833a8325f02201d3efcb8f7cdb037a8e5482f909ba2bb5e731a0632b2d30474112805a2d3b368",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 362,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3130303834363531313632",
|
||
|
"sig" : "304402207bafde959d1ae29b5c52e23b022bc525349236a9cc1b1089a5053f1c23d8fe6702200f37719dd4e27b9e088c9d938107e052020d1d5d183bc4b8654f74d437d18f52",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 363,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "323535343932353435",
|
||
|
"sig" : "3044022033603bdc69d4ed17bf32f131a936906d3c09b7c8ca70f885e55bb6e0e326d2540220133e193d33aff7ec98d455b4c6ab2df77d48b79953ac2e128beaf5e3577e66ec",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 364,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33353538383536393830",
|
||
|
"sig" : "304502200615bbc3be8c532e869141476bb4f480bfc00d5a88990c40d9acb9bd3b417e03022100e7e11c9e7903537a1b970b6efecd3f29ede0746356387738376383e9c43e6a86",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 365,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31333138343333383638",
|
||
|
"sig" : "30440220195dd991ad5c579bc26dfc8ec6f5f0b79ec48f06d54175cb9ac501d5329815d402200e9ed5bf444f21254eaad3d0ff313165e5f0b2f6c71ea9f4e518160a6d352475",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 366,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31373231333437373833",
|
||
|
"sig" : "3045022100c80bf61f61d94f2b6c3a75c3c8e49516bb63d8c0167b95658a87d77b748824750220542ee1cf303d71365df23685fe45009dd73085598af6596d1d7ede3b4fca8422",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 367,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3135333138333534313932",
|
||
|
"sig" : "304402202a29ca1b8ce4abed7c9c9452578c27234f42c22c2a8f3607519b67148f03251d02205199d872ee3ec6760032b037aa49d559d7709784d4f0c93120096a4e20417394",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 368,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31363931353237373839",
|
||
|
"sig" : "304502204e72bce8ea2a4c951bbd872e606ec889f9e176eb1004fe3f258f2c14afa4e137022100ee52c71710dbd94581a9edaf43b35d91e515ffe0eb20f3392fedc1c1f9f5d03a",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 369,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31323331343139343335",
|
||
|
"sig" : "3045022100de978d7d58cd183f72d57250de1ea468d387d791912c07371804b915cc95a46b02207da037f5356467d38dc3cc37604bb7ff56553145088cefbecee033fce4828a79",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 370,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "343031343832303137",
|
||
|
"sig" : "3045022100e3504e083da7ccc2a8aeca8b51ff4a75786f55d43784f9805cc4c5dff75e8c9a022046d629ba1ca8327f31e3f2c7492125494d02d4aaef62ecf66e7589baeadeacb7",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 371,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "343637393435383738",
|
||
|
"sig" : "3045022100b4d4d740c46fd2e7a9f7281b3bd4ccf9938ab2d7fcaddfa60520aa8ef0fccd2c022014cdef37fe8286559cbccfc676ce76eca6e002413c61898ce7ade124ca4f5504",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 372,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31383137333936383533",
|
||
|
"sig" : "3045022100c768f33abb729a3a862ea6d3f692e23e8b278e99bde292bea1e360939af6284502200252aa6aaeeef400ab55ee31fe74a7013ea8469ef46f24afc237db4fdb1b508c",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 373,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3334373939393937393237",
|
||
|
"sig" : "304402207ac3f0bf2f8b9e870af11dd9dfc9c60df54cd6a5c18038fd1a17b066f873e70802202f58ddaff64d8ab0d7fa1c0c56e7a62905d836f14a9e6bb32981f567099da8e0",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 374,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31333934383937393939",
|
||
|
"sig" : "3045022100a2397fbd0944035a30899072111011e6a86cfdb1da5fc5af38817360db4fa0ac022017d359b54cccfd25effcd41aa71948a4462ce89fce045bb40bab06825abc3d45",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 375,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "39363530383637313438",
|
||
|
"sig" : "304402202a2438aed96e942f383d2e89336c3471a1e5c8ad12092f5355d06480a36f32fe02206029b359e8414921a27ed93542188e64e31b8de309f83b3ec6a67b53ef5a5441",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 376,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32333538323734313930",
|
||
|
"sig" : "3045022004a99e64afb690b165bc8180eb344e4a81dbecb816f60b1f476f4d93977d2de4022100aa549cebcacf522464b99337da3b9ee9711b9bcba105ca2ffe4a47c019d2ad7e",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 377,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3238313432323939383839",
|
||
|
"sig" : "3046022100d946fb7da88ab8b0a8da63836a82881786e47c7ea0d9cbc88d2b530f203a94c802210086cd840e774d8066d7cbfbf4ab76d6b94f139f1804182911d2f9bcc5e994677d",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 378,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32373636383035323435",
|
||
|
"sig" : "3045022100daae16b786bc6fd11f1980625766de619a04ea85b9a8040ab8f0f5f240b8e31a02206461cb1e744da25d5de8464ac69fcda00a3cb85a3ffb2c808e6ce07ce67c3c76",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 379,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "35353032323834363935",
|
||
|
"sig" : "3044022035e1ea767cb60ba6f7b0704f39bbec30b560203b8c45b77a397a5ebe4eecb20702202c3286a204cc7557c79f3186deec63ce49f1ecdae3229bf413c1b114d30e0895",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 380,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32383435353338303639",
|
||
|
"sig" : "30450220110f14be145671c07d60ded97e155f0f6a7ea30cc61554925c24a09745304b8f02210088c8a85cdd291221549cbcbf1f433731917e4a828174bde8defe27a6caad3c90",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 381,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3233383536313835",
|
||
|
"sig" : "3045022100d91357b6a89943d13dec5ae308816a60099223659eb2fc4208b425490e3845e9022018578d09f1d08e2067866a3743be7d82b68c6031c2ce21d25a4b79782bf70e36",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 382,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3137383538303131353832",
|
||
|
"sig" : "30460221008322182ec31426af2e6b7c9d6fbc3301e70a20c0897594194d9c84b24e39ff95022100ff9caab982c57235dc3ff955e1fae7935132307f5f242abe6bf2c6f2627d6dd6",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 383,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3131383035393431353334",
|
||
|
"sig" : "3046022100ba6f6874f4c2d059b117405b39d67d30baa193103062ccff439f690434fdcdcf022100fa91d8cf44155bea39c3dec3525f64e6abb83cedd82335b7e81820b526f7ebf9",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 384,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "343534393837313836",
|
||
|
"sig" : "3046022100ed59f011090766cd886dde1ab970ca356a146492565cebe1e4dfce1201d44ea4022100eff21a6d9bcb4f1cc3d6562b044d7c96874b0d3b2355b872c1f8a063c6895a92",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 385,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "323236313131323234",
|
||
|
"sig" : "3044022001be2fe82648b2fc237b8e5816a9d682e38d9c7576da2540f0f1a41c7473dd5f022044c3c037176407aab6bf10c64b2137bdf6bc46b3c76290a2510161be8dcac682",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 386,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3135333138383330383730",
|
||
|
"sig" : "3045022005be16a3f289e5d77715283e2466a472e5b9de392027f381aade645a95bd5d53022100c3beee59b063781141fddc0bf86079fed74b4bf8add14fc7a8a92718c462c2a3",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 387,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "393739313833363236",
|
||
|
"sig" : "3045022100b1db4ea3c2797203fa38dc40540be199c3992ba11fc02acf1ec6117bbffab0a7022007c9e16ca0efa18439810a2dd85bf30dafd78401b3ca149a49dc0ec0c316b8ba",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 388,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "38363330333434363239",
|
||
|
"sig" : "30460221008d9d58c43f733c4d1a952a727da1e5310a5c09df70fc3a79a420444c5e1daa18022100a558798fdad2e612be1dc9a233bb66955b0e4d9b69eb22bffdeea2e7545922e9",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 389,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33393937313134343135",
|
||
|
"sig" : "304402204e4f74085f21c4d248147da31cc35eb2f5cc29c547f4e278879ea7831a8a196402206e6f93da2aea21b2f038721bdad822472d78b3b731d6c8f716651fdc68fee99f",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 390,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3331313738303133353835",
|
||
|
"sig" : "3046022100fe5bacf4563943e9789f8720a1bc4447f62fbab06505a66e53aa1caef0719aa002210092828e8bafba9d7cfac18c1caee977386ca522a821ac65d4749b913f5cbc16cf",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 391,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33323538383834383838",
|
||
|
"sig" : "304402201cd68efb4b8a148296f063ddeb281cbbac86512e98475f397c74e1134334292902207961fdd3b06fce181049c19d9ad4056b7f5c16eafa213d100213e9e3e260ff08",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 392,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34373138363334353531",
|
||
|
"sig" : "3045022100cf5e2aa9f0198300cfa05b1dd473b5e7295b1a39ef9c89a7c45999bbbf21930502205b8ba96da5641c467f4b09febca752ddd14aac0fc878b6683da25cb6aa582754",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 393,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "37393132343632333539",
|
||
|
"sig" : "304502203fd0ab73ecfb09ed13ef95fca69910cadbb1febf0e2c1d9abd3f2ade99d67a2d022100eea66cd4878a9e187270be2f11698057f16781d3cfaabca692bbf303fff658b0",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 394,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "37303636303932383538",
|
||
|
"sig" : "30440220290312deffae60601b351095ffb1e52437ca6748e1a59aa04e8a41ea3f51c70102206fa5dd5f46c324b8e2d268376410de141a4554b3859483503224f421e46ab51f",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 395,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "38353839363733373030",
|
||
|
"sig" : "30450221008a968d1218fbb4030ab2fe6d474ca4f8d56672e7b16d555e5a5cf9b1e98117ba0220188e0e2d7676c8d841becd9cd43e03f0c70461ebde7fbf353b86c28b4c4c5f26",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 396,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31373131343937353137",
|
||
|
"sig" : "30430220269324ba0d4835dc5e0f5d91865dc0a16fc75f670aca53eab4dc3305b3980553021f1fc55636b52101ff235529805cf530837ed3720391a47bae07be6ebe7b506f",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 397,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3439383538393830343432",
|
||
|
"sig" : "304502207da44bb346c325bc77232eb54374b355d360323403409297d105473014564d93022100e516b03a4aff1eb5bf25865c1d4e9d0c5659e29575431b3dfb1d8d42e49b2b71",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 398,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "383036353534313038",
|
||
|
"sig" : "304402201739e956775225e3398b5f1352d4a8ccf45cd05ff3e0c8f3dec5b31eecdcb5ef02204c249a99ee8e8e20f7e674813569303450707bca57f77ba675e94bdb80ed357e",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 399,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32313637303439303839",
|
||
|
"sig" : "30450221008fa150c34cea9a9e543269796a0ca9c33df8114ec9f5413beea891a9e8b2d0fd02206dc980032c81e9704edef2dacccf708d10759e209f9990172b2d32c6c0322a8f",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 400,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32353035383730393335",
|
||
|
"sig" : "304602210082e47bcaafe7dcd77f06ff988e146e11f0f9548af566a39391cc874c528948f8022100d112e0063261c271722d0a5aa95d4b4e3ce95933cf7727308e7c31559cb8b320",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 401,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3330303136383931373035",
|
||
|
"sig" : "3045022016cd4fe6aa325447343e3beaea5b8ebae76505684c018656cd2141db51b3ae9e0221009890c6bf2bcaa9ea5aff8c588e88aca0c2bb1baea793bd1e5591873b83ff64ee",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 402,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31393235323336323338",
|
||
|
"sig" : "3045022041518c949594767d3ad9f3ea4e2d971a7f2b2bf457ab358486ccf7d9b4d04131022100eaced5006bbba83789ef26a6c25269c8a13ffb3fdf1cd1cbb6ccaebe1a6835e5",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 403,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33343630323536373638",
|
||
|
"sig" : "304402204e44e1698e79770ae4eda3789a5dbceb846361ccde4cfc519229cda0567971c602201a0ff7c6662f108e87c1af49c4abf21f2ea9db37ccc8b5534fe467237515253c",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 404,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3130323031363730313431",
|
||
|
"sig" : "304402207ee2c2795b2949ff841c56e850249ad24b0906e200829de1d30d24fc302603fe022032b454c1ba939c8b15ddd688aec45755dfb412745cb9bb16c7a4c7a24bd1aaa5",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 405,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3139343130363631323337",
|
||
|
"sig" : "3045022100f168c4c9af0b64c97987b364b32aae7e69740ff76492aa628d96ac3dcda151f0022069cad1ae8445d81c0bd8192e43a09038272ea83c64f90ae0e451255bf8dcaeac",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 406,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "39343930333734333238",
|
||
|
"sig" : "30440220609ee9ec224f98540ff6d7ff449593376039316f8174e7b883f0c1bf258f065802203960a71821bb1816377e864a6f15462629061f96b69fe68ab85afd23c0fb6fdb",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 407,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "35393730363533373431",
|
||
|
"sig" : "304502203c38e3bbe422f196b940355c4fcafadf838aacd63ed1b6d37186fe2813916d07022100f02c682ddf45ebcc34fee13b2d645d9b49342f2b43fe0d78e020104126a66013",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 408,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "39313532303939333835",
|
||
|
"sig" : "3045022075f91f4574bbbef93cec953f6155f84531538b6f6739c57cdd549ad26a4172c4022100d03ca4173f93cb2fba98a60f76f33fd44ebdc3e1e3a5a69902319a21d619d7bc",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 409,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31343633353538393338",
|
||
|
"sig" : "3045022064f6115e0f861be8a00e4fc4f2570595324ee1041bea54db281fe73ff31b4e42022100dca9dcb4295069df16380f2b7c3e4690d26ea0b757e4b1d0eba16b849167762e",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 410,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3133383230373830313133",
|
||
|
"sig" : "304502207b2000f60ae19acf1d97d492eaeebd04cebfd0d992c2150b82013c70befb1c3a022100efca7efbaf4b8079fd0f7d4285eb49bb645cc1b76b61867e64885fbe4a05adfd",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 411,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34393730373834393439",
|
||
|
"sig" : "3044022065730e1a5482455c8f50f96bdb52e2e0abd5dd7b1f853ce2a708a6fcfc2e6105022043ec13bc7652168a7828f24353ab8a2de4c04628286dc0043156927e21650223",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 412,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32383234343232383730",
|
||
|
"sig" : "304402203813eff4d1d0c04201e527036f4f0cbba72c314793437c8793bbbed07d934869022021338f0102f972e48b91fa5ee0496c385513b831a07e4f1eb426c9590a19b41c",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 413,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "33383336323738383330",
|
||
|
"sig" : "3046022100b602016d0535514c18285a693cc7ba9ed5cd6f340778953c4cc5e63ac1c147a60221009814ae4cb2fa960e52b542ebd9afe9b574d741fe2ea7861ebb2bd0fb39e07a9e",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 414,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34313637333332333735",
|
||
|
"sig" : "3045022069d8ff8190b39b9a298527f429e6d08655a099ad08faea129cff2d8f102a0bc5022100a4c7bbc160f455999993018d1292fdcd64914aeb8ae4eb157257c385571ec2dd",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 415,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31303032343935313334",
|
||
|
"sig" : "30450220393d20abd56bed26182ce3bd4616a057d5ca9a1de76976239a23801a5e00405a022100dabd899f060553cd385faeabbc3b6abf023889fce5763dc48a1595b6e8a7761f",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 416,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "31313936393930353937",
|
||
|
"sig" : "3046022100f81e106ba88e60b38df06d770e6570a4e268b8968e75b17323a23dca1cb041e9022100ada84e71af019c64d2a2f68ff70f608df09545796cbd7f4ee901bd51c5a40b1c",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 417,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "343932393736353338",
|
||
|
"sig" : "30440220553937645e5a72ec1a788b989502fc0c099cf47dc223c3a05a17511e8aaacf2502203d907444401725b6ce74e46c93b842da7165d66c4225dd9529b6c01aefc17887",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 418,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32303639343230353239",
|
||
|
"sig" : "3046022100b952d6c90612db7d44cdc3427c8a04cbbfeb42f08400d7e43fcd491c2e2b29e0022100e090d16e7f8d8ecf349094c990fbbc608146bd42f0bf62ed4414c4f516ba8da6",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 419,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "35343434343734303338",
|
||
|
"sig" : "3046022100cd9ca46a05f8e230b609248d93ba3109ce6d313fe1c2f446831e507a7adc3b1e022100dc303aaed67ad227d16e8ba74c05c2158938ddc08fb62c704ab145d6fb48a654",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 420,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "32353730393730303131",
|
||
|
"sig" : "3046022100fe4204134e2f81a3a1533690d6c01babc5116b77054e00acce671fe2b42ad67d022100dea459c03b17919c2b7c572cb4053251feab5be2f8791e49d8591951fb8cbdad",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 421,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "35313831393239363035",
|
||
|
"sig" : "30440220018a82596f2afaec1676e2f42f0a99bdd3ec0b3c4a70690d8c018eb675ee52f5022071b483f2017a5757df033a2acb6b37518d3424a6643bcd1b107bf82d18a46010",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 422,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "34323636373735353134",
|
||
|
"sig" : "3046022100a72643f331ef9fcd6e266d550fda197b7b14c95fee28100002e0546833bd141a022100945ebc905842f2e313632501a09329ed0fc41b4cf4ccb1402afe87e443bcbff2",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 423,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "3134363137373433393834",
|
||
|
"sig" : "30440220738c2834aedbbe5586f7dc73540afb02a9f38d2d32d8d4c5c4af4cbb599f355e0220556cc8f3096884f7f3801d8a868de19dc857fd2fb647614dadbfd0b5f60dd3ac",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 424,
|
||
|
"comment" : "special case hash",
|
||
|
"flags" : [
|
||
|
"SpecialCaseHash"
|
||
|
],
|
||
|
"msg" : "38343837323933313330",
|
||
|
"sig" : "304502207e112e7a251cf9d4223438193fd77c2d9131d82b0cfa712423acbcf01c35ca08022100e69051460cb2b740c3bb2150e5076757040705faba0fc54a0c30305ed13d0c02",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 425,
|
||
|
"comment" : "Signature generated without truncating the hash",
|
||
|
"flags" : [
|
||
|
"Untruncatedhash"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100feb5a6ab646502be3fd3223349b11cf494324ce2b65c343572591a737d18c22a022049464f6f0996c851c077d077ea1a22ea2bbdf92b241f1d6d7dd2f48b08ae35f8",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04422aa6bdbb76a2886463600f1224a80d2c9f984c212d57ed90ca49643ed673e157af3122aaa04597c5527354f1801425700c6d958c58d8ddbdaaec0ec721cb42",
|
||
|
"wx" : "422aa6bdbb76a2886463600f1224a80d2c9f984c212d57ed90ca49643ed673e1",
|
||
|
"wy" : "57af3122aaa04597c5527354f1801425700c6d958c58d8ddbdaaec0ec721cb42"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004422aa6bdbb76a2886463600f1224a80d2c9f984c212d57ed90ca49643ed673e157af3122aaa04597c5527354f1801425700c6d958c58d8ddbdaaec0ec721cb42",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEQiqmvbt2oohkY2APEiSoDSyfmEwhLVft\nkMpJZD7Wc+FXrzEiqqBFl8VSc1TxgBQlcAxtlYxY2N29quwOxyHLQg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 426,
|
||
|
"comment" : "k*G has a large x-coordinate",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30360211014551231950b75fc4402da1722fc9baeb022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 427,
|
||
|
"comment" : "r too large",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2c022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04dd752c014ec002daf07db8f6d7988d804533ba104c8052e06a8877236d326d402aae02e1da209844e8ca24e9984d7b9c0e876979e131ec2cc00609bae520ade9",
|
||
|
"wx" : "00dd752c014ec002daf07db8f6d7988d804533ba104c8052e06a8877236d326d40",
|
||
|
"wy" : "2aae02e1da209844e8ca24e9984d7b9c0e876979e131ec2cc00609bae520ade9"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004dd752c014ec002daf07db8f6d7988d804533ba104c8052e06a8877236d326d402aae02e1da209844e8ca24e9984d7b9c0e876979e131ec2cc00609bae520ade9",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE3XUsAU7AAtrwfbj215iNgEUzuhBMgFLg\naoh3I20ybUAqrgLh2iCYROjKJOmYTXucDodpeeEx7CzABgm65SCt6Q==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 428,
|
||
|
"comment" : "r,s are large",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "041517cb0ff4b4fb4e2689ecb6a21ae96a5852b079884149cd63729b9724937cbe3dfe6274af762eb423a2b149756dc5bb4b253d23033b7cc9db5844887161525d",
|
||
|
"wx" : "1517cb0ff4b4fb4e2689ecb6a21ae96a5852b079884149cd63729b9724937cbe",
|
||
|
"wy" : "3dfe6274af762eb423a2b149756dc5bb4b253d23033b7cc9db5844887161525d"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200041517cb0ff4b4fb4e2689ecb6a21ae96a5852b079884149cd63729b9724937cbe3dfe6274af762eb423a2b149756dc5bb4b253d23033b7cc9db5844887161525d",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEFRfLD/S0+04miey2ohrpalhSsHmIQUnN\nY3KblySTfL49/mJ0r3YutCOisUl1bcW7SyU9IwM7fMnbWESIcWFSXQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 429,
|
||
|
"comment" : "r and s^-1 have a large Hamming weight",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203e9a7582886089c62fb840cf3b83061cd1cff3ae4341808bb5bdee6191174177",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "045ebb9309c3073c74e1024b9fedf40da99045962aa9189cbb1e5c5e37983fda6b4e6787cd4af3383c769b911647d42b671e72b751e37ea3a02b6321cf9a88e36e",
|
||
|
"wx" : "5ebb9309c3073c74e1024b9fedf40da99045962aa9189cbb1e5c5e37983fda6b",
|
||
|
"wy" : "4e6787cd4af3383c769b911647d42b671e72b751e37ea3a02b6321cf9a88e36e"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200045ebb9309c3073c74e1024b9fedf40da99045962aa9189cbb1e5c5e37983fda6b4e6787cd4af3383c769b911647d42b671e72b751e37ea3a02b6321cf9a88e36e",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEXruTCcMHPHThAkuf7fQNqZBFliqpGJy7\nHlxeN5g/2mtOZ4fNSvM4PHabkRZH1CtnHnK3UeN+o6ArYyHPmojjbg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 430,
|
||
|
"comment" : "r and s^-1 have a large Hamming weight",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022024238e70b431b1a64efdf9032669939d4b77f249503fc6905feb7540dea3e6d2",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "041c64127c05117c1c3340748b560b97a36690aad3f1dc80e1f6fb11d8842a11f3408336777e1c1c0068b09658c28bade3074b0a0adee9fb508ef297c501e407dd",
|
||
|
"wx" : "1c64127c05117c1c3340748b560b97a36690aad3f1dc80e1f6fb11d8842a11f3",
|
||
|
"wy" : "408336777e1c1c0068b09658c28bade3074b0a0adee9fb508ef297c501e407dd"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200041c64127c05117c1c3340748b560b97a36690aad3f1dc80e1f6fb11d8842a11f3408336777e1c1c0068b09658c28bade3074b0a0adee9fb508ef297c501e407dd",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEHGQSfAURfBwzQHSLVguXo2aQqtPx3IDh\n9vsR2IQqEfNAgzZ3fhwcAGiwlljCi63jB0sKCt7p+1CO8pfFAeQH3Q==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 431,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101020101",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "049921d16a1d0d3536cc21156636feb9d8885b75914ea638754b0ae3dd4d79c99ef46613ab32a5769c2857df6a3554d228a97fafac6b63dc8edefb3496760d7f63",
|
||
|
"wx" : "009921d16a1d0d3536cc21156636feb9d8885b75914ea638754b0ae3dd4d79c99e",
|
||
|
"wy" : "00f46613ab32a5769c2857df6a3554d228a97fafac6b63dc8edefb3496760d7f63"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200049921d16a1d0d3536cc21156636feb9d8885b75914ea638754b0ae3dd4d79c99ef46613ab32a5769c2857df6a3554d228a97fafac6b63dc8edefb3496760d7f63",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEmSHRah0NNTbMIRVmNv652IhbdZFOpjh1\nSwrj3U15yZ70ZhOrMqV2nChX32o1VNIoqX+vrGtj3I7e+zSWdg1/Yw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 432,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101020102",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04b1bfd06dd462e53911f08f12126a90e5956d99dce41da5f757f463fa772f80338a8df80a8775efba16fd01c6ca63a67237167ff82cc513dbc18fc5b3c522ee69",
|
||
|
"wx" : "00b1bfd06dd462e53911f08f12126a90e5956d99dce41da5f757f463fa772f8033",
|
||
|
"wy" : "008a8df80a8775efba16fd01c6ca63a67237167ff82cc513dbc18fc5b3c522ee69"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b1bfd06dd462e53911f08f12126a90e5956d99dce41da5f757f463fa772f80338a8df80a8775efba16fd01c6ca63a67237167ff82cc513dbc18fc5b3c522ee69",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEsb/QbdRi5TkR8I8SEmqQ5ZVtmdzkHaX3\nV/Rj+ncvgDOKjfgKh3Xvuhb9AcbKY6ZyNxZ/+CzFE9vBj8WzxSLuaQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 433,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020101020103",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "041cea87abd1c52a6209662ff51fc0070b98c0209aff5e3833f4358d1ba757be1552c75e5aebdcf1705e5d82ccd55a830c1a9a3c322f61303a9663dc80ce644eaf",
|
||
|
"wx" : "1cea87abd1c52a6209662ff51fc0070b98c0209aff5e3833f4358d1ba757be15",
|
||
|
"wy" : "52c75e5aebdcf1705e5d82ccd55a830c1a9a3c322f61303a9663dc80ce644eaf"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200041cea87abd1c52a6209662ff51fc0070b98c0209aff5e3833f4358d1ba757be1552c75e5aebdcf1705e5d82ccd55a830c1a9a3c322f61303a9663dc80ce644eaf",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEHOqHq9HFKmIJZi/1H8AHC5jAIJr/Xjgz\n9DWNG6dXvhVSx15a69zxcF5dgszVWoMMGpo8Mi9hMDqWY9yAzmROrw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 434,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020102020101",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0462ddb94532ced199fc5579e42b434b0babc4af1b7bc64747a5f7ef59036271ed354bba6863ee5a77ef0d9c571b0f60c79080abc2012c55f578ac47d02d4fa859",
|
||
|
"wx" : "62ddb94532ced199fc5579e42b434b0babc4af1b7bc64747a5f7ef59036271ed",
|
||
|
"wy" : "354bba6863ee5a77ef0d9c571b0f60c79080abc2012c55f578ac47d02d4fa859"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000462ddb94532ced199fc5579e42b434b0babc4af1b7bc64747a5f7ef59036271ed354bba6863ee5a77ef0d9c571b0f60c79080abc2012c55f578ac47d02d4fa859",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEYt25RTLO0Zn8VXnkK0NLC6vErxt7xkdH\npffvWQNice01S7poY+5ad+8NnFcbD2DHkICrwgEsVfV4rEfQLU+oWQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 435,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020102020102",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "045255cd9b6f770e1f653bc5e3588243e591b5c18bcec06ab02fd897e353610598c29e751be62659ad33553c280350711b53e16e00004c30de994f7a72a99b21ef",
|
||
|
"wx" : "5255cd9b6f770e1f653bc5e3588243e591b5c18bcec06ab02fd897e353610598",
|
||
|
"wy" : "00c29e751be62659ad33553c280350711b53e16e00004c30de994f7a72a99b21ef"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200045255cd9b6f770e1f653bc5e3588243e591b5c18bcec06ab02fd897e353610598c29e751be62659ad33553c280350711b53e16e00004c30de994f7a72a99b21ef",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEUlXNm293Dh9lO8XjWIJD5ZG1wYvOwGqw\nL9iX41NhBZjCnnUb5iZZrTNVPCgDUHEbU+FuAABMMN6ZT3pyqZsh7w==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 436,
|
||
|
"comment" : "small r and s",
|
||
|
"flags" : [
|
||
|
"SmallRandS",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3006020102020103",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 437,
|
||
|
"comment" : "r is larger than n",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364143020103",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0446c59ef30d382bc4fe36ac4625311c426643a5311b666af25245220bd663dacb2e271c9b231518bc97208401dda643fc3876fe6ad326f7da9d0d8dc7937c5e72",
|
||
|
"wx" : "46c59ef30d382bc4fe36ac4625311c426643a5311b666af25245220bd663dacb",
|
||
|
"wy" : "2e271c9b231518bc97208401dda643fc3876fe6ad326f7da9d0d8dc7937c5e72"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000446c59ef30d382bc4fe36ac4625311c426643a5311b666af25245220bd663dacb2e271c9b231518bc97208401dda643fc3876fe6ad326f7da9d0d8dc7937c5e72",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERsWe8w04K8T+NqxGJTEcQmZDpTEbZmry\nUkUiC9Zj2ssuJxybIxUYvJcghAHdpkP8OHb+atMm99qdDY3Hk3xecg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 438,
|
||
|
"comment" : "s is larger than n",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020102022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd04917c8",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04ceff46890fe208a8f38cf264224cf3a1c898aab318a15ea99d4f08d3a4db7fbe5dbc13f704e04d842d65dba0096d6462a3574aacd07eb9f27cd20a800d1d3612",
|
||
|
"wx" : "00ceff46890fe208a8f38cf264224cf3a1c898aab318a15ea99d4f08d3a4db7fbe",
|
||
|
"wy" : "5dbc13f704e04d842d65dba0096d6462a3574aacd07eb9f27cd20a800d1d3612"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004ceff46890fe208a8f38cf264224cf3a1c898aab318a15ea99d4f08d3a4db7fbe5dbc13f704e04d842d65dba0096d6462a3574aacd07eb9f27cd20a800d1d3612",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEzv9GiQ/iCKjzjPJkIkzzociYqrMYoV6p\nnU8I06Tbf75dvBP3BOBNhC1l26AJbWRio1dKrNB+ufJ80gqADR02Eg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 439,
|
||
|
"comment" : "small r and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302702020101022100c58b162c58b162c58b162c58b162c58a1b242973853e16db75c8a1a71da4d39d",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04e7e62d42a46fd9171ec46b144f3bd0ea30ddc51e5420ea4c5c431cc57bb4ed88ccc42e2428e8321bd2ef58614dfa8df4a41a4e920d18491c832bcdb9c970fc27",
|
||
|
"wx" : "00e7e62d42a46fd9171ec46b144f3bd0ea30ddc51e5420ea4c5c431cc57bb4ed88",
|
||
|
"wy" : "00ccc42e2428e8321bd2ef58614dfa8df4a41a4e920d18491c832bcdb9c970fc27"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004e7e62d42a46fd9171ec46b144f3bd0ea30ddc51e5420ea4c5c431cc57bb4ed88ccc42e2428e8321bd2ef58614dfa8df4a41a4e920d18491c832bcdb9c970fc27",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE5+YtQqRv2RcexGsUTzvQ6jDdxR5UIOpM\nXEMcxXu07YjMxC4kKOgyG9LvWGFN+o30pBpOkg0YSRyDK825yXD8Jw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 440,
|
||
|
"comment" : "smallish r and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302c02072d9b4d347952cc022100fcbc5103d0da267477d1791461cf2aa44bf9d43198f79507bd8779d69a13108e",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04bb581b856299baea7590b55481e117d444ccef77d3d75bd950ab2391d5f0979e4e59c5c4ba6bfdf4c2979e5bdec11aecaa05b3cc6853b702f592324b23966b40",
|
||
|
"wx" : "00bb581b856299baea7590b55481e117d444ccef77d3d75bd950ab2391d5f0979e",
|
||
|
"wy" : "4e59c5c4ba6bfdf4c2979e5bdec11aecaa05b3cc6853b702f592324b23966b40"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bb581b856299baea7590b55481e117d444ccef77d3d75bd950ab2391d5f0979e4e59c5c4ba6bfdf4c2979e5bdec11aecaa05b3cc6853b702f592324b23966b40",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEu1gbhWKZuup1kLVUgeEX1ETM73fT11vZ\nUKsjkdXwl55OWcXEumv99MKXnlvewRrsqgWzzGhTtwL1kjJLI5ZrQA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 441,
|
||
|
"comment" : "100-bit r and small s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3032020d1033e67e37b32b445580bf4efc022100906f906f906f906f906f906f906f906ed8e426f7b1968c35a204236a579723d2",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0469fac7b66097f6d267242f4d785691a8ca08c35dfdb631a350efd3c24fe0c98de9817010f5fddd7acecdd29c408650342ddc3ab9fa8cf9a21389d295788bbaf1",
|
||
|
"wx" : "69fac7b66097f6d267242f4d785691a8ca08c35dfdb631a350efd3c24fe0c98d",
|
||
|
"wy" : "00e9817010f5fddd7acecdd29c408650342ddc3ab9fa8cf9a21389d295788bbaf1"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000469fac7b66097f6d267242f4d785691a8ca08c35dfdb631a350efd3c24fe0c98de9817010f5fddd7acecdd29c408650342ddc3ab9fa8cf9a21389d295788bbaf1",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEafrHtmCX9tJnJC9NeFaRqMoIw139tjGj\nUO/Twk/gyY3pgXAQ9f3des7N0pxAhlA0Ldw6ufqM+aITidKVeIu68Q==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 442,
|
||
|
"comment" : "small r and 100 bit s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3026020201010220783266e90f43dafe5cd9b3b0be86de22f9de83677d0f50713a468ec72fcf5d57",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04b35310c91902940bae2f1d9c4e111d1bef88a85793e835bb746512ef129f03fc8726e72947d215f99f9d8678d680c040c782e0df11c5ced4d3e566bcf80abe0d",
|
||
|
"wx" : "00b35310c91902940bae2f1d9c4e111d1bef88a85793e835bb746512ef129f03fc",
|
||
|
"wy" : "008726e72947d215f99f9d8678d680c040c782e0df11c5ced4d3e566bcf80abe0d"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b35310c91902940bae2f1d9c4e111d1bef88a85793e835bb746512ef129f03fc8726e72947d215f99f9d8678d680c040c782e0df11c5ced4d3e566bcf80abe0d",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEs1MQyRkClAuuLx2cThEdG++IqFeT6DW7\ndGUS7xKfA/yHJucpR9IV+Z+dhnjWgMBAx4Lg3xHFztTT5Wa8+Aq+DQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 443,
|
||
|
"comment" : "100-bit r and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3031020d062522bbd3ecbe7c39e93e7c260220783266e90f43dafe5cd9b3b0be86de22f9de83677d0f50713a468ec72fcf5d57",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04faa11612dc1cf47c88aebdfeb9619bff6194a92db86bfb0c6bddd7a46a6fbaff5219485362ad0fb96f7b5397ba21770f03737537b260f59d4bc6429caa708a25",
|
||
|
"wx" : "00faa11612dc1cf47c88aebdfeb9619bff6194a92db86bfb0c6bddd7a46a6fbaff",
|
||
|
"wy" : "5219485362ad0fb96f7b5397ba21770f03737537b260f59d4bc6429caa708a25"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004faa11612dc1cf47c88aebdfeb9619bff6194a92db86bfb0c6bddd7a46a6fbaff5219485362ad0fb96f7b5397ba21770f03737537b260f59d4bc6429caa708a25",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE+qEWEtwc9HyIrr3+uWGb/2GUqS24a/sM\na93XpGpvuv9SGUhTYq0PuW97U5e6IXcPA3N1N7Jg9Z1LxkKcqnCKJQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 444,
|
||
|
"comment" : "r and s^-1 are close to n",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03640c1022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "049befce446ab74d4fef99ebc1a047608f50383c7a9323b592a9935e68f340219b65671bb895039a40dc6256ac4ebd4e2a3a4617b0b6f775cc66fa31985257ad6f",
|
||
|
"wx" : "009befce446ab74d4fef99ebc1a047608f50383c7a9323b592a9935e68f340219b",
|
||
|
"wy" : "65671bb895039a40dc6256ac4ebd4e2a3a4617b0b6f775cc66fa31985257ad6f"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200049befce446ab74d4fef99ebc1a047608f50383c7a9323b592a9935e68f340219b65671bb895039a40dc6256ac4ebd4e2a3a4617b0b6f775cc66fa31985257ad6f",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEm+/ORGq3TU/vmevBoEdgj1A4PHqTI7WS\nqZNeaPNAIZtlZxu4lQOaQNxiVqxOvU4qOkYXsLb3dcxm+jGYUletbw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 445,
|
||
|
"comment" : "r and s are 64-bit integer",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30160209009c44febf31c3594d020900839ed28247c2b06b",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0481c13215c3f5c1dee52a15059a78ad0dd27d4a6dd99260f7cce9e09220bdf48f50425bcc09fc9b5693914e3dad150b321e6151014902309c57e71255102fefa0",
|
||
|
"wx" : "0081c13215c3f5c1dee52a15059a78ad0dd27d4a6dd99260f7cce9e09220bdf48f",
|
||
|
"wy" : "50425bcc09fc9b5693914e3dad150b321e6151014902309c57e71255102fefa0"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000481c13215c3f5c1dee52a15059a78ad0dd27d4a6dd99260f7cce9e09220bdf48f50425bcc09fc9b5693914e3dad150b321e6151014902309c57e71255102fefa0",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEgcEyFcP1wd7lKhUFmnitDdJ9Sm3ZkmD3\nzOngkiC99I9QQlvMCfybVpORTj2tFQsyHmFRAUkCMJxX5xJVEC/voA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 446,
|
||
|
"comment" : "r and s are 100-bit integer",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "301e020d09df8b682430beef6f5fd7c7cf020d0fd0a62e13778f4222a0d61c8a",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04a30a55982e075623552c705254bf8c0c3ea5e512048d480951e3d04906275eba3d90e7e1afbec7402f3c0b95326332707b08e54de51ede788888f063614b80bc",
|
||
|
"wx" : "00a30a55982e075623552c705254bf8c0c3ea5e512048d480951e3d04906275eba",
|
||
|
"wy" : "3d90e7e1afbec7402f3c0b95326332707b08e54de51ede788888f063614b80bc"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004a30a55982e075623552c705254bf8c0c3ea5e512048d480951e3d04906275eba3d90e7e1afbec7402f3c0b95326332707b08e54de51ede788888f063614b80bc",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEowpVmC4HViNVLHBSVL+MDD6l5RIEjUgJ\nUePQSQYnXro9kOfhr77HQC88C5UyYzJwewjlTeUe3niIiPBjYUuAvA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 447,
|
||
|
"comment" : "r and s are 128-bit integer",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30260211008a598e563a89f526c32ebec8de26367a02110084f633e2042630e99dd0f1e16f7a04bf",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04add44840ce5ad85ccd84523da02aa463efab664eca5d09a2b93f34aa34a6b495c0a0a63f15bf2e5149040e054be6bd1afbcc3371d5540efb45aa0203b4429147",
|
||
|
"wx" : "00add44840ce5ad85ccd84523da02aa463efab664eca5d09a2b93f34aa34a6b495",
|
||
|
"wy" : "00c0a0a63f15bf2e5149040e054be6bd1afbcc3371d5540efb45aa0203b4429147"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004add44840ce5ad85ccd84523da02aa463efab664eca5d09a2b93f34aa34a6b495c0a0a63f15bf2e5149040e054be6bd1afbcc3371d5540efb45aa0203b4429147",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAErdRIQM5a2FzNhFI9oCqkY++rZk7KXQmi\nuT80qjSmtJXAoKY/Fb8uUUkEDgVL5r0a+8wzcdVUDvtFqgIDtEKRRw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 448,
|
||
|
"comment" : "r and s are 160-bit integer",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "302e021500aa6eeb5823f7fa31b466bb473797f0d0314c0bdf021500e2977c479e6d25703cebbc6bd561938cc9d1bfb9",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0452274d1decb02dbdae051095322e3193fff185171f8dc9bc6586dcc02d0eca4a2e2c350530f58e5d86ee3b0eebd9bdc7691d361883e248a04d97bd289b36f18c",
|
||
|
"wx" : "52274d1decb02dbdae051095322e3193fff185171f8dc9bc6586dcc02d0eca4a",
|
||
|
"wy" : "2e2c350530f58e5d86ee3b0eebd9bdc7691d361883e248a04d97bd289b36f18c"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000452274d1decb02dbdae051095322e3193fff185171f8dc9bc6586dcc02d0eca4a2e2c350530f58e5d86ee3b0eebd9bdc7691d361883e248a04d97bd289b36f18c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEUidNHeywLb2uBRCVMi4xk//xhRcfjcm8\nZYbcwC0OykouLDUFMPWOXYbuOw7r2b3HaR02GIPiSKBNl70omzbxjA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 449,
|
||
|
"comment" : "s == 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3025022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1020101",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 450,
|
||
|
"comment" : "s == 0",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3025022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1020100",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04269870065bcb7ffe3cce3a9b4b2f89b66507e369a8eb9f29a305d0545c715f9772ec971603c708394485e1de726028ee2bedfcc714b6bda6b8afe9010410b10b",
|
||
|
"wx" : "269870065bcb7ffe3cce3a9b4b2f89b66507e369a8eb9f29a305d0545c715f97",
|
||
|
"wy" : "72ec971603c708394485e1de726028ee2bedfcc714b6bda6b8afe9010410b10b"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004269870065bcb7ffe3cce3a9b4b2f89b66507e369a8eb9f29a305d0545c715f9772ec971603c708394485e1de726028ee2bedfcc714b6bda6b8afe9010410b10b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEJphwBlvLf/48zjqbSy+JtmUH42mo658p\nowXQVFxxX5dy7JcWA8cIOUSF4d5yYCjuK+38xxS2vaa4r+kBBBCxCw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 451,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c10220419d981c515af8cc82545aac0c85e9e308fbb2eab6acd7ed497e0b4145a18fd9",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04e56487012920aff940cef12d632927d4b9e33a088e2aa939cbb61b51fd45c246b565fc50dfaafa63b97435ef2ecde39d9e260b1a6cf57335746540dadfe8793b",
|
||
|
"wx" : "00e56487012920aff940cef12d632927d4b9e33a088e2aa939cbb61b51fd45c246",
|
||
|
"wy" : "00b565fc50dfaafa63b97435ef2ecde39d9e260b1a6cf57335746540dadfe8793b"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004e56487012920aff940cef12d632927d4b9e33a088e2aa939cbb61b51fd45c246b565fc50dfaafa63b97435ef2ecde39d9e260b1a6cf57335746540dadfe8793b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE5WSHASkgr/lAzvEtYykn1LnjOgiOKqk5\ny7YbUf1Fwka1ZfxQ36r6Y7l0Ne8uzeOdniYLGmz1czV0ZUDa3+h5Ow==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 452,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102201b21717ad71d23bbac60a9ad0baf75b063c9fdf52a00ebf99d022172910993c9",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0452b756fe31cc75bc1d2d8f7a366af5db2bd3f34690e91a06733f787977328248ac93242210fb19ccd5b7f6b26510ef0bff8d7082b7fa62f45fea16299426bb72",
|
||
|
"wx" : "52b756fe31cc75bc1d2d8f7a366af5db2bd3f34690e91a06733f787977328248",
|
||
|
"wy" : "00ac93242210fb19ccd5b7f6b26510ef0bff8d7082b7fa62f45fea16299426bb72"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000452b756fe31cc75bc1d2d8f7a366af5db2bd3f34690e91a06733f787977328248ac93242210fb19ccd5b7f6b26510ef0bff8d7082b7fa62f45fea16299426bb72",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEUrdW/jHMdbwdLY96Nmr12yvT80aQ6RoG\ncz94eXcygkiskyQiEPsZzNW39rJlEO8L/41wgrf6YvRf6hYplCa7cg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 453,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102202f588f66018f3dd14db3e28e77996487e32486b521ed8e5a20f06591951777e9",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04f7cfe21fd402b72361a79aad213163926c328453855e67bcc39ea23b8c59d5ae707bb4439721281f6f9752f666c67e036e488775cc688dd373b57697c390ba89",
|
||
|
"wx" : "00f7cfe21fd402b72361a79aad213163926c328453855e67bcc39ea23b8c59d5ae",
|
||
|
"wy" : "707bb4439721281f6f9752f666c67e036e488775cc688dd373b57697c390ba89"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004f7cfe21fd402b72361a79aad213163926c328453855e67bcc39ea23b8c59d5ae707bb4439721281f6f9752f666c67e036e488775cc688dd373b57697c390ba89",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE98/iH9QCtyNhp5qtITFjkmwyhFOFXme8\nw56iO4xZ1a5we7RDlyEoH2+XUvZmxn4DbkiHdcxojdNztXaXw5C6iQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 454,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c10220091a08870ff4daf9123b30c20e8c4fc8505758dcf4074fcaff2170c9bfcf74f4",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04cf59bdc9ccde51be450c5beb3a74a2a76457ad876fe15f5c097938de20dbf0993f75a4070ffb9196b6dd27a8248432dc149ab7444110651104ca84a571e8d477",
|
||
|
"wx" : "00cf59bdc9ccde51be450c5beb3a74a2a76457ad876fe15f5c097938de20dbf099",
|
||
|
"wy" : "3f75a4070ffb9196b6dd27a8248432dc149ab7444110651104ca84a571e8d477"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004cf59bdc9ccde51be450c5beb3a74a2a76457ad876fe15f5c097938de20dbf0993f75a4070ffb9196b6dd27a8248432dc149ab7444110651104ca84a571e8d477",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEz1m9yczeUb5FDFvrOnSip2RXrYdv4V9c\nCXk43iDb8Jk/daQHD/uRlrbdJ6gkhDLcFJq3REEQZREEyoSlcejUdw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 455,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102207c370dc0ce8c59a8b273cba44a7c1191fc3186dc03cab96b0567312df0d0b250",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0453c7b4981d9dba54ee3fd63f4bea83c893b1c8d4f98652039e62485f0f4639dd9ef9898a43219662edc8689b43e4fbc00f15201ac1c376c9a8f7a8828d9417c1",
|
||
|
"wx" : "53c7b4981d9dba54ee3fd63f4bea83c893b1c8d4f98652039e62485f0f4639dd",
|
||
|
"wy" : "009ef9898a43219662edc8689b43e4fbc00f15201ac1c376c9a8f7a8828d9417c1"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000453c7b4981d9dba54ee3fd63f4bea83c893b1c8d4f98652039e62485f0f4639dd9ef9898a43219662edc8689b43e4fbc00f15201ac1c376c9a8f7a8828d9417c1",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEU8e0mB2dulTuP9Y/S+qDyJOxyNT5hlID\nnmJIXw9GOd2e+YmKQyGWYu3IaJtD5PvADxUgGsHDdsmo96iCjZQXwQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 456,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1022070b59a7d1ee77a2f9e0491c2a7cfcd0ed04df4a35192f6132dcc668c79a6160e",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04fe7870a02775ab4597230b7d79afc53b9c98b1b2d61f2f2097e2971f5396840e154dde797afaee01c1794acffa797827148ce15e41880c994407cb03ba4a6fa2",
|
||
|
"wx" : "00fe7870a02775ab4597230b7d79afc53b9c98b1b2d61f2f2097e2971f5396840e",
|
||
|
"wy" : "154dde797afaee01c1794acffa797827148ce15e41880c994407cb03ba4a6fa2"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004fe7870a02775ab4597230b7d79afc53b9c98b1b2d61f2f2097e2971f5396840e154dde797afaee01c1794acffa797827148ce15e41880c994407cb03ba4a6fa2",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE/nhwoCd1q0WXIwt9ea/FO5yYsbLWHy8g\nl+KXH1OWhA4VTd55evruAcF5Ss/6eXgnFIzhXkGIDJlEB8sDukpvog==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 457,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102202736d76e412246e097148e2bf62915614eb7c428913a58eb5e9cd4674a9423de",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0419e5abb15f8952ee436359cbf7b3d2eac74096b40055a0cd3ce2a6ce7e4135a76330ecb3c04d28d53fda2bfd746cbe5bfbe5b1818917428f8dabdf6a4d2d4812",
|
||
|
"wx" : "19e5abb15f8952ee436359cbf7b3d2eac74096b40055a0cd3ce2a6ce7e4135a7",
|
||
|
"wy" : "6330ecb3c04d28d53fda2bfd746cbe5bfbe5b1818917428f8dabdf6a4d2d4812"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000419e5abb15f8952ee436359cbf7b3d2eac74096b40055a0cd3ce2a6ce7e4135a76330ecb3c04d28d53fda2bfd746cbe5bfbe5b1818917428f8dabdf6a4d2d4812",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGeWrsV+JUu5DY1nL97PS6sdAlrQAVaDN\nPOKmzn5BNadjMOyzwE0o1T/aK/10bL5b++WxgYkXQo+Nq99qTS1IEg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 458,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102204a1e12831fbe93627b02d6e7f24bccdd6ef4b2d0f46739eaf3b1eaf0ca117770",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04689e10d3c5468ff55a704e97fdf3bfe97ed3c647f6b2969a1d897d3d51584e206d7285c5241de34060a607d779839e507cc2e753954732ef4e1c0fa89eefdfde",
|
||
|
"wx" : "689e10d3c5468ff55a704e97fdf3bfe97ed3c647f6b2969a1d897d3d51584e20",
|
||
|
"wy" : "6d7285c5241de34060a607d779839e507cc2e753954732ef4e1c0fa89eefdfde"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004689e10d3c5468ff55a704e97fdf3bfe97ed3c647f6b2969a1d897d3d51584e206d7285c5241de34060a607d779839e507cc2e753954732ef4e1c0fa89eefdfde",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEaJ4Q08VGj/VacE6X/fO/6X7Txkf2spaa\nHYl9PVFYTiBtcoXFJB3jQGCmB9d5g55QfMLnU5VHMu9OHA+onu/f3g==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 459,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1022006c778d4dfff7dee06ed88bc4e0ed34fc553aad67caf796f2a1c6487c1b2e877",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0401600c657f4f365166a7f08dc692ffd19975c924e99e39ef0984c54564c54fd3d13241c61018d4a31afc3f4c6951215b7f37b83c884f97081446e831c830fa6b",
|
||
|
"wx" : "01600c657f4f365166a7f08dc692ffd19975c924e99e39ef0984c54564c54fd3",
|
||
|
"wy" : "00d13241c61018d4a31afc3f4c6951215b7f37b83c884f97081446e831c830fa6b"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000401600c657f4f365166a7f08dc692ffd19975c924e99e39ef0984c54564c54fd3d13241c61018d4a31afc3f4c6951215b7f37b83c884f97081446e831c830fa6b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAWAMZX9PNlFmp/CNxpL/0Zl1ySTpnjnv\nCYTFRWTFT9PRMkHGEBjUoxr8P0xpUSFbfze4PIhPlwgURugxyDD6aw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 460,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102204de459ef9159afa057feb3ec40fef01c45b809f4ab296ea48c206d4249a2b451",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0440453ef2d8d1ddb0cea27f8045a543bf9a5fbade0e6bba074d3d351f95847006e37ffaaab752ba65d9b0442ea0c6fac76a6b05fe133cbf1f65b2e67774cc5010",
|
||
|
"wx" : "40453ef2d8d1ddb0cea27f8045a543bf9a5fbade0e6bba074d3d351f95847006",
|
||
|
"wy" : "00e37ffaaab752ba65d9b0442ea0c6fac76a6b05fe133cbf1f65b2e67774cc5010"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000440453ef2d8d1ddb0cea27f8045a543bf9a5fbade0e6bba074d3d351f95847006e37ffaaab752ba65d9b0442ea0c6fac76a6b05fe133cbf1f65b2e67774cc5010",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEQEU+8tjR3bDOon+ARaVDv5pfut4Oa7oH\nTT01H5WEcAbjf/qqt1K6ZdmwRC6gxvrHamsF/hM8vx9lsuZ3dMxQEA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 461,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c10220745d294978007302033502e1acc48b63ae6500be43adbea1b258d6b423dbb416",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04324bfdc82d30e6092d95fd232de108bbc72905da6a03e17a491e36d2336c4c2754d200e2cc5cf78ce662a4ccf2a09eab19c5fb6d2006a6225789c51b82e12259",
|
||
|
"wx" : "324bfdc82d30e6092d95fd232de108bbc72905da6a03e17a491e36d2336c4c27",
|
||
|
"wy" : "54d200e2cc5cf78ce662a4ccf2a09eab19c5fb6d2006a6225789c51b82e12259"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004324bfdc82d30e6092d95fd232de108bbc72905da6a03e17a491e36d2336c4c2754d200e2cc5cf78ce662a4ccf2a09eab19c5fb6d2006a6225789c51b82e12259",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEMkv9yC0w5gktlf0jLeEIu8cpBdpqA+F6\nSR420jNsTCdU0gDizFz3jOZipMzyoJ6rGcX7bSAGpiJXicUbguEiWQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 462,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102207b2a785e3896f59b2d69da57648e80ad3c133a750a2847fd2098ccd902042b6c",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04c11122b88585f228a1db44b1aa52085db72656a3169956359ebf83dbf7dadf2f3929e9c971a6d0284358ed59230e2c8b1c79a0767e968f37ac53a0214ce97202",
|
||
|
"wx" : "00c11122b88585f228a1db44b1aa52085db72656a3169956359ebf83dbf7dadf2f",
|
||
|
"wy" : "3929e9c971a6d0284358ed59230e2c8b1c79a0767e968f37ac53a0214ce97202"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004c11122b88585f228a1db44b1aa52085db72656a3169956359ebf83dbf7dadf2f3929e9c971a6d0284358ed59230e2c8b1c79a0767e968f37ac53a0214ce97202",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEwREiuIWF8iih20SxqlIIXbcmVqMWmVY1\nnr+D2/fa3y85KenJcabQKENY7VkjDiyLHHmgdn6WjzesU6AhTOlyAg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 463,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1022071ae94a72ca896875e7aa4a4c3d29afdb4b35b6996273e63c47ac519256c5eb1",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "048990a37321de8f004b753835d0e1ec3d18ba9993b20a47a25674660ea62dc806b0d310bcb60199f55a1dcd877ac3992b70cf735a6cd534248fcc2420abf3397c",
|
||
|
"wx" : "008990a37321de8f004b753835d0e1ec3d18ba9993b20a47a25674660ea62dc806",
|
||
|
"wy" : "00b0d310bcb60199f55a1dcd877ac3992b70cf735a6cd534248fcc2420abf3397c"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200048990a37321de8f004b753835d0e1ec3d18ba9993b20a47a25674660ea62dc806b0d310bcb60199f55a1dcd877ac3992b70cf735a6cd534248fcc2420abf3397c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEiZCjcyHejwBLdTg10OHsPRi6mZOyCkei\nVnRmDqYtyAaw0xC8tgGZ9VodzYd6w5krcM9zWmzVNCSPzCQgq/M5fA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 464,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102200fa527fa7343c0bc9ec35a6278bfbff4d83301b154fc4bd14aee7eb93445b5f9",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04e06d6a6d24cf1ca77329457d1f25e95bff565bc6e432bc8d021b0bc958e1fc7e859ecc45ffceec07404af6a4c8a4c51e36cd4c17cbcc1ba199eb581a68f5e330",
|
||
|
"wx" : "00e06d6a6d24cf1ca77329457d1f25e95bff565bc6e432bc8d021b0bc958e1fc7e",
|
||
|
"wy" : "00859ecc45ffceec07404af6a4c8a4c51e36cd4c17cbcc1ba199eb581a68f5e330"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004e06d6a6d24cf1ca77329457d1f25e95bff565bc6e432bc8d021b0bc958e1fc7e859ecc45ffceec07404af6a4c8a4c51e36cd4c17cbcc1ba199eb581a68f5e330",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE4G1qbSTPHKdzKUV9HyXpW/9WW8bkMryN\nAhsLyVjh/H6FnsxF/87sB0BK9qTIpMUeNs1MF8vMG6GZ61gaaPXjMA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 465,
|
||
|
"comment" : "edge case modular inverse",
|
||
|
"flags" : [
|
||
|
"ModularInverse",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102206539c0adadd0525ff42622164ce9314348bd0863b4c80e936b23ca0414264671",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0450821196546b2d8ca52c8daa7b40d22efa31d6614f5204012103a67532c1dfaba7990db46e361a7e16c83649e5f3a8b4bf74b439866a6ed08c421502a7e45a7e",
|
||
|
"wx" : "50821196546b2d8ca52c8daa7b40d22efa31d6614f5204012103a67532c1dfab",
|
||
|
"wy" : "00a7990db46e361a7e16c83649e5f3a8b4bf74b439866a6ed08c421502a7e45a7e"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000450821196546b2d8ca52c8daa7b40d22efa31d6614f5204012103a67532c1dfaba7990db46e361a7e16c83649e5f3a8b4bf74b439866a6ed08c421502a7e45a7e",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEUIIRllRrLYylLI2qe0DSLvox1mFPUgQB\nIQOmdTLB36unmQ20bjYafhbINknl86i0v3S0OYZqbtCMQhUCp+Rafg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 466,
|
||
|
"comment" : "point at infinity during verify",
|
||
|
"flags" : [
|
||
|
"PointDuplication",
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04f92345a77015fbab4bae36a8eb39f8458e59decc419f44e576f3fbc4425685eb8be216bb36afbbaec2e7db957a9bc0543a91470d9b6ccc37be269b016d3f9ea2",
|
||
|
"wx" : "00f92345a77015fbab4bae36a8eb39f8458e59decc419f44e576f3fbc4425685eb",
|
||
|
"wy" : "008be216bb36afbbaec2e7db957a9bc0543a91470d9b6ccc37be269b016d3f9ea2"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004f92345a77015fbab4bae36a8eb39f8458e59decc419f44e576f3fbc4425685eb8be216bb36afbbaec2e7db957a9bc0543a91470d9b6ccc37be269b016d3f9ea2",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE+SNFp3AV+6tLrjao6zn4RY5Z3sxBn0Tl\ndvP7xEJWheuL4ha7Nq+7rsLn25V6m8BUOpFHDZtszDe+JpsBbT+eog==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 467,
|
||
|
"comment" : "edge case for signature malleability",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a002207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "043c8075011484b087b095ac2e59645e59769d5eaf157a2a510ccc028fb40e25552c0df748a38649ffb953ff6f2a2166e2b8ea120cfa39133876129ff6d77ea5c5",
|
||
|
"wx" : "3c8075011484b087b095ac2e59645e59769d5eaf157a2a510ccc028fb40e2555",
|
||
|
"wy" : "2c0df748a38649ffb953ff6f2a2166e2b8ea120cfa39133876129ff6d77ea5c5"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200043c8075011484b087b095ac2e59645e59769d5eaf157a2a510ccc028fb40e25552c0df748a38649ffb953ff6f2a2166e2b8ea120cfa39133876129ff6d77ea5c5",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEPIB1ARSEsIewlawuWWReWXadXq8VeipR\nDMwCj7QOJVUsDfdIo4ZJ/7lT/28qIWbiuOoSDPo5Ezh2Ep/2136lxQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 468,
|
||
|
"comment" : "edge case for signature malleability",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a002207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "047295e1a1264d86aafcba55e0ff4fde8f6337ce21d8a4b8619b14139b292a9ad16c4ce418330bb154a3cfbe6d0b95f9d939396c6d947bbabacef1d2f6f1b6a26b",
|
||
|
"wx" : "7295e1a1264d86aafcba55e0ff4fde8f6337ce21d8a4b8619b14139b292a9ad1",
|
||
|
"wy" : "6c4ce418330bb154a3cfbe6d0b95f9d939396c6d947bbabacef1d2f6f1b6a26b"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200047295e1a1264d86aafcba55e0ff4fde8f6337ce21d8a4b8619b14139b292a9ad16c4ce418330bb154a3cfbe6d0b95f9d939396c6d947bbabacef1d2f6f1b6a26b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEcpXhoSZNhqr8ulXg/0/ej2M3ziHYpLhh\nmxQTmykqmtFsTOQYMwuxVKPPvm0LlfnZOTlsbZR7urrO8dL28baiaw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 469,
|
||
|
"comment" : "u1 == 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022100aa275665bf8cd2750115f3d8baf4693d8b02b8a06567c354931362f6b0127e64",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04ad7789e3f1175487c9eba2f061100ba6f552d2c16f956bfc5bef159019703613b3f4d3ba980210c57808ec181142a9bcd62aca5083e6571de3fbf770ae40319f",
|
||
|
"wx" : "00ad7789e3f1175487c9eba2f061100ba6f552d2c16f956bfc5bef159019703613",
|
||
|
"wy" : "00b3f4d3ba980210c57808ec181142a9bcd62aca5083e6571de3fbf770ae40319f"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004ad7789e3f1175487c9eba2f061100ba6f552d2c16f956bfc5bef159019703613b3f4d3ba980210c57808ec181142a9bcd62aca5083e6571de3fbf770ae40319f",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAErXeJ4/EXVIfJ66LwYRALpvVS0sFvlWv8\nW+8VkBlwNhOz9NO6mAIQxXgI7BgRQqm81irKUIPmVx3j+/dwrkAxnw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 470,
|
||
|
"comment" : "u1 == n - 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022055d8a99a40732d8afeea0c27450b96c12fac244649e0dce72cbefb962023c2dd",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04e712fcd6035acaaf40630e1279f559ebee905d1c0f9e0ed7fb4bc3e86f675e83fc06bab9d242359166c04e3cd7b0eebddd8e235465af82ce12498a1a44615228",
|
||
|
"wx" : "00e712fcd6035acaaf40630e1279f559ebee905d1c0f9e0ed7fb4bc3e86f675e83",
|
||
|
"wy" : "00fc06bab9d242359166c04e3cd7b0eebddd8e235465af82ce12498a1a44615228"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004e712fcd6035acaaf40630e1279f559ebee905d1c0f9e0ed7fb4bc3e86f675e83fc06bab9d242359166c04e3cd7b0eebddd8e235465af82ce12498a1a44615228",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE5xL81gNayq9AYw4SefVZ6+6QXRwPng7X\n+0vD6G9nXoP8Brq50kI1kWbATjzXsO693Y4jVGWvgs4SSYoaRGFSKA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 471,
|
||
|
"comment" : "u2 == 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "041943bfde4307943cbb7ebfabae05a5055756722296dd73532a4de17fd51c41e236328caaab9bbb6c33c9eab1ad70d986fffa66eb9ff6079e0a3cef7efd746543",
|
||
|
"wx" : "1943bfde4307943cbb7ebfabae05a5055756722296dd73532a4de17fd51c41e2",
|
||
|
"wy" : "36328caaab9bbb6c33c9eab1ad70d986fffa66eb9ff6079e0a3cef7efd746543"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200041943bfde4307943cbb7ebfabae05a5055756722296dd73532a4de17fd51c41e236328caaab9bbb6c33c9eab1ad70d986fffa66eb9ff6079e0a3cef7efd746543",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGUO/3kMHlDy7fr+rrgWlBVdWciKW3XNT\nKk3hf9UcQeI2Moyqq5u7bDPJ6rGtcNmG//pm65/2B54KPO9+/XRlQw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 472,
|
||
|
"comment" : "u2 == n - 1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022100aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa9d1c9e899ca306ad27fe1945de0242b89",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04b29ef9666573fe03615ca7d016cd0c9f5f2671093accbb6f5b2e3d56d0869174d17c95b552436693e3056f7a8b05b845d01fc6b6b53a7f08dfb50a505011394d",
|
||
|
"wx" : "00b29ef9666573fe03615ca7d016cd0c9f5f2671093accbb6f5b2e3d56d0869174",
|
||
|
"wy" : "00d17c95b552436693e3056f7a8b05b845d01fc6b6b53a7f08dfb50a505011394d"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b29ef9666573fe03615ca7d016cd0c9f5f2671093accbb6f5b2e3d56d0869174d17c95b552436693e3056f7a8b05b845d01fc6b6b53a7f08dfb50a505011394d",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEsp75ZmVz/gNhXKfQFs0Mn18mcQk6zLtv\nWy49VtCGkXTRfJW1UkNmk+MFb3qLBbhF0B/GtrU6fwjftQpQUBE5TQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 473,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022038b7c7773fd99b7c55b1fbf2e8fc231483ab92e021cd411c310676523ab0d4cc",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0415a78bb608c50a6ae0af6ee8de7e9697292796907b9c4a92777c494ccdb7fdbf056b43e4ab26d42af517fa28a4daabe66bdde66cc90bc51a7246ae4ef8adcc4f",
|
||
|
"wx" : "15a78bb608c50a6ae0af6ee8de7e9697292796907b9c4a92777c494ccdb7fdbf",
|
||
|
"wy" : "056b43e4ab26d42af517fa28a4daabe66bdde66cc90bc51a7246ae4ef8adcc4f"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000415a78bb608c50a6ae0af6ee8de7e9697292796907b9c4a92777c494ccdb7fdbf056b43e4ab26d42af517fa28a4daabe66bdde66cc90bc51a7246ae4ef8adcc4f",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEFaeLtgjFCmrgr27o3n6WlyknlpB7nEqS\nd3xJTM23/b8Fa0PkqybUKvUX+iik2qvma93mbMkLxRpyRq5O+K3MTw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 474,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0221009a5a0b273772d372cee695421caf7e7d9d2a4577f962f77b23639ab8fc23df99",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04d9dfb33fed5b674d35a97a8d4a88fc49f8c9faefcc47cd890c421953ffa1ff45f8d02f949d65a381b30d4ff51c885ba967d43b452bbdf9ca91870120e406422e",
|
||
|
"wx" : "00d9dfb33fed5b674d35a97a8d4a88fc49f8c9faefcc47cd890c421953ffa1ff45",
|
||
|
"wy" : "00f8d02f949d65a381b30d4ff51c885ba967d43b452bbdf9ca91870120e406422e"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d9dfb33fed5b674d35a97a8d4a88fc49f8c9faefcc47cd890c421953ffa1ff45f8d02f949d65a381b30d4ff51c885ba967d43b452bbdf9ca91870120e406422e",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE2d+zP+1bZ001qXqNSoj8SfjJ+u/MR82J\nDEIZU/+h/0X40C+UnWWjgbMNT/UciFupZ9Q7RSu9+cqRhwEg5AZCLg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 475,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100a0ce188fff736224cd05fd0c7b1b297fa21b9961c53e327aef81f168d6597ff9",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04f06dddbe7b3cd0d89eb237c70e06f6d97b118fcac41c7fed780cf8553b2dd8fd078920f3430023de121e7dcaad25f3456c192df69f6e3c27c04346816a2ef70c",
|
||
|
"wx" : "00f06dddbe7b3cd0d89eb237c70e06f6d97b118fcac41c7fed780cf8553b2dd8fd",
|
||
|
"wy" : "078920f3430023de121e7dcaad25f3456c192df69f6e3c27c04346816a2ef70c"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004f06dddbe7b3cd0d89eb237c70e06f6d97b118fcac41c7fed780cf8553b2dd8fd078920f3430023de121e7dcaad25f3456c192df69f6e3c27c04346816a2ef70c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE8G3dvns80NiesjfHDgb22XsRj8rEHH/t\neAz4VTst2P0HiSDzQwAj3hIefcqtJfNFbBkt9p9uPCfAQ0aBai73DA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 476,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100a0f26feb88efc16355d8a99a40732d8a3263414ac6f3b42c33d58489d9ce4cde",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "046866935c3105dc0583d3bc37886d8fc071c08bc5e9edcbfa5f46a7d69fd602e2b2dda206a0253653f75917e3907f1a66791cee029d12fbdc9568c6e06ace60fe",
|
||
|
"wx" : "6866935c3105dc0583d3bc37886d8fc071c08bc5e9edcbfa5f46a7d69fd602e2",
|
||
|
"wy" : "00b2dda206a0253653f75917e3907f1a66791cee029d12fbdc9568c6e06ace60fe"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200046866935c3105dc0583d3bc37886d8fc071c08bc5e9edcbfa5f46a7d69fd602e2b2dda206a0253653f75917e3907f1a66791cee029d12fbdc9568c6e06ace60fe",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEaGaTXDEF3AWD07w3iG2PwHHAi8Xp7cv6\nX0an1p/WAuKy3aIGoCU2U/dZF+OQfxpmeRzuAp0S+9yVaMbgas5g/g==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 477,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022026feb88efc16355d8a99a40732d8afee6f34b8121fbf0a3ee343933a93138331",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "049e2c0c97d33913ba72b6de833140e763cb7e05c03178d2746cf5b958cd07185c029c1d0b326a46339ec06819565cc7a52c04602bd7dc75a65e386e1adcc943ea",
|
||
|
"wx" : "009e2c0c97d33913ba72b6de833140e763cb7e05c03178d2746cf5b958cd07185c",
|
||
|
"wy" : "029c1d0b326a46339ec06819565cc7a52c04602bd7dc75a65e386e1adcc943ea"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200049e2c0c97d33913ba72b6de833140e763cb7e05c03178d2746cf5b958cd07185c029c1d0b326a46339ec06819565cc7a52c04602bd7dc75a65e386e1adcc943ea",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEniwMl9M5E7pytt6DMUDnY8t+BcAxeNJ0\nbPW5WM0HGFwCnB0LMmpGM57AaBlWXMelLARgK9fcdaZeOG4a3MlD6g==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 478,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02204dfd711df82c6abb1533480e65b15fdcde6970243f7e147dc687267526270662",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04074ab918d2517160345ce63335214b6eab8bfb89c1c11bf296a753a5eb39c26c501ec4eea1e1e2e33ad912199dd938e239cabe15066443e4049d66a3c8927d28",
|
||
|
"wx" : "074ab918d2517160345ce63335214b6eab8bfb89c1c11bf296a753a5eb39c26c",
|
||
|
"wy" : "501ec4eea1e1e2e33ad912199dd938e239cabe15066443e4049d66a3c8927d28"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004074ab918d2517160345ce63335214b6eab8bfb89c1c11bf296a753a5eb39c26c501ec4eea1e1e2e33ad912199dd938e239cabe15066443e4049d66a3c8927d28",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEB0q5GNJRcWA0XOYzNSFLbquL+4nBwRvy\nlqdTpes5wmxQHsTuoeHi4zrZEhmd2TjiOcq+FQZkQ+QEnWajyJJ9KA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 479,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02210088efc16355d8a99a40732d8afeea0c269707cf9bfe51b58f2973b7410874ea55",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04c9b4145e17efd3b56930bcfa5fe6f797399cc7f0e383f85e26668d017777d219bbb434eb59f9529fcbaf844c9a2cb441116b194bff2c3bc402e19c351e953a73",
|
||
|
"wx" : "00c9b4145e17efd3b56930bcfa5fe6f797399cc7f0e383f85e26668d017777d219",
|
||
|
"wy" : "00bbb434eb59f9529fcbaf844c9a2cb441116b194bff2c3bc402e19c351e953a73"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004c9b4145e17efd3b56930bcfa5fe6f797399cc7f0e383f85e26668d017777d219bbb434eb59f9529fcbaf844c9a2cb441116b194bff2c3bc402e19c351e953a73",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEybQUXhfv07VpMLz6X+b3lzmcx/Djg/he\nJmaNAXd30hm7tDTrWflSn8uvhEyaLLRBEWsZS/8sO8QC4Zw1HpU6cw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 480,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0220602c62deaf3dddd25f7bc324e21260afca13dcd8a37e66286049e43fe035079a",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04617b5b040673c839147cf29e114a6bf4026598e2a15bbbbcd331c90911a7ca1fdb1892be7a457a5f7497185de5956680aa0f55b2709f218bb87a84b8192a43e8",
|
||
|
"wx" : "617b5b040673c839147cf29e114a6bf4026598e2a15bbbbcd331c90911a7ca1f",
|
||
|
"wy" : "00db1892be7a457a5f7497185de5956680aa0f55b2709f218bb87a84b8192a43e8"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004617b5b040673c839147cf29e114a6bf4026598e2a15bbbbcd331c90911a7ca1fdb1892be7a457a5f7497185de5956680aa0f55b2709f218bb87a84b8192a43e8",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEYXtbBAZzyDkUfPKeEUpr9AJlmOKhW7u8\n0zHJCRGnyh/bGJK+ekV6X3SXGF3llWaAqg9VsnCfIYu4eoS4GSpD6A==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 481,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203f51f2382a547037eb565b08e435dd44df7b889c0a91118e0e1912acbf47826a",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0440562caf21c3b2642fa2f6c96d371c7702ff4e9c9f1649d59abe4202192e9d4b24ac6492255af8e1d2aebe2290acc8f019ed41d13045d2589e488f27d11df376",
|
||
|
"wx" : "40562caf21c3b2642fa2f6c96d371c7702ff4e9c9f1649d59abe4202192e9d4b",
|
||
|
"wy" : "24ac6492255af8e1d2aebe2290acc8f019ed41d13045d2589e488f27d11df376"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000440562caf21c3b2642fa2f6c96d371c7702ff4e9c9f1649d59abe4202192e9d4b24ac6492255af8e1d2aebe2290acc8f019ed41d13045d2589e488f27d11df376",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEQFYsryHDsmQvovbJbTccdwL/TpyfFknV\nmr5CAhkunUskrGSSJVr44dKuviKQrMjwGe1B0TBF0lieSI8n0R3zdg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 482,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022060ba6c0dacd0a3a6c43b0067b58062e3d71b3012a9221ffb7b06b396809d9e6c",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04895939820528067c9cc153039394d3bea4af22fc56e887a0e72704eb3bf7b3c70135eaa7567722043ae5f4b4068cdb30068f918feda0040b838068f2dac0f635",
|
||
|
"wx" : "00895939820528067c9cc153039394d3bea4af22fc56e887a0e72704eb3bf7b3c7",
|
||
|
"wy" : "0135eaa7567722043ae5f4b4068cdb30068f918feda0040b838068f2dac0f635"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004895939820528067c9cc153039394d3bea4af22fc56e887a0e72704eb3bf7b3c70135eaa7567722043ae5f4b4068cdb30068f918feda0040b838068f2dac0f635",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEiVk5ggUoBnycwVMDk5TTvqSvIvxW6Ieg\n5ycE6zv3s8cBNeqnVnciBDrl9LQGjNswBo+Rj+2gBAuDgGjy2sD2NQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 483,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0220618f79d4292ccc655b59dc4bf2a56631eaa62ce9b197b6b82321ea98713a80a7",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04d6399ab723c5be273542adbe47fb7ea5eae6124260063c4d7badd5a6b638f5050bbca7ee76f7ff916686bc23670d20ecdfd28241ef86972c9e33bc69f009e11d",
|
||
|
"wx" : "00d6399ab723c5be273542adbe47fb7ea5eae6124260063c4d7badd5a6b638f505",
|
||
|
"wy" : "0bbca7ee76f7ff916686bc23670d20ecdfd28241ef86972c9e33bc69f009e11d"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d6399ab723c5be273542adbe47fb7ea5eae6124260063c4d7badd5a6b638f5050bbca7ee76f7ff916686bc23670d20ecdfd28241ef86972c9e33bc69f009e11d",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE1jmatyPFvic1Qq2+R/t+permEkJgBjxN\ne63VprY49QULvKfudvf/kWaGvCNnDSDs39KCQe+GlyyeM7xp8AnhHQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 484,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100e3a41c4460133241d52702068b81ee7478d913769e61ffada74f2363b2ddd6db",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "043be551eb7f05c6a27a21286a68354b26d9fb2c57647596d14b45c22ba53bc7c25a3f0472a400fc4268040b9a9c5bdeeb9b2ff36aebdb646693d4ec62f5d9e82b",
|
||
|
"wx" : "3be551eb7f05c6a27a21286a68354b26d9fb2c57647596d14b45c22ba53bc7c2",
|
||
|
"wy" : "5a3f0472a400fc4268040b9a9c5bdeeb9b2ff36aebdb646693d4ec62f5d9e82b"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200043be551eb7f05c6a27a21286a68354b26d9fb2c57647596d14b45c22ba53bc7c25a3f0472a400fc4268040b9a9c5bdeeb9b2ff36aebdb646693d4ec62f5d9e82b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEO+VR638FxqJ6IShqaDVLJtn7LFdkdZbR\nS0XCK6U7x8JaPwRypAD8QmgEC5qcW97rmy/zauvbZGaT1Oxi9dnoKw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 485,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100c7483888c0266483aa4e040d1703dcea37034a068d7b5f1f8ecbe83a95856c75",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0407212d36e78433243651ddd2ccdf23a83d609a40ffb317463fcce78dd6a55b12b5302470b57b879fc24ccd8a632453d427722f0eb2b12a6682d5f7c696d2fa91",
|
||
|
"wx" : "07212d36e78433243651ddd2ccdf23a83d609a40ffb317463fcce78dd6a55b12",
|
||
|
"wy" : "00b5302470b57b879fc24ccd8a632453d427722f0eb2b12a6682d5f7c696d2fa91"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000407212d36e78433243651ddd2ccdf23a83d609a40ffb317463fcce78dd6a55b12b5302470b57b879fc24ccd8a632453d427722f0eb2b12a6682d5f7c696d2fa91",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEByEtNueEMyQ2Ud3SzN8jqD1gmkD/sxdG\nP8znjdalWxK1MCRwtXuHn8JMzYpjJFPUJ3IvDrKxKmaC1ffGltL6kQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 486,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100aaec54cd203996c57f750613a285cb5ff52d80967c94be917648ad11782d020f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04216ce228e3584057d2833bfb5542883dc09027ba081f21a21499636e1a56beead81a4c155bf1bf73dadc756de945400094349cdac7c3e179b69734e3983f55c7",
|
||
|
"wx" : "216ce228e3584057d2833bfb5542883dc09027ba081f21a21499636e1a56beea",
|
||
|
"wy" : "00d81a4c155bf1bf73dadc756de945400094349cdac7c3e179b69734e3983f55c7"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004216ce228e3584057d2833bfb5542883dc09027ba081f21a21499636e1a56beead81a4c155bf1bf73dadc756de945400094349cdac7c3e179b69734e3983f55c7",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEIWziKONYQFfSgzv7VUKIPcCQJ7oIHyGi\nFJljbhpWvurYGkwVW/G/c9rcdW3pRUAAlDSc2sfD4Xm2lzTjmD9Vxw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 487,
|
||
|
"comment" : "edge case for u1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100d0670c47ffb9b1126682fe863d8d94bf2e653b243a43695b57aa27fad347e09d",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0443e899bc3ea443e5521aa6666a0e0b7977feb89b39ae9c9b46c9afcebc852af5828a867be817722818741340c40a86cc385a9aa7d344f87c0c16b1e767615e85",
|
||
|
"wx" : "43e899bc3ea443e5521aa6666a0e0b7977feb89b39ae9c9b46c9afcebc852af5",
|
||
|
"wy" : "00828a867be817722818741340c40a86cc385a9aa7d344f87c0c16b1e767615e85"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000443e899bc3ea443e5521aa6666a0e0b7977feb89b39ae9c9b46c9afcebc852af5828a867be817722818741340c40a86cc385a9aa7d344f87c0c16b1e767615e85",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEQ+iZvD6kQ+VSGqZmag4LeXf+uJs5rpyb\nRsmvzryFKvWCioZ76BdyKBh0E0DECobMOFqap9NE+HwMFrHnZ2FehQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 488,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100d55555555555555555555555555555547c74934474db157d2a8c3f088aced62a",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "042fa2e1f68d00b9e2504f013e0ded297f1b163583c150287f04b9717d37ef4401fcde8ffbb9f4cc74a3feb3f660cd0568983da04a475c85c99fe877556774103d",
|
||
|
"wx" : "2fa2e1f68d00b9e2504f013e0ded297f1b163583c150287f04b9717d37ef4401",
|
||
|
"wy" : "00fcde8ffbb9f4cc74a3feb3f660cd0568983da04a475c85c99fe877556774103d"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200042fa2e1f68d00b9e2504f013e0ded297f1b163583c150287f04b9717d37ef4401fcde8ffbb9f4cc74a3feb3f660cd0568983da04a475c85c99fe877556774103d",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEL6Lh9o0AueJQTwE+De0pfxsWNYPBUCh/\nBLlxfTfvRAH83o/7ufTMdKP+s/ZgzQVomD2gSkdchcmf6HdVZ3QQPQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 489,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100c1777c8853938e536213c02464a936000ba1e21c0fc62075d46c624e23b52f31",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04020c6a477ea4322098c336cc759392e3ee97bbe004561fcbca503c4f9fb0d9df2b2518cd62254b5d4db44660b3cfa6811527a977c163b7e1114e194ea33d9272",
|
||
|
"wx" : "020c6a477ea4322098c336cc759392e3ee97bbe004561fcbca503c4f9fb0d9df",
|
||
|
"wy" : "2b2518cd62254b5d4db44660b3cfa6811527a977c163b7e1114e194ea33d9272"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004020c6a477ea4322098c336cc759392e3ee97bbe004561fcbca503c4f9fb0d9df2b2518cd62254b5d4db44660b3cfa6811527a977c163b7e1114e194ea33d9272",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAgxqR36kMiCYwzbMdZOS4+6Xu+AEVh/L\nylA8T5+w2d8rJRjNYiVLXU20RmCzz6aBFSepd8Fjt+ERThlOoz2Scg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 490,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022030bbb794db588363b40679f6c182a50d3ce9679acdd3ffbe36d7813dacbdc818",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "042906f7953642e20c07df87b82c6f69de287de1b1d14a27a6fbd195d9fffba1c2bba9167950ae639b981aa3bb5754dcf67fc4216074a09f6de11db8d456012a78",
|
||
|
"wx" : "2906f7953642e20c07df87b82c6f69de287de1b1d14a27a6fbd195d9fffba1c2",
|
||
|
"wy" : "00bba9167950ae639b981aa3bb5754dcf67fc4216074a09f6de11db8d456012a78"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200042906f7953642e20c07df87b82c6f69de287de1b1d14a27a6fbd195d9fffba1c2bba9167950ae639b981aa3bb5754dcf67fc4216074a09f6de11db8d456012a78",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEKQb3lTZC4gwH34e4LG9p3ih94bHRSiem\n+9GV2f/7ocK7qRZ5UK5jm5gao7tXVNz2f8QhYHSgn23hHbjUVgEqeA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 491,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202c37fd995622c4fb7fffffffffffffffc7cee745110cb45ab558ed7c90c15a2f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04f7f761cb2567c7bfb6c3f348d3c1571d00491b6a285da344d23e7999a9641b471384a9fb6498149c6c3ce970e2c88eeb0bf62e45c08b71e8c5c587019105a6ce",
|
||
|
"wx" : "00f7f761cb2567c7bfb6c3f348d3c1571d00491b6a285da344d23e7999a9641b47",
|
||
|
"wy" : "1384a9fb6498149c6c3ce970e2c88eeb0bf62e45c08b71e8c5c587019105a6ce"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004f7f761cb2567c7bfb6c3f348d3c1571d00491b6a285da344d23e7999a9641b471384a9fb6498149c6c3ce970e2c88eeb0bf62e45c08b71e8c5c587019105a6ce",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE9/dhyyVnx7+2w/NI08FXHQBJG2ooXaNE\n0j55malkG0cThKn7ZJgUnGw86XDiyI7rC/YuRcCLcejFxYcBkQWmzg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 492,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02207fd995622c4fb7ffffffffffffffffff5d883ffab5b32652ccdcaa290fccb97d",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04c435448e32ff34954bf85c1d0a195adcd6eecae96ed910a758090d4da5ca7ef45261ff9a807f88e53feab7943bb9d6af69862c26eb714647d6649c447e8ef64c",
|
||
|
"wx" : "00c435448e32ff34954bf85c1d0a195adcd6eecae96ed910a758090d4da5ca7ef4",
|
||
|
"wy" : "5261ff9a807f88e53feab7943bb9d6af69862c26eb714647d6649c447e8ef64c"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004c435448e32ff34954bf85c1d0a195adcd6eecae96ed910a758090d4da5ca7ef45261ff9a807f88e53feab7943bb9d6af69862c26eb714647d6649c447e8ef64c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAExDVEjjL/NJVL+FwdChla3Nbuyulu2RCn\nWAkNTaXKfvRSYf+agH+I5T/qt5Q7udavaYYsJutxRkfWZJxEfo72TA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 493,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100ffb32ac4589f6ffffffffffffffffffebb107ff56b664ca599b954521f9972fa",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "048e8bff94e8f067480874d4b0608b2fc20274565ef5793f891130c0bfded7ded92bb1b91f3435c2d664b258d2b4c0f7cb0a9245ae5883ed2fbd8671aef64c22df",
|
||
|
"wx" : "008e8bff94e8f067480874d4b0608b2fc20274565ef5793f891130c0bfded7ded9",
|
||
|
"wy" : "2bb1b91f3435c2d664b258d2b4c0f7cb0a9245ae5883ed2fbd8671aef64c22df"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200048e8bff94e8f067480874d4b0608b2fc20274565ef5793f891130c0bfded7ded92bb1b91f3435c2d664b258d2b4c0f7cb0a9245ae5883ed2fbd8671aef64c22df",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEjov/lOjwZ0gIdNSwYIsvwgJ0Vl71eT+J\nETDAv97X3tkrsbkfNDXC1mSyWNK0wPfLCpJFrliD7S+9hnGu9kwi3w==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 494,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02205622c4fb7fffffffffffffffffffffff928a8f1c7ac7bec1808b9f61c01ec327",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "045cd7b15df5d3b4f31a55c290c6bc905272c1cfd4e814557df2faec5e2b5754a81ca33afb361084a08bda0e79258f99819989140d2bac928f527c172f77bd9bfb",
|
||
|
"wx" : "5cd7b15df5d3b4f31a55c290c6bc905272c1cfd4e814557df2faec5e2b5754a8",
|
||
|
"wy" : "1ca33afb361084a08bda0e79258f99819989140d2bac928f527c172f77bd9bfb"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200045cd7b15df5d3b4f31a55c290c6bc905272c1cfd4e814557df2faec5e2b5754a81ca33afb361084a08bda0e79258f99819989140d2bac928f527c172f77bd9bfb",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEXNexXfXTtPMaVcKQxryQUnLBz9ToFFV9\n8vrsXitXVKgcozr7NhCEoIvaDnklj5mBmYkUDSusko9SfBcvd72b+w==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 495,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022044104104104104104104104104104103b87853fd3b7d3f8e175125b4382f25ed",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "040e90cf16a6f6d82fb7e472e640e8b3ce9288a64c7894e3965bde308218d8bcf89e6a3d78a5599e1cfae0258608d2dc425c979cb11d61464423391eb29b353eb3",
|
||
|
"wx" : "0e90cf16a6f6d82fb7e472e640e8b3ce9288a64c7894e3965bde308218d8bcf8",
|
||
|
"wy" : "009e6a3d78a5599e1cfae0258608d2dc425c979cb11d61464423391eb29b353eb3"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200040e90cf16a6f6d82fb7e472e640e8b3ce9288a64c7894e3965bde308218d8bcf89e6a3d78a5599e1cfae0258608d2dc425c979cb11d61464423391eb29b353eb3",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEDpDPFqb22C+35HLmQOizzpKIpkx4lOOW\nW94wghjYvPieaj14pVmeHPrgJYYI0txCXJecsR1hRkQjOR6ymzU+sw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 496,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202739ce739ce739ce739ce739ce739ce705560298d1f2f08dc419ac273a5b54d9",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "046a504aa871137a2bbd2b05bdda8f6e2e32e9d1468fab78e098c7c0ad41a097e4590e79063b8531de4f0925aef955b80e56f88050f477339caa621100e75969d8",
|
||
|
"wx" : "6a504aa871137a2bbd2b05bdda8f6e2e32e9d1468fab78e098c7c0ad41a097e4",
|
||
|
"wy" : "590e79063b8531de4f0925aef955b80e56f88050f477339caa621100e75969d8"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200046a504aa871137a2bbd2b05bdda8f6e2e32e9d1468fab78e098c7c0ad41a097e4590e79063b8531de4f0925aef955b80e56f88050f477339caa621100e75969d8",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEalBKqHETeiu9KwW92o9uLjLp0UaPq3jg\nmMfArUGgl+RZDnkGO4Ux3k8JJa75VbgOVviAUPR3M5yqYhEA51lp2A==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 497,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100b777777777777777777777777777777688e6a1fe808a97a348671222ff16b863",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04cda3af8e54dd6af3ec691541db443c76c1a6b3a86d4ee72ed1cff6305f8ac91c122b45ed375a32756617921bc2cb8bf88e7e6b6d47320987b2ec71decd3476f8",
|
||
|
"wx" : "00cda3af8e54dd6af3ec691541db443c76c1a6b3a86d4ee72ed1cff6305f8ac91c",
|
||
|
"wy" : "122b45ed375a32756617921bc2cb8bf88e7e6b6d47320987b2ec71decd3476f8"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004cda3af8e54dd6af3ec691541db443c76c1a6b3a86d4ee72ed1cff6305f8ac91c122b45ed375a32756617921bc2cb8bf88e7e6b6d47320987b2ec71decd3476f8",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEzaOvjlTdavPsaRVB20Q8dsGms6htTucu\n0c/2MF+KyRwSK0XtN1oydWYXkhvCy4v4jn5rbUcyCYey7HHezTR2+A==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 498,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02206492492492492492492492492492492406dd3a19b8d5fb875235963c593bd2d3",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04bf4f41debf5f679603c381d123515bd6c959ad29263a867a00946b29bed102f2bb23a6765eaf1e6391f59b70fbda073fca11be2072158c10df199982b7c3e21b",
|
||
|
"wx" : "00bf4f41debf5f679603c381d123515bd6c959ad29263a867a00946b29bed102f2",
|
||
|
"wy" : "00bb23a6765eaf1e6391f59b70fbda073fca11be2072158c10df199982b7c3e21b"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bf4f41debf5f679603c381d123515bd6c959ad29263a867a00946b29bed102f2bb23a6765eaf1e6391f59b70fbda073fca11be2072158c10df199982b7c3e21b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEv09B3r9fZ5YDw4HRI1Fb1slZrSkmOoZ6\nAJRrKb7RAvK7I6Z2Xq8eY5H1m3D72gc/yhG+IHIVjBDfGZmCt8PiGw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 499,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100955555555555555555555555555555547c74934474db157d2a8c3f088aced62c",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04face0b628008def15e20a566a8e26adc48d867ac515240c0a756c408dbea286ad70670fcb5847b773db0b966aaa77328c9434dbec55f2ac3fbd9f43dd99f3bf3",
|
||
|
"wx" : "00face0b628008def15e20a566a8e26adc48d867ac515240c0a756c408dbea286a",
|
||
|
"wy" : "00d70670fcb5847b773db0b966aaa77328c9434dbec55f2ac3fbd9f43dd99f3bf3"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004face0b628008def15e20a566a8e26adc48d867ac515240c0a756c408dbea286ad70670fcb5847b773db0b966aaa77328c9434dbec55f2ac3fbd9f43dd99f3bf3",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE+s4LYoAI3vFeIKVmqOJq3EjYZ6xRUkDA\np1bECNvqKGrXBnD8tYR7dz2wuWaqp3MoyUNNvsVfKsP72fQ92Z878w==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 500,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa3e3a49a23a6d8abe95461f8445676b17",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04cf8abfd2c89106a46adc42f682a1d22172f3d5747e26175fb6d62d5432c775555465f71684eb6ab9811bd830b0e9e276e1160d5b3ad7eb99c72d5b06449a0551",
|
||
|
"wx" : "00cf8abfd2c89106a46adc42f682a1d22172f3d5747e26175fb6d62d5432c77555",
|
||
|
"wy" : "5465f71684eb6ab9811bd830b0e9e276e1160d5b3ad7eb99c72d5b06449a0551"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004cf8abfd2c89106a46adc42f682a1d22172f3d5747e26175fb6d62d5432c775555465f71684eb6ab9811bd830b0e9e276e1160d5b3ad7eb99c72d5b06449a0551",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEz4q/0siRBqRq3EL2gqHSIXLz1XR+Jhdf\nttYtVDLHdVVUZfcWhOtquYEb2DCw6eJ24RYNWzrX65nHLVsGRJoFUQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 501,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100bffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364143",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04050cef9f6e34137bcdb1a893b1eee574aae3550658abc6f4660a67b8e01914f254c54fd2613c3b0e1ac6843a197d0cccc0feceeee86f83c78adbb5fc7727a6ab",
|
||
|
"wx" : "050cef9f6e34137bcdb1a893b1eee574aae3550658abc6f4660a67b8e01914f2",
|
||
|
"wy" : "54c54fd2613c3b0e1ac6843a197d0cccc0feceeee86f83c78adbb5fc7727a6ab"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004050cef9f6e34137bcdb1a893b1eee574aae3550658abc6f4660a67b8e01914f254c54fd2613c3b0e1ac6843a197d0cccc0feceeee86f83c78adbb5fc7727a6ab",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEBQzvn240E3vNsaiTse7ldKrjVQZYq8b0\nZgpnuOAZFPJUxU/SYTw7DhrGhDoZfQzMwP7O7uhvg8eK27X8dyemqw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 502,
|
||
|
"comment" : "edge case for u2",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0220185ddbca6dac41b1da033cfb60c152869e74b3cd66e9ffdf1b6bc09ed65ee40c",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "040fd5effb7839636bf48638ecd04d3b7b84244f67610eb559ea3b2bb3978774b67fa0d181e80cbeff1625ea48614da85e7a297bb4f200c32f164d3a22e39975e4",
|
||
|
"wx" : "0fd5effb7839636bf48638ecd04d3b7b84244f67610eb559ea3b2bb3978774b6",
|
||
|
"wy" : "7fa0d181e80cbeff1625ea48614da85e7a297bb4f200c32f164d3a22e39975e4"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200040fd5effb7839636bf48638ecd04d3b7b84244f67610eb559ea3b2bb3978774b67fa0d181e80cbeff1625ea48614da85e7a297bb4f200c32f164d3a22e39975e4",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAED9Xv+3g5Y2v0hjjs0E07e4QkT2dhDrVZ\n6jsrs5eHdLZ/oNGB6Ay+/xYl6khhTaheeil7tPIAwy8WTToi45l15A==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 503,
|
||
|
"comment" : "point duplication during verification",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022032b0d10d8d0e04bc8d4d064d270699e87cffc9b49c5c20730e1c26f6105ddcda0221008cf5adcdbe8331099059b4336ece94ab3ba9761faf730b22260cbfcc47f174af",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "040fd5effb7839636bf48638ecd04d3b7b84244f67610eb559ea3b2bb3978774b6805f2e7e17f34100e9da15b79eb257a185d6844b0dff3cd0e9b2c5dc1c66864b",
|
||
|
"wx" : "0fd5effb7839636bf48638ecd04d3b7b84244f67610eb559ea3b2bb3978774b6",
|
||
|
"wy" : "00805f2e7e17f34100e9da15b79eb257a185d6844b0dff3cd0e9b2c5dc1c66864b"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200040fd5effb7839636bf48638ecd04d3b7b84244f67610eb559ea3b2bb3978774b6805f2e7e17f34100e9da15b79eb257a185d6844b0dff3cd0e9b2c5dc1c66864b",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAED9Xv+3g5Y2v0hjjs0E07e4QkT2dhDrVZ\n6jsrs5eHdLaAXy5+F/NBAOnaFbeeslehhdaESw3/PNDpssXcHGaGSw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 504,
|
||
|
"comment" : "duplication bug",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022032b0d10d8d0e04bc8d4d064d270699e87cffc9b49c5c20730e1c26f6105ddcda0221008cf5adcdbe8331099059b4336ece94ab3ba9761faf730b22260cbfcc47f174af",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "043328dea23505062b5236e9f1880c85d251859d52c7e9479c44c82994404ca2b9efa683a714cfa079179a021f5ab6d9a36be886093ae0adfd7c88e3b44d579e8c",
|
||
|
"wx" : "3328dea23505062b5236e9f1880c85d251859d52c7e9479c44c82994404ca2b9",
|
||
|
"wy" : "00efa683a714cfa079179a021f5ab6d9a36be886093ae0adfd7c88e3b44d579e8c"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200043328dea23505062b5236e9f1880c85d251859d52c7e9479c44c82994404ca2b9efa683a714cfa079179a021f5ab6d9a36be886093ae0adfd7c88e3b44d579e8c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEMyjeojUFBitSNunxiAyF0lGFnVLH6Uec\nRMgplEBMornvpoOnFM+geReaAh9attmja+iGCTrgrf18iOO0TVeejA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 505,
|
||
|
"comment" : "comparison with point at infinity ",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0022033333333333333333333333333333332f222f8faefdb533f265d461c29a47373",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04eff50ce9ca8262bc5a90bd53a8ec78d0b3dbb3dffc29b6a149a49a80c83b338c4dfee1651c973585a985b7eb64be41add1ce6c52e68ba073c562037983c04e33",
|
||
|
"wx" : "00eff50ce9ca8262bc5a90bd53a8ec78d0b3dbb3dffc29b6a149a49a80c83b338c",
|
||
|
"wy" : "4dfee1651c973585a985b7eb64be41add1ce6c52e68ba073c562037983c04e33"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004eff50ce9ca8262bc5a90bd53a8ec78d0b3dbb3dffc29b6a149a49a80c83b338c4dfee1651c973585a985b7eb64be41add1ce6c52e68ba073c562037983c04e33",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE7/UM6cqCYrxakL1TqOx40LPbs9/8Kbah\nSaSagMg7M4xN/uFlHJc1hamFt+tkvkGt0c5sUuaLoHPFYgN5g8BOMw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 506,
|
||
|
"comment" : "extreme value for k and edgecase s",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04197b7b0558c077fe7ca5617df4b7473b023bf94e96958c0aee53a51253be649a63b4c4703601e96a904475029e117407a9d56db5ff5cd5372c6aa91b86fd5e0f",
|
||
|
"wx" : "197b7b0558c077fe7ca5617df4b7473b023bf94e96958c0aee53a51253be649a",
|
||
|
"wy" : "63b4c4703601e96a904475029e117407a9d56db5ff5cd5372c6aa91b86fd5e0f"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004197b7b0558c077fe7ca5617df4b7473b023bf94e96958c0aee53a51253be649a63b4c4703601e96a904475029e117407a9d56db5ff5cd5372c6aa91b86fd5e0f",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGXt7BVjAd/58pWF99LdHOwI7+U6WlYwK\n7lOlElO+ZJpjtMRwNgHpapBEdQKeEXQHqdVttf9c1Tcsaqkbhv1eDw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 507,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022100b6db6db6db6db6db6db6db6db6db6db5f30f30127d33e02aad96438927022e9c",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04b0587dbe6b08ebf735012fd702ad12581d5a69dc42372f0c9c64fe988d40f97178697a976684d662d8e4062135c508be49a8193d31fc309f51208f2df16508db",
|
||
|
"wx" : "00b0587dbe6b08ebf735012fd702ad12581d5a69dc42372f0c9c64fe988d40f971",
|
||
|
"wy" : "78697a976684d662d8e4062135c508be49a8193d31fc309f51208f2df16508db"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b0587dbe6b08ebf735012fd702ad12581d5a69dc42372f0c9c64fe988d40f97178697a976684d662d8e4062135c508be49a8193d31fc309f51208f2df16508db",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEsFh9vmsI6/c1AS/XAq0SWB1aadxCNy8M\nnGT+mI1A+XF4aXqXZoTWYtjkBiE1xQi+SagZPTH8MJ9RII8t8WUI2w==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 508,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3046022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee502210099999999999999999999999999999998d668eaf0cf91f9bd7317d2547ced5a5a",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04f3ddf100facb4d04002a38d15626433ac3b95205b1b3282f9fa5c921518791ae63612a449709ab5e458c05d4880c6e4d1d21d6d1f7998bad8f605d6bedff6450",
|
||
|
"wx" : "00f3ddf100facb4d04002a38d15626433ac3b95205b1b3282f9fa5c921518791ae",
|
||
|
"wy" : "63612a449709ab5e458c05d4880c6e4d1d21d6d1f7998bad8f605d6bedff6450"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004f3ddf100facb4d04002a38d15626433ac3b95205b1b3282f9fa5c921518791ae63612a449709ab5e458c05d4880c6e4d1d21d6d1f7998bad8f605d6bedff6450",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE893xAPrLTQQAKjjRViZDOsO5UgWxsygv\nn6XJIVGHka5jYSpElwmrXkWMBdSIDG5NHSHW0feZi62PYF1r7f9kUA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 509,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022066666666666666666666666666666665e445f1f5dfb6a67e4cba8c385348e6e7",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "047aaf2dc5cec7aa23e8ecebc7ab039f52f4dcc297dee1e2721d38f19bcbc9893024186b29e48a4ca6272795a9743b313e2cbeab6d9dfc8dde8e722f0bdcf05f08",
|
||
|
"wx" : "7aaf2dc5cec7aa23e8ecebc7ab039f52f4dcc297dee1e2721d38f19bcbc98930",
|
||
|
"wy" : "24186b29e48a4ca6272795a9743b313e2cbeab6d9dfc8dde8e722f0bdcf05f08"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200047aaf2dc5cec7aa23e8ecebc7ab039f52f4dcc297dee1e2721d38f19bcbc9893024186b29e48a4ca6272795a9743b313e2cbeab6d9dfc8dde8e722f0bdcf05f08",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeq8txc7HqiPo7OvHqwOfUvTcwpfe4eJy\nHTjxm8vJiTAkGGsp5IpMpicnlal0OzE+LL6rbZ38jd6Oci8L3PBfCA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 510,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022049249249249249249249249249249248c79facd43214c011123c1b03a93412a5",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0485b5f352382e9b7c6c4f06012fb9d8c6a7801cca1460ea18e1794d98727869ce2e8c1200428d29e116ce68562d0ca1ad9886b85c63899086256f3af90207c804",
|
||
|
"wx" : "0085b5f352382e9b7c6c4f06012fb9d8c6a7801cca1460ea18e1794d98727869ce",
|
||
|
"wy" : "2e8c1200428d29e116ce68562d0ca1ad9886b85c63899086256f3af90207c804"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000485b5f352382e9b7c6c4f06012fb9d8c6a7801cca1460ea18e1794d98727869ce2e8c1200428d29e116ce68562d0ca1ad9886b85c63899086256f3af90207c804",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEhbXzUjgum3xsTwYBL7nYxqeAHMoUYOoY\n4XlNmHJ4ac4ujBIAQo0p4RbOaFYtDKGtmIa4XGOJkIYlbzr5AgfIBA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 511,
|
||
|
"comment" : "extreme value for k",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee502200eb10e5ab95f2f275348d82ad2e4d7949c8193800d8c9c75df58e343f0ebba7b",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04d282b8c407e70a153c420461da7e376d501e9348b42d143f6c215ee2b61aed281cf6add6baf3e3fce0aad7da86061f1e5bf2de8016eb781fa87f260a0de748a8",
|
||
|
"wx" : "00d282b8c407e70a153c420461da7e376d501e9348b42d143f6c215ee2b61aed28",
|
||
|
"wy" : "1cf6add6baf3e3fce0aad7da86061f1e5bf2de8016eb781fa87f260a0de748a8"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d282b8c407e70a153c420461da7e376d501e9348b42d143f6c215ee2b61aed281cf6add6baf3e3fce0aad7da86061f1e5bf2de8016eb781fa87f260a0de748a8",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE0oK4xAfnChU8QgRh2n43bVAek0i0LRQ/\nbCFe4rYa7Sgc9q3WuvPj/OCq19qGBh8eW/LegBbreB+ofyYKDedIqA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 512,
|
||
|
"comment" : "extreme value for k and edgecase s",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "040b21e08ee53b735b32f51327fa4aac6b0ff775bf7ef0a4a7d9fa5f2a693104a44e9a4795f4999e25da0b9c314828bdd12f45aec22a19150004b1912afa019344",
|
||
|
"wx" : "0b21e08ee53b735b32f51327fa4aac6b0ff775bf7ef0a4a7d9fa5f2a693104a4",
|
||
|
"wy" : "4e9a4795f4999e25da0b9c314828bdd12f45aec22a19150004b1912afa019344"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200040b21e08ee53b735b32f51327fa4aac6b0ff775bf7ef0a4a7d9fa5f2a693104a44e9a4795f4999e25da0b9c314828bdd12f45aec22a19150004b1912afa019344",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAECyHgjuU7c1sy9RMn+kqsaw/3db9+8KSn\n2fpfKmkxBKROmkeV9JmeJdoLnDFIKL3RL0WuwioZFQAEsZEq+gGTRA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 513,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022100b6db6db6db6db6db6db6db6db6db6db5f30f30127d33e02aad96438927022e9c",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04de51929eb2137315db47731d4ef28c4177d04c4990018e0471656a6c3b84a3c11ff555ec1d66075af3b2c4335bbbe8bccb3568553d7205eb510d95592071e9ad",
|
||
|
"wx" : "00de51929eb2137315db47731d4ef28c4177d04c4990018e0471656a6c3b84a3c1",
|
||
|
"wy" : "1ff555ec1d66075af3b2c4335bbbe8bccb3568553d7205eb510d95592071e9ad"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004de51929eb2137315db47731d4ef28c4177d04c4990018e0471656a6c3b84a3c11ff555ec1d66075af3b2c4335bbbe8bccb3568553d7205eb510d95592071e9ad",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE3lGSnrITcxXbR3MdTvKMQXfQTEmQAY4E\ncWVqbDuEo8Ef9VXsHWYHWvOyxDNbu+i8yzVoVT1yBetRDZVZIHHprQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 514,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f8179802210099999999999999999999999999999998d668eaf0cf91f9bd7317d2547ced5a5a",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "047f478a0ec74f842347962c4c4fdf24556dd6072b1a787beb2ca0c0e0f6420965b08a367106c6d921397b0a322b55c6d658f93d1a08f541955c3f3b0a1c451194",
|
||
|
"wx" : "7f478a0ec74f842347962c4c4fdf24556dd6072b1a787beb2ca0c0e0f6420965",
|
||
|
"wy" : "00b08a367106c6d921397b0a322b55c6d658f93d1a08f541955c3f3b0a1c451194"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200047f478a0ec74f842347962c4c4fdf24556dd6072b1a787beb2ca0c0e0f6420965b08a367106c6d921397b0a322b55c6d658f93d1a08f541955c3f3b0a1c451194",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEf0eKDsdPhCNHlixMT98kVW3WBysaeHvr\nLKDA4PZCCWWwijZxBsbZITl7CjIrVcbWWPk9Ggj1QZVcPzsKHEURlA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 515,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022066666666666666666666666666666665e445f1f5dfb6a67e4cba8c385348e6e7",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0431b6688798d48eda210ea3417b2e118ca727b9e147968359ee1edab60c4710b110a53fb782f5f67d6c0f84b18753708f16d22667ade0251a6cf2a885a4ef6b1c",
|
||
|
"wx" : "31b6688798d48eda210ea3417b2e118ca727b9e147968359ee1edab60c4710b1",
|
||
|
"wy" : "10a53fb782f5f67d6c0f84b18753708f16d22667ade0251a6cf2a885a4ef6b1c"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000431b6688798d48eda210ea3417b2e118ca727b9e147968359ee1edab60c4710b110a53fb782f5f67d6c0f84b18753708f16d22667ade0251a6cf2a885a4ef6b1c",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEMbZoh5jUjtohDqNBey4RjKcnueFHloNZ\n7h7atgxHELEQpT+3gvX2fWwPhLGHU3CPFtImZ63gJRps8qiFpO9rHA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 516,
|
||
|
"comment" : "extreme value for k and s^-1",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022049249249249249249249249249249248c79facd43214c011123c1b03a93412a5",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04e03e9628c7e440d051aafaa110f83ac5f2fd2d614504f0d8d96cb28175e56ebf0a0b78b5951a34adb39680b2bef533c745dd14c6d798188da2d5abf0b321e208",
|
||
|
"wx" : "00e03e9628c7e440d051aafaa110f83ac5f2fd2d614504f0d8d96cb28175e56ebf",
|
||
|
"wy" : "0a0b78b5951a34adb39680b2bef533c745dd14c6d798188da2d5abf0b321e208"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004e03e9628c7e440d051aafaa110f83ac5f2fd2d614504f0d8d96cb28175e56ebf0a0b78b5951a34adb39680b2bef533c745dd14c6d798188da2d5abf0b321e208",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE4D6WKMfkQNBRqvqhEPg6xfL9LWFFBPDY\n2WyygXXlbr8KC3i1lRo0rbOWgLK+9TPHRd0UxteYGI2i1avwsyHiCA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 517,
|
||
|
"comment" : "extreme value for k",
|
||
|
"flags" : [
|
||
|
"ArithmeticError"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f8179802200eb10e5ab95f2f275348d82ad2e4d7949c8193800d8c9c75df58e343f0ebba7b",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",
|
||
|
"wx" : "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
|
||
|
"wy" : "483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeb5mfvncu6xVoGKVzocLBwKb/NstzijZ\nWfKBWxb4F5hIOtp3JqPEZV2k+/wOEQio/Re0SKaFVBmcR9CP+xDUuA==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 518,
|
||
|
"comment" : "public key shares x-coordinate with generator",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100aa275665bf8cd2750115f3d8baf4693d8b02b8a06567c354931362f6b0127e6402202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 519,
|
||
|
"comment" : "public key shares x-coordinate with generator",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055d8a99a40732d8afeea0c27450b96c12fac244649e0dce72cbefb962023c2dd02202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798b7c52588d95c3b9aa25b0403f1eef75702e84bb7597aabe663b82f6f04ef2777",
|
||
|
"wx" : "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
|
||
|
"wy" : "00b7c52588d95c3b9aa25b0403f1eef75702e84bb7597aabe663b82f6f04ef2777"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798b7c52588d95c3b9aa25b0403f1eef75702e84bb7597aabe663b82f6f04ef2777",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeb5mfvncu6xVoGKVzocLBwKb/NstzijZ\nWfKBWxb4F5i3xSWI2Vw7mqJbBAPx7vdXAuhLt1l6q+ZjuC9vBO8ndw==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 520,
|
||
|
"comment" : "public key shares x-coordinate with generator",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3045022100aa275665bf8cd2750115f3d8baf4693d8b02b8a06567c354931362f6b0127e6402202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952",
|
||
|
"result" : "invalid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 521,
|
||
|
"comment" : "public key shares x-coordinate with generator",
|
||
|
"flags" : [
|
||
|
"PointDuplication"
|
||
|
],
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3044022055d8a99a40732d8afeea0c27450b96c12fac244649e0dce72cbefb962023c2dd02202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952",
|
||
|
"result" : "invalid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff00000001060492d5a5673e0f25d8d50fb7e58c49d86d46d4216955e0aa3d40e1",
|
||
|
"wx" : "6e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff",
|
||
|
"wy" : "01060492d5a5673e0f25d8d50fb7e58c49d86d46d4216955e0aa3d40e1"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff00000001060492d5a5673e0f25d8d50fb7e58c49d86d46d4216955e0aa3d40e1",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEboI1VUUpFAmRgsaywdbwtdKNUMzQBa8s\n4bulQapAyv8AAAABBgSS1aVnPg8l2NUPt+WMSdhtRtQhaVXgqj1A4Q==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 522,
|
||
|
"comment" : "y-coordinate of the public key is small",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "30450220464a46be43db95757410c8a665daede8e703a3699f8888fca4a43efde5efe909022100d390307c381e99c0bf1708788c05421e0fa46146b87eeae129755afbed10f833",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 523,
|
||
|
"comment" : "y-coordinate of the public key is small",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "3045022100d03531447558ba41e6fa8903c72810b59f554fb8c22a289e74de72a18fa2486a022059820fc4d1eb161fde46addecf43a68ab392dfb5c5639645974c9e1d02a2d804",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 524,
|
||
|
"comment" : "y-coordinate of the public key is small",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "304402202b1accd781dfcfbee745099340ae0e3de2f03dbaa877c67a193d01e59af07fd902202102bff66143cec438dfcf25a2830032a7ab997fff87e2d968e68316b0367c2e",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40cafffffffffef9fb6d2a5a98c1f0da272af0481a73b62792b92bde96aa1e55c2bb4e",
|
||
|
"wx" : "6e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff",
|
||
|
"wy" : "00fffffffef9fb6d2a5a98c1f0da272af0481a73b62792b92bde96aa1e55c2bb4e"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40cafffffffffef9fb6d2a5a98c1f0da272af0481a73b62792b92bde96aa1e55c2bb4e",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEboI1VUUpFAmRgsaywdbwtdKNUMzQBa8s\n4bulQapAyv/////++fttKlqYwfDaJyrwSBpztieSuSvelqoeVcK7Tg==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 525,
|
||
|
"comment" : "y-coordinate of the public key is large",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "3046022100a9bbaa431da61459f596aa0f0e0a04c4aa842c601d80b66df61ca31a956eff00022100f80836e4c9aed5fc5ae68ff3fcc2cc4708b3da87e6a62693eaa3d3fbbee4a62c",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 526,
|
||
|
"comment" : "y-coordinate of the public key is large",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "30450220592022d84bd494ddda81c46a7b9a5c77636895a7e771767e5f4d7d5935c2bd36022100b0da09fb20d6d41b3ba0c3e2ff2a3f6c672d4c1e0b98224be73b8c731dcd8a7d",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 527,
|
||
|
"comment" : "y-coordinate of the public key is large",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "30450220282d848ade945d708a5b24448c820af39109550c98acaa0388a42c0aefdd57ea022100f3813f887784763140ad75d92004dcc2c083f24c2021bca951a0e992c19f2375",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04000000013fd22248d64d95f73c29b48ab48631850be503fd00f8468b5f0f70e0f6ee7aa43bc2c6fd25b1d8269241cbdd9dbb0dac96dc96231f430705f838717d",
|
||
|
"wx" : "013fd22248d64d95f73c29b48ab48631850be503fd00f8468b5f0f70e0",
|
||
|
"wy" : "00f6ee7aa43bc2c6fd25b1d8269241cbdd9dbb0dac96dc96231f430705f838717d"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004000000013fd22248d64d95f73c29b48ab48631850be503fd00f8468b5f0f70e0f6ee7aa43bc2c6fd25b1d8269241cbdd9dbb0dac96dc96231f430705f838717d",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAAAAAT/SIkjWTZX3PCm0irSGMYUL5QP9\nAPhGi18PcOD27nqkO8LG/SWx2CaSQcvdnbsNrJbcliMfQwcF+DhxfQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 528,
|
||
|
"comment" : "x-coordinate of the public key is small",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "3046022100c684978c7a9b0b25d0fc46085f8fcf25333cf60faa9725f0e3bb8d36fad0115f02210086c7777485160d36534d738df96ebbe466724a2b0ba46037c3c7259d56fcbc69",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 529,
|
||
|
"comment" : "x-coordinate of the public key is small",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "304502210084ead946823e99db2f868445267816f8c768918f43eb63db99fad185a77cb4bf02201ccafad763bfe7f1126d14347281c308bfc26cfdeeceaa0b9500324592ba1d08",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 530,
|
||
|
"comment" : "x-coordinate of the public key is small",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "30450221009809aee73683bdb2f11aed700e126218cf83390d03ced4ba1d0d7c510f28e1710220517d7b37cc5a135bc3ebb6b8893184c19cd55906fb81457921459dc2e405b289",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "0425afd689acabaed67c1f296de59406f8c550f57146a0b4ec2c97876dfffffffffa46a76e520322dfbc491ec4f0cc197420fc4ea5883d8f6dd53c354bc4f67c35",
|
||
|
"wx" : "25afd689acabaed67c1f296de59406f8c550f57146a0b4ec2c97876dffffffff",
|
||
|
"wy" : "00fa46a76e520322dfbc491ec4f0cc197420fc4ea5883d8f6dd53c354bc4f67c35"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000425afd689acabaed67c1f296de59406f8c550f57146a0b4ec2c97876dfffffffffa46a76e520322dfbc491ec4f0cc197420fc4ea5883d8f6dd53c354bc4f67c35",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEJa/WiayrrtZ8Hylt5ZQG+MVQ9XFGoLTs\nLJeHbf/////6RqduUgMi37xJHsTwzBl0IPxOpYg9j23VPDVLxPZ8NQ==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 531,
|
||
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "3046022100ffbd115248ced3e239e69f70aca6b88009a4ba70789dc069f6398bef2689b360022100cd5395067978dd2033be3683b2b89f325ffe36d6c322b3d3cfb0d830c2f6a9e8",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 532,
|
||
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "3046022100ddcc741a775ba371fbf012387602e4df68ac6417c14a8bc07d33c5bb82012ee602210099c06c1e31ea5d7e599e30b64b4de29753fbd2240c19bca2d45e5c9257706b26",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 533,
|
||
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "3046022100ab182993ac64e949230ca990dd5c34000265b89c96e65d17a1a459704e18c483022100acde94f7015284fd8ef8173f0b5848e27328cb53f9767674f3b2d636466f8aac",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "04d12e6c66b67734c3c84d2601cf5d35dc097e27637f0aca4a4fdb74b6aadd3bb93f5bdff88bd5736df898e699006ed750f11cf07c5866cd7ad70c7121ffffffff",
|
||
|
"wx" : "00d12e6c66b67734c3c84d2601cf5d35dc097e27637f0aca4a4fdb74b6aadd3bb9",
|
||
|
"wy" : "3f5bdff88bd5736df898e699006ed750f11cf07c5866cd7ad70c7121ffffffff"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d12e6c66b67734c3c84d2601cf5d35dc097e27637f0aca4a4fdb74b6aadd3bb93f5bdff88bd5736df898e699006ed750f11cf07c5866cd7ad70c7121ffffffff",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE0S5sZrZ3NMPITSYBz1013Al+J2N/CspK\nT9t0tqrdO7k/W9/4i9VzbfiY5pkAbtdQ8RzwfFhmzXrXDHEh/////w==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 534,
|
||
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "304402203bdd807aa453ebb9f5414a5d69a2be960df3aeb77504baf914cb2e86ee3696f202206cd9d8777addf855fa925cbaf96c0922eb77fbd9d5a694e54fc095311225bf37",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 535,
|
||
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "304502210090ef85d856713b3663b149af197cb2cdd02a182efc9febcb967cf94cc906a245022049dcd3a2a3830ee767272fdcd6d71ea6d9ebef2966d062d1395997591e2663b0",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 536,
|
||
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "3046022100d488ff59f0511e95f1c453a97f69f8348ebea8df3dd169cb86e3659f9ac3cf6d0221009cee77199ef61962d0536bb2d6ca8df1241c154c5d2b438c4a4642fb8300bf93",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type" : "EcdsaVerify",
|
||
|
"publicKey" : {
|
||
|
"type" : "EcPublicKey",
|
||
|
"curve" : "secp256k1",
|
||
|
"keySize" : 256,
|
||
|
"uncompressed" : "046d4a7f60d4774a4f0aa8bbdedb953c7eea7909407e3164755664bc2800000000e659d34e4df38d9e8c9eaadfba36612c769195be86c77aac3f36e78b538680fb",
|
||
|
"wx" : "6d4a7f60d4774a4f0aa8bbdedb953c7eea7909407e3164755664bc2800000000",
|
||
|
"wy" : "00e659d34e4df38d9e8c9eaadfba36612c769195be86c77aac3f36e78b538680fb"
|
||
|
},
|
||
|
"publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200046d4a7f60d4774a4f0aa8bbdedb953c7eea7909407e3164755664bc2800000000e659d34e4df38d9e8c9eaadfba36612c769195be86c77aac3f36e78b538680fb",
|
||
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEbUp/YNR3Sk8KqLve25U8fup5CUB+MWR1\nVmS8KAAAAADmWdNOTfONnoyeqt+6NmEsdpGVvobHeqw/NueLU4aA+w==\n-----END PUBLIC KEY-----\n",
|
||
|
"sha" : "SHAKE256",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 537,
|
||
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "3046022100b1b6f8ef07f038033b16d9bf45bf0dede3933b13628bb0d42d700d6558d2fa27022100952e44f7ccce4b03219f7b03cbb25f8c7f248bff4a6b8dc86091715fa3b991fa",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 538,
|
||
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "304402201dfbe3475a56b7154581754170f9bd26ad587963f6602ac2a0b19dc95d5db14702205f91c59ab77032687de74a9d16247342977444050e4b73167132782ad4a71c31",
|
||
|
"result" : "valid"
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 539,
|
||
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
||
|
"flags" : [
|
||
|
"EdgeCasePublicKey"
|
||
|
],
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "3044022057a0f29be404873953639f069f5b4b0149a241f5da85df21eac9dd58995be0af02202813f7d8bbe6f1d7f3f7dca63670393fd1709496253af1243493536a64eccd6f",
|
||
|
"result" : "valid"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|