6342 lines
278 KiB
JSON
6342 lines
278 KiB
JSON
{
|
|
"algorithm" : "ECDSA",
|
|
"schema" : "ecdsa_verify_schema.json",
|
|
"generatorVersion" : "0.9rc5",
|
|
"numberOfTests" : 468,
|
|
"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"
|
|
]
|
|
},
|
|
"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" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "044c246670658a1d41f5d77bce246cbe386ac22848e269b9d4cd67c466ddd947153d39b2d42533a460def26880408caf2dd3dd48fe888cd176",
|
|
"wx" : "4c246670658a1d41f5d77bce246cbe386ac22848e269b9d4cd67c466",
|
|
"wy" : "00ddd947153d39b2d42533a460def26880408caf2dd3dd48fe888cd176"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00044c246670658a1d41f5d77bce246cbe386ac22848e269b9d4cd67c466ddd947153d39b2d42533a460def26880408caf2dd3dd48fe888cd176",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAETCRmcGWKHUH113vOJGy+OGrCKEjiabnU\nzWfEZt3ZRxU9ObLUJTOkYN7yaIBAjK8t091I/oiM0XY=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "",
|
|
"sig" : "303d021c0364e7d96832614a80216e730c353534d4bffd2c26649c0b4b0e2628021d008f40064b412fe38c5ba9cf664e6172ed48e6e79f0fe5e31a54985dfc",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 2,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021d00f4b68df62b9238363ccc1bbee00deb3fb2693f7894178e14eeac596a021c7f51c9451adacd2bcbc721f7df0643d7cd18a6b52064b507e1912f23",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 3,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00b2970cdec29c70294a18bbc49985efa33acc0af509c326a3977a35e8021c0cea3ed8ebaaf6ee6aef6049a23cbc39f61fcf8fc6be4bab13385579",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 4,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "303d021c7e7b0eb7da8c68a7072b11404ee95a5c407fbfe3d69646802e28ae77021d00d409a2f6bbaae59bb60fc0a092b12fa4e67dc8d088cf19a833322fd6",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04eada93be10b2449e1e8bb58305d52008013c57107c1a20a317a6cba7eca672340c03d1d2e09663286691df55069fa25490c9dd9f9c0bb2b5",
|
|
"wx" : "00eada93be10b2449e1e8bb58305d52008013c57107c1a20a317a6cba7",
|
|
"wy" : "00eca672340c03d1d2e09663286691df55069fa25490c9dd9f9c0bb2b5"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004eada93be10b2449e1e8bb58305d52008013c57107c1a20a317a6cba7eca672340c03d1d2e09663286691df55069fa25490c9dd9f9c0bb2b5",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE6tqTvhCyRJ4ei7WDBdUgCAE8VxB8GiCj\nF6bLp+ymcjQMA9HS4JZjKGaR31UGn6JUkMndn5wLsrU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 5,
|
|
"comment" : "signature malleability",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021d009e82950ebe102f37ff3645cc7d3c1bab8864e5e03a5011eeba8150bc",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 6,
|
|
"comment" : "valid",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 7,
|
|
"comment" : "length of sequence [r, s] uses long form encoding",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30813c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 8,
|
|
"comment" : "length of sequence [r, s] contains a leading 0",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3082003c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 9,
|
|
"comment" : "length of sequence [r, s] uses 61 instead of 60",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 10,
|
|
"comment" : "length of sequence [r, s] uses 59 instead of 60",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 11,
|
|
"comment" : "uint32 overflow in length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3085010000003c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 12,
|
|
"comment" : "uint64 overflow in length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308901000000000000003c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 13,
|
|
"comment" : "length of sequence [r, s] = 2**31 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30847fffffff021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 14,
|
|
"comment" : "length of sequence [r, s] = 2**31",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308480000000021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 15,
|
|
"comment" : "length of sequence [r, s] = 2**32 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3084ffffffff021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 16,
|
|
"comment" : "length of sequence [r, s] = 2**40 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3085ffffffffff021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 17,
|
|
"comment" : "length of sequence [r, s] = 2**64 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3088ffffffffffffffff021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 18,
|
|
"comment" : "incorrect length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30ff021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 19,
|
|
"comment" : "replaced sequence [r, s] by an indefinite length tag without termination",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 20,
|
|
"comment" : "removing sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 21,
|
|
"comment" : "lonely sequence tag",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 22,
|
|
"comment" : "appending 0's to sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 23,
|
|
"comment" : "prepending 0's to sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e0000021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 24,
|
|
"comment" : "appending unused 0's to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 25,
|
|
"comment" : "appending null value to sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 26,
|
|
"comment" : "prepending garbage to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041498177303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 27,
|
|
"comment" : "prepending garbage to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30402500303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 28,
|
|
"comment" : "appending garbage to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810004deadbeef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 29,
|
|
"comment" : "including undefined tags",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3044aa00bb00cd00303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 30,
|
|
"comment" : "including undefined tags",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30442224aa00bb00cd00021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 31,
|
|
"comment" : "including undefined tags",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3044021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a042224aa00bb00cd00021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 32,
|
|
"comment" : "truncated length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3081",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 33,
|
|
"comment" : "including undefined tags to sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3042aa02aabb303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 34,
|
|
"comment" : "using composition with indefinite length for sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 35,
|
|
"comment" : "using composition with wrong tag for sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080313c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 36,
|
|
"comment" : "Replacing sequence [r, s] with NULL",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "0500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 37,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "2e3c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 38,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "2f3c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 39,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "313c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 40,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "323c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 41,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "ff3c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 42,
|
|
"comment" : "dropping value of sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 43,
|
|
"comment" : "using composition for sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3040300102303b1c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 44,
|
|
"comment" : "truncated sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 45,
|
|
"comment" : "truncated sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b1c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 46,
|
|
"comment" : "sequence [r, s] of size 4157 to check for overflows",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3082103d021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 47,
|
|
"comment" : "indefinite length",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 48,
|
|
"comment" : "indefinite length with truncated delimiter",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad98100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 49,
|
|
"comment" : "indefinite length with additional element",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad98105000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 50,
|
|
"comment" : "indefinite length with truncated element",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981060811220000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 51,
|
|
"comment" : "indefinite length with garbage",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810000fe02beef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 52,
|
|
"comment" : "indefinite length with nonempty EOC",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810002beef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 53,
|
|
"comment" : "prepend empty sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e3000021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 54,
|
|
"comment" : "append empty sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9813000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 55,
|
|
"comment" : "append zero",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 56,
|
|
"comment" : "append garbage with high tag number",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981bf7f00",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 57,
|
|
"comment" : "append null with explicit tag",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3040021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981a0020500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 58,
|
|
"comment" : "append null with implicit tag",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981a000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 59,
|
|
"comment" : "sequence of sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 60,
|
|
"comment" : "truncated sequence: removed last 1 elements",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "301e021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 61,
|
|
"comment" : "repeating element in sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "305a021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 62,
|
|
"comment" : "flipped bit 0 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303a3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a05021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 63,
|
|
"comment" : "flipped bit 32 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303a3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9c8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 64,
|
|
"comment" : "flipped bit 48 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303a3ade5c0624a5677ed7b6450d9420bbe028d499c23be8ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 65,
|
|
"comment" : "flipped bit 64 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303a3ade5c0624a5677ed7b6450d9420bbe028d499c33be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 66,
|
|
"comment" : "length of r uses long form encoding",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d02811c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 67,
|
|
"comment" : "length of r contains a leading 0",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e0282001c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 68,
|
|
"comment" : "length of r uses 29 instead of 28",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021d3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 69,
|
|
"comment" : "length of r uses 27 instead of 28",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021b3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 70,
|
|
"comment" : "uint32 overflow in length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30410285010000001c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 71,
|
|
"comment" : "uint64 overflow in length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045028901000000000000001c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 72,
|
|
"comment" : "length of r = 2**31 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304002847fffffff3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 73,
|
|
"comment" : "length of r = 2**31",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30400284800000003ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 74,
|
|
"comment" : "length of r = 2**32 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30400284ffffffff3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 75,
|
|
"comment" : "length of r = 2**40 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30410285ffffffffff3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 76,
|
|
"comment" : "length of r = 2**64 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440288ffffffffffffffff3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 77,
|
|
"comment" : "incorrect length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c02ff3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 78,
|
|
"comment" : "replaced r by an indefinite length tag without termination",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c02803ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 79,
|
|
"comment" : "removing r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "301e021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 80,
|
|
"comment" : "lonely integer tag",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "301f02021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 81,
|
|
"comment" : "lonely integer tag",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "301f021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a0402",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 82,
|
|
"comment" : "appending 0's to r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021e3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040000021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 83,
|
|
"comment" : "prepending 0's to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021e00003ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 84,
|
|
"comment" : "appending unused 0's to r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040000021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 85,
|
|
"comment" : "appending null value to r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021e3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040500021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 86,
|
|
"comment" : "prepending garbage to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30412221498177021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 87,
|
|
"comment" : "prepending garbage to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304022202500021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 88,
|
|
"comment" : "appending garbage to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3044221e021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040004deadbeef021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 89,
|
|
"comment" : "truncated length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30200281021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 90,
|
|
"comment" : "including undefined tags to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30422222aa02aabb021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 91,
|
|
"comment" : "using composition with indefinite length for r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30402280021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040000021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 92,
|
|
"comment" : "using composition with wrong tag for r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30402280031c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040000021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 93,
|
|
"comment" : "Replacing r with NULL",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30200500021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 94,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c001c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 95,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c011c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 96,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c031c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 97,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c041c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 98,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303cff1c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 99,
|
|
"comment" : "dropping value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30200200021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 100,
|
|
"comment" : "using composition for r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3040222002013a021bde5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 101,
|
|
"comment" : "modifying first byte of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c38de5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 102,
|
|
"comment" : "modifying last byte of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a84021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 103,
|
|
"comment" : "truncated r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b021b3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 104,
|
|
"comment" : "truncated r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b021bde5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 105,
|
|
"comment" : "r of size 4125 to check for overflows",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3082103f0282101d3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 106,
|
|
"comment" : "leading ff in r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021dff3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 107,
|
|
"comment" : "replaced r by infinity",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021090180021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 108,
|
|
"comment" : "replacing r with zero",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021020100021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 109,
|
|
"comment" : "flipped bit 0 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303a021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad980",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 110,
|
|
"comment" : "flipped bit 32 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303a021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04617d6af141efd0c800c9ba3382c2faf758540a5dd98d1757a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 111,
|
|
"comment" : "flipped bit 48 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303a021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04617d6af141efd0c800c9ba3382c2faf758540a5dd98c1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 112,
|
|
"comment" : "flipped bit 64 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303a021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04617d6af141efd0c800c9ba3382c2faf758540a5cd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 113,
|
|
"comment" : "length of s uses long form encoding",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a0402811c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 114,
|
|
"comment" : "length of s contains a leading 0",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040282001c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 115,
|
|
"comment" : "length of s uses 29 instead of 28",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021d617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 116,
|
|
"comment" : "length of s uses 27 instead of 28",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021b617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 117,
|
|
"comment" : "uint32 overflow in length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040285010000001c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 118,
|
|
"comment" : "uint64 overflow in length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04028901000000000000001c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 119,
|
|
"comment" : "length of s = 2**31 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3040021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a0402847fffffff617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 120,
|
|
"comment" : "length of s = 2**31",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3040021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04028480000000617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 121,
|
|
"comment" : "length of s = 2**32 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3040021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040284ffffffff617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 122,
|
|
"comment" : "length of s = 2**40 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040285ffffffffff617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 123,
|
|
"comment" : "length of s = 2**64 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3044021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040288ffffffffffffffff617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 124,
|
|
"comment" : "incorrect length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a0402ff617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 125,
|
|
"comment" : "replaced s by an indefinite length tag without termination",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040280617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 126,
|
|
"comment" : "appending 0's to s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021e617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 127,
|
|
"comment" : "prepending 0's to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021e0000617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 128,
|
|
"comment" : "appending null value to s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021e617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 129,
|
|
"comment" : "prepending garbage to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a042221498177021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 130,
|
|
"comment" : "prepending garbage to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3040021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a0422202500021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 131,
|
|
"comment" : "appending garbage to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3044021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04221e021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810004deadbeef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 132,
|
|
"comment" : "truncated length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3020021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040281",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 133,
|
|
"comment" : "including undefined tags to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3042021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a042222aa02aabb021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 134,
|
|
"comment" : "using composition with indefinite length for s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3040021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a042280021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 135,
|
|
"comment" : "using composition with wrong tag for s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3040021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a042280031c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 136,
|
|
"comment" : "Replacing s with NULL",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3020021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 137,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04001c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 138,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04011c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 139,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04031c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 140,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04041c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 141,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04ff1c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 142,
|
|
"comment" : "dropping value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3020021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040200",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 143,
|
|
"comment" : "using composition for s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3040021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a042220020161021b7d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 144,
|
|
"comment" : "modifying first byte of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c637d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 145,
|
|
"comment" : "modifying last byte of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad901",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 146,
|
|
"comment" : "truncated s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021b617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 147,
|
|
"comment" : "truncated s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021b7d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 148,
|
|
"comment" : "s of size 4125 to check for overflows",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3082103f021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a040282101d617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad9810000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 149,
|
|
"comment" : "leading ff in s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021dff617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 150,
|
|
"comment" : "replaced s by infinity",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04090180",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 151,
|
|
"comment" : "replacing s with zero",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021c3ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 152,
|
|
"comment" : "replaced r by r + n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d013ade5c0624a5677ed7b6450d941fd283098d8a004fc718e2e7e6b441021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 153,
|
|
"comment" : "replaced r by r - n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021dff3ade5c0624a5677ed7b6450d9421a53d481ba984280cc6582f2e5fc7021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 154,
|
|
"comment" : "replaced r by r + 256 * n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021e01003ade5c0624a5677ed7b6450d93375ec0e1c4d7d6191334f9e7b4c704021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 155,
|
|
"comment" : "replaced r by -r",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021cc521a3f9db5a98812849baf26bdf441fd72b663dc4161062747575fc021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 156,
|
|
"comment" : "replaced r by n - r",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00c521a3f9db5a98812849baf26bde5ac2b7e4567bd7f339a7d0d1a039021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 157,
|
|
"comment" : "replaced r by -n - r",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021dfec521a3f9db5a98812849baf26be02d7cf67275ffb038e71d18194bbf021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 158,
|
|
"comment" : "replaced r by r + 2**224",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d013ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 159,
|
|
"comment" : "replaced r by r + 2**288",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502250100000000000000003ade5c0624a5677ed7b6450d9420bbe028d499c23be9ef9d8b8a8a04021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 160,
|
|
"comment" : "replaced s by s + n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d01617d6af141efd0c800c9ba3382c2119a390cfa9bed6a409bfe3703be021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 161,
|
|
"comment" : "replaced s by s - n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021dff617d6af141efd0c800c9ba3382c3e454779b1a1fc5afee11457eaf44021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 162,
|
|
"comment" : "replaced s by s + 256 * n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021e0100617d6af141efd0c800c9ba3381d99dd811444871b6b65cb2fe051681021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 163,
|
|
"comment" : "replaced s by -s",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c9e82950ebe102f37ff3645cc7d3d0508a7abf5a22672e8a95e25267f021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 164,
|
|
"comment" : "replaced s by -n - s",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021dfe9e82950ebe102f37ff3645cc7d3dee65c6f305641295bf6401c8fc42021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 165,
|
|
"comment" : "replaced s by s + 2**224",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d01617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 166,
|
|
"comment" : "replaced s by s - 2**224",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021dff617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 167,
|
|
"comment" : "replaced s by s + 2**288",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450225010000000000000000617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981021c617d6af141efd0c800c9ba3382c2faf758540a5dd98d1756a1dad981",
|
|
"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" : "3022020100021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 172,
|
|
"comment" : "Signature with special case values r=0 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022020100021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 173,
|
|
"comment" : "Signature with special case values r=0 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022020100021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 174,
|
|
"comment" : "Signature with special case values r=0 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022020100021d00ffffffffffffffffffffffffffffffff000000000000000000000001",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 175,
|
|
"comment" : "Signature with special case values r=0 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022020100021d00ffffffffffffffffffffffffffffffff000000000000000000000002",
|
|
"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" : "3022020101021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 180,
|
|
"comment" : "Signature with special case values r=1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022020101021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 181,
|
|
"comment" : "Signature with special case values r=1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022020101021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 182,
|
|
"comment" : "Signature with special case values r=1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022020101021d00ffffffffffffffffffffffffffffffff000000000000000000000001",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 183,
|
|
"comment" : "Signature with special case values r=1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022020101021d00ffffffffffffffffffffffffffffffff000000000000000000000002",
|
|
"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" : "30220201ff021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 188,
|
|
"comment" : "Signature with special case values r=-1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30220201ff021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 189,
|
|
"comment" : "Signature with special case values r=-1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30220201ff021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 190,
|
|
"comment" : "Signature with special case values r=-1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30220201ff021d00ffffffffffffffffffffffffffffffff000000000000000000000001",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 191,
|
|
"comment" : "Signature with special case values r=-1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30220201ff021d00ffffffffffffffffffffffffffffffff000000000000000000000002",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 192,
|
|
"comment" : "Signature with special case values r=n and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 193,
|
|
"comment" : "Signature with special case values r=n and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 194,
|
|
"comment" : "Signature with special case values r=n and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d0201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 195,
|
|
"comment" : "Signature with special case values r=n and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 196,
|
|
"comment" : "Signature with special case values r=n and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 197,
|
|
"comment" : "Signature with special case values r=n and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 198,
|
|
"comment" : "Signature with special case values r=n and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d021d00ffffffffffffffffffffffffffffffff000000000000000000000001",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 199,
|
|
"comment" : "Signature with special case values r=n and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d021d00ffffffffffffffffffffffffffffffff000000000000000000000002",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 200,
|
|
"comment" : "Signature with special case values r=n - 1 and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 201,
|
|
"comment" : "Signature with special case values r=n - 1 and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 202,
|
|
"comment" : "Signature with special case values r=n - 1 and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c0201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 203,
|
|
"comment" : "Signature with special case values r=n - 1 and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 204,
|
|
"comment" : "Signature with special case values r=n - 1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 205,
|
|
"comment" : "Signature with special case values r=n - 1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 206,
|
|
"comment" : "Signature with special case values r=n - 1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c021d00ffffffffffffffffffffffffffffffff000000000000000000000001",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 207,
|
|
"comment" : "Signature with special case values r=n - 1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c021d00ffffffffffffffffffffffffffffffff000000000000000000000002",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 208,
|
|
"comment" : "Signature with special case values r=n + 1 and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 209,
|
|
"comment" : "Signature with special case values r=n + 1 and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 210,
|
|
"comment" : "Signature with special case values r=n + 1 and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e0201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 211,
|
|
"comment" : "Signature with special case values r=n + 1 and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 212,
|
|
"comment" : "Signature with special case values r=n + 1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 213,
|
|
"comment" : "Signature with special case values r=n + 1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 214,
|
|
"comment" : "Signature with special case values r=n + 1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e021d00ffffffffffffffffffffffffffffffff000000000000000000000001",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 215,
|
|
"comment" : "Signature with special case values r=n + 1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e021d00ffffffffffffffffffffffffffffffff000000000000000000000002",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 216,
|
|
"comment" : "Signature with special case values r=p and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffffffff000000000000000000000001020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 217,
|
|
"comment" : "Signature with special case values r=p and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffffffff000000000000000000000001020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 218,
|
|
"comment" : "Signature with special case values r=p and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffffffff0000000000000000000000010201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 219,
|
|
"comment" : "Signature with special case values r=p and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffffffff000000000000000000000001021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 220,
|
|
"comment" : "Signature with special case values r=p and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffffffff000000000000000000000001021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 221,
|
|
"comment" : "Signature with special case values r=p and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffffffff000000000000000000000001021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 222,
|
|
"comment" : "Signature with special case values r=p and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffffffff000000000000000000000001021d00ffffffffffffffffffffffffffffffff000000000000000000000001",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 223,
|
|
"comment" : "Signature with special case values r=p and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffffffff000000000000000000000001021d00ffffffffffffffffffffffffffffffff000000000000000000000002",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 224,
|
|
"comment" : "Signature with special case values r=p + 1 and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffffffff000000000000000000000002020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 225,
|
|
"comment" : "Signature with special case values r=p + 1 and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffffffff000000000000000000000002020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 226,
|
|
"comment" : "Signature with special case values r=p + 1 and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffffffff0000000000000000000000020201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 227,
|
|
"comment" : "Signature with special case values r=p + 1 and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffffffff000000000000000000000002021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 228,
|
|
"comment" : "Signature with special case values r=p + 1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffffffff000000000000000000000002021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 229,
|
|
"comment" : "Signature with special case values r=p + 1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffffffff000000000000000000000002021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 230,
|
|
"comment" : "Signature with special case values r=p + 1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffffffff000000000000000000000002021d00ffffffffffffffffffffffffffffffff000000000000000000000001",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 231,
|
|
"comment" : "Signature with special case values r=p + 1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffffffff000000000000000000000002021d00ffffffffffffffffffffffffffffffff000000000000000000000002",
|
|
"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" : "3024021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d090380fe01",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 260,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=nan",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d090142",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 261,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=True",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d010101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 262,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=False",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d010100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 263,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=Null",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d0500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 264,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=empyt UTF-8 string",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d0c00",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 265,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=\"0\"",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d0c0130",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 266,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=empty list",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d3000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 267,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=list containing 0",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3024021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d3003020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 268,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=0.25",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3024021d00ffffffffffffffffffffffffffffffff000000000000000000000001090380fe01",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 269,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=nan",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffffffff000000000000000000000001090142",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 270,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=True",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffffffff000000000000000000000001010101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 271,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=False",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffffffff000000000000000000000001010100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 272,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=Null",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021d00ffffffffffffffffffffffffffffffff0000000000000000000000010500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 273,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=empyt UTF-8 string",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021d00ffffffffffffffffffffffffffffffff0000000000000000000000010c00",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 274,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=\"0\"",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffffffff0000000000000000000000010c0130",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 275,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=empty list",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021d00ffffffffffffffffffffffffffffffff0000000000000000000000013000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 276,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=list containing 0",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3024021d00ffffffffffffffffffffffffffffffff0000000000000000000000013003020100",
|
|
"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" : "3839313737",
|
|
"sig" : "303d021c326bc06353f7f9c9f77b8f4b55464e8619944e7879402cca572e041a021d0096ad91f02a3bc40c118abd416ed5c6203ed7ced0330860d7b88c10ab",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 296,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "343236343739373234",
|
|
"sig" : "303d021d00bcca2365cebdcf7c6cda1ee7b27c7fe79e371537b01869c715eabb1e021c3ae76f9bbfe519d778816dc8fe10635ee7576b6b7916f0c21df320c0",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 297,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "37313338363834383931",
|
|
"sig" : "303c021c59a9f83289ef6995d5d5592e80ab4f6a81123f69d385d3cfb152faf2021c3a97d5be190d5819241067e2be56375ab84155baab8fc7aeb7f8cb3d",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 298,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130333539333331363638",
|
|
"sig" : "303e021d00b54bac9be2beaaa09456a3968a1faf27c9d96bd5f6738fec6066d31e021d00d72c22129344a96d52fda60b264cf5e6fae45fd2c1b1b78bcba30070",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 299,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33393439343031323135",
|
|
"sig" : "303d021c323dbdecd40910c6fa7a5691846fa7769113d1f2ba64ef0dc97d2ddb021d00ca9e73a4587af042f8ba924bb61829c5e24046f9803eb76ab80ef327",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 300,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31333434323933303739",
|
|
"sig" : "303d021d00a55dccc27d287f15960ed79908a3edb6bb31aff07c8caa0e65fc0785021c559cb51aa5f2b9066610199dd01291a47729a6189a622ae9e7af7621",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 301,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33373036323131373132",
|
|
"sig" : "303d021c137ed6105148d6f5b84e87735d57955f81c5914a6e69f55347ade074021d00dfa5d56b1a12567efacb348a133b79d48da7aac78d78ee589c2ec027",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 302,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "333433363838373132",
|
|
"sig" : "303e021d00856ff63d779163e78fed8c48330b48f08bf953a95266b3857eee91aa021d00f4aa917cd37f556c6df9d0960c2f7daa7ea118e5c30cc40ca1eed418",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 303,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31333531353330333730",
|
|
"sig" : "303d021d00a9d7716f04c5ce247f6b8c608b37db55f68e2ff94a5883863e867708021c61bc093faa6fb25cd240aea4b56fed728f7b3669b4dc84c449d38c5d",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 304,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36353533323033313236",
|
|
"sig" : "303d021d00f6d088fd3b9c981ac491c62030643bbd82d4f4588e8517de5884e73d021c773eee477980763b1ea27ae998bda0244cb67b07aa6779a38cd2ba3f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 305,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31353634333436363033",
|
|
"sig" : "303e021d00eacb55588e446bbf3687089ba8ba3b05cfef7458bb81b4277f90a853021d008039e8944cc3df7f4ce5badc349975d471a81dea14e9bcae3065d410",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 306,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34343239353339313137",
|
|
"sig" : "303c021c5984af8c89fb9d596a1f28fd3d41e46f7205fe12fa63437ac79e7e81021c33b16b742d45f18f88de2713078384e6150f06b8b99f36ab2ce3dd49",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 307,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130393533323631333531",
|
|
"sig" : "303d021c3cda62d84711c262f782d5c3a79b567485227b34afb821f5241b1961021d00b615cef399706ff758f072931852b717ec898e9a1e6339d0ee81b8da",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 308,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "35393837333530303431",
|
|
"sig" : "303d021d00e1db7304609191ea1ac91183ffb31df51b5b3fdc6b1a1129d85818d6021c441886d003ae80fbe7139e1d02845cd1bd959f0df1468f5836dd6ea5",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 309,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33343633303036383738",
|
|
"sig" : "303d021c3545dc4a4ef84bbb3a526ff929c91ad234516a9e95455ac8db4012b1021d00af49926f693a7cf11f71e199f382a8d640c0c85e46d94ee26e384344",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 310,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "39383137333230323837",
|
|
"sig" : "303d021c0ccafdeae4582c9de6795b2d09a7fc3848c75904fa960989156cbbb9021d00af1f994da3e7d89cc8aaa44616cb77e3be7a83ccecc965775194e502",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 311,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33323232303431303436",
|
|
"sig" : "303e021d00a3b2145d8c669027532501eea1913abb22a78a827fdd82fe9d6d3757021d009b2f1ae84f5606d68653065f74e9d089886694c739fbe3fd4a1b2b4a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 312,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36363636333037313034",
|
|
"sig" : "303e021d009aac3a7e3d142344991bf177b4f4dbfa074148ad9e20f27555b547d9021d00f830a3c7fdf251d79d41977d28e6d9a72a36df11b86e17c8dc3acae0",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 313,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31303335393531383938",
|
|
"sig" : "303c021c4769fba554fd436051c285bdadfa33a443d4f7084dd598ce3b98b8fb021c0c014c87cb14113d75864f74905f75b34f9970ba58b5d0676021826d",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 314,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31383436353937313935",
|
|
"sig" : "303d021d008b91fc5054a75c34a508624b85708b3d25fa74328c68741c3aeb92d9021c155e3e46b1209583135a9fef15abe325b25bd19285ee6b5b4549629f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 315,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33313336303436313839",
|
|
"sig" : "303d021d00a4a2a85fbb8bb26c4d845cfac191f89d65b00d3f1b9450d177f78890021c6605a460e60402685c7a5accd2615e9232e51937bd83dfa3065eabf7",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 316,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32363633373834323534",
|
|
"sig" : "303d021d00a89d333ae34187855cf7fa435ff39be6b7bb39b2d0ce682133ad9646021c483dcc89a3b43be250f5c3f78f78418e7b8341a8bcfb93dfd58e46d8",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 317,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31363532313030353234",
|
|
"sig" : "303d021c2d0f99c71933c82ded544ef4faac9d669e437dea13b57186f4c20a0e021d00d9682b9f3a05d7832947bc45eadbc742d96e7ab1124832ddb7a8c65b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 318,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "35373438303831363936",
|
|
"sig" : "303d021d00840208f7c41b1fbadcc701fb3a1d0f98a3e2a75235e695bfd378f8b4021c44c8daad4efc03e1753803c362b409c3ca6e0f21e538fe3a364c0e53",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 319,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36333433393133343638",
|
|
"sig" : "303e021d0087cc582cb10602110566fcb10a233aede993fae5fb3f81b0bbff94ca021d00c971c05bd51d9685825b2cfc0a2596c7f80d9f9dc68c28c159aa395a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 320,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31353431313033353938",
|
|
"sig" : "303d021c50d73d949b3adcd3e8fa94dafefaf9d263ebc702128d891afac47ea7021d00f8423c378f0190574925142eb5b97c612abfa048fa3ab5375ec795a1",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 321,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130343738353830313238",
|
|
"sig" : "303e021d00d608915dfcd5d3c63ed10d0d9b614f7a866f8858a6e59dc03eb0a8ee021d008e701aa0bab491430f6e4da92244b0bb174957ee6f495bc5d15fabb1",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 322,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130353336323835353638",
|
|
"sig" : "303e021d00c87b0ab842c4769ed94b910bd7719691f9991bc5a347889608f07034021d00d083111048d6e019771fc2669c55156a3d09615a6b2d9cae52ddabee",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 323,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "393533393034313035",
|
|
"sig" : "303c021c0a1c2c2478e244464226c660edf724db1213f4923eb725d611d976fd021c764e55186a76f734891d05fb57af2727fab8fbea684ca4321d5de540",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 324,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "393738383438303339",
|
|
"sig" : "303e021d008a2747c5dd9ef5298b8aeabd2fb3a2beb16158fb2cc62be9e51b2152021d00f96251bc048bcad832e6cbc09c9c2e585ab7543dc552eaa5125be0d3",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 325,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33363130363732343432",
|
|
"sig" : "303e021d00d9eac32a734f3a3e5b5a2905bed8164ef4c6cd24d5c0fc54cc83f3cc021d00a784930d16c3b753bb3ed9151d583c50ff97bc976274bde482fb9644",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 326,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31303534323430373035",
|
|
"sig" : "303d021c6c40c6b15ae573f77b677cd878cc5e4da8171cf50d79974fde374e00021d00c88c9828037bf7013a1415537ca074d6c8a553bdb4b26b14a7e88d93",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 327,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "35313734343438313937",
|
|
"sig" : "303d021d00dca0aaa0a395393142b323edced09372760350f2ab261ce3339b114d021c0983bf6e510ce7f0a7520f2b7c60cd68a4912b78162c7ac33789e0c6",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 328,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31393637353631323531",
|
|
"sig" : "303d021d00a0526ed47e2607e6bae6dcf3b8f54f4e0638023673a38cad4569c3ba021c61516f55746b379d11cbaa02cef35311d7771a47d1e127cff46dcfd6",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 329,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33343437323533333433",
|
|
"sig" : "303d021c5c00db60178c8361092bdfb47fc9a47b33363d7e0d76e32520f79657021d00e1baf7ae7d81045793c73173f49d60bdfc8779942795d9d082b3ca11",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 330,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "333638323634333138",
|
|
"sig" : "303d021c46f69b6a99717949eee74092a0c1438a290a2cd82fe1e10d8f37e88b021d0099a5f59f09bd980a066233523397846987a8a1bfdde355062d140a4b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 331,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33323631313938363038",
|
|
"sig" : "303e021d00e643d8085a22706fa0e6540f3d5e169ad8cc49b4bfe98e325321c705021d00f95bd423f9cafe0cedfec6fd97871536d71b2ac58dfb2f7ab8952d4b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 332,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "39363738373831303934",
|
|
"sig" : "303e021d00e65fb9bcdd791f141ccff2b3cfbf45d84f8c6272021a68dde8c36bc8021d00df6e08c74b5e36b7772658f02515ae0ea813b64df24f3522ea15fb15",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 333,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34393538383233383233",
|
|
"sig" : "303e021d00a476d468221ef55611e8a724c9b4cd79c34f6940d5f665e3335f6231021d00bfddc18e7a008bc206c8e1ca6c878363e4138508e0c3a84a27eabe35",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 334,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "383234363337383337",
|
|
"sig" : "303c021c1b393477941879271873a8c043a77caadb9957fcdd263a6ac978e4ba021c270060d5f356ebb6d185772baa78b878af6807378e0d5c532da0a4a7",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 335,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3131303230383333373736",
|
|
"sig" : "303e021d00b2eda8c969d4b1bdd31867fd1f92d547b406840c257f2f80dfbdc4e3021d00e6297b059ce64ef04de9715a8f686a9f73980865066a94975b7f8117",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 336,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "313333383731363438",
|
|
"sig" : "303d021d00938189a18a4bff5712ac99c2b8e92c218af3e4d4e3a84b906b0f704e021c7bb3e538f0b70664dad462ab14b0ed416c86ac6e9060fe760dabb715",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 337,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "333232313434313632",
|
|
"sig" : "303e021d00bb7c1d8120d2aa7765b16eeac44282de605fb2a1665657dea4492935021d00e0a8adb3a143883f981ea1323fa6f1d347845be2b8dcc6cd5cc93ee5",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 338,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130363836363535353436",
|
|
"sig" : "303c021c74a4c51dd60c7118467be29652060f39af94f8c0eb7f15c64771010c021c6102ec0c9257e607af3f3ff7490b54e78111f422bec11ba01277171f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 339,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3632313535323436",
|
|
"sig" : "303d021c625da18d676f02fae9dbcb3092265909488fb95d662569d7746b9687021d00c4f1ec831e36604d604b630fd0b1999cd09960862294251d85e5873d",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 340,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "37303330383138373734",
|
|
"sig" : "303d021d008ee0d4a31fd1c4d854d75c14151926899dde1c7332fd4769443d213d021c4b8278b89ba4f8fbd7dcc6affe4c12156f7409909416989685dd5a39",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 341,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "35393234353233373434",
|
|
"sig" : "303e021d00bdde45fc9ebb3749c9fb2c25bf02e2a217ccc112f8e65499eeffb6a1021d00becd6b88ef2bee872ebc0e2b805a56066e19179fce9f0dc0df3f6378",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 342,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31343935353836363231",
|
|
"sig" : "303d021c50186e023a1f5053fcb4d0473039b1b2cdeba569719a4ebabdd675c8021d00f8fb893c1b6b5b827b5f3f4bb5eab75b6212bb56a5a39bb35c127a1c",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 343,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34303035333134343036",
|
|
"sig" : "303e021d00d3b454639b0fb3da93b20d55be8609e40902cb4a608f3b9064c0deb7021d00ec7aa9637fd71b543e5243faab4c7a2edc2c48e982c5ac017807f19a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 344,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33303936343537353132",
|
|
"sig" : "303d021d00c202abbd98e03809de842bdef268a1c616a7306da69a87abaf03169c021c7e7e04823af8ed6836fd2ac011e47de8e1bef91ed1da5144893fc259",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 345,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32373834303235363230",
|
|
"sig" : "303d021c2e4b76638816cce057a4a27a49258dcb5437ae97739f27ebc0973c0b021d00e9f6c0b64e764ad39dd92b576e11c23e5994b02095cb2a4720c8662c",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 346,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32363138373837343138",
|
|
"sig" : "303c021c7e0f48761089aa4c7ecd5a7ac5380836b1e5d381d3400174d15df98b021c0c3df50060e3a6714aa565a33d784e7b16ac87bebfb3c2255cfd832c",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 347,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31363432363235323632",
|
|
"sig" : "303c021c4d6f7408508eb0814dcd48007f0efd9e2b91cdac4030540cc678de19021c1e74f8dc34d13613ef42462fe88981cbe2489be10e4cdae975a1b38e",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 348,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36383234313839343336",
|
|
"sig" : "303d021d00967f2c5d304c7932eaaa1682197945e66cc912b703824776ef16ad7a021c73957001d9037c63d6471c809a2388383ad695137c622cd5f5584414",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 349,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "343834323435343235",
|
|
"sig" : "303d021c49260804bb2ceae4b9cee63b02ea60173ec3f4f90167627c0bb39888021d00c9eb022f96db3e90fe0ff617730a629f342e02fb208d6836cbbdc7d3",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 350,
|
|
"comment" : "Signature generated without truncating the hash",
|
|
"flags" : [
|
|
"Untruncatedhash"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00f3e712597a4b22632c5f8eb9f2845882bb03a139735f80af8826fc56021c62865bd91c0903511a481d607eb6b5fe28f6f6c89295681a3e8d55d8",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0493b4c28f032d00f80e77491edc158359909ee9e30a7327b74219e5e2482c19ae35cb28afc9b95ca1ed7ad91c812d5fcceb4beddbf1a16d92",
|
|
"wx" : "0093b4c28f032d00f80e77491edc158359909ee9e30a7327b74219e5e2",
|
|
"wy" : "482c19ae35cb28afc9b95ca1ed7ad91c812d5fcceb4beddbf1a16d92"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000493b4c28f032d00f80e77491edc158359909ee9e30a7327b74219e5e2482c19ae35cb28afc9b95ca1ed7ad91c812d5fcceb4beddbf1a16d92",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEk7TCjwMtAPgOd0ke3BWDWZCe6eMKcye3\nQhnl4kgsGa41yyivyblcoe162RyBLV/M60vt2/GhbZI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 351,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3030020f00e95c1f470fc1ec22d6baa3a3d5c1021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 352,
|
|
"comment" : "r too large",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffefffffffffffffffffffffffe021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3a",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04da927f4ba88b639bf5334221d2f54d8ef9ccc1a1125fad18c7bfb789ac51ae53de6d834a9db3947b8dd4c6ac2b084b85496bfa72d86b6948",
|
|
"wx" : "00da927f4ba88b639bf5334221d2f54d8ef9ccc1a1125fad18c7bfb789",
|
|
"wy" : "00ac51ae53de6d834a9db3947b8dd4c6ac2b084b85496bfa72d86b6948"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004da927f4ba88b639bf5334221d2f54d8ef9ccc1a1125fad18c7bfb789ac51ae53de6d834a9db3947b8dd4c6ac2b084b85496bfa72d86b6948",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE2pJ/S6iLY5v1M0Ih0vVNjvnMwaESX60Y\nx7+3iaxRrlPebYNKnbOUe43UxqwrCEuFSWv6cthraUg=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 353,
|
|
"comment" : "r,s are large",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0420888e1c0f5694c4c0363b36482beb6e1e6649b3d3b26f127febb6fcde00c2f3d8e4a7e8a0bafd417c96d3e81c975946a2f3686aa39d35f1",
|
|
"wx" : "20888e1c0f5694c4c0363b36482beb6e1e6649b3d3b26f127febb6fc",
|
|
"wy" : "00de00c2f3d8e4a7e8a0bafd417c96d3e81c975946a2f3686aa39d35f1"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000420888e1c0f5694c4c0363b36482beb6e1e6649b3d3b26f127febb6fcde00c2f3d8e4a7e8a0bafd417c96d3e81c975946a2f3686aa39d35f1",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEIIiOHA9WlMTANjs2SCvrbh5mSbPTsm8S\nf+u2/N4AwvPY5KfooLr9QXyW0+gcl1lGovNoaqOdNfE=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 354,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7fffffffffffffffffffffffffffffffffffffffffffffffffffffff021c3d5052691b8dc89debad360466f2a39e82e8ae2aefb77c3c92ad7cd1",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "049545c86f032c5df255a4490bb0b83eca201181792ad74246874db229405264c283063327b70f4c2be5ab4d2e9407b866e121d6145d124c04",
|
|
"wx" : "009545c86f032c5df255a4490bb0b83eca201181792ad74246874db229",
|
|
"wy" : "405264c283063327b70f4c2be5ab4d2e9407b866e121d6145d124c04"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00049545c86f032c5df255a4490bb0b83eca201181792ad74246874db229405264c283063327b70f4c2be5ab4d2e9407b866e121d6145d124c04",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAElUXIbwMsXfJVpEkLsLg+yiARgXkq10JG\nh02yKUBSZMKDBjMntw9MK+WrTS6UB7hm4SHWFF0STAQ=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 355,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7fffffffffffffffffffffffffffffffffffffffffffffffffffffff021d00bf19ab4d3ebf5a1a49d765909308daa88c2b7be3969db552ea30562b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04579d53f39d5109bd440e3e3e7efd603740963348ff9c72c03b0fe6b8df02f133ecd60b072a0812adc752708f2be9d8c9ad5953d8c7bf3965",
|
|
"wx" : "579d53f39d5109bd440e3e3e7efd603740963348ff9c72c03b0fe6b8",
|
|
"wy" : "00df02f133ecd60b072a0812adc752708f2be9d8c9ad5953d8c7bf3965"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004579d53f39d5109bd440e3e3e7efd603740963348ff9c72c03b0fe6b8df02f133ecd60b072a0812adc752708f2be9d8c9ad5953d8c7bf3965",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEV51T851RCb1EDj4+fv1gN0CWM0j/nHLA\nOw/muN8C8TPs1gsHKggSrcdScI8r6djJrVlT2Me/OWU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 356,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020103020101",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04d2a14c8106d89f3536faebdafcd4680f65ab4bf2243164ca1464b628acaf2bee52e6231d3c980f52f8e189a41c3e3a05e591195ec864217a",
|
|
"wx" : "00d2a14c8106d89f3536faebdafcd4680f65ab4bf2243164ca1464b628",
|
|
"wy" : "00acaf2bee52e6231d3c980f52f8e189a41c3e3a05e591195ec864217a"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004d2a14c8106d89f3536faebdafcd4680f65ab4bf2243164ca1464b628acaf2bee52e6231d3c980f52f8e189a41c3e3a05e591195ec864217a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE0qFMgQbYnzU2+uva/NRoD2WrS/IkMWTK\nFGS2KKyvK+5S5iMdPJgPUvjhiaQcPjoF5ZEZXshkIXo=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 357,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020103020103",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04e892479153ad13ea5ca45d4c323ebf1fc3cd0cdf787c34306a3f79a4326ca9645f2b517608dc1f08b7a84cfc61e6ff68d14f27d2043c7ef5",
|
|
"wx" : "00e892479153ad13ea5ca45d4c323ebf1fc3cd0cdf787c34306a3f79a4",
|
|
"wy" : "326ca9645f2b517608dc1f08b7a84cfc61e6ff68d14f27d2043c7ef5"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004e892479153ad13ea5ca45d4c323ebf1fc3cd0cdf787c34306a3f79a4326ca9645f2b517608dc1f08b7a84cfc61e6ff68d14f27d2043c7ef5",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE6JJHkVOtE+pcpF1MMj6/H8PNDN94fDQw\naj95pDJsqWRfK1F2CNwfCLeoTPxh5v9o0U8n0gQ8fvU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 358,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020103020104",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04b4f20b61e790b8eb5ec982b8718ee2c7bb6b0884fa176e22a0948cd5f54ff24afbd528f96d1bd8c71f1cc17923581d9d6b2e0fd1b61dcbed",
|
|
"wx" : "00b4f20b61e790b8eb5ec982b8718ee2c7bb6b0884fa176e22a0948cd5",
|
|
"wy" : "00f54ff24afbd528f96d1bd8c71f1cc17923581d9d6b2e0fd1b61dcbed"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b4f20b61e790b8eb5ec982b8718ee2c7bb6b0884fa176e22a0948cd5f54ff24afbd528f96d1bd8c71f1cc17923581d9d6b2e0fd1b61dcbed",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEtPILYeeQuOteyYK4cY7ix7trCIT6F24i\noJSM1fVP8kr71Sj5bRvYxx8cwXkjWB2day4P0bYdy+0=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 359,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020105020101",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04c1a3a9b6321bf82a251dd03d5d9b48753b67e56dcee83cd903d44ef52796d5e485e26545073b6991d5e038244b33a90e4310d2059d6e8e83",
|
|
"wx" : "00c1a3a9b6321bf82a251dd03d5d9b48753b67e56dcee83cd903d44ef5",
|
|
"wy" : "2796d5e485e26545073b6991d5e038244b33a90e4310d2059d6e8e83"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c1a3a9b6321bf82a251dd03d5d9b48753b67e56dcee83cd903d44ef52796d5e485e26545073b6991d5e038244b33a90e4310d2059d6e8e83",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEwaOptjIb+ColHdA9XZtIdTtn5W3O6DzZ\nA9RO9SeW1eSF4mVFBztpkdXgOCRLM6kOQxDSBZ1ujoM=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 360,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020105020103",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04a3e4a453f90cb4351f99d85a9e410fe88bd3ecc3f3b95e0bc3c942a5522af68d9541dd064059de0f6cef6e7f6231c0911c210bdb66edc9f7",
|
|
"wx" : "00a3e4a453f90cb4351f99d85a9e410fe88bd3ecc3f3b95e0bc3c942a5",
|
|
"wy" : "522af68d9541dd064059de0f6cef6e7f6231c0911c210bdb66edc9f7"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a3e4a453f90cb4351f99d85a9e410fe88bd3ecc3f3b95e0bc3c942a5522af68d9541dd064059de0f6cef6e7f6231c0911c210bdb66edc9f7",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEo+SkU/kMtDUfmdhankEP6IvT7MPzuV4L\nw8lCpVIq9o2VQd0GQFneD2zvbn9iMcCRHCEL22btyfc=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 361,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020105020105",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04901e546e44c82314a6a7d2f05f83273948d1f5163f0dfc1f2124c6eb9c2388929c35a5bc8de6c67494b69da1c1345555abb6b1c997bdb008",
|
|
"wx" : "00901e546e44c82314a6a7d2f05f83273948d1f5163f0dfc1f2124c6eb",
|
|
"wy" : "009c2388929c35a5bc8de6c67494b69da1c1345555abb6b1c997bdb008"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004901e546e44c82314a6a7d2f05f83273948d1f5163f0dfc1f2124c6eb9c2388929c35a5bc8de6c67494b69da1c1345555abb6b1c997bdb008",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEkB5UbkTIIxSmp9LwX4MnOUjR9RY/Dfwf\nISTG65wjiJKcNaW8jebGdJS2naHBNFVVq7axyZe9sAg=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 362,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020105020106",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 363,
|
|
"comment" : "r is larger than n",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a42020106",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04c2b384592778c3e4d64dacfe1cb1912dabd8ffe222c7081bfcf12afa89afd908f532d8210b1c430d36888e15a4a32092d2dc6c4408daf93e",
|
|
"wx" : "00c2b384592778c3e4d64dacfe1cb1912dabd8ffe222c7081bfcf12afa",
|
|
"wy" : "0089afd908f532d8210b1c430d36888e15a4a32092d2dc6c4408daf93e"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c2b384592778c3e4d64dacfe1cb1912dabd8ffe222c7081bfcf12afa89afd908f532d8210b1c430d36888e15a4a32092d2dc6c4408daf93e",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEwrOEWSd4w+TWTaz+HLGRLavY/+Iixwgb\n/PEq+omv2Qj1MtghCxxDDTaIjhWkoyCS0txsRAja+T4=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 364,
|
|
"comment" : "s is larger than n",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022020105021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c6f00c4",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04d156e01e33becede8f4fb4ae9521d751e7f8eb795ca00857db2fd7afd73a450ec60e6a9218a8431870687e0968944f6dc5ffeb30e4693b7c",
|
|
"wx" : "00d156e01e33becede8f4fb4ae9521d751e7f8eb795ca00857db2fd7af",
|
|
"wy" : "00d73a450ec60e6a9218a8431870687e0968944f6dc5ffeb30e4693b7c"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004d156e01e33becede8f4fb4ae9521d751e7f8eb795ca00857db2fd7afd73a450ec60e6a9218a8431870687e0968944f6dc5ffeb30e4693b7c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE0VbgHjO+zt6PT7SulSHXUef463lcoAhX\n2y/Xr9c6RQ7GDmqSGKhDGHBofglolE9txf/rMORpO3w=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 365,
|
|
"comment" : "small r and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302302020100021d00c993264c993264c993264c99326411d2e55b3214a8d67528812a55ab",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04f293a8a2b4aff0bed95c663b364afe69778d38dd7e7a304f7d3c74e617dfd09e7803c4439a6c075cb579cde652d03f7559ff58846312fa4c",
|
|
"wx" : "00f293a8a2b4aff0bed95c663b364afe69778d38dd7e7a304f7d3c74e6",
|
|
"wy" : "17dfd09e7803c4439a6c075cb579cde652d03f7559ff58846312fa4c"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004f293a8a2b4aff0bed95c663b364afe69778d38dd7e7a304f7d3c74e617dfd09e7803c4439a6c075cb579cde652d03f7559ff58846312fa4c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE8pOoorSv8L7ZXGY7Nkr+aXeNON1+ejBP\nfTx05hff0J54A8RDmmwHXLV5zeZS0D91Wf9YhGMS+kw=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 366,
|
|
"comment" : "smallish r and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302702072d9b4d347952cc021c3e85d56474b5c55fbe86608442a84b2bf093b7d75f53a47250e1c70c",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04d4ddf003b298cbaa7d2edc584b28b474a76162ed4b5b0f6222c54317d4e4fe030f178fb4aa4a6d7f61265ecd7ef13c313606b8d341a8b954",
|
|
"wx" : "00d4ddf003b298cbaa7d2edc584b28b474a76162ed4b5b0f6222c54317",
|
|
"wy" : "00d4e4fe030f178fb4aa4a6d7f61265ecd7ef13c313606b8d341a8b954"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004d4ddf003b298cbaa7d2edc584b28b474a76162ed4b5b0f6222c54317d4e4fe030f178fb4aa4a6d7f61265ecd7ef13c313606b8d341a8b954",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE1N3wA7KYy6p9LtxYSyi0dKdhYu1LWw9i\nIsVDF9Tk/gMPF4+0qkptf2EmXs1+8TwxNga400GouVQ=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 367,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302d020d1033e67e37b32b445580bf4efb021c02fd02fd02fd02fd02fd02fd02fd0043a4fd2da317247308c74dc6b8",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "048a5bf0028f1e3eb6841dee7b8f873f68b0c560e592e3182074f51ce89668c32224b65b6849713d35e3acf1786862e65b5a664b47a098caa0",
|
|
"wx" : "008a5bf0028f1e3eb6841dee7b8f873f68b0c560e592e3182074f51ce8",
|
|
"wy" : "009668c32224b65b6849713d35e3acf1786862e65b5a664b47a098caa0"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00048a5bf0028f1e3eb6841dee7b8f873f68b0c560e592e3182074f51ce89668c32224b65b6849713d35e3acf1786862e65b5a664b47a098caa0",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEilvwAo8ePraEHe57j4c/aLDFYOWS4xgg\ndPUc6JZowyIktltoSXE9NeOs8XhoYuZbWmZLR6CYyqA=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 368,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302302020100021d00d05434abacd859ed74185e75b751c6d9f60c7921dacfbb8e19cdba8e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04b53e569b18e9361567e5713ee69ecbe7949911b0257546a24c3dd137f29a83334cff1c44d8c0c33b6dadb8568c024fa1fbb694cd9e705f5a",
|
|
"wx" : "00b53e569b18e9361567e5713ee69ecbe7949911b0257546a24c3dd137",
|
|
"wy" : "00f29a83334cff1c44d8c0c33b6dadb8568c024fa1fbb694cd9e705f5a"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b53e569b18e9361567e5713ee69ecbe7949911b0257546a24c3dd137f29a83334cff1c44d8c0c33b6dadb8568c024fa1fbb694cd9e705f5a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEtT5WmxjpNhVn5XE+5p7L55SZEbAldUai\nTD3RN/KagzNM/xxE2MDDO22tuFaMAk+h+7aUzZ5wX1o=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 369,
|
|
"comment" : "100-bit r and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302e020d062522bbd3ecbe7c39e93e7c24021d00d05434abacd859ed74185e75b751c6d9f60c7921dacfbb8e19cdba8e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0477f3ebf52725c809acbb19adf093126a2a3a065ca654c22099c978129f1948d23c5158ec2adff455eb2fedf1075d4ec22d660977424a10f7",
|
|
"wx" : "77f3ebf52725c809acbb19adf093126a2a3a065ca654c22099c97812",
|
|
"wy" : "009f1948d23c5158ec2adff455eb2fedf1075d4ec22d660977424a10f7"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000477f3ebf52725c809acbb19adf093126a2a3a065ca654c22099c978129f1948d23c5158ec2adff455eb2fedf1075d4ec22d660977424a10f7",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEd/Pr9SclyAmsuxmt8JMSaio6BlymVMIg\nmcl4Ep8ZSNI8UVjsKt/0Vesv7fEHXU7CLWYJd0JKEPc=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 370,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c29bd021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04178af75fb28e8cccc5a808d835d1e320330f6f11a722102092dda4ccb3b0f77b97768458e8ed2902f7c538b36e3cda50f36e9a96f789ff3d",
|
|
"wx" : "178af75fb28e8cccc5a808d835d1e320330f6f11a722102092dda4cc",
|
|
"wy" : "00b3b0f77b97768458e8ed2902f7c538b36e3cda50f36e9a96f789ff3d"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004178af75fb28e8cccc5a808d835d1e320330f6f11a722102092dda4ccb3b0f77b97768458e8ed2902f7c538b36e3cda50f36e9a96f789ff3d",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEF4r3X7KOjMzFqAjYNdHjIDMPbxGnIhAg\nkt2kzLOw93uXdoRY6O0pAvfFOLNuPNpQ826alveJ/z0=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 371,
|
|
"comment" : "r and s are 64-bit integer",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30160209009c44febf31c3594d020900839ed28247c2b06b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "042ddb49c91193fe3aaa2443dc8dbc731e23f6edd4447607f36df0791f28b62a2a671051d3207ded57d769348fe235e400db7442e7cd647e78",
|
|
"wx" : "2ddb49c91193fe3aaa2443dc8dbc731e23f6edd4447607f36df0791f",
|
|
"wy" : "28b62a2a671051d3207ded57d769348fe235e400db7442e7cd647e78"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00042ddb49c91193fe3aaa2443dc8dbc731e23f6edd4447607f36df0791f28b62a2a671051d3207ded57d769348fe235e400db7442e7cd647e78",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAELdtJyRGT/jqqJEPcjbxzHiP27dREdgfz\nbfB5Hyi2KipnEFHTIH3tV9dpNI/iNeQA23RC581kfng=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 372,
|
|
"comment" : "r and s are 100-bit integer",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "301e020d09df8b682430beef6f5fd7c7cf020d0fd0a62e13778f4222a0d61c8a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04960ec7afd2f81e0d9aad28cc4d856fddc1b134dae3dc7ed74e102ed2c214c579d13e7b6c6b76ab454dc0c34cac64d7d77bc1f4897e17a249",
|
|
"wx" : "00960ec7afd2f81e0d9aad28cc4d856fddc1b134dae3dc7ed74e102ed2",
|
|
"wy" : "00c214c579d13e7b6c6b76ab454dc0c34cac64d7d77bc1f4897e17a249"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004960ec7afd2f81e0d9aad28cc4d856fddc1b134dae3dc7ed74e102ed2c214c579d13e7b6c6b76ab454dc0c34cac64d7d77bc1f4897e17a249",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAElg7Hr9L4Hg2arSjMTYVv3cGxNNrj3H7X\nThAu0sIUxXnRPntsa3arRU3Aw0ysZNfXe8H0iX4Xokk=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 373,
|
|
"comment" : "r and s are 128-bit integer",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30260211008a598e563a89f526c32ebec8de26367a02110084f633e2042630e99dd0f1e16f7a04bf",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "048df6e6a47620a8214b1010f1fe1be239e5eb1e9780883cf520007a33238c705bf71f9c7406b54ef29556099a27405f0f6969c42f6ed122d4",
|
|
"wx" : "008df6e6a47620a8214b1010f1fe1be239e5eb1e9780883cf520007a33",
|
|
"wy" : "238c705bf71f9c7406b54ef29556099a27405f0f6969c42f6ed122d4"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00048df6e6a47620a8214b1010f1fe1be239e5eb1e9780883cf520007a33238c705bf71f9c7406b54ef29556099a27405f0f6969c42f6ed122d4",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEjfbmpHYgqCFLEBDx/hviOeXrHpeAiDz1\nIAB6MyOMcFv3H5x0BrVO8pVWCZonQF8PaWnEL27RItQ=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 374,
|
|
"comment" : "r and s are 160-bit integer",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302e021500aa6eeb5823f7fa31b466bb473797f0d0314c0be0021500e2977c479e6d25703cebbc6bd561938cc9d1bfb9",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04a7f7b99e5cdc6fec8928eff773ccdf3b68b19d43cdb41809e19c60f31736b7a0c12a9c2d706671912915142b3e05c89ef3ad497bd6c34699",
|
|
"wx" : "00a7f7b99e5cdc6fec8928eff773ccdf3b68b19d43cdb41809e19c60f3",
|
|
"wy" : "1736b7a0c12a9c2d706671912915142b3e05c89ef3ad497bd6c34699"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a7f7b99e5cdc6fec8928eff773ccdf3b68b19d43cdb41809e19c60f31736b7a0c12a9c2d706671912915142b3e05c89ef3ad497bd6c34699",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEp/e5nlzcb+yJKO/3c8zfO2ixnUPNtBgJ\n4Zxg8xc2t6DBKpwtcGZxkSkVFCs+Bcie861Je9bDRpk=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 375,
|
|
"comment" : "s == 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14020101",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 376,
|
|
"comment" : "s == 0",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14020100",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04f16aa7ee6f685bb86e7e905c99ccf8b5843b1eb9de34b00510a21657293deac7c164e396cb61adeebd0d94f9bb57269e51a2617efa90a28d",
|
|
"wx" : "00f16aa7ee6f685bb86e7e905c99ccf8b5843b1eb9de34b00510a21657",
|
|
"wy" : "293deac7c164e396cb61adeebd0d94f9bb57269e51a2617efa90a28d"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004f16aa7ee6f685bb86e7e905c99ccf8b5843b1eb9de34b00510a21657293deac7c164e396cb61adeebd0d94f9bb57269e51a2617efa90a28d",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE8Wqn7m9oW7hufpBcmcz4tYQ7HrneNLAF\nEKIWVyk96sfBZOOWy2Gt7r0NlPm7VyaeUaJhfvqQoo0=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 377,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c37586dcf95bd7a08119effb5ba47e9466c581f5d4f534cb4e0f50370",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "043e39dde87b53342ec2ade24894f46152bb7f766b304c647b64d1be6d9cbac3c40db2732e51e4d7a010024044aec597f749b29ea733e2d5e2",
|
|
"wx" : "3e39dde87b53342ec2ade24894f46152bb7f766b304c647b64d1be6d",
|
|
"wy" : "009cbac3c40db2732e51e4d7a010024044aec597f749b29ea733e2d5e2"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00043e39dde87b53342ec2ade24894f46152bb7f766b304c647b64d1be6d9cbac3c40db2732e51e4d7a010024044aec597f749b29ea733e2d5e2",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEPjnd6HtTNC7CreJIlPRhUrt/dmswTGR7\nZNG+bZy6w8QNsnMuUeTXoBACQESuxZf3SbKepzPi1eI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 378,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c55d13850396663397715edf6709fc0e956cfc85a8f8d238f11f5b0d5",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "043422d8d7fdfe432c4f31849a1e2b1824b889990371f34b1e924da1b75cd1bc1b702a53cb51af0160cb90186d2f348e4d0d1cd1452dd224ac",
|
|
"wx" : "3422d8d7fdfe432c4f31849a1e2b1824b889990371f34b1e924da1b7",
|
|
"wy" : "5cd1bc1b702a53cb51af0160cb90186d2f348e4d0d1cd1452dd224ac"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00043422d8d7fdfe432c4f31849a1e2b1824b889990371f34b1e924da1b75cd1bc1b702a53cb51af0160cb90186d2f348e4d0d1cd1452dd224ac",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAENCLY1/3+QyxPMYSaHisYJLiJmQNx80se\nkk2ht1zRvBtwKlPLUa8BYMuQGG0vNI5NDRzRRS3SJKw=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 379,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c48806d956fdd042aec37c48d2383a84825595df29486604d0905feab",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0463c2c89cd482c9803aa6b54cc7bfc672df475554518825e43fef943ea830aa3db90d7e261fa377a46fcdc247852c9a9a3571e73f982eb13b",
|
|
"wx" : "63c2c89cd482c9803aa6b54cc7bfc672df475554518825e43fef943e",
|
|
"wy" : "00a830aa3db90d7e261fa377a46fcdc247852c9a9a3571e73f982eb13b"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000463c2c89cd482c9803aa6b54cc7bfc672df475554518825e43fef943ea830aa3db90d7e261fa377a46fcdc247852c9a9a3571e73f982eb13b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEY8LInNSCyYA6prVMx7/Gct9HVVRRiCXk\nP++UPqgwqj25DX4mH6N3pG/NwkeFLJqaNXHnP5gusTs=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 380,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c1d609795e120e113515c6622eb57572836d5c36fe70722581fc09b73",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "042ecfb2be317a2f8c1fdccd57db8c4f453bf53c620fe0e8912445f80ba5deea3608e6e57045aef5744be9c7c46b45400e14c710fddba01bd8",
|
|
"wx" : "2ecfb2be317a2f8c1fdccd57db8c4f453bf53c620fe0e8912445f80b",
|
|
"wy" : "00a5deea3608e6e57045aef5744be9c7c46b45400e14c710fddba01bd8"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00042ecfb2be317a2f8c1fdccd57db8c4f453bf53c620fe0e8912445f80ba5deea3608e6e57045aef5744be9c7c46b45400e14c710fddba01bd8",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAELs+yvjF6L4wf3M1X24xPRTv1PGIP4OiR\nJEX4C6Xe6jYI5uVwRa71dEvpx8RrRUAOFMcQ/dugG9g=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 381,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c0a460a25b5350542d79481bc4d936017e4b6c9b9e19cd0ab9780c3eb",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "042bea54cf9ebdc56507d374fec526acda909dbeedb4aa1e410d255bd44648b18e2d3930f616fbe6b2806d9b28f7fd43dcc186a796e898cb95",
|
|
"wx" : "2bea54cf9ebdc56507d374fec526acda909dbeedb4aa1e410d255bd4",
|
|
"wy" : "4648b18e2d3930f616fbe6b2806d9b28f7fd43dcc186a796e898cb95"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00042bea54cf9ebdc56507d374fec526acda909dbeedb4aa1e410d255bd44648b18e2d3930f616fbe6b2806d9b28f7fd43dcc186a796e898cb95",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEK+pUz569xWUH03T+xSas2pCdvu20qh5B\nDSVb1EZIsY4tOTD2FvvmsoBtmyj3/UPcwYanluiYy5U=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 382,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c0a82b85e55ecafb89e428a13c6fb0cd46f5d562da54c9344df644891",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "043a6452c176eed697d8c696ff493bbe49b87c499f705aa3cf292bc410f5126193edd642096bf9ee53ece4379173e6905f28486cebde54137e",
|
|
"wx" : "3a6452c176eed697d8c696ff493bbe49b87c499f705aa3cf292bc410",
|
|
"wy" : "00f5126193edd642096bf9ee53ece4379173e6905f28486cebde54137e"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00043a6452c176eed697d8c696ff493bbe49b87c499f705aa3cf292bc410f5126193edd642096bf9ee53ece4379173e6905f28486cebde54137e",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEOmRSwXbu1pfYxpb/STu+Sbh8SZ9wWqPP\nKSvEEPUSYZPt1kIJa/nuU+zkN5Fz5pBfKEhs695UE34=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 383,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c0473677d74d4f5cf8b58545a347d8c904d7ff0d2e819b8770ff670aa",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04b53a9ffd9ba28701108bc2b7f5629c1849fd078649ca8336213a67b66414c3e59268c0778bab22108e683bf5083c273e7d8cd51aafdd3ede",
|
|
"wx" : "00b53a9ffd9ba28701108bc2b7f5629c1849fd078649ca8336213a67b6",
|
|
"wy" : "6414c3e59268c0778bab22108e683bf5083c273e7d8cd51aafdd3ede"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b53a9ffd9ba28701108bc2b7f5629c1849fd078649ca8336213a67b66414c3e59268c0778bab22108e683bf5083c273e7d8cd51aafdd3ede",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEtTqf/ZuihwEQi8K39WKcGEn9B4ZJyoM2\nITpntmQUw+WSaMB3i6siEI5oO/UIPCc+fYzVGq/dPt4=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 384,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c3ffe3808f6414d859fa92a86a175a0300a3c96f2c751eca2e9c9e28e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0449ba94f670cf3dec3c0907c015b4acd16b4f5c457c5a928056b8275c2829971fb92bd558931523ea37643b6afb5852496bd89b8bf9ee1288",
|
|
"wx" : "49ba94f670cf3dec3c0907c015b4acd16b4f5c457c5a928056b8275c",
|
|
"wy" : "2829971fb92bd558931523ea37643b6afb5852496bd89b8bf9ee1288"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000449ba94f670cf3dec3c0907c015b4acd16b4f5c457c5a928056b8275c2829971fb92bd558931523ea37643b6afb5852496bd89b8bf9ee1288",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAESbqU9nDPPew8CQfAFbSs0WtPXEV8WpKA\nVrgnXCgplx+5K9VYkxUj6jdkO2r7WFJJa9ibi/nuEog=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 385,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c66a48c646a35835a135df73eca9c7d9e06d02fcdb192aaeb35d27ddf",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04622ca13be3392787453c19af1be844616e66a2c8fe7f8f928b59de998673b69b4a25802d1759c1d40c8f50d0b8efa76cf97db1b594e9f996",
|
|
"wx" : "622ca13be3392787453c19af1be844616e66a2c8fe7f8f928b59de99",
|
|
"wy" : "008673b69b4a25802d1759c1d40c8f50d0b8efa76cf97db1b594e9f996"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004622ca13be3392787453c19af1be844616e66a2c8fe7f8f928b59de998673b69b4a25802d1759c1d40c8f50d0b8efa76cf97db1b594e9f996",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEYiyhO+M5J4dFPBmvG+hEYW5mosj+f4+S\ni1nemYZztptKJYAtF1nB1AyPUNC476ds+X2xtZTp+ZY=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 386,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c2bfd8760edb73e799b964ba640fe73ed904344c988dbca42785a5da6",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04eb66ee1ce3b4a81be8f5684496c0c10a8c5665c63568dce722f6ab522b9f581457cc29d47f619fbf2b576b45e7d3b53049bad0f646d009f2",
|
|
"wx" : "00eb66ee1ce3b4a81be8f5684496c0c10a8c5665c63568dce722f6ab52",
|
|
"wy" : "2b9f581457cc29d47f619fbf2b576b45e7d3b53049bad0f646d009f2"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004eb66ee1ce3b4a81be8f5684496c0c10a8c5665c63568dce722f6ab522b9f581457cc29d47f619fbf2b576b45e7d3b53049bad0f646d009f2",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE62buHOO0qBvo9WhElsDBCoxWZcY1aNzn\nIvarUiufWBRXzCnUf2GfvytXa0Xn07UwSbrQ9kbQCfI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 387,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c490d0a0830e58552a79f8c9660c793e513515917b74abc0f7baaeb99",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0432621646d7d51237260a76a13f8a691602804a83c6b1eae4b926458f8f84208c488ff270d5a09a3c13f2cec8a4147911a9da766d357c93ee",
|
|
"wx" : "32621646d7d51237260a76a13f8a691602804a83c6b1eae4b926458f",
|
|
"wy" : "008f84208c488ff270d5a09a3c13f2cec8a4147911a9da766d357c93ee"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000432621646d7d51237260a76a13f8a691602804a83c6b1eae4b926458f8f84208c488ff270d5a09a3c13f2cec8a4147911a9da766d357c93ee",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEMmIWRtfVEjcmCnahP4ppFgKASoPGserk\nuSZFj4+EIIxIj/Jw1aCaPBPyzsikFHkRqdp2bTV8k+4=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 388,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c4a2a4a905226d955d5355d3a5b65d54df81dd47a0d724c8919fb9c86",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "042afc5f0a271afdc07e68206c65435eaab0b707dc239be6432944c6de1616be4fb5fa165ab96f9e529cbd180349e643e003f159eb020e9be2",
|
|
"wx" : "2afc5f0a271afdc07e68206c65435eaab0b707dc239be6432944c6de",
|
|
"wy" : "1616be4fb5fa165ab96f9e529cbd180349e643e003f159eb020e9be2"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00042afc5f0a271afdc07e68206c65435eaab0b707dc239be6432944c6de1616be4fb5fa165ab96f9e529cbd180349e643e003f159eb020e9be2",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEKvxfCica/cB+aCBsZUNeqrC3B9wjm+ZD\nKUTG3hYWvk+1+hZauW+eUpy9GANJ5kPgA/FZ6wIOm+I=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 389,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c766bd58ee43e3940942ca3cead787633a3bb194a3263ebbb91fcddf5",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0452db0eeee3971370a78a97a046442e582c97e6f40779fb5dd75878bf4828ccb868adb6d11094ec1b81fd6c885eb6c4c1d06b6b0ed5325a5a",
|
|
"wx" : "52db0eeee3971370a78a97a046442e582c97e6f40779fb5dd75878bf",
|
|
"wy" : "4828ccb868adb6d11094ec1b81fd6c885eb6c4c1d06b6b0ed5325a5a"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000452db0eeee3971370a78a97a046442e582c97e6f40779fb5dd75878bf4828ccb868adb6d11094ec1b81fd6c885eb6c4c1d06b6b0ed5325a5a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEUtsO7uOXE3CnipegRkQuWCyX5vQHeftd\n11h4v0gozLhorbbREJTsG4H9bIhetsTB0GtrDtUyWlo=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 390,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c5a8e2781c9813022ac0d798cf82fa5bafe1e5f993ec73eadcea38181",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "049cf00010b4ad86636f6cc70fb58c3b995c0d12e46fc58e24b0d28f6921c8a8a320cc450ccb15ebd71617f4ed25db4d3413fbdf157d31dbb6",
|
|
"wx" : "009cf00010b4ad86636f6cc70fb58c3b995c0d12e46fc58e24b0d28f69",
|
|
"wy" : "21c8a8a320cc450ccb15ebd71617f4ed25db4d3413fbdf157d31dbb6"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00049cf00010b4ad86636f6cc70fb58c3b995c0d12e46fc58e24b0d28f6921c8a8a320cc450ccb15ebd71617f4ed25db4d3413fbdf157d31dbb6",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEnPAAELSthmNvbMcPtYw7mVwNEuRvxY4k\nsNKPaSHIqKMgzEUMyxXr1xYX9O0l2000E/vfFX0x27Y=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 391,
|
|
"comment" : "point at infinity during verify",
|
|
"flags" : [
|
|
"PointDuplication",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151e021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04ae9b3636b8547232df438559b5a109e0238a73a76afc25d070ea27427210a69de44ad645b1b03845040f46fce238e92c131a71e4b184c01f",
|
|
"wx" : "00ae9b3636b8547232df438559b5a109e0238a73a76afc25d070ea2742",
|
|
"wy" : "7210a69de44ad645b1b03845040f46fce238e92c131a71e4b184c01f"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004ae9b3636b8547232df438559b5a109e0238a73a76afc25d070ea27427210a69de44ad645b1b03845040f46fce238e92c131a71e4b184c01f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAErps2NrhUcjLfQ4VZtaEJ4COKc6dq/CXQ\ncOonQnIQpp3kStZFsbA4RQQPRvziOOksExpx5LGEwB8=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 392,
|
|
"comment" : "edge case for signature malleability",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151f021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "048d57d4fce62757791888c1938076fd766daeb2ec9f1bda8ad5df4809aade924d7ea3ae5abbd0719a7d4865759da654cf76cf7ec031277108",
|
|
"wx" : "008d57d4fce62757791888c1938076fd766daeb2ec9f1bda8ad5df4809",
|
|
"wy" : "00aade924d7ea3ae5abbd0719a7d4865759da654cf76cf7ec031277108"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00048d57d4fce62757791888c1938076fd766daeb2ec9f1bda8ad5df4809aade924d7ea3ae5abbd0719a7d4865759da654cf76cf7ec031277108",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEjVfU/OYnV3kYiMGTgHb9dm2usuyfG9qK\n1d9ICarekk1+o65au9Bxmn1IZXWdplTPds9+wDEncQg=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 393,
|
|
"comment" : "edge case for signature malleability",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151f021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0410518eb7a926b5f7b65be801ec9b2abf76adce25c6152e452a3512c83f322b9ab57ea8352ad29beb99ef356b713432fcc4aef31f903045d9",
|
|
"wx" : "10518eb7a926b5f7b65be801ec9b2abf76adce25c6152e452a3512c8",
|
|
"wy" : "3f322b9ab57ea8352ad29beb99ef356b713432fcc4aef31f903045d9"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000410518eb7a926b5f7b65be801ec9b2abf76adce25c6152e452a3512c83f322b9ab57ea8352ad29beb99ef356b713432fcc4aef31f903045d9",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEEFGOt6kmtfe2W+gB7Jsqv3atziXGFS5F\nKjUSyD8yK5q1fqg1KtKb65nvNWtxNDL8xK7zH5AwRdk=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 394,
|
|
"comment" : "u1 == 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021d00bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419fe",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "048a5dfedc9dd1cb9a439c88b3dd472b2e66173f7866855db6bb6c12fd3badfbb8a4c6fd80e66510957927c78a2aa02ecef62816d0356b49c3",
|
|
"wx" : "008a5dfedc9dd1cb9a439c88b3dd472b2e66173f7866855db6bb6c12fd",
|
|
"wy" : "3badfbb8a4c6fd80e66510957927c78a2aa02ecef62816d0356b49c3"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00048a5dfedc9dd1cb9a439c88b3dd472b2e66173f7866855db6bb6c12fd3badfbb8a4c6fd80e66510957927c78a2aa02ecef62816d0356b49c3",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEil3+3J3Ry5pDnIiz3UcrLmYXP3hmhV22\nu2wS/Tut+7ikxv2A5mUQlXknx4oqoC7O9igW0DVrScM=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 395,
|
|
"comment" : "u1 == n - 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c44a5ad0bd0636d9e12bc9e0a6bdc74bfe082087ae8b61cbd54b8103f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0483a59fc3df295e84c290b32d0b550a06f99456fc2298e4a68c4f2bff1b34f483db30db3a51d8288732c107d8b1a858cd54c3936e1b5c11a4",
|
|
"wx" : "0083a59fc3df295e84c290b32d0b550a06f99456fc2298e4a68c4f2bff",
|
|
"wy" : "1b34f483db30db3a51d8288732c107d8b1a858cd54c3936e1b5c11a4"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000483a59fc3df295e84c290b32d0b550a06f99456fc2298e4a68c4f2bff1b34f483db30db3a51d8288732c107d8b1a858cd54c3936e1b5c11a4",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEg6Wfw98pXoTCkLMtC1UKBvmUVvwimOSm\njE8r/xs09IPbMNs6UdgohzLBB9ixqFjNVMOTbhtcEaQ=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 396,
|
|
"comment" : "u2 == 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0458bada578a205d6e170722c8ed6c7715011fe33d7eba869ed1d448a75be4730c1d2d2ef881e02f028a241b7d7d3b0d0b4a9c0565fcb49977",
|
|
"wx" : "58bada578a205d6e170722c8ed6c7715011fe33d7eba869ed1d448a7",
|
|
"wy" : "5be4730c1d2d2ef881e02f028a241b7d7d3b0d0b4a9c0565fcb49977"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000458bada578a205d6e170722c8ed6c7715011fe33d7eba869ed1d448a75be4730c1d2d2ef881e02f028a241b7d7d3b0d0b4a9c0565fcb49977",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEWLraV4ogXW4XByLI7Wx3FQEf4z1+uoae\n0dRIp1vkcwwdLS74geAvAookG319Ow0LSpwFZfy0mXc=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 397,
|
|
"comment" : "u2 == n - 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021d00aaaaaaaaaaaaaaaaaaaaaaaaaaaa0f17407b4ad40d3e1b8392e81c29",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "047fcc799b919fe9789ce01dd9202731cb7d815158bc6cb8468760247c0f9d2957e0dd5e4c40124bd5e0dd1be41c038fce2cd1dc814e0af37d",
|
|
"wx" : "7fcc799b919fe9789ce01dd9202731cb7d815158bc6cb8468760247c",
|
|
"wy" : "0f9d2957e0dd5e4c40124bd5e0dd1be41c038fce2cd1dc814e0af37d"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00047fcc799b919fe9789ce01dd9202731cb7d815158bc6cb8468760247c0f9d2957e0dd5e4c40124bd5e0dd1be41c038fce2cd1dc814e0af37d",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEf8x5m5Gf6Xic4B3ZICcxy32BUVi8bLhG\nh2AkfA+dKVfg3V5MQBJL1eDdG+QcA4/OLNHcgU4K830=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 398,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d0093c8c651653430cb4f1675fc86b5e82ca04ff2ab1501674476aac169",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "043ddd68f69d0bfd47ad19370fa3dc72eb258268c2b5f3768852151674fbe0e155d94d2373a01a5e70f1a105259e7b8b1d2fdf4dba3cf4c780",
|
|
"wx" : "3ddd68f69d0bfd47ad19370fa3dc72eb258268c2b5f3768852151674",
|
|
"wy" : "00fbe0e155d94d2373a01a5e70f1a105259e7b8b1d2fdf4dba3cf4c780"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00043ddd68f69d0bfd47ad19370fa3dc72eb258268c2b5f3768852151674fbe0e155d94d2373a01a5e70f1a105259e7b8b1d2fdf4dba3cf4c780",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEPd1o9p0L/UetGTcPo9xy6yWCaMK183aI\nUhUWdPvg4VXZTSNzoBpecPGhBSWee4sdL99Nujz0x4A=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 399,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d009df50acc33b3625a2d5940dd13dbb97d1f7dd56afff8b7de7545127c",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "041cb1f564c29ebf60a342b3bc33c8945cb279c6c1a012255c874e1c37b75191ab3b2bb730914ebfa14080410970b71eaf4fe01e2d48be9891",
|
|
"wx" : "1cb1f564c29ebf60a342b3bc33c8945cb279c6c1a012255c874e1c37",
|
|
"wy" : "00b75191ab3b2bb730914ebfa14080410970b71eaf4fe01e2d48be9891"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00041cb1f564c29ebf60a342b3bc33c8945cb279c6c1a012255c874e1c37b75191ab3b2bb730914ebfa14080410970b71eaf4fe01e2d48be9891",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEHLH1ZMKev2CjQrO8M8iUXLJ5xsGgEiVc\nh04cN7dRkas7K7cwkU6/oUCAQQlwtx6vT+AeLUi+mJE=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 400,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00dce8c223f235699d1f5d2dcde4809d013390b59129f783239525c08f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0444e309eb686e7af7f1e2cc17fd56542b38910b3b7908ea54fb038d36477e829d4c8332e5b29f344ad27a21c18dab24a31ce7985b63a21304",
|
|
"wx" : "44e309eb686e7af7f1e2cc17fd56542b38910b3b7908ea54fb038d36",
|
|
"wy" : "477e829d4c8332e5b29f344ad27a21c18dab24a31ce7985b63a21304"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000444e309eb686e7af7f1e2cc17fd56542b38910b3b7908ea54fb038d36477e829d4c8332e5b29f344ad27a21c18dab24a31ce7985b63a21304",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEROMJ62huevfx4swX/VZUKziRCzt5COpU\n+wONNkd+gp1MgzLlsp80StJ6IcGNqySjHOeYW2OiEwQ=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 401,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c074aae944ee7a7d544a5ad0bd06366f872d2250ba3018a63d2a7f2e6",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04c728064542cb5142f5eefe638124dcd7a1ad0b3555842a47dd5108e110129dd878ebd47313276cec86f521ea9585cd105b3dc421141993b8",
|
|
"wx" : "00c728064542cb5142f5eefe638124dcd7a1ad0b3555842a47dd5108e1",
|
|
"wy" : "10129dd878ebd47313276cec86f521ea9585cd105b3dc421141993b8"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c728064542cb5142f5eefe638124dcd7a1ad0b3555842a47dd5108e110129dd878ebd47313276cec86f521ea9585cd105b3dc421141993b8",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAExygGRULLUUL17v5jgSTc16GtCzVVhCpH\n3VEI4RASndh469RzEyds7Ib1IeqVhc0QWz3EIRQZk7g=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 402,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00aae944ee7a7d544a5ad0bd0636d9455f4e83de0f186f89bca56b3c5c",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04c46c1ad3d3d0df8e9c0f525c21ce8d81ef9d66297f442d63099667220cfa2253aa31a98d8966b85969bf9c819c019292ef6a53ac1db2a108",
|
|
"wx" : "00c46c1ad3d3d0df8e9c0f525c21ce8d81ef9d66297f442d6309966722",
|
|
"wy" : "0cfa2253aa31a98d8966b85969bf9c819c019292ef6a53ac1db2a108"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c46c1ad3d3d0df8e9c0f525c21ce8d81ef9d66297f442d63099667220cfa2253aa31a98d8966b85969bf9c819c019292ef6a53ac1db2a108",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAExGwa09PQ346cD1JcIc6Nge+dZil/RC1j\nCZZnIgz6IlOqMamNiWa4WWm/nIGcAZKS72pTrB2yoQg=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 403,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c55d289dcf4faa894b5a17a0c6db3741bbc4ecbe01d01ea33ee7a4e7b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04b7b2e48c1e60e20925f4d9b6be600dd83786a936c9bfab00639c33caa967cbc65070739a3379da80d54843a18d9c11a29a32234a0b303c12",
|
|
"wx" : "00b7b2e48c1e60e20925f4d9b6be600dd83786a936c9bfab00639c33ca",
|
|
"wy" : "00a967cbc65070739a3379da80d54843a18d9c11a29a32234a0b303c12"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b7b2e48c1e60e20925f4d9b6be600dd83786a936c9bfab00639c33caa967cbc65070739a3379da80d54843a18d9c11a29a32234a0b303c12",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEt7LkjB5g4gkl9Nm2vmAN2DeGqTbJv6sA\nY5wzyqlny8ZQcHOaM3nagNVIQ6GNnBGimjIjSgswPBI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 404,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c4ee7a7d544a5ad0bd0636d9e12bc561ce04faaf1312bba3a15601ebc",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04f4a3d4598875af7f2741bbd67b1733b6541bc5325b3bcb4d3267c27ec30bf322f58a45c6c2aa2ced55f175d1cbf72a7c5bfc464d74f666c0",
|
|
"wx" : "00f4a3d4598875af7f2741bbd67b1733b6541bc5325b3bcb4d3267c27e",
|
|
"wy" : "00c30bf322f58a45c6c2aa2ced55f175d1cbf72a7c5bfc464d74f666c0"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004f4a3d4598875af7f2741bbd67b1733b6541bc5325b3bcb4d3267c27ec30bf322f58a45c6c2aa2ced55f175d1cbf72a7c5bfc464d74f666c0",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE9KPUWYh1r38nQbvWexcztlQbxTJbO8tN\nMmfCfsML8yL1ikXGwqos7VXxddHL9yp8W/xGTXT2ZsA=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 405,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c361b9cd74d65e79a5874c501bca4973b20347ec97f6de10072d8b46a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0456d1e5c1d664f6ce2fc1fcb937a7ce231a29486abf36c73f77a2bd116cb282c9d7c6fc05f399c183e880ea362edf043cd28ffac9f94f2141",
|
|
"wx" : "56d1e5c1d664f6ce2fc1fcb937a7ce231a29486abf36c73f77a2bd11",
|
|
"wy" : "6cb282c9d7c6fc05f399c183e880ea362edf043cd28ffac9f94f2141"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000456d1e5c1d664f6ce2fc1fcb937a7ce231a29486abf36c73f77a2bd116cb282c9d7c6fc05f399c183e880ea362edf043cd28ffac9f94f2141",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEVtHlwdZk9s4vwfy5N6fOIxopSGq/Nsc/\nd6K9EWyygsnXxvwF85nBg+iA6jYu3wQ80o/6yflPIUE=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 406,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c6c3739ae9acbcf34b0e98a0379492e764068fd92fedbc200e5b168d4",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0430bce8c6b7f1bbba040b8d121d85d55167ac99b2e2cf1cfac8b018b5f1c384c35be0ae309a5cb55aba982343d2125f2d4a559d8c545359cd",
|
|
"wx" : "30bce8c6b7f1bbba040b8d121d85d55167ac99b2e2cf1cfac8b018b5",
|
|
"wy" : "00f1c384c35be0ae309a5cb55aba982343d2125f2d4a559d8c545359cd"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000430bce8c6b7f1bbba040b8d121d85d55167ac99b2e2cf1cfac8b018b5f1c384c35be0ae309a5cb55aba982343d2125f2d4a559d8c545359cd",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEMLzoxrfxu7oEC40SHYXVUWesmbLizxz6\nyLAYtfHDhMNb4K4wmly1WrqYI0PSEl8tSlWdjFRTWc0=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 407,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00a252d685e831b6cf095e4f0535edc5b1609d7c5c7e49a301588a1d3e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04e87e538a978cf187908beb27a4a247d496a8421dab1fe79f8744d2b5539b9f8fe8bddcf7c97c44c55a4fc22f4d78f6a961447a5b613b5c49",
|
|
"wx" : "00e87e538a978cf187908beb27a4a247d496a8421dab1fe79f8744d2b5",
|
|
"wy" : "539b9f8fe8bddcf7c97c44c55a4fc22f4d78f6a961447a5b613b5c49"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004e87e538a978cf187908beb27a4a247d496a8421dab1fe79f8744d2b5539b9f8fe8bddcf7c97c44c55a4fc22f4d78f6a961447a5b613b5c49",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE6H5TipeM8YeQi+snpKJH1JaoQh2rH+ef\nh0TStVObn4/ovdz3yXxExVpPwi9NePapYUR6W2E7XEk=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 408,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00ee746111f91ab4ce8fae96e6f23fd9d20a24d2e79eea563478c0f566",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04113a2cc57c8ee7de11bc45e14546c72a29725b9a7218114ac31f02816c765b9a46b0215312a3292f5979c98d37b35883baa156281b1bae8c",
|
|
"wx" : "113a2cc57c8ee7de11bc45e14546c72a29725b9a7218114ac31f0281",
|
|
"wy" : "6c765b9a46b0215312a3292f5979c98d37b35883baa156281b1bae8c"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004113a2cc57c8ee7de11bc45e14546c72a29725b9a7218114ac31f02816c765b9a46b0215312a3292f5979c98d37b35883baa156281b1bae8c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEETosxXyO594RvEXhRUbHKilyW5pyGBFK\nwx8CgWx2W5pGsCFTEqMpL1l5yY03s1iDuqFWKBsbrow=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 409,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c7fffffffffffffffffffffffffffb2364ae85014b149b86c741eb8be",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0423dd9c3f1a4b478b01fa2c5e997d0482073b32918de44be583dcf74ad661a5ed579a2f09d2ff56d6b80f26568d93a237ca6444b0cadc7951",
|
|
"wx" : "23dd9c3f1a4b478b01fa2c5e997d0482073b32918de44be583dcf74a",
|
|
"wy" : "00d661a5ed579a2f09d2ff56d6b80f26568d93a237ca6444b0cadc7951"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000423dd9c3f1a4b478b01fa2c5e997d0482073b32918de44be583dcf74ad661a5ed579a2f09d2ff56d6b80f26568d93a237ca6444b0cadc7951",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEI92cPxpLR4sB+ixemX0Eggc7MpGN5Evl\ng9z3StZhpe1Xmi8J0v9W1rgPJlaNk6I3ymREsMrceVE=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 410,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00855f5b2dc8e46ec428a593f73219cf65dae793e8346e30cc3701309c",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04bbce4b17d45d24a1c80bc8eca98c359d5e1e458058a00b950643256dfe09e092318e39303dca03688e4ecf300300784312d617e5088c584c",
|
|
"wx" : "00bbce4b17d45d24a1c80bc8eca98c359d5e1e458058a00b950643256d",
|
|
"wy" : "00fe09e092318e39303dca03688e4ecf300300784312d617e5088c584c"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004bbce4b17d45d24a1c80bc8eca98c359d5e1e458058a00b950643256dfe09e092318e39303dca03688e4ecf300300784312d617e5088c584c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEu85LF9RdJKHIC8jsqYw1nV4eRYBYoAuV\nBkMlbf4J4JIxjjkwPcoDaI5OzzADAHhDEtYX5QiMWEw=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 411,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c2db5f61aea817276af2064e104c7a30e32034cb526dd0aacfa56566f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04035f58446c1bdbeaa56660a897ebf965f2d18820c7cd0630f04a495347bdfaea60091f405e09929cb2c0e2f6eed53e0871b7fe0cd5a15d85",
|
|
"wx" : "035f58446c1bdbeaa56660a897ebf965f2d18820c7cd0630f04a4953",
|
|
"wy" : "47bdfaea60091f405e09929cb2c0e2f6eed53e0871b7fe0cd5a15d85"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004035f58446c1bdbeaa56660a897ebf965f2d18820c7cd0630f04a495347bdfaea60091f405e09929cb2c0e2f6eed53e0871b7fe0cd5a15d85",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEA19YRGwb2+qlZmCol+v5ZfLRiCDHzQYw\n8EpJU0e9+upgCR9AXgmSnLLA4vbu1T4Icbf+DNWhXYU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 412,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d0084a6c7513e5f48c07fffffffffff8713f3cba1293e4f3e95597fe6bd",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04911c0033eac46332691cb7920c4950eed57354761e1081a1ea9f1279508ebf7cfd3eab5dabdee1be14ce8296b1fc20acfaac16f7824c6002",
|
|
"wx" : "00911c0033eac46332691cb7920c4950eed57354761e1081a1ea9f1279",
|
|
"wy" : "508ebf7cfd3eab5dabdee1be14ce8296b1fc20acfaac16f7824c6002"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004911c0033eac46332691cb7920c4950eed57354761e1081a1ea9f1279508ebf7cfd3eab5dabdee1be14ce8296b1fc20acfaac16f7824c6002",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEkRwAM+rEYzJpHLeSDElQ7tVzVHYeEIGh\n6p8SeVCOv3z9Pqtdq97hvhTOgpax/CCs+qwW94JMYAI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 413,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c6c7513e5f48c07ffffffffffffff9d21fd1b31544cb13ca86a75b25e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0462b2abb70bb9c7efdfb57181f433b64751f108130dce180d6992e7d3124b3aa8a53e5eedf72aa67e6edcc71f19e36e6ad1d099a59ffd9555",
|
|
"wx" : "62b2abb70bb9c7efdfb57181f433b64751f108130dce180d6992e7d3",
|
|
"wy" : "124b3aa8a53e5eedf72aa67e6edcc71f19e36e6ad1d099a59ffd9555"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000462b2abb70bb9c7efdfb57181f433b64751f108130dce180d6992e7d3124b3aa8a53e5eedf72aa67e6edcc71f19e36e6ad1d099a59ffd9555",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEYrKrtwu5x+/ftXGB9DO2R1HxCBMNzhgN\naZLn0xJLOqilPl7t9yqmfm7cxx8Z425q0dCZpZ/9lVU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 414,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00d8ea27cbe9180fffffffffffffff3a43fa3662a899627950d4eb64bc",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "040f759330e7992752aae6a85f7bb0599784bea53e288ff7ee8d53d5e6defe617362380e92f9a23c4fdcc34e09713aab9cc44119418f6f2fd1",
|
|
"wx" : "0f759330e7992752aae6a85f7bb0599784bea53e288ff7ee8d53d5e6",
|
|
"wy" : "00defe617362380e92f9a23c4fdcc34e09713aab9cc44119418f6f2fd1"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00040f759330e7992752aae6a85f7bb0599784bea53e288ff7ee8d53d5e6defe617362380e92f9a23c4fdcc34e09713aab9cc44119418f6f2fd1",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAED3WTMOeZJ1Kq5qhfe7BZl4S+pT4oj/fu\njVPV5t7+YXNiOA6S+aI8T9zDTglxOqucxEEZQY9vL9E=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 415,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c3e5f48c07fffffffffffffffffffc724968c0ecf9ed783744a7337b3",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "048f2eda42742ab31f5d4cf666892d1d623efd3b26f7df9aa70296e80d3beaf235cfea41fadb98c533a8fdeb5841d69ee65f6e71914711f138",
|
|
"wx" : "008f2eda42742ab31f5d4cf666892d1d623efd3b26f7df9aa70296e80d",
|
|
"wy" : "3beaf235cfea41fadb98c533a8fdeb5841d69ee65f6e71914711f138"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00048f2eda42742ab31f5d4cf666892d1d623efd3b26f7df9aa70296e80d3beaf235cfea41fadb98c533a8fdeb5841d69ee65f6e71914711f138",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEjy7aQnQqsx9dTPZmiS0dYj79Oyb335qn\nApboDTvq8jXP6kH625jFM6j961hB1p7mX25xkUcR8Tg=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 416,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00bfffffffffffffffffffffffffff3d87bb44c833bb384d0f224ccdde",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "042bcf4371b319a691ed0e2e0c4a55a8a9b987dec86b863621e97b9c095b8660a74cc964a6af0311edc6b1cd980f9c7bf3a6c9b7f9132a0b2f",
|
|
"wx" : "2bcf4371b319a691ed0e2e0c4a55a8a9b987dec86b863621e97b9c09",
|
|
"wy" : "5b8660a74cc964a6af0311edc6b1cd980f9c7bf3a6c9b7f9132a0b2f"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00042bcf4371b319a691ed0e2e0c4a55a8a9b987dec86b863621e97b9c095b8660a74cc964a6af0311edc6b1cd980f9c7bf3a6c9b7f9132a0b2f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEK89DcbMZppHtDi4MSlWoqbmH3shrhjYh\n6XucCVuGYKdMyWSmrwMR7caxzZgPnHvzpsm3+RMqCy8=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 417,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c7fffffffffffffffffffffffffff646c95d0a029629370d8e83d717f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04a6f252568f6fbd1ae045e602344359c0c216911723748f9a3e7fadec3b76efc75ba030bfe7de2ded686991e6183d40241a05b479693c7015",
|
|
"wx" : "00a6f252568f6fbd1ae045e602344359c0c216911723748f9a3e7fadec",
|
|
"wy" : "3b76efc75ba030bfe7de2ded686991e6183d40241a05b479693c7015"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a6f252568f6fbd1ae045e602344359c0c216911723748f9a3e7fadec3b76efc75ba030bfe7de2ded686991e6183d40241a05b479693c7015",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEpvJSVo9vvRrgReYCNENZwMIWkRcjdI+a\nPn+t7Dt278dboDC/594t7WhpkeYYPUAkGgW0eWk8cBU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 418,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c3fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e1520",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04a74c1c3a31c7d493ab2c0af89cf5e688621ca9466d2ba1d8761c3fe82ba0d08f4c9f76856c2b7138c8f1e780b6959992b16ccdfd925f4b3a",
|
|
"wx" : "00a74c1c3a31c7d493ab2c0af89cf5e688621ca9466d2ba1d8761c3fe8",
|
|
"wy" : "2ba0d08f4c9f76856c2b7138c8f1e780b6959992b16ccdfd925f4b3a"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a74c1c3a31c7d493ab2c0af89cf5e688621ca9466d2ba1d8761c3fe82ba0d08f4c9f76856c2b7138c8f1e780b6959992b16ccdfd925f4b3a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEp0wcOjHH1JOrLAr4nPXmiGIcqUZtK6HY\ndhw/6Cug0I9Mn3aFbCtxOMjx54C2lZmSsWzN/ZJfSzo=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 419,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d0096dafb0d7540b93b5790327082635cd8895e1e799d5d19f92b594056",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04034ea72798257f33f24f64c49438fc43e8f67ddc7170fd127e2c43f280562acc9b49f2d7fcc89421d2a5db2ea8dd0361fb48d897d4612627",
|
|
"wx" : "034ea72798257f33f24f64c49438fc43e8f67ddc7170fd127e2c43f2",
|
|
"wy" : "0080562acc9b49f2d7fcc89421d2a5db2ea8dd0361fb48d897d4612627"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004034ea72798257f33f24f64c49438fc43e8f67ddc7170fd127e2c43f280562acc9b49f2d7fcc89421d2a5db2ea8dd0361fb48d897d4612627",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEA06nJ5glfzPyT2TElDj8Q+j2fdxxcP0S\nfixD8oBWKsybSfLX/MiUIdKl2y6o3QNh+0jYl9RhJic=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 420,
|
|
"comment" : "point duplication during verification",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00c44503dae85dd5210780f02928b3d927171c578f8603d16b240663c7021c3f552f1c2b01651edf5902650fe9ab046f71999ac928edc0087bdb13",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04034ea72798257f33f24f64c49438fc43e8f67ddc7170fd127e2c43f27fa9d53364b60d2803376bde2d5a24d05722fc9e04b727682b9ed9da",
|
|
"wx" : "034ea72798257f33f24f64c49438fc43e8f67ddc7170fd127e2c43f2",
|
|
"wy" : "7fa9d53364b60d2803376bde2d5a24d05722fc9e04b727682b9ed9da"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004034ea72798257f33f24f64c49438fc43e8f67ddc7170fd127e2c43f27fa9d53364b60d2803376bde2d5a24d05722fc9e04b727682b9ed9da",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEA06nJ5glfzPyT2TElDj8Q+j2fdxxcP0S\nfixD8n+p1TNktg0oAzdr3i1aJNBXIvyeBLcnaCue2do=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 421,
|
|
"comment" : "duplication bug",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00c44503dae85dd5210780f02928b3d927171c578f8603d16b240663c7021c3f552f1c2b01651edf5902650fe9ab046f71999ac928edc0087bdb13",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "043672ba9718e60d00eab4295c819ea366a778dd6fd621fa9665259cb67ae5e847eeaea674beeb636379e968f79265502e414a1d444f04ae79",
|
|
"wx" : "3672ba9718e60d00eab4295c819ea366a778dd6fd621fa9665259cb6",
|
|
"wy" : "7ae5e847eeaea674beeb636379e968f79265502e414a1d444f04ae79"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00043672ba9718e60d00eab4295c819ea366a778dd6fd621fa9665259cb67ae5e847eeaea674beeb636379e968f79265502e414a1d444f04ae79",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAENnK6lxjmDQDqtClcgZ6jZqd43W/WIfqW\nZSWctnrl6EfurqZ0vutjY3npaPeSZVAuQUodRE8Ernk=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 422,
|
|
"comment" : "comparison with point at infinity ",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c33333333333333333333333333330486f9be9672d0c5d50ddf45a20c",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0433eeefbfc77229136e56b575144863ed90b4c0f8a9e315816d6de648051749dd11480c141fb5a1946313163c0141265b68a26216bcb9936a",
|
|
"wx" : "33eeefbfc77229136e56b575144863ed90b4c0f8a9e315816d6de648",
|
|
"wy" : "051749dd11480c141fb5a1946313163c0141265b68a26216bcb9936a"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000433eeefbfc77229136e56b575144863ed90b4c0f8a9e315816d6de648051749dd11480c141fb5a1946313163c0141265b68a26216bcb9936a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEM+7vv8dyKRNuVrV1FEhj7ZC0wPip4xWB\nbW3mSAUXSd0RSAwUH7WhlGMTFjwBQSZbaKJiFry5k2o=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 423,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04bda03b24b62243c61e288b6ea1e99a2886f700944eb1b8f0466cffd61c712a3aaace69331989b707e69e8de39d7cd1aeb65d97ad1800bf7f",
|
|
"wx" : "00bda03b24b62243c61e288b6ea1e99a2886f700944eb1b8f0466cffd6",
|
|
"wy" : "1c712a3aaace69331989b707e69e8de39d7cd1aeb65d97ad1800bf7f"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004bda03b24b62243c61e288b6ea1e99a2886f700944eb1b8f0466cffd61c712a3aaace69331989b707e69e8de39d7cd1aeb65d97ad1800bf7f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEvaA7JLYiQ8YeKItuoemaKIb3AJROsbjw\nRmz/1hxxKjqqzmkzGYm3B+aejeOdfNGutl2XrRgAv38=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 424,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021d00db6db6db6db6db6db6db6db6db6ceed4c09e84c77ebd9116e17391eb",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "047abba0cbff134ddcf54d04846f954b882ca9faefdfe818898bfb378b792f10b57970ae57bb4fb01c08886848855aeb1984d3d6fcb2b412df",
|
|
"wx" : "7abba0cbff134ddcf54d04846f954b882ca9faefdfe818898bfb378b",
|
|
"wy" : "792f10b57970ae57bb4fb01c08886848855aeb1984d3d6fcb2b412df"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00047abba0cbff134ddcf54d04846f954b882ca9faefdfe818898bfb378b792f10b57970ae57bb4fb01c08886848855aeb1984d3d6fcb2b412df",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEerugy/8TTdz1TQSEb5VLiCyp+u/f6BiJ\ni/s3i3kvELV5cK5Xu0+wHAiIaEiFWusZhNPW/LK0Et8=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 425,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021c33333333333333333333333333330486f9be9672d0c5d50ddf45a20c",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04f68d99e28653b9ba3e7cedb3b78165f5a54fbe90d4b9f88497977e16234da3eaa0178a51b5b0c208ef0818df6f6578793c1af1787026b8da",
|
|
"wx" : "00f68d99e28653b9ba3e7cedb3b78165f5a54fbe90d4b9f88497977e16",
|
|
"wy" : "234da3eaa0178a51b5b0c208ef0818df6f6578793c1af1787026b8da"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004f68d99e28653b9ba3e7cedb3b78165f5a54fbe90d4b9f88497977e16234da3eaa0178a51b5b0c208ef0818df6f6578793c1af1787026b8da",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE9o2Z4oZTubo+fO2zt4Fl9aVPvpDUufiE\nl5d+FiNNo+qgF4pRtbDCCO8IGN9vZXh5PBrxeHAmuNo=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 426,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021d00cccccccccccccccccccccccccccc121be6fa59cb431754377d168831",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04065d9ef133ce81c2d6b66e928360f9527f8f36b5badd35b5f10934272004852755f77440a0b08b9f165489c0696e8b4981d6d04a285b0fd1",
|
|
"wx" : "065d9ef133ce81c2d6b66e928360f9527f8f36b5badd35b5f1093427",
|
|
"wy" : "2004852755f77440a0b08b9f165489c0696e8b4981d6d04a285b0fd1"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004065d9ef133ce81c2d6b66e928360f9527f8f36b5badd35b5f10934272004852755f77440a0b08b9f165489c0696e8b4981d6d04a285b0fd1",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEBl2e8TPOgcLWtm6Sg2D5Un+PNrW63TW1\n8Qk0JyAEhSdV93RAoLCLnxZUicBpbotJgdbQSihbD9E=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 427,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021c249249249249249249249249249227ce201a6b76951f982e7ae89852",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04d6cea09472ede574ce1e0546c9acd0e1cd8cba9b121df29e89d5092e83904ebfb902ea61c987dc0508e0c9a7e563e2609feaf79140ab91d6",
|
|
"wx" : "00d6cea09472ede574ce1e0546c9acd0e1cd8cba9b121df29e89d5092e",
|
|
"wy" : "0083904ebfb902ea61c987dc0508e0c9a7e563e2609feaf79140ab91d6"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004d6cea09472ede574ce1e0546c9acd0e1cd8cba9b121df29e89d5092e83904ebfb902ea61c987dc0508e0c9a7e563e2609feaf79140ab91d6",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE1s6glHLt5XTOHgVGyazQ4c2MupsSHfKe\nidUJLoOQTr+5AuphyYfcBQjgyaflY+Jgn+r3kUCrkdY=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 428,
|
|
"comment" : "extreme value for k",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021c0eb10e5ab95facded4061029d63a46f46f12947411f2ea561a592057",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04c520b18003b356094147ee2f9df1178572bed837bd89443b25ebceb80e2e93a998fbbabe82192ea4c85651cf09a95ab0dc2e3d975ee7be98",
|
|
"wx" : "00c520b18003b356094147ee2f9df1178572bed837bd89443b25ebceb8",
|
|
"wy" : "0e2e93a998fbbabe82192ea4c85651cf09a95ab0dc2e3d975ee7be98"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c520b18003b356094147ee2f9df1178572bed837bd89443b25ebceb80e2e93a998fbbabe82192ea4c85651cf09a95ab0dc2e3d975ee7be98",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAExSCxgAOzVglBR+4vnfEXhXK+2De9iUQ7\nJevOuA4uk6mY+7q+ghkupMhWUc8JqVqw3C49l17nvpg=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 429,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "049dd0b99bb7a830bcc7d55abac42912d525b063c50cf377ca5771a26ca141fccf0793c2ba2469a946c2d4ed26344052c63a6d7e7797ce96c3",
|
|
"wx" : "009dd0b99bb7a830bcc7d55abac42912d525b063c50cf377ca5771a26c",
|
|
"wy" : "00a141fccf0793c2ba2469a946c2d4ed26344052c63a6d7e7797ce96c3"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00049dd0b99bb7a830bcc7d55abac42912d525b063c50cf377ca5771a26ca141fccf0793c2ba2469a946c2d4ed26344052c63a6d7e7797ce96c3",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEndC5m7eoMLzH1Vq6xCkS1SWwY8UM83fK\nV3GibKFB/M8Hk8K6JGmpRsLU7SY0QFLGOm1+d5fOlsM=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 430,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21021d00db6db6db6db6db6db6db6db6db6ceed4c09e84c77ebd9116e17391eb",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "043dab9f1b19e715d174a7360920375d569a181f055e66f01391871b6f47a6d87c23a5b6a1e3d0a9721302cc02cce35f35dea08e22619be521",
|
|
"wx" : "3dab9f1b19e715d174a7360920375d569a181f055e66f01391871b6f",
|
|
"wy" : "47a6d87c23a5b6a1e3d0a9721302cc02cce35f35dea08e22619be521"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00043dab9f1b19e715d174a7360920375d569a181f055e66f01391871b6f47a6d87c23a5b6a1e3d0a9721302cc02cce35f35dea08e22619be521",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEPaufGxnnFdF0pzYJIDddVpoYHwVeZvAT\nkYcbb0em2Hwjpbah49CpchMCzALM41813qCOImGb5SE=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 431,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21021c33333333333333333333333333330486f9be9672d0c5d50ddf45a20c",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0456dde1ba58ea31053b2535c66623344c24c72d214af5be6982e89100e771084806143e86f2b31bdaf62280f5b311d0d2bdbb385b20fc6c87",
|
|
"wx" : "56dde1ba58ea31053b2535c66623344c24c72d214af5be6982e89100",
|
|
"wy" : "00e771084806143e86f2b31bdaf62280f5b311d0d2bdbb385b20fc6c87"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000456dde1ba58ea31053b2535c66623344c24c72d214af5be6982e89100e771084806143e86f2b31bdaf62280f5b311d0d2bdbb385b20fc6c87",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEVt3huljqMQU7JTXGZiM0TCTHLSFK9b5p\nguiRAOdxCEgGFD6G8rMb2vYigPWzEdDSvbs4WyD8bIc=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 432,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21021d00cccccccccccccccccccccccccccc121be6fa59cb431754377d168831",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0494efe1387fc0447d7dbcb53739a0e4e0ddec181d382caea645b1a6124414a6b1c78908d0fa206f8f2de950ad4a14d1ce94d9cddbe32e4601",
|
|
"wx" : "0094efe1387fc0447d7dbcb53739a0e4e0ddec181d382caea645b1a612",
|
|
"wy" : "4414a6b1c78908d0fa206f8f2de950ad4a14d1ce94d9cddbe32e4601"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000494efe1387fc0447d7dbcb53739a0e4e0ddec181d382caea645b1a6124414a6b1c78908d0fa206f8f2de950ad4a14d1ce94d9cddbe32e4601",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAElO/hOH/ARH19vLU3OaDk4N3sGB04LK6m\nRbGmEkQUprHHiQjQ+iBvjy3pUK1KFNHOlNnN2+MuRgE=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 433,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21021c249249249249249249249249249227ce201a6b76951f982e7ae89852",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "046286803b952976ee1897013695d3ef2cbb6f977142a042b236572577722a6ce9ad3e3fd28e451833496c63b8ab70538877215f204942bf59",
|
|
"wx" : "6286803b952976ee1897013695d3ef2cbb6f977142a042b236572577",
|
|
"wy" : "722a6ce9ad3e3fd28e451833496c63b8ab70538877215f204942bf59"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00046286803b952976ee1897013695d3ef2cbb6f977142a042b236572577722a6ce9ad3e3fd28e451833496c63b8ab70538877215f204942bf59",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEYoaAO5Updu4YlwE2ldPvLLtvl3FCoEKy\nNlcld3IqbOmtPj/SjkUYM0lsY7ircFOIdyFfIElCv1k=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 434,
|
|
"comment" : "extreme value for k",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21021c0eb10e5ab95facded4061029d63a46f46f12947411f2ea561a592057",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34",
|
|
"wx" : "00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21",
|
|
"wy" : "00bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEtw4MvWu0v38yE5C5SgPB01bCESI0MoDW\nEVwdIb03Y4i19yP7TCLf5s1DdaBaB0dkRNWBmYUAfjQ=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 435,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419fe021c249249249249249249249249249227ce201a6b76951f982e7ae89851",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 436,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c44a5ad0bd0636d9e12bc9e0a6bdc74bfe082087ae8b61cbd54b8103f021c249249249249249249249249249227ce201a6b76951f982e7ae89851",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d2142c89c774a08dc04b3dd201932bc8a5ea5f8b89bbb2a7e667aff81cd",
|
|
"wx" : "00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21",
|
|
"wy" : "42c89c774a08dc04b3dd201932bc8a5ea5f8b89bbb2a7e667aff81cd"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d2142c89c774a08dc04b3dd201932bc8a5ea5f8b89bbb2a7e667aff81cd",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEtw4MvWu0v38yE5C5SgPB01bCESI0MoDW\nEVwdIULInHdKCNwEs90gGTK8il6l+Libuyp+Znr/gc0=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 437,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419fe021c249249249249249249249249249227ce201a6b76951f982e7ae89851",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 438,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c44a5ad0bd0636d9e12bc9e0a6bdc74bfe082087ae8b61cbd54b8103f021c249249249249249249249249249227ce201a6b76951f982e7ae89851",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04aed6fcad2400c4d94e55dbb6b012ce3d4c2b46843fbe99d4289e6ecf8a24a89e71343d7d151d258d2cb690349c2d56b366dd10a600000000",
|
|
"wx" : "00aed6fcad2400c4d94e55dbb6b012ce3d4c2b46843fbe99d4289e6ecf",
|
|
"wy" : "008a24a89e71343d7d151d258d2cb690349c2d56b366dd10a600000000"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004aed6fcad2400c4d94e55dbb6b012ce3d4c2b46843fbe99d4289e6ecf8a24a89e71343d7d151d258d2cb690349c2d56b366dd10a600000000",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAErtb8rSQAxNlOVdu2sBLOPUwrRoQ/vpnU\nKJ5uz4okqJ5xND19FR0ljSy2kDScLVazZt0QpgAAAAA=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 439,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c519bf185ff4635271961fa491be257231deeea9c53a6ede3b4a89ed1021c486bdad484a6a3134e1471cf56a9df0fac50f773b3e37d6f327617d7",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 440,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c09fd644898b7cb5d018b52234e7b4ef2b54789afd0ce9c434e9e5515021d00f19309532164ea2053cae55df7bdcbab536c83ea7bfe6fe10d60c1ab",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 441,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00ec919d4e283ccf1f71a9e3c0f781a36758d3f38b1b78a87a74288e80021c4c4663044a73c79bd88f0dc245ab1a32f89f06f40a704b31e9fabc51",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04bf19ecfe43ffe289f699f479316145b9a7f7370b9ece5ab1212174f173d528949ae9142f818bade71a960407963be0b6482a6a60ffffffff",
|
|
"wx" : "00bf19ecfe43ffe289f699f479316145b9a7f7370b9ece5ab1212174f1",
|
|
"wy" : "73d528949ae9142f818bade71a960407963be0b6482a6a60ffffffff"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004bf19ecfe43ffe289f699f479316145b9a7f7370b9ece5ab1212174f173d528949ae9142f818bade71a960407963be0b6482a6a60ffffffff",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEvxns/kP/4on2mfR5MWFFuaf3Nwuezlqx\nISF08XPVKJSa6RQvgYut5xqWBAeWO+C2SCpqYP////8=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 442,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00c51760478447217597ecc6f4001bd45088d53c90f53103608bf88aea021d00a201253aa903f9781e8992101d7171d2dd3a5d48c44d8e1d544cd6d7",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 443,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c76be0112674ec29128823e1af7512e6143872fef30a64e2f1799bd56021c187e503e1a48c27b549fe0a4ce5e581e242c8663fc9efb02d6f2b193",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 444,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c36245ef126b5b51e459f84eaaad5a495061f0471dc8c23f1c5f16282021c39e31d72a06ba8e14fcf95778e07bc16a2628e39449da8857d506edc",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0426e5abf135cb54eaaa16b69e4b0b292275344e88a09df6df80000000eab891de54e3f26ff50ab989f333dac551583d468ae623c596434af0",
|
|
"wx" : "26e5abf135cb54eaaa16b69e4b0b292275344e88a09df6df80000000",
|
|
"wy" : "00eab891de54e3f26ff50ab989f333dac551583d468ae623c596434af0"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000426e5abf135cb54eaaa16b69e4b0b292275344e88a09df6df80000000eab891de54e3f26ff50ab989f333dac551583d468ae623c596434af0",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEJuWr8TXLVOqqFraeSwspInU0Toignfbf\ngAAAAOq4kd5U4/Jv9Qq5ifMz2sVRWD1GiuYjxZZDSvA=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 445,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c258682975df8bca7f203f771ebeb478ef637360c860fc386cfb21745021c7663e70188047e41469a2a35c8c330dd900f2340ba82aafd22962a96",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 446,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d0085c98614f36c0d66f8d87834cae978611b7b4eebf59a46bea1b89ae9021d00d1a18e378dda840e06b60f6279bf0a2231d9fa2d8d2c31e88bc1bdd7",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 447,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00ca7b7432ba41ff2112e1116fffde89bbd68f5ce67fe5513d16c8e6f7021d00e421b7599e0180798acc2006451603cda2db1d582741116e6033ce5f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04ec627f345545d03f8c6dbd08e575527116567fe375f9ecaaffffffff41bf705697d5f716bcf78718d5393b63a98691f4a1f24246375538fd",
|
|
"wx" : "00ec627f345545d03f8c6dbd08e575527116567fe375f9ecaaffffffff",
|
|
"wy" : "41bf705697d5f716bcf78718d5393b63a98691f4a1f24246375538fd"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004ec627f345545d03f8c6dbd08e575527116567fe375f9ecaaffffffff41bf705697d5f716bcf78718d5393b63a98691f4a1f24246375538fd",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE7GJ/NFVF0D+Mbb0I5XVScRZWf+N1+eyq\n/////0G/cFaX1fcWvPeHGNU5O2OphpH0ofJCRjdVOP0=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 448,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c19397fe5d3ecabf80fc624c1bf379564387517c185087dc97d605069021c33b5773e9aaf6c34cb612cfc81efd3bf9c22224e8c4fa1bfccf5c501",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 449,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c70f24f5c164164bfbb8459aa12a981aa312dbcf00204326ebaaabdc8021d00f5cebee8caedae8662c43501665084b45d2f494fb70d603043543dc4",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 450,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c0bf2d86ecaa8b56aca5e8f8ebcb45081d078a14555b75f5be8e9b132021d009a55b3ce4734849966b5034ccd9b19f76407ee0241c3f58e7b8fc89a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0415016e52b36472d536477605fb805dd3903082a062d1ea30af9e555a00000000762d28f1fdc219184f81681fbff566d465b5f1f31e872df5",
|
|
"wx" : "15016e52b36472d536477605fb805dd3903082a062d1ea30af9e555a",
|
|
"wy" : "762d28f1fdc219184f81681fbff566d465b5f1f31e872df5"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000415016e52b36472d536477605fb805dd3903082a062d1ea30af9e555a00000000762d28f1fdc219184f81681fbff566d465b5f1f31e872df5",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEFQFuUrNkctU2R3YF+4Bd05AwgqBi0eow\nr55VWgAAAAB2LSjx/cIZGE+BaB+/9WbUZbXx8x6HLfU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 451,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00bfc5dc4434cd09369610687d38d2d418b63fd475dea246a456b25a3a021d00b171dfa6cf722f20816370a868785da842b37bac31d7b78e6751fc50",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 452,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d008fdbe8da646c5642d767c7dbeb3872b1edab6e37365805f0e94ce0a9021d00bcf35ab81222883dd3526cb0cf93138f4687cd0b10c2b0a126385161",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 453,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00e23a11275848fd4f8b6f4ac4fc305eae981d3b7dc453e5a980c46422021c1a875693f24a03ea1614c4c3bbd0dd7221429f22b337ea7d98348ca4",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0415016e52b36472d536477605fb805dd3903082a062d1ea30af9e555affffffff89d2d70e023de6e7b07e97df400a992b9a4a0e0ce178d20c",
|
|
"wx" : "15016e52b36472d536477605fb805dd3903082a062d1ea30af9e555a",
|
|
"wy" : "00ffffffff89d2d70e023de6e7b07e97df400a992b9a4a0e0ce178d20c"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000415016e52b36472d536477605fb805dd3903082a062d1ea30af9e555affffffff89d2d70e023de6e7b07e97df400a992b9a4a0e0ce178d20c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEFQFuUrNkctU2R3YF+4Bd05AwgqBi0eow\nr55VWv////+J0tcOAj3m57B+l99ACpkrmkoODOF40gw=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 454,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c76645164ff9af3a1a9205fda2eef326d2bffc795dcc4829547fe01dd021d00b65bba503719314b27734dd06b1395d540af8396029b78b84e0149eb",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 455,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c32fa0ca7e07f1f86ac350734994e1f31b6da9c82f93dced2b983c29c021c7b7891282206a45711bdfcb2a102b5d289df84ff5778548603574004",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 456,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c2d5492478ca64e5111dfd8521867b6477b7e78227849ad090b855694021d00a532f5a2fa3594af81cd5928b81b4057da717be5fb42a3a86c68190d",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0400000000f7e4713d085112112c37cdf4601ff688da796016b71a727ade5a9ec165054cc987f9dc87e9991b92e4fa649ca655eeae9f2a30e1",
|
|
"wx" : "00f7e4713d085112112c37cdf4601ff688da796016b71a727a",
|
|
"wy" : "00de5a9ec165054cc987f9dc87e9991b92e4fa649ca655eeae9f2a30e1"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000400000000f7e4713d085112112c37cdf4601ff688da796016b71a727ade5a9ec165054cc987f9dc87e9991b92e4fa649ca655eeae9f2a30e1",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEAAAAAPfkcT0IURIRLDfN9GAf9ojaeWAW\ntxpyet5ansFlBUzJh/nch+mZG5Lk+mScplXurp8qMOE=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 457,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c191eee5daf55cd499e8539cb2cff797cfec5d566d2027bf9f8d64693021d00dadfeae8131f64d96b94fd340197caa2bc04818554812feef3343070",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 458,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00e0e2c08180b8a207ee9105a7d379fa112368e8370fa09dfde4a45c45021d00c717bc0860e016e7ce48f8fe6a299b36906a6055adad93b416ce8838",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 459,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c1b919ef93532292743bb2e1b7b4894fd847c6e5de52a08e1b0f2dcfb021d00c2d30d6b7594d8dbd261491ae1d58779505b075b64e5564dc97a418b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04ffffffffeadf7cee8d34d04cf22c8f7de35674fb2f501d242a76f72586c409309d398e60ce1e0a4c9e05a9d32627577e8ce2cc7f3afa2c3e",
|
|
"wx" : "00ffffffffeadf7cee8d34d04cf22c8f7de35674fb2f501d242a76f725",
|
|
"wy" : "0086c409309d398e60ce1e0a4c9e05a9d32627577e8ce2cc7f3afa2c3e"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004ffffffffeadf7cee8d34d04cf22c8f7de35674fb2f501d242a76f72586c409309d398e60ce1e0a4c9e05a9d32627577e8ce2cc7f3afa2c3e",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE/////+rffO6NNNBM8iyPfeNWdPsvUB0k\nKnb3JYbECTCdOY5gzh4KTJ4FqdMmJ1d+jOLMfzr6LD4=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 460,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00e75db49ed33ff2885ea6100cc95b8fe1b9242ea4248db07bcac2e020021c796c866142ae8eb75bb0499c668c6fe45497692fbcc66b37c2e4624f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 461,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c1f81cd924362ec825890307b9b3936e0d8f728a7c84bdb43c5cf0433021c39d3e46a03040ad41ac026b18e0629f6145e3dc8d1e6bbe200c8482b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 462,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c00fda613aa67ca42673ad4309f3f0f05b2569f3dee63f4aa9cc54cf3021c1e5a64b68a37e5b201c918303dc7a40439aaeacf019c5892a8f6d0ce",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04b0013c6fbff6f09fecda1c263ef65399d4cf989ca5fc4f8fff0fe9e1000000000e2ab0e8495e859eb2afb00769d6e7fe626a119167c0b6bc",
|
|
"wx" : "00b0013c6fbff6f09fecda1c263ef65399d4cf989ca5fc4f8fff0fe9e1",
|
|
"wy" : "0e2ab0e8495e859eb2afb00769d6e7fe626a119167c0b6bc"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b0013c6fbff6f09fecda1c263ef65399d4cf989ca5fc4f8fff0fe9e1000000000e2ab0e8495e859eb2afb00769d6e7fe626a119167c0b6bc",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEsAE8b7/28J/s2hwmPvZTmdTPmJyl/E+P\n/w/p4QAAAAAOKrDoSV6FnrKvsAdp1uf+YmoRkWfAtrw=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 463,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00b932b3f7e6467e1ec7a561f31160248c7f224550a8508788634b53ce021d00a0c5312acf9e801aff6d6fc98550cfa712bbf65937165a36f2c32dc9",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 464,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00e509593fb09245ee8226ce72786b0cc352be555a7486be628f4fd00c021c0b7abde0061b1e07bf13319150a4ff6a464abab636ab4e297b0d7633",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 465,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c6e54f941204d4639b863c98a65b7bee318d51ab1900a8f345eac6f07021c0da5054829214ecde5e10579b36a2fe6426c24b064ed77c38590f25c",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04b0013c6fbff6f09fecda1c263ef65399d4cf989ca5fc4f8fff0fe9e1fffffffff1d54f17b6a17a614d504ff7962918019d95ee6e983f4945",
|
|
"wx" : "00b0013c6fbff6f09fecda1c263ef65399d4cf989ca5fc4f8fff0fe9e1",
|
|
"wy" : "00fffffffff1d54f17b6a17a614d504ff7962918019d95ee6e983f4945"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b0013c6fbff6f09fecda1c263ef65399d4cf989ca5fc4f8fff0fe9e1fffffffff1d54f17b6a17a614d504ff7962918019d95ee6e983f4945",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEsAE8b7/28J/s2hwmPvZTmdTPmJyl/E+P\n/w/p4f/////x1U8XtqF6YU1QT/eWKRgBnZXubpg/SUU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 466,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d0085ea4ab3ffdc992330c0ca8152faf991386bce82877dbb239ba654f6021c0806c6baf0ebea4c1aaa190e7d4325d46d1f7789d550632b70b5fc9b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 467,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c44d53debb646b73485402eab2d099081b97b1243c025b624f0dd67ea021d00e5de789a7d4b77eac6d7bba41658e6e4dc347dabed2f9680c04a6f55",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 468,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c1526eb2f657ebea9af4ca184b975c02372c88e24e835f3f5774c0e12021c1f1ecce38ee52372cb201907794de17b6d6c1afa13c316c51cb07bc7",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|