forked from tornado-packages/noble-curves
6407 lines
281 KiB
JSON
6407 lines
281 KiB
JSON
{
|
|
"algorithm" : "ECDSA",
|
|
"schema" : "ecdsa_verify_schema.json",
|
|
"generatorVersion" : "0.9",
|
|
"numberOfTests" : 474,
|
|
"header" : [
|
|
"Test vectors of type EcdsaVerify are meant for the verification",
|
|
"of ASN encoded ECDSA signatures."
|
|
],
|
|
"notes" : {
|
|
"ArithmeticError" : {
|
|
"bugType" : "EDGE_CASE",
|
|
"description" : "Some implementations of ECDSA have arithmetic errors that occur when intermediate results have extreme values. This test vector has been constructed to test such occurences.",
|
|
"cves" : [
|
|
"CVE-2017-18146"
|
|
]
|
|
},
|
|
"BerEncodedSignature" : {
|
|
"bugType" : "BER_ENCODING",
|
|
"description" : "ECDSA signatures are usually DER encoded. This signature contains valid values for r and s, but it uses alternative BER encoding.",
|
|
"effect" : "Accepting alternative BER encodings may be benign in some cases, or be an issue if protocol requires signature malleability.",
|
|
"cves" : [
|
|
"CVE-2020-14966",
|
|
"CVE-2020-13822",
|
|
"CVE-2019-14859",
|
|
"CVE-2016-1000342"
|
|
]
|
|
},
|
|
"EdgeCasePublicKey" : {
|
|
"bugType" : "EDGE_CASE",
|
|
"description" : "The test vector uses a special case public key. "
|
|
},
|
|
"EdgeCaseShamirMultiplication" : {
|
|
"bugType" : "EDGE_CASE",
|
|
"description" : "Shamir proposed a fast method for computing the sum of two scalar multiplications efficiently. This test vector has been constructed so that an intermediate result is the point at infinity if Shamir's method is used."
|
|
},
|
|
"IntegerOverflow" : {
|
|
"bugType" : "CAN_OF_WORMS",
|
|
"description" : "The test vector contains an r and s that has been modified, so that the original value is restored if the implementation ignores the most significant bits.",
|
|
"effect" : "Without further analysis it is unclear if the modification can be used to forge signatures."
|
|
},
|
|
"InvalidEncoding" : {
|
|
"bugType" : "CAN_OF_WORMS",
|
|
"description" : "ECDSA signatures are encoded using ASN.1. This test vector contains an incorrectly encoded signature. The test vector itself was generated from a valid signature by modifying its encoding.",
|
|
"effect" : "Without further analysis it is unclear if the modification can be used to forge signatures."
|
|
},
|
|
"InvalidSignature" : {
|
|
"bugType" : "AUTH_BYPASS",
|
|
"description" : "The signature contains special case values such as r=0 and s=0. Buggy implementations may accept such values, if the implementation does not check boundaries and computes s^(-1) == 0.",
|
|
"effect" : "Accepting such signatures can have the effect that an adversary can forge signatures without even knowning the message to sign.",
|
|
"cves" : [
|
|
"CVE-2022-21449",
|
|
"CVE-2021-43572",
|
|
"CVE-2022-24884"
|
|
]
|
|
},
|
|
"InvalidTypesInSignature" : {
|
|
"bugType" : "AUTH_BYPASS",
|
|
"description" : "The signature contains invalid types. Dynamic typed languages sometime coerce such values of different types into integers. If an implementation is careless and has additional bugs, such as not checking integer boundaries then it may be possible that such signatures are accepted.",
|
|
"effect" : "Accepting such signatures can have the effect that an adversary can forge signatures without even knowning the message to sign.",
|
|
"cves" : [
|
|
"CVE-2022-21449"
|
|
]
|
|
},
|
|
"MissingZero" : {
|
|
"bugType" : "LEGACY",
|
|
"description" : "Some implementations of ECDSA and DSA incorrectly encode r and s by not including leading zeros in the ASN encoding of integers when necessary. Hence, some implementations (e.g. jdk) allow signatures with incorrect ASN encodings assuming that the signature is otherwise valid.",
|
|
"effect" : "While signatures are more malleable if such signatures are accepted, this typically leads to no vulnerability, since a badly encoded signature can be reencoded correctly."
|
|
},
|
|
"ModifiedInteger" : {
|
|
"bugType" : "CAN_OF_WORMS",
|
|
"description" : "The test vector contains an r and s that has been modified. The goal is to check for arithmetic errors.",
|
|
"effect" : "Without further analysis it is unclear if the modification can be used to forge signatures."
|
|
},
|
|
"ModifiedSignature" : {
|
|
"bugType" : "CAN_OF_WORMS",
|
|
"description" : "The test vector contains an invalid signature that was generated from a valid signature by modifying it.",
|
|
"effect" : "Without further analysis it is unclear if the modification can be used to forge signatures."
|
|
},
|
|
"ModularInverse" : {
|
|
"bugType" : "EDGE_CASE",
|
|
"description" : "The test vectors contains a signature where computing the modular inverse of s hits an edge case.",
|
|
"effect" : "While the signature in this test vector is constructed and similar cases are unlikely to occur, it is important to determine if the underlying arithmetic error can be used to forge signatures.",
|
|
"cves" : [
|
|
"CVE-2019-0865"
|
|
]
|
|
},
|
|
"PointDuplication" : {
|
|
"bugType" : "EDGE_CASE",
|
|
"description" : "Some implementations of ECDSA do not handle duplication and points at infinity correctly. This is a test vector that has been specially crafted to check for such an omission.",
|
|
"cves" : [
|
|
"2020-12607",
|
|
"CVE-2015-2730"
|
|
]
|
|
},
|
|
"RangeCheck" : {
|
|
"bugType" : "CAN_OF_WORMS",
|
|
"description" : "The test vector contains an r and s that has been modified. By adding or subtracting the order of the group (or other values) the test vector checks whether signature verification verifies the range of r and s.",
|
|
"effect" : "Without further analysis it is unclear if the modification can be used to forge signatures."
|
|
},
|
|
"SmallRandS" : {
|
|
"bugType" : "EDGE_CASE",
|
|
"description" : "The test vectors contains a signature where both r and s are small integers. Some libraries cannot verify such signatures.",
|
|
"effect" : "While the signature in this test vector is constructed and similar cases are unlikely to occur, it is important to determine if the underlying arithmetic error can be used to forge signatures.",
|
|
"cves" : [
|
|
"2020-13895"
|
|
]
|
|
},
|
|
"SpecialCaseHash" : {
|
|
"bugType" : "EDGE_CASE",
|
|
"description" : "The test vector contains a signature where the hash of the message is a special case, e.g., contains a long run of 0 or 1 bits."
|
|
},
|
|
"Untruncatedhash" : {
|
|
"bugType" : "MISSING_STEP",
|
|
"description" : "If the size of the digest is longer than the size of the underlying order of the multiplicative subgroup then the hash digest must be truncated during signature generation and verification. This test vector contains a signature where this step has been omitted."
|
|
},
|
|
"ValidSignature" : {
|
|
"bugType" : "BASIC",
|
|
"description" : "The test vector contains a valid signature that was generated pseudorandomly. Such signatures should not fail to verify unless some of the parameters (e.g. curve or hash function) are not supported."
|
|
}
|
|
},
|
|
"testGroups" : [
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "",
|
|
"sig" : "303d021c43e621f2c7bccc08c4c8ff40dbaaa664fe05fa0fabf0435cb6374a18021d00ceb806fbdeafdfba5d6de2718c1220b2ab6d58d1d92d6c2f27bbe94b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 2,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c26a7b3125e15c67bad0a9b435588d609d30eed689b7bae9e73d7ec7b021c273f2e901174fc8cc445d80150906ce8905c0aa2b43e3e44594189ab",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 3,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c4dd27686f73ff6c4a59946643099fb11c4304a71f22be1bba57b02e3021d00d2c0508bd9abeffa9671a29d22aad2b2329e56d3cb6c31c9ad50522c",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 4,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "303e021d00de237e0594f29875dac3c22d0b5e64d63dc11c2dd8adfcd1774dbce5021d00967593b6bb107df8252b7d167abe9711c75f93d226e7c0fba1873a04",
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 5,
|
|
"comment" : "signature malleability",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021c2d186d6ff55aef637c6429cb0b61a1b21730fdf55693e92e3d461687",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 6,
|
|
"comment" : "Legacy: ASN encoding of s misses leading 0",
|
|
"flags" : [
|
|
"MissingZero"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021cd2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 7,
|
|
"comment" : "valid",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 8,
|
|
"comment" : "length of sequence [r, s] uses long form encoding",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30813d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 9,
|
|
"comment" : "length of sequence [r, s] contains a leading 0",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3082003d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 10,
|
|
"comment" : "length of sequence [r, s] uses 62 instead of 61",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 11,
|
|
"comment" : "length of sequence [r, s] uses 60 instead of 61",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 12,
|
|
"comment" : "uint32 overflow in length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3085010000003d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 13,
|
|
"comment" : "uint64 overflow in length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308901000000000000003d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 14,
|
|
"comment" : "length of sequence [r, s] = 2**31 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30847fffffff021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 15,
|
|
"comment" : "length of sequence [r, s] = 2**31",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308480000000021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 16,
|
|
"comment" : "length of sequence [r, s] = 2**32 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3084ffffffff021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 17,
|
|
"comment" : "length of sequence [r, s] = 2**40 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3085ffffffffff021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 18,
|
|
"comment" : "length of sequence [r, s] = 2**64 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3088ffffffffffffffff021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 19,
|
|
"comment" : "incorrect length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30ff021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 20,
|
|
"comment" : "replaced sequence [r, s] by an indefinite length tag without termination",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 21,
|
|
"comment" : "removing sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 22,
|
|
"comment" : "lonely sequence tag",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 23,
|
|
"comment" : "appending 0's to sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 24,
|
|
"comment" : "prepending 0's to sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f0000021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 25,
|
|
"comment" : "appending unused 0's to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 26,
|
|
"comment" : "appending null value to sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 27,
|
|
"comment" : "prepending garbage to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3042498177303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 28,
|
|
"comment" : "prepending garbage to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30412500303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 29,
|
|
"comment" : "appending garbage to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60004deadbeef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 30,
|
|
"comment" : "including undefined tags",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045aa00bb00cd00303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 31,
|
|
"comment" : "including undefined tags",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30452224aa00bb00cd00021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 32,
|
|
"comment" : "including undefined tags",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c2225aa00bb00cd00021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 33,
|
|
"comment" : "truncated length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3081",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 34,
|
|
"comment" : "including undefined tags to sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3043aa02aabb303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 35,
|
|
"comment" : "using composition with indefinite length for sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 36,
|
|
"comment" : "using composition with wrong tag for sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080313d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 37,
|
|
"comment" : "Replacing sequence [r, s] with NULL",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "0500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 38,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "2e3d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 39,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "2f3d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 40,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "313d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 41,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "323d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 42,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "ff3d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 43,
|
|
"comment" : "dropping value of sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 44,
|
|
"comment" : "using composition for sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041300102303c1c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 45,
|
|
"comment" : "truncated sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 46,
|
|
"comment" : "truncated sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c1c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 47,
|
|
"comment" : "sequence [r, s] of size 4158 to check for overflows",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3082103e021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 48,
|
|
"comment" : "indefinite length",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 49,
|
|
"comment" : "indefinite length with truncated delimiter",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b600",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 50,
|
|
"comment" : "indefinite length with additional element",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b605000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 51,
|
|
"comment" : "indefinite length with truncated element",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6060811220000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 52,
|
|
"comment" : "indefinite length with garbage",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60000fe02beef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 53,
|
|
"comment" : "indefinite length with nonempty EOC",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60002beef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 54,
|
|
"comment" : "prepend empty sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f3000021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 55,
|
|
"comment" : "append empty sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b63000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 56,
|
|
"comment" : "append zero",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3040021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 57,
|
|
"comment" : "append garbage with high tag number",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3040021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6bf7f00",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 58,
|
|
"comment" : "append null with explicit tag",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6a0020500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 59,
|
|
"comment" : "append null with implicit tag",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6a000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 60,
|
|
"comment" : "sequence of sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 61,
|
|
"comment" : "truncated sequence: removed last 1 elements",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "301e021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 62,
|
|
"comment" : "repeating element in sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "305c021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 63,
|
|
"comment" : "flipped bit 0 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613d021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 64,
|
|
"comment" : "flipped bit 32 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b6410503008267ed995772409a6d85bd668ba69068b53703efcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 65,
|
|
"comment" : "flipped bit 48 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b6410503008267ed995772409a6d85bd668ba69068b52703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 66,
|
|
"comment" : "flipped bit 64 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b6410503008267ed995772409a6d85bd668ba69078b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 67,
|
|
"comment" : "length of r uses long form encoding",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e02811c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 68,
|
|
"comment" : "length of r contains a leading 0",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f0282001c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 69,
|
|
"comment" : "length of r uses 29 instead of 28",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 70,
|
|
"comment" : "length of r uses 27 instead of 28",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021b6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 71,
|
|
"comment" : "uint32 overflow in length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30420285010000001c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 72,
|
|
"comment" : "uint64 overflow in length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046028901000000000000001c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 73,
|
|
"comment" : "length of r = 2**31 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304102847fffffff6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 74,
|
|
"comment" : "length of r = 2**31",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30410284800000006410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 75,
|
|
"comment" : "length of r = 2**32 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30410284ffffffff6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 76,
|
|
"comment" : "length of r = 2**40 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30420285ffffffffff6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 77,
|
|
"comment" : "length of r = 2**64 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450288ffffffffffffffff6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 78,
|
|
"comment" : "incorrect length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d02ff6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 79,
|
|
"comment" : "replaced r by an indefinite length tag without termination",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d02806410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 80,
|
|
"comment" : "removing r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "301f021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 81,
|
|
"comment" : "lonely integer tag",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302002021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 82,
|
|
"comment" : "lonely integer tag",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "301f021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c02",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 83,
|
|
"comment" : "appending 0's to r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021e6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0000021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 84,
|
|
"comment" : "prepending 0's to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021e00006410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 85,
|
|
"comment" : "appending unused 0's to r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0000021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 86,
|
|
"comment" : "appending null value to r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021e6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0500021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 87,
|
|
"comment" : "prepending garbage to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30422221498177021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 88,
|
|
"comment" : "prepending garbage to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304122202500021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 89,
|
|
"comment" : "appending garbage to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045221e021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0004deadbeef021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 90,
|
|
"comment" : "truncated length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30210281021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 91,
|
|
"comment" : "including undefined tags to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30432222aa02aabb021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 92,
|
|
"comment" : "using composition with indefinite length for r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30412280021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0000021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 93,
|
|
"comment" : "using composition with wrong tag for r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30412280031c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0000021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 94,
|
|
"comment" : "Replacing r with NULL",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30210500021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 95,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d001c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 96,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d011c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 97,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d031c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 98,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d041c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 99,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303dff1c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 100,
|
|
"comment" : "dropping value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30210200021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 101,
|
|
"comment" : "using composition for r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30412220020164021b10503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 102,
|
|
"comment" : "modifying first byte of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6610503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 103,
|
|
"comment" : "modifying last byte of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf561bc021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 104,
|
|
"comment" : "truncated r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021b6410503008267ed995772409a6d85bd668ba69068b53703ffcf561021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 105,
|
|
"comment" : "truncated r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021b10503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 106,
|
|
"comment" : "r of size 4125 to check for overflows",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308210400282101d6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 107,
|
|
"comment" : "leading ff in r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021dff6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 108,
|
|
"comment" : "replaced r by infinity",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022090180021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 109,
|
|
"comment" : "replacing r with zero",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022020100021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 110,
|
|
"comment" : "flipped bit 0 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b7",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 111,
|
|
"comment" : "flipped bit 32 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c00d2e792900aa5109c839bd634f49d74f0c987f248bd4940161f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 112,
|
|
"comment" : "flipped bit 48 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c00d2e792900aa5109c839bd634f49d74f0c987f248bd4840171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 113,
|
|
"comment" : "flipped bit 64 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303b021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c00d2e792900aa5109c839bd634f49d74f0c987f249bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 114,
|
|
"comment" : "length of s uses long form encoding",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c02811d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 115,
|
|
"comment" : "length of s contains a leading 0",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0282001d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 116,
|
|
"comment" : "length of s uses 30 instead of 29",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021e00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 117,
|
|
"comment" : "length of s uses 28 instead of 29",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021c00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 118,
|
|
"comment" : "uint32 overflow in length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3042021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0285010000001d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 119,
|
|
"comment" : "uint64 overflow in length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c028901000000000000001d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 120,
|
|
"comment" : "length of s = 2**31 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c02847fffffff00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 121,
|
|
"comment" : "length of s = 2**31",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c02848000000000d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 122,
|
|
"comment" : "length of s = 2**32 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0284ffffffff00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 123,
|
|
"comment" : "length of s = 2**40 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3042021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0285ffffffffff00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 124,
|
|
"comment" : "length of s = 2**64 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0288ffffffffffffffff00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 125,
|
|
"comment" : "incorrect length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c02ff00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 126,
|
|
"comment" : "replaced s by an indefinite length tag without termination",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c028000d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 127,
|
|
"comment" : "appending 0's to s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021f00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 128,
|
|
"comment" : "prepending 0's to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021f000000d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 129,
|
|
"comment" : "appending null value to s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021f00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 130,
|
|
"comment" : "prepending garbage to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3042021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c2222498177021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 131,
|
|
"comment" : "prepending garbage to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c22212500021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 132,
|
|
"comment" : "appending garbage to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c221f021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60004deadbeef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 133,
|
|
"comment" : "truncated length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3020021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0281",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 134,
|
|
"comment" : "including undefined tags to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3043021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c2223aa02aabb021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 135,
|
|
"comment" : "using composition with indefinite length for s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c2280021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 136,
|
|
"comment" : "using composition with wrong tag for s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c2280031d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 137,
|
|
"comment" : "Replacing s with NULL",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3020021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 138,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c001d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 139,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c011d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 140,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c031d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 141,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c041d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 142,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613cff1d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 143,
|
|
"comment" : "dropping value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3020021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0200",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 144,
|
|
"comment" : "using composition for s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c2221020100021cd2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 145,
|
|
"comment" : "modifying first byte of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d02d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 146,
|
|
"comment" : "modifying last byte of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f161336",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 147,
|
|
"comment" : "truncated s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021c00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 148,
|
|
"comment" : "s of size 4126 to check for overflows",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30821040021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c0282101e00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 149,
|
|
"comment" : "leading ff in s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021eff00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 150,
|
|
"comment" : "replaced s by infinity",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c090180",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 151,
|
|
"comment" : "replacing s with zero",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021c6410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 152,
|
|
"comment" : "replaced r by r + n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d016410503008267ed995772409a6d77279497359449f30998559518b79021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 153,
|
|
"comment" : "replaced r by r - n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021dff6410503008267ed995772409a6d94533880178c8777646faa09936ff021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 154,
|
|
"comment" : "replaced r by r + 256 * n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021e01006410503008267ed995772409a5eefeb721aaa71a687cb59c591f9e3c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 155,
|
|
"comment" : "replaced r by -r",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c9befafcff7d981266a88dbf65927a429974596f974ac8fc0030a9ec4021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 156,
|
|
"comment" : "replaced r by n - r",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d009befafcff7d981266a88dbf65926bacc77fe87378889b9055f66c901021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 157,
|
|
"comment" : "replaced r by -n - r",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021dfe9befafcff7d981266a88dbf659288d86b68ca6bb60cf667aa6ae7487021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 158,
|
|
"comment" : "replaced r by r + 2**224",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d016410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 159,
|
|
"comment" : "replaced r by r + 2**288",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304602250100000000000000006410503008267ed995772409a6d85bd668ba69068b53703ffcf5613c021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 160,
|
|
"comment" : "replaced s by s + n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d01d2e792900aa5109c839bd634f49c8b93aa40e286d126695c7b723df3021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 161,
|
|
"comment" : "replaced s by s - n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021cd2e792900aa5109c839bd634f49e5e4de8cf020aa96c16d1c2b9e979021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 162,
|
|
"comment" : "replaced s by s + 256 * n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303f021e0100d2e792900aa5109c839bd634f3b417d18278305c9a7285737b4050b6021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 163,
|
|
"comment" : "replaced s by -s",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021dff2d186d6ff55aef637c6429cb0b628b0f36780db742b6bfe8e0e9ec4a021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 164,
|
|
"comment" : "replaced s by -n - s",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021dfe2d186d6ff55aef637c6429cb0b63746c55bf1d792ed996a3848dc20d021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 165,
|
|
"comment" : "replaced s by s + 2**224",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d01d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 166,
|
|
"comment" : "replaced s by s - 2**224",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021cd2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 167,
|
|
"comment" : "replaced s by s + 2**288",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30460225010000000000000000d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6021d00d2e792900aa5109c839bd634f49d74f0c987f248bd4940171f1613b6",
|
|
"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" : "3538343237",
|
|
"sig" : "303d021c326bc06353f7f9c9f77b8f4b55464e8619944e7879402cca572e041a021d00f2a5fe408ddc2b74a1ce924a912964cf3644c0beab907c85623a8edc",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 296,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31363530303637353631",
|
|
"sig" : "303d021c528a053c174ba34cf3858c772a10258349e6a9d322ea118a004a726a021d00be28f6943cdb8215f512a1dbfaf40f03367863a89f5ce2e430ca3964",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 297,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32383039333631353931",
|
|
"sig" : "303d021d00b472301c79ad0cf642c779b90cc86ff0ebdeee36e0c73157855726d2021c23dcf61e0ca9b6a34588b6263a797568791f437e3ae83e762cee5b5f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 298,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "313231333636353837",
|
|
"sig" : "303c021c10590ef4502171c9ee8364abcfa327953ea36bbe879e60b698b69f63021c7ff5fbd9d7b4e3f3b1aca30bcae9e6ae20cd806e4407a56bc08194e1",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 299,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31393635323435333939",
|
|
"sig" : "303d021d00e0ac427bc00f1ce5decf57b2747fc96275b2d6b4f356dd89efa5ca07021c2f6ff5b1020f1cb41ab01fd30680f748bda151802c1c38a6b0e33f5d",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 300,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "323035343733333935",
|
|
"sig" : "303d021d00ade6f786d8ed248a5f518918825e2be5da37c69e5a3343a3096f7e6c021c43e447b6ce12543fbef0386dbf41df59e16b0921669f952a72c24952",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 301,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32323236333030353738",
|
|
"sig" : "303d021d00b387948d85b01175af7663c7bf06424639797dbad309f66c30b67f84021c3c16ff30dfe333eece7be67971719d597b99413abbebc38281052865",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 302,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "35353736313930313833",
|
|
"sig" : "303c021c771e46b810d241ff346b58bfb6be65524f7947831979b1416c5a79a9021c6eaf6d87841384612a189d33b47b60d34ef95e2c6db0152c5a8209a9",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 303,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36393239393934393737",
|
|
"sig" : "303c021c475fcf6165592a79579fc2e10fe0963a0cd2bdda68891ebc1059c2a9021c5e6aa1bef86df2e5b52ac8082f90368d31935ac82a72418a76d76d2a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 304,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32343139303333343334",
|
|
"sig" : "303d021d00c71da99590317e161db9c30bb74a4636d03cb80e0943d53393a6d355021c6ed9f102dad9c934f960c8f9ba1a98ad6f0b6866b4f3e7ee2bed62bf",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 305,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "38343034303136323630",
|
|
"sig" : "303c021c24aa5f79816b6c3273c4861853e7cd5fe192917b8f598c053db20967021c3a81372030fc3f6c6880d17962c44dab637c75ea6fed20222335a858",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 306,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "323939383433333936",
|
|
"sig" : "303d021c59029543360e97129deb0f545e28e019dde88fcaf94e5713e3a9c94f021d00f7af181982d8c5cac3a2fb83ae8f4ad1f1d9fa20c5e979a4d27b8868",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 307,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33313834333734343135",
|
|
"sig" : "303d021c62b4a06d3c06b0bb0f66000e9e55c036653ecfa1aa431f33504175f0021d00a0c17d30f4543bbe94acb18117e7b9c7ee5cb8d835bf14ad716ccb85",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 308,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130383632313035383639",
|
|
"sig" : "303c021c72440a28890f5725c0604a3c21a0c204a19a9d7b88427d38b32eb1ba021c23c3e1f953ab89a0ea2d713c04df77e0b30adb4b37b5f52d8c16d821",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 309,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33353030303333393137",
|
|
"sig" : "303d021d00b086937f226ccbd714c4641ad5f414fddb2da907d3a9072d89042c11021c7875cb97a9d48408cd0bb503f5d36d4f52a1380f9768b60dfefc30a3",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 310,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130323039383532343831",
|
|
"sig" : "303e021d009fb74af4eb1641e43893a0c4de23a84c087fe904068ec8044bfa524f021d009a9edbaa363f5fb91680bb216893153e7d370a1851dfbc7641e765cb",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 311,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32353432383438333133",
|
|
"sig" : "303d021c7c1ace346aaaf2194e1a21a19ed9b69380fd88a10d07e42c975ce60d021d00b213a6c4fee2255e8db3deb8c0fc5250308b92dfc394b212590478ba",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 312,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "323535363938303935",
|
|
"sig" : "303d021c18454949fe7f5acf91048be8edf6edc0a6333cc768af978e94b7fc46021d00a34d8178b8491d7ba283deb1ef80b57d80faeadbfdfad378258ee24d",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 313,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32373334363931363630",
|
|
"sig" : "303d021c22ab3e42ca94a4ae316d4069205f80c418b3b91647a5c1c7b5b7bd5b021d00e7b88323f0c6a3f8cefb2fb8a20673ad170d5280f314ec1f3e340c50",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 314,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "37393633383036363138",
|
|
"sig" : "303e021d00e55159c678774ea5842386a54cd34925758da657dd7f0e17506d3ef1021d00c2dcbd6861d71f82bed896e6935f1c3a2e97a3dd9691d7415362890a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 315,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "363334333037323131",
|
|
"sig" : "303d021c6797f3837138008f2f9190da557bbdf577ca2f1529e118ab9d3706d3021d00d6a5ad0b9a19b474d3484fc8dd62987e87257393a5c94657e6e9b359",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 316,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31353039393431353232",
|
|
"sig" : "303d021c5a604cad16d6ad50b2e025a714cc34be49634311a18a20485c7af144021d00d2820cb248e438990d37fa63fddd374385d3873fd8c6271689aaab69",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 317,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "373932323430313639",
|
|
"sig" : "303d021d00ad163185ed9869339b10427c55cd99ad04ec8234d2fcf6e307432b5e021c51095f30212a485f383b4665ca0497b613e34aced1b8f6a895370f45",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 318,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36343835373332363232",
|
|
"sig" : "303d021d00fabbad9f34dd62b36544579b0a170d3450c6d10854bd181990d24205021c0a0970e4fbecfbb967a98914e416ba698d9d5a756d9890c7eb2c861e",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 319,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34323030333139303235",
|
|
"sig" : "303e021d00c64eacdf71ed858c13d8fcefa6571ae9818b1a2aaf59d18f657fc107021d00d702688e02a9233d5bb223e8e938fd83f7a4263136b3d15341ab839c",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 320,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31313031323032313732",
|
|
"sig" : "303e021d00adb7696d1b814a56e3217ae1fba357476efdc2768fad1ba3ecb3fa02021d00e52f5df14cca79223648d53429c4143b1f3b9369b0992766e88777d6",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 321,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31363830343631373331",
|
|
"sig" : "303d021d00e6673409917c04d72282fbb91a2ac6e53e5a26ec70617bcbec7e4bb3021c6d850e67f8629169179391c29e687ea593a12366acdec74ab6eeaac8",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 322,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3433333030373131",
|
|
"sig" : "303c021c322acf999c6f7eb54a82ea15b6747147debb3e8c4e305c75891eb54e021c4e8222fec90c702c432b086feafdb3eef49969f7c999c0ba03d0cf31",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 323,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "35343130383731383131",
|
|
"sig" : "303e021d009d91f7e8d04059b90963bbf899fc233e0b64e6c006da7966ea30c5a3021d00ea0d01a3b3ce9dd87e71bd55ccdbf020521ed8dc03257d9116d4d7c3",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 324,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34393935363839393432",
|
|
"sig" : "303e021d00b80e0d814578d9acdffdd8b0d50db8677c31332ef9cb01dae8e4a0dc021d00c8767feee0bf7ef717a70c024a52e5fbf5f430608447624dffd23c16",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 325,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31333535303737393735",
|
|
"sig" : "303d021d00b55e6fd1eba3ddeee551d86dc97b2b39e39f29fbb6e14bc5c00e4f18021c7f7cf0c279aa8198550e57d61791f668e1e0e97c346b05f284efe3ee",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 326,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3637383237343235353934",
|
|
"sig" : "303d021d00fd9e26755fa6d4d14b40a542229b96ff82087e67a28f4c5d96c6f761021c6f3a0a43b661bb663462ce36029d63f44a6a9cd71f4f9935d039d1fe",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 327,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32333230353830363930",
|
|
"sig" : "303d021c5cc90652cb7da3fa6eb2ae2e8990a5cdb61a5288290a1e9db59099a3021d008500ffc2eb921e5d2445da3f85b630fd21a9b474574d18157790ec1a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 328,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31383536333035303638",
|
|
"sig" : "303c021c6dd28ab4ee3ca1ccf357b452b9fb70ea309563a4eb8f029ead1adfeb021c300db040317fbd151bff8bfe5ccba8ed7d26a9ed4b48609addc687d7",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 329,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "37303836313032363437",
|
|
"sig" : "303d021d00e7cd4463fda0493c7a3876e53af901634270067828956d502dfcc13d021c75d040aa855e022af4c1017858e4ab05bace80231835c28d9ad8c363",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 330,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31383133383135343839",
|
|
"sig" : "303d021c7c0c524fe59ccdc8ed669cdbf9fa286f529da95c93e4eba807109073021d00e6417dc5650e52ba393e38e43fc2d2cd393d131f149178a13d678618",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 331,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31353133303032323331",
|
|
"sig" : "303c021c076c26075413756195f2b7d3ba95d7310aea32c5aa8ddaea74e7bfa5021c349c42dd471e4a37a314a13f80351bdff508724fa3d5df342d9f8fed",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 332,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33393333383130313533",
|
|
"sig" : "303d021c34e381e6d185ea1e80381f0666c28920985ab108efaa34f42079d8bf021d00a5021b9b52b0a1d0e1e760b8da0a5e9e2b6b10fc197722da97ee358b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 333,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32333035363037343230",
|
|
"sig" : "303d021d00e8edd97cbc90cc52f5f19a70588907e7917eecbeee348f9fdae00a92021c38251f2c5f38f3b35375d1242cab018bc7914dec6cd498292c0b4eb1",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 334,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3633373635373930323234",
|
|
"sig" : "303d021c05b885b56083c23e66853686997f56143625ac09c1300b16ca9e0bb6021d00ba53f427ed1f67cf6a0c497cc4003e7a8d0d38be2f185049a3ec35c7",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 335,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "393139303435363730",
|
|
"sig" : "303e021d00e0d9880dbe640e14949f87eb1148ff45042db0260b37592eb530c1dc021d00d9239086be13d72a02b83bd805d7738bf82d55347d7163356ef35547",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 336,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33343536303739363233",
|
|
"sig" : "303c021c38b8abaccd599b6a80edeb81d1ab5c98068994771f2185b704dc920c021c74fb27bb65dda24ea290102c7ffdfce11f6f9436a3b88f6cda2dd965",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 337,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32373837373735323437",
|
|
"sig" : "303c021c4397a52f816ae64b5d1b2badca3ace365ed49bda1b55c671a27e94d4021c49fd7c3ec500d3aa2beba51bf21262c8550b3d9e1f4f7777516f05b2",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 338,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33333031393735303837",
|
|
"sig" : "303d021c41a5c42a16f15d0923c067de7eafe58eab954d6a0356f00b063e5bbd021d00adf0128f28b79af22b90f5fe5a33d1e81d2cf40886179f497c51aa96",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 339,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32353138323633323336",
|
|
"sig" : "303d021c35cda3b38b40796a6efa8bec5e32f139957c7f69798f2f455e379c72021d00e72b4d0a62367909000cf4cb8386187cb223cca9aedea56f90f91471",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 340,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "363637363730363435",
|
|
"sig" : "303e021d009cd24a4ed4074a2e202375470d4f5dc257dba4f8df08bde06521b8fd021d00a9081b1234204021c3b5e744572ce239e51cd0f360826ab033d690ae",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 341,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31313733313630343337",
|
|
"sig" : "303d021d009198aeaaa79e4526a3ef02ca477c2a52452c204c7d4fea8436a1f1a3021c0e1df77256ee66f4c001139efb0fe45dd63304f883a084baa9061065",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 342,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36313831353839313035",
|
|
"sig" : "303e021d00dc1615cc0b8a9aa12638ee75cfebbe4233b3b499db88e3ca2d1b1089021d0092f14f0cb5493049b9df41e21e08c5db05d709679123d74e5320c47c",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 343,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32313233363236363536",
|
|
"sig" : "303e021d0089add3542691828a273884b5a9c7cbb82d2817c3c59c61360a5064e5021d00e83f4c0fb4ca07fb06735b22bc3b5b1764c61fd0ed62df7a12a5d829",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 344,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31303134343435353535",
|
|
"sig" : "303d021c79c786f2b9355e6d9500dd8bc502f2a35d90f6a065d26495d532edfa021d00eef1586a51ca9338ef0d7306702f445ad683ab8ed860b75e9b9110be",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 345,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31383030393034353338",
|
|
"sig" : "303c021c48ee1497c333d26cc2cf73d12eacc94a71244f05f5648c44903dca71021c09f822ba1b3fd62e69906b3ff35e922bb717d44b93bd28fa1b165437",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 346,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "353034313630343138",
|
|
"sig" : "303e021d00f85bbce852fa01b70492b12c60c2f3b1af834c610c58f6ba9ecbb917021d00e9eda96ad4101f6cc907fea426bd8323e51b53c7cad4f656bc28199b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 347,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "35363834303939333836",
|
|
"sig" : "303d021c74d4401bda59b5a4bc5401a1ee490ca1ddb5b82050b62a6593fd89ed021d00ad2c509fd7fed28f18c61a59d18b5884f506e8222abc07c24e1cf944",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 348,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "37303931393134373137",
|
|
"sig" : "303e021d00c6cc5b48f409b183c625cab62dc20166ebac760533ced081f1a0a250021d00f8235d7e5bb409d9fc28c01467962b0f2ff3e7fbb9433dc776445f3a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 349,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36383730353736323136",
|
|
"sig" : "303d021c1b36e8627465e569ec6687c8545c9e5d3e104ca0602b4efc5c5eccf4021d008463e73f4130b839fe7a9586f6ccc90f12f6846bfaf423a31a78e234",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 350,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33353130383339363937",
|
|
"sig" : "303d021c3ec1c16867b67a5b730ededbe98dccbcd5353715fc5440f7eaf88735021d00cc284d6937781bb7f068b04c8738c78663f8345dd82c31e099741ae4",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 351,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32343937383635313830",
|
|
"sig" : "303e021d00c0bb60c85db06131aaf26db4850cea0279fbb0e11298124ea6c7cb3c021d00951915885f62cba207faaa5c71e6aaf2c7a4a1aea3699ade0b395f5d",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 352,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3135323237383238323639",
|
|
"sig" : "303c021c1d974848e5129b79e3aa0d7e2cffc02ff5ae9e302d835b815d671086021c608117be5d3e82dec25e7a07c9881df3b9feb26f5f00f5d110ca037f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 353,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33363437363930313730",
|
|
"sig" : "303c021c7f64de07ddaa2db5d9e258458a60e0bbd3c59f714bd1d4e9ad8df0d7021c46868c535f847fbfb91872d66504380b94ae124d609ae77d9010abeb",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 354,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130323131353335373237",
|
|
"sig" : "303e021d00f17aae69e305a2aa95c9da9c8962a8fba9ee469f543060a298c15936021d0088f0067589526d161fb34894d9ae2a4771e55a0eba31e334434cc0ea",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 355,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34373430353737333639",
|
|
"sig" : "303d021c0f7cff0c5ca5f8225b9d8e21d1132a717b3a3a9f0c4ac4a9aa89c913021d00b021dcce9ccefa083fc6a08a460ae7b9be892af7d140a667ee181fc4",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 356,
|
|
"comment" : "Signature generated without truncating the hash",
|
|
"flags" : [
|
|
"Untruncatedhash"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00ac0caa50cc037ce6d6fa7ac5532486f0068a9ba6e7d73efda4d798fa021c55924c12e3c8b1ce5d4cc9026abf5c66a0ed8f9838894b76f4df7c9b",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0437396ebd6c06831ddc93dc89c1f57fe5172662971c7ce9d8b6523446748f1f69d8e12c13cec2511a4a7d50dbeeb0d418101bb5036404b5eb",
|
|
"wx" : "37396ebd6c06831ddc93dc89c1f57fe5172662971c7ce9d8b6523446",
|
|
"wy" : "748f1f69d8e12c13cec2511a4a7d50dbeeb0d418101bb5036404b5eb"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000437396ebd6c06831ddc93dc89c1f57fe5172662971c7ce9d8b6523446748f1f69d8e12c13cec2511a4a7d50dbeeb0d418101bb5036404b5eb",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAENzluvWwGgx3ck9yJwfV/5RcmYpccfOnY\ntlI0RnSPH2nY4SwTzsJRGkp9UNvusNQYEBu1A2QEtes=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 357,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3030020f00e95c1f470fc1ec22d6baa3a3d5c1021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 358,
|
|
"comment" : "r too large",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffefffffffffffffffffffffffe021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3a",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "043b36f4047f58e537175fb3461a89007656d7b741a78593f869a10304d243aba079a8cd978826f4c39dcae9a04be75953a5ea8a26b71cbfca",
|
|
"wx" : "3b36f4047f58e537175fb3461a89007656d7b741a78593f869a10304",
|
|
"wy" : "00d243aba079a8cd978826f4c39dcae9a04be75953a5ea8a26b71cbfca"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00043b36f4047f58e537175fb3461a89007656d7b741a78593f869a10304d243aba079a8cd978826f4c39dcae9a04be75953a5ea8a26b71cbfca",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEOzb0BH9Y5TcXX7NGGokAdlbXt0GnhZP4\naaEDBNJDq6B5qM2XiCb0w53K6aBL51lTpeqKJrccv8o=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 359,
|
|
"comment" : "r,s are large",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0487ecd2db58801c877d9930cfafe6737cb1af0891333a586a5f6480f9ee38410afa62f1c8962f6584223102d4bf844ba05fa13f4c55fdd0f3",
|
|
"wx" : "0087ecd2db58801c877d9930cfafe6737cb1af0891333a586a5f6480f9",
|
|
"wy" : "00ee38410afa62f1c8962f6584223102d4bf844ba05fa13f4c55fdd0f3"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000487ecd2db58801c877d9930cfafe6737cb1af0891333a586a5f6480f9ee38410afa62f1c8962f6584223102d4bf844ba05fa13f4c55fdd0f3",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEh+zS21iAHId9mTDPr+ZzfLGvCJEzOlhq\nX2SA+e44QQr6YvHIli9lhCIxAtS/hEugX6E/TFX90PM=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 360,
|
|
"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" : "0407a2b4fe8c3d39cfa4e62d3e4cbfb74d8610728a880873aa7c7e588cda5a3a9929788e66cbb355f7af40bb604ab13383d8c8469d7e623548",
|
|
"wx" : "07a2b4fe8c3d39cfa4e62d3e4cbfb74d8610728a880873aa7c7e588c",
|
|
"wy" : "00da5a3a9929788e66cbb355f7af40bb604ab13383d8c8469d7e623548"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000407a2b4fe8c3d39cfa4e62d3e4cbfb74d8610728a880873aa7c7e588cda5a3a9929788e66cbb355f7af40bb604ab13383d8c8469d7e623548",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEB6K0/ow9Oc+k5i0+TL+3TYYQcoqICHOq\nfH5YjNpaOpkpeI5my7NV969Au2BKsTOD2MhGnX5iNUg=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 361,
|
|
"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" : "0451a407f6750d28bd1f47c86653726d052f44c19ad9cc76237e7929bc8ddb11528a2075603e87100c434ebf9685dbcec2c1b45d8f9ee40c03",
|
|
"wx" : "51a407f6750d28bd1f47c86653726d052f44c19ad9cc76237e7929bc",
|
|
"wy" : "008ddb11528a2075603e87100c434ebf9685dbcec2c1b45d8f9ee40c03"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000451a407f6750d28bd1f47c86653726d052f44c19ad9cc76237e7929bc8ddb11528a2075603e87100c434ebf9685dbcec2c1b45d8f9ee40c03",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEUaQH9nUNKL0fR8hmU3JtBS9EwZrZzHYj\nfnkpvI3bEVKKIHVgPocQDENOv5aF287CwbRdj57kDAM=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 362,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020103020101",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0498f965a8ac796aa3c6ee9a16bc051107b394a18bdcb34a46001d8af02034dcd4fd1c5564e64e3f191a6c7fe9067fd2e78f5ac653a172b35f",
|
|
"wx" : "0098f965a8ac796aa3c6ee9a16bc051107b394a18bdcb34a46001d8af0",
|
|
"wy" : "2034dcd4fd1c5564e64e3f191a6c7fe9067fd2e78f5ac653a172b35f"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000498f965a8ac796aa3c6ee9a16bc051107b394a18bdcb34a46001d8af02034dcd4fd1c5564e64e3f191a6c7fe9067fd2e78f5ac653a172b35f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEmPllqKx5aqPG7poWvAURB7OUoYvcs0pG\nAB2K8CA03NT9HFVk5k4/GRpsf+kGf9Lnj1rGU6Fys18=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 363,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020103020103",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04d549753157978e20ab892a12c320eda47def99b3dafa79dbab0bb71f8a7dd3cda0f9402590398c9e6af618efadbb1d79852966f39b9af870",
|
|
"wx" : "00d549753157978e20ab892a12c320eda47def99b3dafa79dbab0bb71f",
|
|
"wy" : "008a7dd3cda0f9402590398c9e6af618efadbb1d79852966f39b9af870"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004d549753157978e20ab892a12c320eda47def99b3dafa79dbab0bb71f8a7dd3cda0f9402590398c9e6af618efadbb1d79852966f39b9af870",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE1Ul1MVeXjiCriSoSwyDtpH3vmbPa+nnb\nqwu3H4p9082g+UAlkDmMnmr2GO+tux15hSlm85ua+HA=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 364,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020103020104",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0480830789f1a6417fdd56b7763d3737dbfb7ee456d12fab597cd0b40ac1a9b8f783c6ed64f44bfe7a39545355b2db9d7cfa571a4841fcebb7",
|
|
"wx" : "0080830789f1a6417fdd56b7763d3737dbfb7ee456d12fab597cd0b40a",
|
|
"wy" : "00c1a9b8f783c6ed64f44bfe7a39545355b2db9d7cfa571a4841fcebb7"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000480830789f1a6417fdd56b7763d3737dbfb7ee456d12fab597cd0b40ac1a9b8f783c6ed64f44bfe7a39545355b2db9d7cfa571a4841fcebb7",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEgIMHifGmQX/dVrd2PTc32/t+5FbRL6tZ\nfNC0CsGpuPeDxu1k9Ev+ejlUU1Wy2518+lcaSEH867c=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 365,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020105020101",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "042c41011827dd44fc1cb70996d8fa9c9797e29e4b58df75d45915fc76b2b96632cebb31f151472a279364ed027f23096978b33f65db37965a",
|
|
"wx" : "2c41011827dd44fc1cb70996d8fa9c9797e29e4b58df75d45915fc76",
|
|
"wy" : "00b2b96632cebb31f151472a279364ed027f23096978b33f65db37965a"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00042c41011827dd44fc1cb70996d8fa9c9797e29e4b58df75d45915fc76b2b96632cebb31f151472a279364ed027f23096978b33f65db37965a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAELEEBGCfdRPwctwmW2Pqcl5finktY33XU\nWRX8drK5ZjLOuzHxUUcqJ5Nk7QJ/IwlpeLM/Zds3llo=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 366,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020105020103",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "040c4741ca3badb8cf08cc4b2fc45cbbac60bf1a67a7884a7575105b24a06cf2a4618df8f9ef631be29001ffa0d8900fd9852c61090a2593c1",
|
|
"wx" : "0c4741ca3badb8cf08cc4b2fc45cbbac60bf1a67a7884a7575105b24",
|
|
"wy" : "00a06cf2a4618df8f9ef631be29001ffa0d8900fd9852c61090a2593c1"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00040c4741ca3badb8cf08cc4b2fc45cbbac60bf1a67a7884a7575105b24a06cf2a4618df8f9ef631be29001ffa0d8900fd9852c61090a2593c1",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEDEdByjutuM8IzEsvxFy7rGC/GmeniEp1\ndRBbJKBs8qRhjfj572Mb4pAB/6DYkA/ZhSxhCQolk8E=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 367,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020105020105",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0410f14af5853fef8032f2fc8cf22bb90a47856161dad7dcd69119ee1dc8fe52c77f22b661060b8aa8c896fb91639ef11b58541fe874042ad3",
|
|
"wx" : "10f14af5853fef8032f2fc8cf22bb90a47856161dad7dcd69119ee1d",
|
|
"wy" : "00c8fe52c77f22b661060b8aa8c896fb91639ef11b58541fe874042ad3"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000410f14af5853fef8032f2fc8cf22bb90a47856161dad7dcd69119ee1dc8fe52c77f22b661060b8aa8c896fb91639ef11b58541fe874042ad3",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEEPFK9YU/74Ay8vyM8iu5CkeFYWHa19zW\nkRnuHcj+Usd/IrZhBguKqMiW+5FjnvEbWFQf6HQEKtM=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 368,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020105020106",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 369,
|
|
"comment" : "r is larger than n",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a42020106",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04dd4aac46535da75f631609cf9f07b796ef6de26db1bc7ff10650d6024c87ca4e958b719e5cee37761b7c073fee064735829538ec4996aa9d",
|
|
"wx" : "00dd4aac46535da75f631609cf9f07b796ef6de26db1bc7ff10650d602",
|
|
"wy" : "4c87ca4e958b719e5cee37761b7c073fee064735829538ec4996aa9d"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004dd4aac46535da75f631609cf9f07b796ef6de26db1bc7ff10650d6024c87ca4e958b719e5cee37761b7c073fee064735829538ec4996aa9d",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE3UqsRlNdp19jFgnPnwe3lu9t4m2xvH/x\nBlDWAkyHyk6Vi3GeXO43dht8Bz/uBkc1gpU47EmWqp0=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 370,
|
|
"comment" : "s is larger than n",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3022020105021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c6f00c4",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04b16efd95907793f1e73d95d467201c3f6f64bc904ecf936feb080a201e63430c78ab4c90fc86e331a5e7983feb9704050b12e2200079ee12",
|
|
"wx" : "00b16efd95907793f1e73d95d467201c3f6f64bc904ecf936feb080a20",
|
|
"wy" : "1e63430c78ab4c90fc86e331a5e7983feb9704050b12e2200079ee12"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b16efd95907793f1e73d95d467201c3f6f64bc904ecf936feb080a201e63430c78ab4c90fc86e331a5e7983feb9704050b12e2200079ee12",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEsW79lZB3k/HnPZXUZyAcP29kvJBOz5Nv\n6wgKIB5jQwx4q0yQ/IbjMaXnmD/rlwQFCxLiIAB57hI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 371,
|
|
"comment" : "small r and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302302020100021d00c993264c993264c993264c99326411d2e55b3214a8d67528812a55ab",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "044b87e61fc978183d713d5498f384029c171cc0f00d1fe48b264163e0b2a39a79dd0d41161ea08dea24e8fc325257b4ead38c2d1b5dedebc4",
|
|
"wx" : "4b87e61fc978183d713d5498f384029c171cc0f00d1fe48b264163e0",
|
|
"wy" : "00b2a39a79dd0d41161ea08dea24e8fc325257b4ead38c2d1b5dedebc4"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00044b87e61fc978183d713d5498f384029c171cc0f00d1fe48b264163e0b2a39a79dd0d41161ea08dea24e8fc325257b4ead38c2d1b5dedebc4",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAES4fmH8l4GD1xPVSY84QCnBccwPANH+SL\nJkFj4LKjmnndDUEWHqCN6iTo/DJSV7Tq04wtG13t68Q=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 372,
|
|
"comment" : "smallish r and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302702072d9b4d347952cc021c3e85d56474b5c55fbe86608442a84b2bf093b7d75f53a47250e1c70c",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04023d55781248b75d4b57ea53e5afb84fe94ecf14269d27ae3fa1df14b743d7c504d8486efe78a20c97c7cda2e8523bd58b8c3479a3795c2f",
|
|
"wx" : "023d55781248b75d4b57ea53e5afb84fe94ecf14269d27ae3fa1df14",
|
|
"wy" : "00b743d7c504d8486efe78a20c97c7cda2e8523bd58b8c3479a3795c2f"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004023d55781248b75d4b57ea53e5afb84fe94ecf14269d27ae3fa1df14b743d7c504d8486efe78a20c97c7cda2e8523bd58b8c3479a3795c2f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEAj1VeBJIt11LV+pT5a+4T+lOzxQmnSeu\nP6HfFLdD18UE2Ehu/niiDJfHzaLoUjvVi4w0eaN5XC8=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 373,
|
|
"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" : "04e8160d858d4ca3029378e06ceea0de642c2d077100b72be452d106f8aff07e2508dd487c82e839e41d322f17e92379fec42db4063e1ba605",
|
|
"wx" : "00e8160d858d4ca3029378e06ceea0de642c2d077100b72be452d106f8",
|
|
"wy" : "00aff07e2508dd487c82e839e41d322f17e92379fec42db4063e1ba605"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004e8160d858d4ca3029378e06ceea0de642c2d077100b72be452d106f8aff07e2508dd487c82e839e41d322f17e92379fec42db4063e1ba605",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE6BYNhY1MowKTeOBs7qDeZCwtB3EAtyvk\nUtEG+K/wfiUI3Uh8gug55B0yLxfpI3n+xC20Bj4bpgU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 374,
|
|
"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" : "0409f758c386494b0ea7ee9008e9af999f55875ce35569d84adcf912955bc12af60c4b708087f027e9be54cd825703a6996b77a901e3c813e7",
|
|
"wx" : "09f758c386494b0ea7ee9008e9af999f55875ce35569d84adcf91295",
|
|
"wy" : "5bc12af60c4b708087f027e9be54cd825703a6996b77a901e3c813e7"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000409f758c386494b0ea7ee9008e9af999f55875ce35569d84adcf912955bc12af60c4b708087f027e9be54cd825703a6996b77a901e3c813e7",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAECfdYw4ZJSw6n7pAI6a+Zn1WHXONVadhK\n3PkSlVvBKvYMS3CAh/An6b5UzYJXA6aZa3epAePIE+c=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 375,
|
|
"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" : "0439ceea1aa967bf58648cc0c4787b7ba6be04eef9a3e0623d669433812ae48d015b7f8cec9942885dd851a6bcc399ec9f827ec77e497b4c56",
|
|
"wx" : "39ceea1aa967bf58648cc0c4787b7ba6be04eef9a3e0623d66943381",
|
|
"wy" : "2ae48d015b7f8cec9942885dd851a6bcc399ec9f827ec77e497b4c56"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000439ceea1aa967bf58648cc0c4787b7ba6be04eef9a3e0623d669433812ae48d015b7f8cec9942885dd851a6bcc399ec9f827ec77e497b4c56",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEOc7qGqlnv1hkjMDEeHt7pr4E7vmj4GI9\nZpQzgSrkjQFbf4zsmUKIXdhRprzDmeyfgn7Hfkl7TFY=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 376,
|
|
"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" : "044a5105f0bae31b07df4e928930bfb733aea765b965e624a22d11dc4b14568188fdac4c4fa3f4789035317c5ba08f1915b92a675fa010f15d",
|
|
"wx" : "4a5105f0bae31b07df4e928930bfb733aea765b965e624a22d11dc4b",
|
|
"wy" : "14568188fdac4c4fa3f4789035317c5ba08f1915b92a675fa010f15d"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00044a5105f0bae31b07df4e928930bfb733aea765b965e624a22d11dc4b14568188fdac4c4fa3f4789035317c5ba08f1915b92a675fa010f15d",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAESlEF8LrjGwffTpKJML+3M66nZbll5iSi\nLRHcSxRWgYj9rExPo/R4kDUxfFugjxkVuSpnX6AQ8V0=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 377,
|
|
"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" : "04ad53c05b27fb8828cd0a1e842e55087d352232f2b79a35a6906fce9f39259391c0a36fe7b4dce1a3ab7af7f48ab7c9fd476b06a3e3638b5d",
|
|
"wx" : "00ad53c05b27fb8828cd0a1e842e55087d352232f2b79a35a6906fce9f",
|
|
"wy" : "39259391c0a36fe7b4dce1a3ab7af7f48ab7c9fd476b06a3e3638b5d"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004ad53c05b27fb8828cd0a1e842e55087d352232f2b79a35a6906fce9f39259391c0a36fe7b4dce1a3ab7af7f48ab7c9fd476b06a3e3638b5d",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAErVPAWyf7iCjNCh6ELlUIfTUiMvK3mjWm\nkG/Onzklk5HAo2/ntNzho6t69/SKt8n9R2sGo+Nji10=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 378,
|
|
"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" : "048d4587a5eb914f71a67bdc67222d8f0db691621167883751115c9372921645e1c9f77f255fbb658eb68a5bda5de60db8b2567a659b6949e6",
|
|
"wx" : "008d4587a5eb914f71a67bdc67222d8f0db691621167883751115c9372",
|
|
"wy" : "00921645e1c9f77f255fbb658eb68a5bda5de60db8b2567a659b6949e6"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00048d4587a5eb914f71a67bdc67222d8f0db691621167883751115c9372921645e1c9f77f255fbb658eb68a5bda5de60db8b2567a659b6949e6",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEjUWHpeuRT3Gme9xnIi2PDbaRYhFniDdR\nEVyTcpIWReHJ938lX7tljraKW9pd5g24slZ6ZZtpSeY=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 379,
|
|
"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" : "04fb819c1628ce3522f215b67d53638680ca0eba505f9ee3467ab8e41fdd5d536c0fca124c1ded474c553569f973f0d06fdc497c372d2d3532",
|
|
"wx" : "00fb819c1628ce3522f215b67d53638680ca0eba505f9ee3467ab8e41f",
|
|
"wy" : "00dd5d536c0fca124c1ded474c553569f973f0d06fdc497c372d2d3532"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004fb819c1628ce3522f215b67d53638680ca0eba505f9ee3467ab8e41fdd5d536c0fca124c1ded474c553569f973f0d06fdc497c372d2d3532",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE+4GcFijONSLyFbZ9U2OGgMoOulBfnuNG\nerjkH91dU2wPyhJMHe1HTFU1aflz8NBv3El8Ny0tNTI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 380,
|
|
"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" : "0446741b3d36853c16640275e6eeb99ac92b7c24db71ddcad9b8ed8539af1e26eb6811d5b156516ae05ca5876763af796140b08d2a5ffd0a6f",
|
|
"wx" : "46741b3d36853c16640275e6eeb99ac92b7c24db71ddcad9b8ed8539",
|
|
"wy" : "00af1e26eb6811d5b156516ae05ca5876763af796140b08d2a5ffd0a6f"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000446741b3d36853c16640275e6eeb99ac92b7c24db71ddcad9b8ed8539af1e26eb6811d5b156516ae05ca5876763af796140b08d2a5ffd0a6f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAERnQbPTaFPBZkAnXm7rmaySt8JNtx3crZ\nuO2FOa8eJutoEdWxVlFq4Fylh2djr3lhQLCNKl/9Cm8=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 381,
|
|
"comment" : "s == 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14020101",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 382,
|
|
"comment" : "s == 0",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3021021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14020100",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0491cebe33e0aa2b0e4393bfca778b459944bf2bde1acc80fafa85ee5ccafe50e1e2f38e389ef509499122db9b3dd074854f149b389bd94d3a",
|
|
"wx" : "0091cebe33e0aa2b0e4393bfca778b459944bf2bde1acc80fafa85ee5c",
|
|
"wy" : "00cafe50e1e2f38e389ef509499122db9b3dd074854f149b389bd94d3a"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000491cebe33e0aa2b0e4393bfca778b459944bf2bde1acc80fafa85ee5ccafe50e1e2f38e389ef509499122db9b3dd074854f149b389bd94d3a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEkc6+M+CqKw5Dk7/Kd4tFmUS/K94azID6\n+oXuXMr+UOHi8444nvUJSZEi25s90HSFTxSbOJvZTTo=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 383,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c37586dcf95bd7a08119effb5ba47e9466c581f5d4f534cb4e0f50370",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "042fe9cdcb02f52ea443a4c644609f2cd01182149b4a6305b11f2a48d2118bb6a10b20976f7c751a4a66fd8051ae074ca64176214372fa7bc3",
|
|
"wx" : "2fe9cdcb02f52ea443a4c644609f2cd01182149b4a6305b11f2a48d2",
|
|
"wy" : "118bb6a10b20976f7c751a4a66fd8051ae074ca64176214372fa7bc3"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00042fe9cdcb02f52ea443a4c644609f2cd01182149b4a6305b11f2a48d2118bb6a10b20976f7c751a4a66fd8051ae074ca64176214372fa7bc3",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEL+nNywL1LqRDpMZEYJ8s0BGCFJtKYwWx\nHypI0hGLtqELIJdvfHUaSmb9gFGuB0ymQXYhQ3L6e8M=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 384,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c55d13850396663397715edf6709fc0e956cfc85a8f8d238f11f5b0d5",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04b5b30a5fd2a6ab2ce62c5efac454053bafc3e7ad5d8f9758343fb331bae74599c7771b6d8e65df892ed0fd50bd683473ca8c2db90af4fcba",
|
|
"wx" : "00b5b30a5fd2a6ab2ce62c5efac454053bafc3e7ad5d8f9758343fb331",
|
|
"wy" : "00bae74599c7771b6d8e65df892ed0fd50bd683473ca8c2db90af4fcba"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b5b30a5fd2a6ab2ce62c5efac454053bafc3e7ad5d8f9758343fb331bae74599c7771b6d8e65df892ed0fd50bd683473ca8c2db90af4fcba",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEtbMKX9KmqyzmLF76xFQFO6/D561dj5dY\nND+zMbrnRZnHdxttjmXfiS7Q/VC9aDRzyowtuQr0/Lo=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 385,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c48806d956fdd042aec37c48d2383a84825595df29486604d0905feab",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04514743ed0ccbf8638b9705f1852ca48d647a21bd4fa285f2b5c75582dcc943eec10fc535a26af054b58fdcfca4464773d18b2debfdfe4696",
|
|
"wx" : "514743ed0ccbf8638b9705f1852ca48d647a21bd4fa285f2b5c75582",
|
|
"wy" : "00dcc943eec10fc535a26af054b58fdcfca4464773d18b2debfdfe4696"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004514743ed0ccbf8638b9705f1852ca48d647a21bd4fa285f2b5c75582dcc943eec10fc535a26af054b58fdcfca4464773d18b2debfdfe4696",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEUUdD7QzL+GOLlwXxhSykjWR6Ib1PooXy\ntcdVgtzJQ+7BD8U1omrwVLWP3PykRkdz0Yst6/3+RpY=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 386,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c1d609795e120e113515c6622eb57572836d5c36fe70722581fc09b73",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04c7f72bd4c2c1becccc45aa3d67fe8f34d05e3600abe6dabdc5011149033510ad8f5963a62eeb2aa8762d0c5416696ef23b5abd3d8813d0ed",
|
|
"wx" : "00c7f72bd4c2c1becccc45aa3d67fe8f34d05e3600abe6dabdc5011149",
|
|
"wy" : "033510ad8f5963a62eeb2aa8762d0c5416696ef23b5abd3d8813d0ed"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c7f72bd4c2c1becccc45aa3d67fe8f34d05e3600abe6dabdc5011149033510ad8f5963a62eeb2aa8762d0c5416696ef23b5abd3d8813d0ed",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEx/cr1MLBvszMRao9Z/6PNNBeNgCr5tq9\nxQERSQM1EK2PWWOmLusqqHYtDFQWaW7yO1q9PYgT0O0=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 387,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c0a460a25b5350542d79481bc4d936017e4b6c9b9e19cd0ab9780c3eb",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04f86895ca58fecd8696759410fc889748ed5c1d6c4cd7910b750fdd7558b5cc0148566f03561f278c93f3bf6d149f2faaf27138dd192f9dca",
|
|
"wx" : "00f86895ca58fecd8696759410fc889748ed5c1d6c4cd7910b750fdd75",
|
|
"wy" : "58b5cc0148566f03561f278c93f3bf6d149f2faaf27138dd192f9dca"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004f86895ca58fecd8696759410fc889748ed5c1d6c4cd7910b750fdd7558b5cc0148566f03561f278c93f3bf6d149f2faaf27138dd192f9dca",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE+GiVylj+zYaWdZQQ/IiXSO1cHWxM15EL\ndQ/ddVi1zAFIVm8DVh8njJPzv20Uny+q8nE43Rkvnco=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 388,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c0a82b85e55ecafb89e428a13c6fb0cd46f5d562da54c9344df644891",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04febc556dca4cf5f007d91f50f02a7ff42798a08c16e2400b4326dc013083ebdba95ff65f577ee933139e17b0b265400731f5a793c4bcfee2",
|
|
"wx" : "00febc556dca4cf5f007d91f50f02a7ff42798a08c16e2400b4326dc01",
|
|
"wy" : "3083ebdba95ff65f577ee933139e17b0b265400731f5a793c4bcfee2"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004febc556dca4cf5f007d91f50f02a7ff42798a08c16e2400b4326dc013083ebdba95ff65f577ee933139e17b0b265400731f5a793c4bcfee2",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE/rxVbcpM9fAH2R9Q8Cp/9CeYoIwW4kAL\nQybcATCD69upX/ZfV37pMxOeF7CyZUAHMfWnk8S8/uI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 389,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c0473677d74d4f5cf8b58545a347d8c904d7ff0d2e819b8770ff670aa",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "041cbde5da76037fc812061f0813114dd59bbaaf97ba4d4cdaee96c86acae6b6aeab029042c7edee9429d03009344fb1e943257fd5b8fe52c5",
|
|
"wx" : "1cbde5da76037fc812061f0813114dd59bbaaf97ba4d4cdaee96c86a",
|
|
"wy" : "00cae6b6aeab029042c7edee9429d03009344fb1e943257fd5b8fe52c5"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00041cbde5da76037fc812061f0813114dd59bbaaf97ba4d4cdaee96c86acae6b6aeab029042c7edee9429d03009344fb1e943257fd5b8fe52c5",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEHL3l2nYDf8gSBh8IExFN1Zu6r5e6TUza\n7pbIasrmtq6rApBCx+3ulCnQMAk0T7HpQyV/1bj+UsU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 390,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c3ffe3808f6414d859fa92a86a175a0300a3c96f2c751eca2e9c9e28e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "040aee63be9971f7c270f56e4cdcc72b3a815246d039d60607f7d55d7a5f90f4c2c28aed765e89c8a017a4c200987b06cb3d2310ef8b7fa8de",
|
|
"wx" : "0aee63be9971f7c270f56e4cdcc72b3a815246d039d60607f7d55d7a",
|
|
"wy" : "5f90f4c2c28aed765e89c8a017a4c200987b06cb3d2310ef8b7fa8de"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00040aee63be9971f7c270f56e4cdcc72b3a815246d039d60607f7d55d7a5f90f4c2c28aed765e89c8a017a4c200987b06cb3d2310ef8b7fa8de",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAECu5jvplx98Jw9W5M3McrOoFSRtA51gYH\n99Vdel+Q9MLCiu12XonIoBekwgCYewbLPSMQ74t/qN4=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 391,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c66a48c646a35835a135df73eca9c7d9e06d02fcdb192aaeb35d27ddf",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "043950c7b8c2c49a08166120d739ae5a4575c0ddf690a99d2919aee0f31db3f34a4e9a436f9d80b7770589d25ad65533bd9d3479664591b08c",
|
|
"wx" : "3950c7b8c2c49a08166120d739ae5a4575c0ddf690a99d2919aee0f3",
|
|
"wy" : "1db3f34a4e9a436f9d80b7770589d25ad65533bd9d3479664591b08c"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00043950c7b8c2c49a08166120d739ae5a4575c0ddf690a99d2919aee0f31db3f34a4e9a436f9d80b7770589d25ad65533bd9d3479664591b08c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEOVDHuMLEmggWYSDXOa5aRXXA3faQqZ0p\nGa7g8x2z80pOmkNvnYC3dwWJ0lrWVTO9nTR5ZkWRsIw=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 392,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c2bfd8760edb73e799b964ba640fe73ed904344c988dbca42785a5da6",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "042d41f53c0cf61df13ca57e6e6c6dfb92d28e9a843f2ae80908d1d60c43919592a40b8b02ab0289106d5dc9fc866a8b5ddfbbb4f60c3ba712",
|
|
"wx" : "2d41f53c0cf61df13ca57e6e6c6dfb92d28e9a843f2ae80908d1d60c",
|
|
"wy" : "43919592a40b8b02ab0289106d5dc9fc866a8b5ddfbbb4f60c3ba712"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00042d41f53c0cf61df13ca57e6e6c6dfb92d28e9a843f2ae80908d1d60c43919592a40b8b02ab0289106d5dc9fc866a8b5ddfbbb4f60c3ba712",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAELUH1PAz2HfE8pX5ubG37ktKOmoQ/KugJ\nCNHWDEORlZKkC4sCqwKJEG1dyfyGaotd37u09gw7pxI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 393,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c490d0a0830e58552a79f8c9660c793e513515917b74abc0f7baaeb99",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "043394c03f8776d6d96a633d736491c48e1f6df02629a7c750ce8d6164c5a848258b9f075eea08f4f8b85702b8986d87726c16fe3e0a51f439",
|
|
"wx" : "3394c03f8776d6d96a633d736491c48e1f6df02629a7c750ce8d6164",
|
|
"wy" : "00c5a848258b9f075eea08f4f8b85702b8986d87726c16fe3e0a51f439"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00043394c03f8776d6d96a633d736491c48e1f6df02629a7c750ce8d6164c5a848258b9f075eea08f4f8b85702b8986d87726c16fe3e0a51f439",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEM5TAP4d21tlqYz1zZJHEjh9t8CYpp8dQ\nzo1hZMWoSCWLnwde6gj0+LhXAriYbYdybBb+PgpR9Dk=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 394,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c4a2a4a905226d955d5355d3a5b65d54df81dd47a0d724c8919fb9c86",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04c1dce7e4fc1e556b28f4da55671c9c7760bff637e90a8c718aebae0d95f87dc9a69c7ced2020fec54c0cdc09c47fede7fe6e05b1766d9ec9",
|
|
"wx" : "00c1dce7e4fc1e556b28f4da55671c9c7760bff637e90a8c718aebae0d",
|
|
"wy" : "0095f87dc9a69c7ced2020fec54c0cdc09c47fede7fe6e05b1766d9ec9"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c1dce7e4fc1e556b28f4da55671c9c7760bff637e90a8c718aebae0d95f87dc9a69c7ced2020fec54c0cdc09c47fede7fe6e05b1766d9ec9",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEwdzn5PweVWso9NpVZxycd2C/9jfpCoxx\niuuuDZX4fcmmnHztICD+xUwM3AnEf+3n/m4FsXZtnsk=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 395,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c766bd58ee43e3940942ca3cead787633a3bb194a3263ebbb91fcddf5",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04deace9c58ccec55204eb4e2e0fc79a36b561736e0205d43c6c338c1e8668489ae3d8f3a5c999ffca92d103f0359c4bd1abf0e088ec592083",
|
|
"wx" : "00deace9c58ccec55204eb4e2e0fc79a36b561736e0205d43c6c338c1e",
|
|
"wy" : "008668489ae3d8f3a5c999ffca92d103f0359c4bd1abf0e088ec592083"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004deace9c58ccec55204eb4e2e0fc79a36b561736e0205d43c6c338c1e8668489ae3d8f3a5c999ffca92d103f0359c4bd1abf0e088ec592083",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE3qzpxYzOxVIE604uD8eaNrVhc24CBdQ8\nbDOMHoZoSJrj2POlyZn/ypLRA/A1nEvRq/DgiOxZIIM=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 396,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c5a8e2781c9813022ac0d798cf82fa5bafe1e5f993ec73eadcea38181",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04c2a5da2535474a27484ac1dff6891f3205b1281bbe73b450da09fee2f72701aab762271675a9d9f0d1ca1fa989fd7c212d95169ccc2aaab9",
|
|
"wx" : "00c2a5da2535474a27484ac1dff6891f3205b1281bbe73b450da09fee2",
|
|
"wy" : "00f72701aab762271675a9d9f0d1ca1fa989fd7c212d95169ccc2aaab9"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c2a5da2535474a27484ac1dff6891f3205b1281bbe73b450da09fee2f72701aab762271675a9d9f0d1ca1fa989fd7c212d95169ccc2aaab9",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEwqXaJTVHSidISsHf9okfMgWxKBu+c7RQ\n2gn+4vcnAaq3YicWdanZ8NHKH6mJ/XwhLZUWnMwqqrk=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 397,
|
|
"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" : "04a96e75a117b729a41ebf5213a10f973c19ecbde6731e1cd5d940a9cce13482c074304ff31a922ae1516403673e3ef18b88cf09c7344dacab",
|
|
"wx" : "00a96e75a117b729a41ebf5213a10f973c19ecbde6731e1cd5d940a9cc",
|
|
"wy" : "00e13482c074304ff31a922ae1516403673e3ef18b88cf09c7344dacab"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a96e75a117b729a41ebf5213a10f973c19ecbde6731e1cd5d940a9cce13482c074304ff31a922ae1516403673e3ef18b88cf09c7344dacab",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEqW51oRe3KaQev1IToQ+XPBnsveZzHhzV\n2UCpzOE0gsB0ME/zGpIq4VFkA2c+PvGLiM8JxzRNrKs=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 398,
|
|
"comment" : "edge case for signature malleability",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151f021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "040c6702b5e7a5da8ef5369172b21231f0f80dae26f77e484f1019ec6495fb7ddf4015566e0a6ae15e49efcd4297d4a20d1cda2598c78e70b8",
|
|
"wx" : "0c6702b5e7a5da8ef5369172b21231f0f80dae26f77e484f1019ec64",
|
|
"wy" : "0095fb7ddf4015566e0a6ae15e49efcd4297d4a20d1cda2598c78e70b8"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00040c6702b5e7a5da8ef5369172b21231f0f80dae26f77e484f1019ec6495fb7ddf4015566e0a6ae15e49efcd4297d4a20d1cda2598c78e70b8",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEDGcCteel2o71NpFyshIx8PgNrib3fkhP\nEBnsZJX7fd9AFVZuCmrhXknvzUKX1KINHNolmMeOcLg=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 399,
|
|
"comment" : "edge case for signature malleability",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151f021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0439047d6b5542f3806a0b4dead87f41d347fcf467a2baf56a1a464d5e1fab6df4172c64c0e4bd4d37edfb2a14f1e82016e6ba03620f1e33ba",
|
|
"wx" : "39047d6b5542f3806a0b4dead87f41d347fcf467a2baf56a1a464d5e",
|
|
"wy" : "1fab6df4172c64c0e4bd4d37edfb2a14f1e82016e6ba03620f1e33ba"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000439047d6b5542f3806a0b4dead87f41d347fcf467a2baf56a1a464d5e1fab6df4172c64c0e4bd4d37edfb2a14f1e82016e6ba03620f1e33ba",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEOQR9a1VC84BqC03q2H9B00f89GeiuvVq\nGkZNXh+rbfQXLGTA5L1NN+37KhTx6CAW5roDYg8eM7o=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 400,
|
|
"comment" : "u1 == 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021d00c492aebe9f1b702c6747fbd016604d49ad6beb2c57a29c0587bb76a0",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04524dfb972c3fc2e499ff7e6ef61c8581d581ce0d127f31985e8b655b5bc9047a142df8203ce5a870799370296822e863832c2449bc2d510b",
|
|
"wx" : "524dfb972c3fc2e499ff7e6ef61c8581d581ce0d127f31985e8b655b",
|
|
"wy" : "5bc9047a142df8203ce5a870799370296822e863832c2449bc2d510b"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004524dfb972c3fc2e499ff7e6ef61c8581d581ce0d127f31985e8b655b5bc9047a142df8203ce5a870799370296822e863832c2449bc2d510b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEUk37lyw/wuSZ/35u9hyFgdWBzg0SfzGY\nXotlW1vJBHoULfggPOWocHmTcCloIuhjgywkSbwtUQs=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 401,
|
|
"comment" : "u1 == n - 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c3b6d514160e48fd398b8042fe99ec959334d0511bc3a8d3fd4a0b39d",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04b206324068d8828464e01dfd954762ce5fc84a3c0787ca19681dd02133c730df7a9c584988fce6d90e2c95e17eda27a29694879312b334d2",
|
|
"wx" : "00b206324068d8828464e01dfd954762ce5fc84a3c0787ca19681dd021",
|
|
"wy" : "33c730df7a9c584988fce6d90e2c95e17eda27a29694879312b334d2"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b206324068d8828464e01dfd954762ce5fc84a3c0787ca19681dd02133c730df7a9c584988fce6d90e2c95e17eda27a29694879312b334d2",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEsgYyQGjYgoRk4B39lUdizl/ISjwHh8oZ\naB3QITPHMN96nFhJiPzm2Q4sleF+2ieilpSHkxKzNNI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 402,
|
|
"comment" : "u2 == 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "047574f08d63da008dd2c288fda39d93749c3d67f4eb4cd56d550d064f36143b0874b8d19329fce06ad2ac9a54113ad79e34408e5c798b38a1",
|
|
"wx" : "7574f08d63da008dd2c288fda39d93749c3d67f4eb4cd56d550d064f",
|
|
"wy" : "36143b0874b8d19329fce06ad2ac9a54113ad79e34408e5c798b38a1"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00047574f08d63da008dd2c288fda39d93749c3d67f4eb4cd56d550d064f36143b0874b8d19329fce06ad2ac9a54113ad79e34408e5c798b38a1",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEdXTwjWPaAI3Swoj9o52TdJw9Z/TrTNVt\nVQ0GTzYUOwh0uNGTKfzgatKsmlQROteeNECOXHmLOKE=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 403,
|
|
"comment" : "u2 == n - 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021d00aaaaaaaaaaaaaaaaaaaaaaaaaaaa0f17407b4ad40d3e1b8392e81c29",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04a33a070483d27efaf3e02327991606a20e38fcfb58d0515562b5a43337426e5b352be4d81e1030676a90553260942092b6b4ee01f06f2e32",
|
|
"wx" : "00a33a070483d27efaf3e02327991606a20e38fcfb58d0515562b5a433",
|
|
"wy" : "37426e5b352be4d81e1030676a90553260942092b6b4ee01f06f2e32"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a33a070483d27efaf3e02327991606a20e38fcfb58d0515562b5a43337426e5b352be4d81e1030676a90553260942092b6b4ee01f06f2e32",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEozoHBIPSfvrz4CMnmRYGog44/PtY0FFV\nYrWkMzdCbls1K+TYHhAwZ2qQVTJglCCStrTuAfBvLjI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 404,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d0096db8f94dfb3d00ecd17fe9ab21fcbf984b6f3ce23d541c3a15d359f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "045b39d68615e2b1a0adb90e52bc5af6a167c75dbabde582a33e75491354b2e61cca06c2ad5fbc17542c309f56c5bfeff331583ec68bf5786d",
|
|
"wx" : "5b39d68615e2b1a0adb90e52bc5af6a167c75dbabde582a33e754913",
|
|
"wy" : "54b2e61cca06c2ad5fbc17542c309f56c5bfeff331583ec68bf5786d"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00045b39d68615e2b1a0adb90e52bc5af6a167c75dbabde582a33e75491354b2e61cca06c2ad5fbc17542c309f56c5bfeff331583ec68bf5786d",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEWznWhhXisaCtuQ5SvFr2oWfHXbq95YKj\nPnVJE1Sy5hzKBsKtX7wXVCwwn1bFv+/zMVg+xov1eG0=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 405,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00bfd333ae3731b2420a4eae768a6f1aee9d5a70e8c049a4d7c7e729f5",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04089fad18a2c9afb33accfc75f74d7b4e629d41680c532efcec8514d33f60b2990a83429ca45a37e8fee994895bb8b5a91b32881c839cdb97",
|
|
"wx" : "089fad18a2c9afb33accfc75f74d7b4e629d41680c532efcec8514d3",
|
|
"wy" : "3f60b2990a83429ca45a37e8fee994895bb8b5a91b32881c839cdb97"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004089fad18a2c9afb33accfc75f74d7b4e629d41680c532efcec8514d33f60b2990a83429ca45a37e8fee994895bb8b5a91b32881c839cdb97",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAECJ+tGKLJr7M6zPx19017TmKdQWgMUy78\n7IUU0z9gspkKg0KcpFo36P7plIlbuLWpGzKIHIOc25c=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 406,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00a49c1bda5d85584ea21fc404d6cb89bb8b2e8776bd96661ee579cfa3",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04ca152d6154efa3b6d13fd908e280d8ab2f1308d25a8e299376f6052c8559f736715942ed2bd05772f6ffe452fef852e0168de504bd001019",
|
|
"wx" : "00ca152d6154efa3b6d13fd908e280d8ab2f1308d25a8e299376f6052c",
|
|
"wy" : "008559f736715942ed2bd05772f6ffe452fef852e0168de504bd001019"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004ca152d6154efa3b6d13fd908e280d8ab2f1308d25a8e299376f6052c8559f736715942ed2bd05772f6ffe452fef852e0168de504bd001019",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEyhUtYVTvo7bRP9kI4oDYqy8TCNJajimT\ndvYFLIVZ9zZxWULtK9BXcvb/5FL++FLgFo3lBL0AEBk=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 407,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00f4c6613eb9a4db1f3b6d514160e3b0b2003ca192d161565b0737526c",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "044f5caf06353e5782604bdf45d696c79da333f58fcfdf93b48352efd671fb37af56689c34a6b875216b9a58ead446e463e801a8a3d1dad4de",
|
|
"wx" : "4f5caf06353e5782604bdf45d696c79da333f58fcfdf93b48352efd6",
|
|
"wy" : "71fb37af56689c34a6b875216b9a58ead446e463e801a8a3d1dad4de"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00044f5caf06353e5782604bdf45d696c79da333f58fcfdf93b48352efd671fb37af56689c34a6b875216b9a58ead446e463e801a8a3d1dad4de",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAET1yvBjU+V4JgS99F1pbHnaMz9Y/P35O0\ng1Lv1nH7N69WaJw0prh1IWuaWOrURuRj6AGoo9Ha1N4=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 408,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c6613eb9a4db1f3b6d514160e48fcdc7e3d1e377e3a525f72a350a2e4",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04c3974ef460b3b6a9ef4134c678f62f2d92e7e07bbd18a64abcc02dd03c168f8761119a60cc6abf9720210c1071b9da0815bb871494a512ac",
|
|
"wx" : "00c3974ef460b3b6a9ef4134c678f62f2d92e7e07bbd18a64abcc02dd0",
|
|
"wy" : "3c168f8761119a60cc6abf9720210c1071b9da0815bb871494a512ac"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c3974ef460b3b6a9ef4134c678f62f2d92e7e07bbd18a64abcc02dd03c168f8761119a60cc6abf9720210c1071b9da0815bb871494a512ac",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEw5dO9GCztqnvQTTGePYvLZLn4Hu9GKZK\nvMAt0DwWj4dhEZpgzGq/lyAhDBBxudoIFbuHFJSlEqw=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 409,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00cc27d7349b63e76daa282c1c91f9b8fc7a3c6efc74a4bee546a145c8",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "040a78d6e948d4a1e67447ebdb5bcf34216d10d77213c14db5757d7302323126f5a7fc6158b6ade66381d14b330fbc92815e7b31c48f24a65b",
|
|
"wx" : "0a78d6e948d4a1e67447ebdb5bcf34216d10d77213c14db5757d7302",
|
|
"wy" : "323126f5a7fc6158b6ade66381d14b330fbc92815e7b31c48f24a65b"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00040a78d6e948d4a1e67447ebdb5bcf34216d10d77213c14db5757d7302323126f5a7fc6158b6ade66381d14b330fbc92815e7b31c48f24a65b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAECnjW6UjUoeZ0R+vbW880IW0Q13ITwU21\ndX1zAjIxJvWn/GFYtq3mY4HRSzMPvJKBXnsxxI8kpls=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 410,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00b9a4db1f3b6d514160e48fd398b75af5569d79676356c415e67ea83a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04a2b723a26ad0fd510e141329ba8a01aa77c30d288c6e490a58335f5c5e5872c12ad3e61c576d3b72f26b55b510c6640bf8a27adfdbf8f306",
|
|
"wx" : "00a2b723a26ad0fd510e141329ba8a01aa77c30d288c6e490a58335f5c",
|
|
"wy" : "5e5872c12ad3e61c576d3b72f26b55b510c6640bf8a27adfdbf8f306"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a2b723a26ad0fd510e141329ba8a01aa77c30d288c6e490a58335f5c5e5872c12ad3e61c576d3b72f26b55b510c6640bf8a27adfdbf8f306",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEorcjomrQ/VEOFBMpuooBqnfDDSiMbkkK\nWDNfXF5YcsEq0+YcV207cvJrVbUQxmQL+KJ639v48wY=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 411,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c34923835902617f8997400b2a6efa554ae00fe37f803f3c0dd7f7a4f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "041fd5b58b645aa3a1c9f6b7dfa69f1857aee8a88043f8696955a561a9b2a4394db623f8ae29c8940f62a1a0aabb1b6619aa0680b1a240c427",
|
|
"wx" : "1fd5b58b645aa3a1c9f6b7dfa69f1857aee8a88043f8696955a561a9",
|
|
"wy" : "00b2a4394db623f8ae29c8940f62a1a0aabb1b6619aa0680b1a240c427"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00041fd5b58b645aa3a1c9f6b7dfa69f1857aee8a88043f8696955a561a9b2a4394db623f8ae29c8940f62a1a0aabb1b6619aa0680b1a240c427",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEH9W1i2Rao6HJ9rffpp8YV67oqIBD+Glp\nVaVhqbKkOU22I/iuKciUD2KhoKq7G2YZqgaAsaJAxCc=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 412,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c6924706b204c2ff132e801654ddf4aa95c01fc6ff007e781bafef49e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "047f5250e1cd34b12dcdb3192121923f93677d404cb58271016c1fe550bc43fa82460be44f2fd62aa0b51701b11f858f884ec8abd553152f23",
|
|
"wx" : "7f5250e1cd34b12dcdb3192121923f93677d404cb58271016c1fe550",
|
|
"wy" : "00bc43fa82460be44f2fd62aa0b51701b11f858f884ec8abd553152f23"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00047f5250e1cd34b12dcdb3192121923f93677d404cb58271016c1fe550bc43fa82460be44f2fd62aa0b51701b11f858f884ec8abd553152f23",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEf1JQ4c00sS3NsxkhIZI/k2d9QEy1gnEB\nbB/lULxD+oJGC+RPL9YqoLUXAbEfhY+ITsir1VMVLyM=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 413,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d009db6a8a0b07247e9cc5c0217f4ceeffe0a02faa7e80bdb42987e6eed",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04e0cb1fc298334d2ed19753e298c652d84daa4c65e5896801aecf21a0e4d67f44455bdb55a328da9f6e50897992ff564488ad0b3223056485",
|
|
"wx" : "00e0cb1fc298334d2ed19753e298c652d84daa4c65e5896801aecf21a0",
|
|
"wy" : "00e4d67f44455bdb55a328da9f6e50897992ff564488ad0b3223056485"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004e0cb1fc298334d2ed19753e298c652d84daa4c65e5896801aecf21a0e4d67f44455bdb55a328da9f6e50897992ff564488ad0b3223056485",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE4MsfwpgzTS7Rl1PimMZS2E2qTGXliWgB\nrs8hoOTWf0RFW9tVoyjan25QiXmS/1ZEiK0LMiMFZIU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 414,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00d24e0ded2ec2ac27510fe2026b65502f35f3bbda68b9c7b220eafcf0",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "041f00c5ab2fe252841cd97dd90aab85f309aa4f3f7f680b469af9034a4c9cca6c2e7ca0b0edbe023cdd667d3b6f5b533ec76cb65119771c88",
|
|
"wx" : "1f00c5ab2fe252841cd97dd90aab85f309aa4f3f7f680b469af9034a",
|
|
"wy" : "4c9cca6c2e7ca0b0edbe023cdd667d3b6f5b533ec76cb65119771c88"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00041f00c5ab2fe252841cd97dd90aab85f309aa4f3f7f680b469af9034a4c9cca6c2e7ca0b0edbe023cdd667d3b6f5b533ec76cb65119771c88",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEHwDFqy/iUoQc2X3ZCquF8wmqTz9/aAtG\nmvkDSkycymwufKCw7b4CPN1mfTtvW1M+x2y2URl3HIg=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 415,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c7fffffffffffffffffffffffffffb2364ae85014b149b86c741eb8be",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04e3ee11909b13b9e2ab2a39eb69583ba71fd57668772f93c71b192bed22d2945d3ec3650e6e7bc55c2522febb298a3f3ea302e64dd3a87145",
|
|
"wx" : "00e3ee11909b13b9e2ab2a39eb69583ba71fd57668772f93c71b192bed",
|
|
"wy" : "22d2945d3ec3650e6e7bc55c2522febb298a3f3ea302e64dd3a87145"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004e3ee11909b13b9e2ab2a39eb69583ba71fd57668772f93c71b192bed22d2945d3ec3650e6e7bc55c2522febb298a3f3ea302e64dd3a87145",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE4+4RkJsTueKrKjnraVg7px/Vdmh3L5PH\nGxkr7SLSlF0+w2UObnvFXCUi/rspij8+owLmTdOocUU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 416,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00855f5b2dc8e46ec428a593f73219cf65dae793e8346e30cc3701309c",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "044cb67be1231144ef476c07ca081a1c754160543ceed27d05b0078324ab6154c2c1cc9590cd9995f4268594a9ec86194244127955a1a0129c",
|
|
"wx" : "4cb67be1231144ef476c07ca081a1c754160543ceed27d05b0078324",
|
|
"wy" : "00ab6154c2c1cc9590cd9995f4268594a9ec86194244127955a1a0129c"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00044cb67be1231144ef476c07ca081a1c754160543ceed27d05b0078324ab6154c2c1cc9590cd9995f4268594a9ec86194244127955a1a0129c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAETLZ74SMRRO9HbAfKCBocdUFgVDzu0n0F\nsAeDJKthVMLBzJWQzZmV9CaFlKnshhlCRBJ5VaGgEpw=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 417,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c2db5f61aea817276af2064e104c7a30e32034cb526dd0aacfa56566f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04c7144ccf010af611dbda81fd5b4830bf9ba85f9761a844c776a525477eb5e5c535471a8ccd335b31d1c165c62c004b85081bdc2307017f1f",
|
|
"wx" : "00c7144ccf010af611dbda81fd5b4830bf9ba85f9761a844c776a52547",
|
|
"wy" : "7eb5e5c535471a8ccd335b31d1c165c62c004b85081bdc2307017f1f"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c7144ccf010af611dbda81fd5b4830bf9ba85f9761a844c776a525477eb5e5c535471a8ccd335b31d1c165c62c004b85081bdc2307017f1f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAExxRMzwEK9hHb2oH9W0gwv5uoX5dhqETH\ndqUlR3615cU1RxqMzTNbMdHBZcYsAEuFCBvcIwcBfx8=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 418,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d0084a6c7513e5f48c07fffffffffff8713f3cba1293e4f3e95597fe6bd",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04a4a12c02872d254bf1a43df83c6506521a2bf62c51862dc1cb0f220d1aa274a83859bd760e0707caadba199c3afbb1b81e92cd68b73fb870",
|
|
"wx" : "00a4a12c02872d254bf1a43df83c6506521a2bf62c51862dc1cb0f220d",
|
|
"wy" : "1aa274a83859bd760e0707caadba199c3afbb1b81e92cd68b73fb870"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a4a12c02872d254bf1a43df83c6506521a2bf62c51862dc1cb0f220d1aa274a83859bd760e0707caadba199c3afbb1b81e92cd68b73fb870",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEpKEsAoctJUvxpD34PGUGUhor9ixRhi3B\nyw8iDRqidKg4Wb12DgcHyq26GZw6+7G4HpLNaLc/uHA=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 419,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c6c7513e5f48c07ffffffffffffff9d21fd1b31544cb13ca86a75b25e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "047abcb3018568360220dded7d7ff5e74df5fc1170cfe1785b6c176fb6eda81496578cde3c02486a4ab5f3adf9dd7a47994748b53fd2a49b54",
|
|
"wx" : "7abcb3018568360220dded7d7ff5e74df5fc1170cfe1785b6c176fb6",
|
|
"wy" : "00eda81496578cde3c02486a4ab5f3adf9dd7a47994748b53fd2a49b54"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00047abcb3018568360220dded7d7ff5e74df5fc1170cfe1785b6c176fb6eda81496578cde3c02486a4ab5f3adf9dd7a47994748b53fd2a49b54",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEeryzAYVoNgIg3e19f/XnTfX8EXDP4Xhb\nbBdvtu2oFJZXjN48AkhqSrXzrfndekeZR0i1P9Kkm1Q=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 420,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00d8ea27cbe9180fffffffffffffff3a43fa3662a899627950d4eb64bc",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04b2f1f2017c91253e6f77acf6bf339681930cf124dec622a2a734d3058917304fe374b5e8e2f4bc1856820e7c9580a263ee2dbb1ae284598b",
|
|
"wx" : "00b2f1f2017c91253e6f77acf6bf339681930cf124dec622a2a734d305",
|
|
"wy" : "008917304fe374b5e8e2f4bc1856820e7c9580a263ee2dbb1ae284598b"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b2f1f2017c91253e6f77acf6bf339681930cf124dec622a2a734d3058917304fe374b5e8e2f4bc1856820e7c9580a263ee2dbb1ae284598b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEsvHyAXyRJT5vd6z2vzOWgZMM8STexiKi\npzTTBYkXME/jdLXo4vS8GFaCDnyVgKJj7i27GuKEWYs=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 421,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c3e5f48c07fffffffffffffffffffc724968c0ecf9ed783744a7337b3",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0490c3cb010ca55f579066840a324c27819cb8ac77a015619b361a008a421b7c550c48de1e328be4f970be1f8662d0b7443f4c6ea372b7bf01",
|
|
"wx" : "0090c3cb010ca55f579066840a324c27819cb8ac77a015619b361a008a",
|
|
"wy" : "421b7c550c48de1e328be4f970be1f8662d0b7443f4c6ea372b7bf01"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000490c3cb010ca55f579066840a324c27819cb8ac77a015619b361a008a421b7c550c48de1e328be4f970be1f8662d0b7443f4c6ea372b7bf01",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEkMPLAQylX1eQZoQKMkwngZy4rHegFWGb\nNhoAikIbfFUMSN4eMovk+XC+H4Zi0LdEP0xuo3K3vwE=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 422,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00bfffffffffffffffffffffffffff3d87bb44c833bb384d0f224ccdde",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04743bfacafe6ffe9d43e09628f304ad20e28449942726c96466860e19847c0872126ae2892fd9690d0fcc1297fa3c8edd294724a9d1277bc1",
|
|
"wx" : "743bfacafe6ffe9d43e09628f304ad20e28449942726c96466860e19",
|
|
"wy" : "00847c0872126ae2892fd9690d0fcc1297fa3c8edd294724a9d1277bc1"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004743bfacafe6ffe9d43e09628f304ad20e28449942726c96466860e19847c0872126ae2892fd9690d0fcc1297fa3c8edd294724a9d1277bc1",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEdDv6yv5v/p1D4JYo8wStIOKESZQnJslk\nZoYOGYR8CHISauKJL9lpDQ/MEpf6PI7dKUckqdEne8E=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 423,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c7fffffffffffffffffffffffffff646c95d0a029629370d8e83d717f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04d2b0c7c3a99cca2ea12c3b9b644c7445a6e302828eac9b4361f4b32fac8dd4aa4c5c88f01da0bc6467102c75a7300fd360fd5d84906c873f",
|
|
"wx" : "00d2b0c7c3a99cca2ea12c3b9b644c7445a6e302828eac9b4361f4b32f",
|
|
"wy" : "00ac8dd4aa4c5c88f01da0bc6467102c75a7300fd360fd5d84906c873f"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004d2b0c7c3a99cca2ea12c3b9b644c7445a6e302828eac9b4361f4b32fac8dd4aa4c5c88f01da0bc6467102c75a7300fd360fd5d84906c873f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE0rDHw6mcyi6hLDubZEx0RabjAoKOrJtD\nYfSzL6yN1KpMXIjwHaC8ZGcQLHWnMA/TYP1dhJBshz8=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 424,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c3fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e1520",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "047539822e2a72ffbc49d09c4e36e1f87724459e09af0c8961da93560e6501db30532e6b7d4ebadf8535fc194fa0f5eb518c6a096b64e2329c",
|
|
"wx" : "7539822e2a72ffbc49d09c4e36e1f87724459e09af0c8961da93560e",
|
|
"wy" : "6501db30532e6b7d4ebadf8535fc194fa0f5eb518c6a096b64e2329c"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00047539822e2a72ffbc49d09c4e36e1f87724459e09af0c8961da93560e6501db30532e6b7d4ebadf8535fc194fa0f5eb518c6a096b64e2329c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEdTmCLipy/7xJ0JxONuH4dyRFngmvDIlh\n2pNWDmUB2zBTLmt9TrrfhTX8GU+g9etRjGoJa2TiMpw=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 425,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d0096dafb0d7540b93b5790327082635cd8895e1e799d5d19f92b594056",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04d418ab714ac5739689c5205e03d83bd2295e628c56bdcb11dba398572ffe804df4eacdf4aa6a606dcacbed7ca7ceb030affb23204766b2ef",
|
|
"wx" : "00d418ab714ac5739689c5205e03d83bd2295e628c56bdcb11dba39857",
|
|
"wy" : "2ffe804df4eacdf4aa6a606dcacbed7ca7ceb030affb23204766b2ef"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004d418ab714ac5739689c5205e03d83bd2295e628c56bdcb11dba398572ffe804df4eacdf4aa6a606dcacbed7ca7ceb030affb23204766b2ef",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE1BircUrFc5aJxSBeA9g70ileYoxWvcsR\n26OYVy/+gE306s30qmpgbcrL7XynzrAwr/sjIEdmsu8=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 426,
|
|
"comment" : "point duplication during verification",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00c44503dae85dd5210780f02928b3d927171c578f8603d16b240663c7021d00929791de84e683efadb3c734611661858dd3fb2de7c172c4be86f99f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04d418ab714ac5739689c5205e03d83bd2295e628c56bdcb11dba39857d0017fb20b15320b55959f923534128258314fcf5004dcdfb8994d12",
|
|
"wx" : "00d418ab714ac5739689c5205e03d83bd2295e628c56bdcb11dba39857",
|
|
"wy" : "00d0017fb20b15320b55959f923534128258314fcf5004dcdfb8994d12"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004d418ab714ac5739689c5205e03d83bd2295e628c56bdcb11dba39857d0017fb20b15320b55959f923534128258314fcf5004dcdfb8994d12",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE1BircUrFc5aJxSBeA9g70ileYoxWvcsR\n26OYV9ABf7ILFTILVZWfkjU0EoJYMU/PUATc37iZTRI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 427,
|
|
"comment" : "duplication bug",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00c44503dae85dd5210780f02928b3d927171c578f8603d16b240663c7021d00929791de84e683efadb3c734611661858dd3fb2de7c172c4be86f99f",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "041a2af9adceaf1194a9bcd9004234c8c297ca815e55bb174e3f97c252a9f33a6f95d7b3504c26601d3ecdb63ba8d973d29ac1d9e1a0011a90",
|
|
"wx" : "1a2af9adceaf1194a9bcd9004234c8c297ca815e55bb174e3f97c252",
|
|
"wy" : "00a9f33a6f95d7b3504c26601d3ecdb63ba8d973d29ac1d9e1a0011a90"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00041a2af9adceaf1194a9bcd9004234c8c297ca815e55bb174e3f97c252a9f33a6f95d7b3504c26601d3ecdb63ba8d973d29ac1d9e1a0011a90",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEGir5rc6vEZSpvNkAQjTIwpfKgV5VuxdO\nP5fCUqnzOm+V17NQTCZgHT7Ntjuo2XPSmsHZ4aABGpA=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 428,
|
|
"comment" : "comparison with point at infinity ",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c33333333333333333333333333330486f9be9672d0c5d50ddf45a20c",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "04325edc76c5951be611525635c1dd49b045aefe0e45878112ecb26cc3c6c15959c1e07654a4e50a12dde97c3487aff252dcf351a5655312f7",
|
|
"wx" : "325edc76c5951be611525635c1dd49b045aefe0e45878112ecb26cc3",
|
|
"wy" : "00c6c15959c1e07654a4e50a12dde97c3487aff252dcf351a5655312f7"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004325edc76c5951be611525635c1dd49b045aefe0e45878112ecb26cc3c6c15959c1e07654a4e50a12dde97c3487aff252dcf351a5655312f7",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEMl7cdsWVG+YRUlY1wd1JsEWu/g5Fh4ES\n7LJsw8bBWVnB4HZUpOUKEt3pfDSHr/JS3PNRpWVTEvc=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 429,
|
|
"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" : "04eeaa34a87314da6b7bcc3a1d01a7d1675f9e4f022cc714468985c471e4f114b77bf8bbfff1de18f4ba07dda493092c082b6896959490a3fa",
|
|
"wx" : "00eeaa34a87314da6b7bcc3a1d01a7d1675f9e4f022cc714468985c471",
|
|
"wy" : "00e4f114b77bf8bbfff1de18f4ba07dda493092c082b6896959490a3fa"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004eeaa34a87314da6b7bcc3a1d01a7d1675f9e4f022cc714468985c471e4f114b77bf8bbfff1de18f4ba07dda493092c082b6896959490a3fa",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE7qo0qHMU2mt7zDodAafRZ1+eTwIsxxRG\niYXEceTxFLd7+Lv/8d4Y9LoH3aSTCSwIK2iWlZSQo/o=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 430,
|
|
"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" : "0495738b4384208283c40829f189123544a2d64c5e3c71a5ae9f837bb2e18b54aa8c83c8b1c5b5aa4025cbadbdebc1497415289035e00deea4",
|
|
"wx" : "0095738b4384208283c40829f189123544a2d64c5e3c71a5ae9f837bb2",
|
|
"wy" : "00e18b54aa8c83c8b1c5b5aa4025cbadbdebc1497415289035e00deea4"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000495738b4384208283c40829f189123544a2d64c5e3c71a5ae9f837bb2e18b54aa8c83c8b1c5b5aa4025cbadbdebc1497415289035e00deea4",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAElXOLQ4QggoPECCnxiRI1RKLWTF48caWu\nn4N7suGLVKqMg8ixxbWqQCXLrb3rwUl0FSiQNeAN7qQ=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 431,
|
|
"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" : "045c1fd70e0a05cca778551cc444a199ac7aaeda0ef4a4ec59a463cdb0034688215aca01858366ad8439b17c24831e944ff491c791a27b9c22",
|
|
"wx" : "5c1fd70e0a05cca778551cc444a199ac7aaeda0ef4a4ec59a463cdb0",
|
|
"wy" : "034688215aca01858366ad8439b17c24831e944ff491c791a27b9c22"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00045c1fd70e0a05cca778551cc444a199ac7aaeda0ef4a4ec59a463cdb0034688215aca01858366ad8439b17c24831e944ff491c791a27b9c22",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEXB/XDgoFzKd4VRzERKGZrHqu2g70pOxZ\npGPNsANGiCFaygGFg2athDmxfCSDHpRP9JHHkaJ7nCI=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 432,
|
|
"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" : "0412a5ad5e81db166b059a629e027a354c39130d3f8231be574d4c83778fbf2ccd55ec9d0c448629df99ce8f585bbe6bb8d0c53e9852b6ed51",
|
|
"wx" : "12a5ad5e81db166b059a629e027a354c39130d3f8231be574d4c8377",
|
|
"wy" : "008fbf2ccd55ec9d0c448629df99ce8f585bbe6bb8d0c53e9852b6ed51"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000412a5ad5e81db166b059a629e027a354c39130d3f8231be574d4c83778fbf2ccd55ec9d0c448629df99ce8f585bbe6bb8d0c53e9852b6ed51",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEEqWtXoHbFmsFmmKeAno1TDkTDT+CMb5X\nTUyDd4+/LM1V7J0MRIYp35nOj1hbvmu40MU+mFK27VE=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 433,
|
|
"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" : "04d00c4d79b31dc6b3c8f06e65b721299226165cfd12ee11238b2f4563d8c4f0808fdbd9489c33410e44167e0861d415f7a591ea54ca012e85",
|
|
"wx" : "00d00c4d79b31dc6b3c8f06e65b721299226165cfd12ee11238b2f4563",
|
|
"wy" : "00d8c4f0808fdbd9489c33410e44167e0861d415f7a591ea54ca012e85"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004d00c4d79b31dc6b3c8f06e65b721299226165cfd12ee11238b2f4563d8c4f0808fdbd9489c33410e44167e0861d415f7a591ea54ca012e85",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE0AxNebMdxrPI8G5ltyEpkiYWXP0S7hEj\niy9FY9jE8ICP29lInDNBDkQWfghh1BX3pZHqVMoBLoU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 434,
|
|
"comment" : "extreme value for k",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021c0eb10e5ab95facded4061029d63a46f46f12947411f2ea561a592057",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"uncompressed" : "0487eb155f608a298089fbe354de53f0eb62408d71a2434af39365bf34769fc52cdf3e44bbeaa3e3f4a69ee09f30455fde5cad5b74d963ce65",
|
|
"wx" : "0087eb155f608a298089fbe354de53f0eb62408d71a2434af39365bf34",
|
|
"wy" : "769fc52cdf3e44bbeaa3e3f4a69ee09f30455fde5cad5b74d963ce65"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000487eb155f608a298089fbe354de53f0eb62408d71a2434af39365bf34769fc52cdf3e44bbeaa3e3f4a69ee09f30455fde5cad5b74d963ce65",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEh+sVX2CKKYCJ++NU3lPw62JAjXGiQ0rz\nk2W/NHafxSzfPkS76qPj9Kae4J8wRV/eXK1bdNljzmU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 435,
|
|
"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" : "04041c247920c6f0eef4eea6c810896540f47fa471cdd119d23515ebf121e3e6e268f851723dc9e51f9ea24882da640fa1134081e3e2c72715",
|
|
"wx" : "041c247920c6f0eef4eea6c810896540f47fa471cdd119d23515ebf1",
|
|
"wy" : "21e3e6e268f851723dc9e51f9ea24882da640fa1134081e3e2c72715"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004041c247920c6f0eef4eea6c810896540f47fa471cdd119d23515ebf121e3e6e268f851723dc9e51f9ea24882da640fa1134081e3e2c72715",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEBBwkeSDG8O707qbIEIllQPR/pHHN0RnS\nNRXr8SHj5uJo+FFyPcnlH56iSILaZA+hE0CB4+LHJxU=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 436,
|
|
"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" : "04e06a7de3aa9e49fe991d85b26b3b89c25def4e506e11de18b9825d518b489f035ec18bb640faacb3eca5bd1d58bea6c1862c6f87e1ff3be0",
|
|
"wx" : "00e06a7de3aa9e49fe991d85b26b3b89c25def4e506e11de18b9825d51",
|
|
"wy" : "008b489f035ec18bb640faacb3eca5bd1d58bea6c1862c6f87e1ff3be0"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004e06a7de3aa9e49fe991d85b26b3b89c25def4e506e11de18b9825d518b489f035ec18bb640faacb3eca5bd1d58bea6c1862c6f87e1ff3be0",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE4Gp946qeSf6ZHYWyazuJwl3vTlBuEd4Y\nuYJdUYtInwNewYu2QPqss+ylvR1YvqbBhixvh+H/O+A=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 437,
|
|
"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" : "040955655bc10a3e78b654df6be0edb3c6ba113fbf88eb47f01c0569477b40cf89277ced54ea7f2fe9e8e04557183a7d07d589a1644efd5440",
|
|
"wx" : "0955655bc10a3e78b654df6be0edb3c6ba113fbf88eb47f01c056947",
|
|
"wy" : "7b40cf89277ced54ea7f2fe9e8e04557183a7d07d589a1644efd5440"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a00040955655bc10a3e78b654df6be0edb3c6ba113fbf88eb47f01c0569477b40cf89277ced54ea7f2fe9e8e04557183a7d07d589a1644efd5440",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAECVVlW8EKPni2VN9r4O2zxroRP7+I60fw\nHAVpR3tAz4knfO1U6n8v6ejgRVcYOn0H1YmhZE79VEA=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 438,
|
|
"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" : "04fdff56cf6cb681401d842887465075a70353dcaf47aa5a34a61d8e6419f711d5c13ab733b0964b3b0d6fce8932616010db10ee367356b526",
|
|
"wx" : "00fdff56cf6cb681401d842887465075a70353dcaf47aa5a34a61d8e64",
|
|
"wy" : "19f711d5c13ab733b0964b3b0d6fce8932616010db10ee367356b526"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a0004fdff56cf6cb681401d842887465075a70353dcaf47aa5a34a61d8e6419f711d5c13ab733b0964b3b0d6fce8932616010db10ee367356b526",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE/f9Wz2y2gUAdhCiHRlB1pwNT3K9Hqlo0\nph2OZBn3EdXBOrczsJZLOw1vzokyYWAQ2xDuNnNWtSY=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 439,
|
|
"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" : "0412bcb8a159d6131aa2082502e755879be6c818d5b559783ba03a026bab5ff146f7e829a300df33ee13b4d846e99f2f6b807b479772cb8e54",
|
|
"wx" : "12bcb8a159d6131aa2082502e755879be6c818d5b559783ba03a026b",
|
|
"wy" : "00ab5ff146f7e829a300df33ee13b4d846e99f2f6b807b479772cb8e54"
|
|
},
|
|
"publicKeyDer" : "304e301006072a8648ce3d020106052b81040021033a000412bcb8a159d6131aa2082502e755879be6c818d5b559783ba03a026bab5ff146f7e829a300df33ee13b4d846e99f2f6b807b479772cb8e54",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEEry4oVnWExqiCCUC51WHm+bIGNW1WXg7\noDoCa6tf8Ub36CmjAN8z7hO02Ebpny9rgHtHl3LLjlQ=\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 440,
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 441,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00c492aebe9f1b702c6747fbd016604d49ad6beb2c57a29c0587bb76a0021c249249249249249249249249249227ce201a6b76951f982e7ae89851",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 442,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3b6d514160e48fd398b8042fe99ec959334d0511bc3a8d3fd4a0b39d021c249249249249249249249249249227ce201a6b76951f982e7ae89851",
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 443,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00c492aebe9f1b702c6747fbd016604d49ad6beb2c57a29c0587bb76a0021c249249249249249249249249249227ce201a6b76951f982e7ae89851",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 444,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c3b6d514160e48fd398b8042fe99ec959334d0511bc3a8d3fd4a0b39d021c249249249249249249249249249227ce201a6b76951f982e7ae89851",
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 445,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c7af6daadc4a6af5dd38ae2119ec81993557d17db1fd5d766e43ad8da021c5b4174b6d46c34a660ad3bbd5ced33a758b6398dac06a719175658e4",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 446,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d0092b99c895946bef841a94580295f17d0d6c9eeb1f84439f1ff78dafa021c53699fd87be53d5b4907b807987820b1fcf66557ac9782aea9822a21",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 447,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c35bd18e1d9e78ff5e3d4d64d4c6dbb91e2df7da5e85478b218991152021d00dedc629bfc14089284e425cf38a95486b833c0bbba942487f35f20e9",
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 448,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c12a0e87f136b7e2ab561e10e182714334141ee18c2a8c8898aaa4877021c01c98bb4a650ad523d22671403681405cbc29da48a206175837dae3f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 449,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00c0929ef2e5b2ac9134045c626ad3e483bcb43a31eecf8efdf34e54c4021c5c9b4ec1da3727e9b7e7a1064fc3ef7788fe4c66d15bfb6a00e0f265",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 450,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00b91d7d42f8b7f0f859ed5d5ce27a26b396c65f1c94472d45915d5160021d00ed0b53d90fd216b388ec8a35e6881d2cb997eb4e27ee3263996a3dab",
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 451,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00fd7ec734a7f85d2ba2ad6c42c2084843629e3fabeece87a95202db76021c3aac5ca6a2dd3dcf3022e2ddf4ca965de3f87f3959231e4ad1b8eb7f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 452,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c1c9fa93684709266cce10631b0a7f9ffde2df14572c38ad5515ea354021d009f679137acd77f7de0afd5b620cdb659b1356f72335eaf8a5fcd0e5a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 453,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c7d027e33550d6a4c7096f7bf03d8872b0d5ec6109fa4bbc600d1ed5d021d00ee7440357e357fc40758818efa1cbb7b648114b9cd1bc20f6a270506",
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 454,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00fcbb2b368edbc29bf63a63e3b63b1a69cdcfd1db995b516aa287caae021c4f499c5dc2adce2e73810e2be744ab2f873ef46063abc2e224f91947",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 455,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c3f6df0469ba5f12143450ad023815fb996c5defdf4c88bcac2c806f6021d0085c1114f09af5f89153d50a8f5e56cb735d44f093d8421c0d89e8d39",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 456,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c7787b9258d943e97d4400894955ef603bada2da2f9b30c0d877a8303021d00d107407a7f89ba0d3b8cc0e5a339c25b99db2eb00a263183313c7b6c",
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 457,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00b5a775113cf7bc655ce0ea921e463f381813bdd73c54acec4f498dcc021c2439752282708235e25de7b8de41cf6ca16e889c4199850d0721743e",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 458,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00c2373d71c23a028d0f0eae4b2f2ce2c41b90f5f16b2c6073d7378124021c1265ca64e3bcd4f8252e84099cbccd884a5dee40a3928ccfffb8adea",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 459,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c1d957ade04865e36caa19d74fb8379b1b033ee28596c434d4af03555021c559587fbee1101253f1e2928664b476cbfbf0ab07362ce123ce5eed2",
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 460,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c031a85ca6ac2cc0808a4adf3611b716bb1bfac0ec9db568bb83e6220021d00e4d7c1fea1561266da6b1a0a073319e25f6766600b1dffb2ec30baa8",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 461,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00a8c61b7f01d978079790817645279b4938ee577f0ab253bfc7d0d027021c562a7e359632bafde725ec5d9e90589f8a192285d4a424e53be8a664",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 462,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00fdeb190dc82533fd62d660cb0ece659f7e5d3e9c2b972c67b8b648fc021c250e0cec4c1a9559f297e6865e310ba5d6ee118abf276f60e8077fc9",
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 463,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00ace06194c9f473793c2b94e47a6cece86cf1c5d5409794f3d364f723021d00a70f596107f46dfeb2b80e66a4f5474d71e60d95e424f5e3e653e703",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 464,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c61e253521d9e64f80c21efc6bdb82e264930685bb449a9855f7ebf67021c33e51949f45e684f057c204239215b7bad0f46c41e348f3e98ae3485",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 465,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00f8899e5a19999562de9a59f629130c2911f9737a8ae9c78752397868021d00f5ce205b8bc48fd8e83c7f7e266d49f702af3e7aabca9a35e641f2da",
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 466,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00de4af28c64f6a7d149a687900c064c806b9b2905ae10048078ba42d6021c72bd0f68774a6250c1da2e76b8985ba7ca7f78d845e67af625940408",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 467,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00efba6ae18855971a30335e3f967eb0a797e38589f985eeb3c6391198021c12742bf695911e086704aeeabb2ec94749a313b51bc9082eeb81e919",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 468,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c43090a95c9a99cb3b0f48fe912836ebfc5062625ce989d8edd43ca77021c30ec3a1744a6933953145ce6bed7f1dc9fe4720de4c6d3f152b24ebb",
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 469,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c45876d78a6bd83a0c05f552b0497e945ce5780d861bc213dd2987e9f021c5053fc34abbfe5df3ee7dcc704504cb9f7d3d9737e3003bad58d44e8",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 470,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00faaa969ca2f59de6002230e618aee30f411c7c88c9b0576f1e23eef7021d00ec79f82f458e7e9d264cb28f227b13954dcd217b3e5a2d17962e5790",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 471,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c34c58ad501b5f7a480e6e2cace1923ca80262d8fdc90c0e8bb9c73cd021c6d2cc05ff7649764728fbe739cb952fa51df1d5ac81a43eed03d7b4a",
|
|
"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" : "SHAKE128",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 472,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d009ffda27e10a3ecbe8df93994118c0fefa69420d8700c42afe686fee2021c54d418d35002049cf320634cb75ba99afa61cb427bf9bf8d163ce9c5",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 473,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00c1ea26e16859065c56481dbfa43a7f3b105af92b568eabcb4fd4f297021d008dacc0aad449c97ca3f5c9c0faae022acf58b50e6bb2d94dbc7614f4",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 474,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00b21b7db16470f793e3d8bef011abf4b7489d5b8b23381fa48570e3a4021c1460f760ed02cb0818b1acf0db90ad0088fe748d75a4e4826260cd07",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|