6253 lines
330 KiB
JSON
6253 lines
330 KiB
JSON
{
|
|
"algorithm" : "ECDSA",
|
|
"schema" : "ecdsa_verify_schema.json",
|
|
"generatorVersion" : "0.9rc5",
|
|
"numberOfTests" : 459,
|
|
"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."
|
|
},
|
|
"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" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0429bdb76d5fa741bfd70233cb3a66cc7d44beb3b0663d92a8136650478bcefb61ef182e155a54345a5e8e5e88f064e5bc9a525ab7f764dad3dae1468c2b419f3b62b9ba917d5e8c4fb1ec47404a3fc76474b2713081be9db4c00e043ada9fc4a3",
|
|
"wx" : "29bdb76d5fa741bfd70233cb3a66cc7d44beb3b0663d92a8136650478bcefb61ef182e155a54345a5e8e5e88f064e5bc",
|
|
"wy" : "009a525ab7f764dad3dae1468c2b419f3b62b9ba917d5e8c4fb1ec47404a3fc76474b2713081be9db4c00e043ada9fc4a3"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000429bdb76d5fa741bfd70233cb3a66cc7d44beb3b0663d92a8136650478bcefb61ef182e155a54345a5e8e5e88f064e5bc9a525ab7f764dad3dae1468c2b419f3b62b9ba917d5e8c4fb1ec47404a3fc76474b2713081be9db4c00e043ada9fc4a3",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEKb23bV+nQb/XAjPLOmbMfUS+s7BmPZKo\nE2ZQR4vO+2HvGC4VWlQ0Wl6OXojwZOW8mlJat/dk2tPa4UaMK0GfO2K5upF9XoxP\nsexHQEo/x2R0snEwgb6dtMAOBDran8Sj\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "",
|
|
"sig" : "3065023100d670d637fcb2da85a22f74ac92939ee2ee5e7d1bb8d6d0afd6f1ef0f883a43872ba285430d4df43f93784e1cd6e6f63702303774da5d699f6bd62b329376e3b6d3612abc67cb945a109d506d3fde45f4c33893c4428250ef6ccfd6e417400344eabb",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 2,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "4d7367",
|
|
"sig" : "3065023100857f3cd339be8d0a67a5e6cacd5fd267e666b610b660fcd6ac053f04d8e4606777b825327a00796de9d7d77ed846f0b502306fa2b6853764d17480de64c271f2f8b2d22da6289cfda991f12fbea2b177903cdb3e9bdec99cbfce079f6b3a381595e5",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 3,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100a95f66dadda96af63a18d8cd32cb6c1178a4a50e64dcd1ef29e6e10d4fc6f58923b66f9d93f424bfc5d0da8ac546b07e023100c8fcd88a1d86ee74774031bc938d8607a9993e9c4c3c2d77066a1a929857a8a71b711a98942bbda1e17e93ce2f10cdcf",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 4,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "3066023100d51fc2851f3f304d75fbfcbf153a8203f48751403abb50d0f5d55e0a6eed96adbf14a68dce9e38d45a163e24a7c7249e023100960d4e0f9e19e5a069e359622bb01a9ea2d5eaed385b2d1db114a0c3b3372d3083abd2a648e9cf65a209c26b22cfb329",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "042da57dda1089276a543f9ffdac0bff0d976cad71eb7280e7d9bfd9fee4bdb2f20f47ff888274389772d98cc5752138aa4b6d054d69dcf3e25ec49df870715e34883b1836197d76f8ad962e78f6571bbc7407b0d6091f9e4d88f014274406174f",
|
|
"wx" : "2da57dda1089276a543f9ffdac0bff0d976cad71eb7280e7d9bfd9fee4bdb2f20f47ff888274389772d98cc5752138aa",
|
|
"wy" : "4b6d054d69dcf3e25ec49df870715e34883b1836197d76f8ad962e78f6571bbc7407b0d6091f9e4d88f014274406174f"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200042da57dda1089276a543f9ffdac0bff0d976cad71eb7280e7d9bfd9fee4bdb2f20f47ff888274389772d98cc5752138aa4b6d054d69dcf3e25ec49df870715e34883b1836197d76f8ad962e78f6571bbc7407b0d6091f9e4d88f014274406174f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAELaV92hCJJ2pUP5/9rAv/DZdsrXHrcoDn\n2b/Z/uS9svIPR/+IgnQ4l3LZjMV1ITiqS20FTWnc8+JexJ34cHFeNIg7GDYZfXb4\nrZYuePZXG7x0B7DWCR+eTYjwFCdEBhdP\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 5,
|
|
"comment" : "signature malleability",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199023100c1f76a498ed0346f9408ed7c781c375dcad7dd1a1e31ed9db8cf6e9ef629f3245cab89992728e8a222cdeaf035059adf",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 6,
|
|
"comment" : "Legacy: ASN encoding of r misses leading 0",
|
|
"flags" : [
|
|
"MissingZero"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30640230a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 7,
|
|
"comment" : "valid",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 8,
|
|
"comment" : "length of sequence [r, s] uses long form encoding",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308165023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 9,
|
|
"comment" : "length of sequence [r, s] contains a leading 0",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30820065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 10,
|
|
"comment" : "length of sequence [r, s] uses 102 instead of 101",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 11,
|
|
"comment" : "length of sequence [r, s] uses 100 instead of 101",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 12,
|
|
"comment" : "uint32 overflow in length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30850100000065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 13,
|
|
"comment" : "uint64 overflow in length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3089010000000000000065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 14,
|
|
"comment" : "length of sequence [r, s] = 2**31 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30847fffffff023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 15,
|
|
"comment" : "length of sequence [r, s] = 2**31",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308480000000023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 16,
|
|
"comment" : "length of sequence [r, s] = 2**32 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3084ffffffff023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 17,
|
|
"comment" : "length of sequence [r, s] = 2**40 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3085ffffffffff023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 18,
|
|
"comment" : "length of sequence [r, s] = 2**64 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3088ffffffffffffffff023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 19,
|
|
"comment" : "incorrect length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30ff023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 20,
|
|
"comment" : "replaced sequence [r, s] by an indefinite length tag without termination",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"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" : "3067023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 24,
|
|
"comment" : "prepending 0's to sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30670000023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 25,
|
|
"comment" : "appending unused 0's to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 26,
|
|
"comment" : "appending null value to sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3067023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 27,
|
|
"comment" : "prepending garbage to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306a4981773065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 28,
|
|
"comment" : "prepending garbage to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306925003065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 29,
|
|
"comment" : "appending garbage to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30673065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940004deadbeef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 30,
|
|
"comment" : "including undefined tags",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306daa00bb00cd003065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 31,
|
|
"comment" : "including undefined tags",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306d2239aa00bb00cd00023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 32,
|
|
"comment" : "including undefined tags",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306d023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1992238aa00bb00cd0002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"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" : "306baa02aabb3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 35,
|
|
"comment" : "using composition with indefinite length for sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30803065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 36,
|
|
"comment" : "using composition with wrong tag for sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30803165023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940000",
|
|
"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" : "2e65023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 39,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "2f65023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 40,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3165023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 41,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3265023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 42,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "ff65023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"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" : "306930010230643100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 45,
|
|
"comment" : "truncated sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 46,
|
|
"comment" : "truncated sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30643100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 47,
|
|
"comment" : "sequence [r, s] of size 4198 to check for overflows",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30821066023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 48,
|
|
"comment" : "indefinite length",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 49,
|
|
"comment" : "indefinite length with truncated delimiter",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e9400",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 50,
|
|
"comment" : "indefinite length with additional element",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e9405000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 51,
|
|
"comment" : "indefinite length with truncated element",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94060811220000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 52,
|
|
"comment" : "indefinite length with garbage",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940000fe02beef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 53,
|
|
"comment" : "indefinite length with nonempty EOC",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3080023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940002beef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 54,
|
|
"comment" : "prepend empty sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30673000023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 55,
|
|
"comment" : "append empty sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3067023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e943000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 56,
|
|
"comment" : "append zero",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3068023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 57,
|
|
"comment" : "append garbage with high tag number",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3068023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94bf7f00",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 58,
|
|
"comment" : "append null with explicit tag",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3069023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94a0020500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 59,
|
|
"comment" : "append null with implicit tag",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3067023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94a000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 60,
|
|
"comment" : "sequence of sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30673065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 61,
|
|
"comment" : "truncated sequence: removed last 1 elements",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3033023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 62,
|
|
"comment" : "repeating element in sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308197023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e9402303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 63,
|
|
"comment" : "flipped bit 0 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306300a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19802303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 64,
|
|
"comment" : "flipped bit 32 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306300a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395815e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 65,
|
|
"comment" : "flipped bit 48 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306300a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36385814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 66,
|
|
"comment" : "flipped bit 64 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306300a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754a36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 67,
|
|
"comment" : "length of r uses long form encoding",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306602813100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 68,
|
|
"comment" : "length of r contains a leading 0",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30670282003100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 69,
|
|
"comment" : "length of r uses 50 instead of 49",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023200a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 70,
|
|
"comment" : "length of r uses 48 instead of 49",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023000a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 71,
|
|
"comment" : "uint32 overflow in length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306a0285010000003100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 72,
|
|
"comment" : "uint64 overflow in length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306e028901000000000000003100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 73,
|
|
"comment" : "length of r = 2**31 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306902847fffffff00a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 74,
|
|
"comment" : "length of r = 2**31",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306902848000000000a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 75,
|
|
"comment" : "length of r = 2**32 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30690284ffffffff00a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 76,
|
|
"comment" : "length of r = 2**40 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306a0285ffffffffff00a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 77,
|
|
"comment" : "length of r = 2**64 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306d0288ffffffffffffffff00a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 78,
|
|
"comment" : "incorrect length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502ff00a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 79,
|
|
"comment" : "replaced r by an indefinite length tag without termination",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065028000a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 80,
|
|
"comment" : "removing r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303202303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 81,
|
|
"comment" : "lonely integer tag",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30330202303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 82,
|
|
"comment" : "lonely integer tag",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3034023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 83,
|
|
"comment" : "appending 0's to r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3067023300a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199000002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 84,
|
|
"comment" : "prepending 0's to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30670233000000a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 85,
|
|
"comment" : "appending unused 0's to r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3067023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199000002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 86,
|
|
"comment" : "appending null value to r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3067023300a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199050002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 87,
|
|
"comment" : "prepending garbage to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306a2236498177023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 88,
|
|
"comment" : "prepending garbage to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306922352500023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 89,
|
|
"comment" : "appending garbage to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306d2233023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1990004deadbeef02303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 90,
|
|
"comment" : "truncated length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3034028102303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 91,
|
|
"comment" : "including undefined tags to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306b2237aa02aabb023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 92,
|
|
"comment" : "using composition with indefinite length for r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30692280023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199000002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 93,
|
|
"comment" : "using composition with wrong tag for r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30692280033100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199000002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 94,
|
|
"comment" : "Replacing r with NULL",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3034050002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 95,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065003100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 96,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065013100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 97,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065033100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 98,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065043100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 99,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065ff3100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 100,
|
|
"comment" : "dropping value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3034020002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 101,
|
|
"comment" : "using composition for r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306922350201000230a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 102,
|
|
"comment" : "modifying first byte of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023102a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 103,
|
|
"comment" : "modifying last byte of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb11902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 104,
|
|
"comment" : "truncated r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023000a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb102303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 105,
|
|
"comment" : "r of size 4146 to check for overflows",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308210680282103200a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 106,
|
|
"comment" : "leading ff in r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30660232ff00a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 107,
|
|
"comment" : "replaced r by infinity",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303509018002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 108,
|
|
"comment" : "replacing r with zero",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303502010002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 109,
|
|
"comment" : "flipped bit 0 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3063023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1993e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e95",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 110,
|
|
"comment" : "flipped bit 32 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3063023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1993e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7b97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 111,
|
|
"comment" : "flipped bit 48 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3063023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1993e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1f2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 112,
|
|
"comment" : "flipped bit 64 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3063023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1993e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed9ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 113,
|
|
"comment" : "length of s uses long form encoding",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1990281303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 114,
|
|
"comment" : "length of s contains a leading 0",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3067023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199028200303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 115,
|
|
"comment" : "length of s uses 49 instead of 48",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902313e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 116,
|
|
"comment" : "length of s uses 47 instead of 48",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199022f3e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 117,
|
|
"comment" : "uint32 overflow in length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306a023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199028501000000303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 118,
|
|
"comment" : "uint64 overflow in length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306e023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902890100000000000000303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 119,
|
|
"comment" : "length of s = 2**31 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3069023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902847fffffff3e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 120,
|
|
"comment" : "length of s = 2**31",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3069023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1990284800000003e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 121,
|
|
"comment" : "length of s = 2**32 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3069023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1990284ffffffff3e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 122,
|
|
"comment" : "length of s = 2**40 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306a023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1990285ffffffffff3e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 123,
|
|
"comment" : "length of s = 2**64 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306d023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1990288ffffffffffffffff3e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 124,
|
|
"comment" : "incorrect length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902ff3e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 125,
|
|
"comment" : "replaced s by an indefinite length tag without termination",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902803e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 126,
|
|
"comment" : "appending 0's to s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3067023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902323e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 127,
|
|
"comment" : "prepending 0's to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3067023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199023200003e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 128,
|
|
"comment" : "appending null value to s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3067023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902323e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 129,
|
|
"comment" : "prepending garbage to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306a023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199223549817702303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 130,
|
|
"comment" : "prepending garbage to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3069023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1992234250002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 131,
|
|
"comment" : "appending garbage to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306d023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199223202303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940004deadbeef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 132,
|
|
"comment" : "truncated length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1990281",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 133,
|
|
"comment" : "including undefined tags to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306b023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1992236aa02aabb02303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 134,
|
|
"comment" : "using composition with indefinite length for s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3069023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199228002303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 135,
|
|
"comment" : "using composition with wrong tag for s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3069023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199228003303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 136,
|
|
"comment" : "Replacing s with NULL",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1990500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 137,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19900303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 138,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19901303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 139,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19903303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 140,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19904303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 141,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199ff303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 142,
|
|
"comment" : "dropping value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1990200",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 143,
|
|
"comment" : "using composition for s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3069023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199223402013e022f0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 144,
|
|
"comment" : "modifying first byte of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303c0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 145,
|
|
"comment" : "modifying last byte of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e14",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 146,
|
|
"comment" : "truncated s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199022f3e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 147,
|
|
"comment" : "truncated s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199022f0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 148,
|
|
"comment" : "s of size 4145 to check for overflows",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30821068023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199028210313e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 149,
|
|
"comment" : "leading ff in s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb1990231ff3e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 150,
|
|
"comment" : "replaced s by infinity",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199090180",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 151,
|
|
"comment" : "replacing s with zero",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb199020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 152,
|
|
"comment" : "replaced r by r + n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023101a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad42b7370a52226a14223d0c093c1ed1cc62325717fb333db0c02303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 153,
|
|
"comment" : "replaced r by r - n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30640230a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad49cacd5a139b84583739ca52f308bcdd0494d3eaa19a9882602303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 154,
|
|
"comment" : "replaced r by r + 256 * n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306602320100a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599a9bc75da517651d52bae5c4652a29e3f0382252c2e1ab98249902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 155,
|
|
"comment" : "replaced r by -r",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30650231ff5647cf40422f70d0e02a4bc4ba3c4daf42e3afaa67a6652b9befdcdcd2108c9d34494d1e86c38ab4c9c6a7eb19914e6702303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 156,
|
|
"comment" : "replaced r by n - r",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402305647cf40422f70d0e02a4bc4ba3c4daf42e3afaa67a6652b63532a5ec647ba7c8c635ad0cf74322fb6b2c155e65677da02303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 157,
|
|
"comment" : "replaced r by -n - r",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30650231fe5647cf40422f70d0e02a4bc4ba3c4daf42e3afaa67a6652bd48c8f5addd95ebddc2f3f6c3e12e339dcda8e804ccc24f402303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 158,
|
|
"comment" : "replaced r by r + 2**384",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023101a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 159,
|
|
"comment" : "replaced r by r + 2**448",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306d0239010000000000000000a9b830bfbdd08f2f1fd5b43b45c3b250bd1c505598599ad4641023232def7362cbb6b2e1793c754b36395814e66eb19902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 160,
|
|
"comment" : "replaced s by s + n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30650231013e0895b6712fcb906bf7128387e3c8a2352822e5e1ce1261d5f72c64f244689a538891cb6a386653b70a47e56484b80702303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 161,
|
|
"comment" : "replaced s by s - n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30650231ff3e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12624730916109d60cdba3547666d8d7175ddd32150fcafa652102303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 162,
|
|
"comment" : "replaced s by s + 256 * n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023201003e0895b6712fcb906bf7128387e3c8a2352822e5e1ce122971e160d7353b1a13157c3661d22f39c5b63799475ce9019402303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 163,
|
|
"comment" : "replaced s by -s",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30640230c1f76a498ed0346f9408ed7c781c375dcad7dd1a1e31ed9df16c211d01f2c54504917be6de78412735e1d1856840716c02303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 164,
|
|
"comment" : "replaced s by -n - s",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30650231fec1f76a498ed0346f9408ed7c781c375dcad7dd1a1e31ed9e2a08d39b0dbb9765ac776e3495c799ac48f5b81a9b7b47f902303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 165,
|
|
"comment" : "replaced s by s + 2**384",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30650231013e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e9402303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 166,
|
|
"comment" : "replaced s by s - 2**384",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30650231ff3e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e9402303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 167,
|
|
"comment" : "replaced s by s + 2**448",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306d02390100000000000000003e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e9402303e0895b6712fcb906bf7128387e3c8a2352822e5e1ce12620e93dee2fe0d3abafb6e84192187bed8ca1e2e7a97bf8e94",
|
|
"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" : "3036020100023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 172,
|
|
"comment" : "Signature with special case values r=0 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036020100023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 173,
|
|
"comment" : "Signature with special case values r=0 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036020100023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 174,
|
|
"comment" : "Signature with special case values r=0 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036020100023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 175,
|
|
"comment" : "Signature with special case values r=0 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036020100023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000",
|
|
"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" : "3036020101023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 180,
|
|
"comment" : "Signature with special case values r=1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036020101023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 181,
|
|
"comment" : "Signature with special case values r=1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036020101023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 182,
|
|
"comment" : "Signature with special case values r=1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036020101023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 183,
|
|
"comment" : "Signature with special case values r=1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036020101023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000",
|
|
"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" : "30360201ff023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 188,
|
|
"comment" : "Signature with special case values r=-1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30360201ff023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 189,
|
|
"comment" : "Signature with special case values r=-1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30360201ff023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 190,
|
|
"comment" : "Signature with special case values r=-1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30360201ff023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 191,
|
|
"comment" : "Signature with special case values r=-1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30360201ff023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 192,
|
|
"comment" : "Signature with special case values r=n and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 193,
|
|
"comment" : "Signature with special case values r=n and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 194,
|
|
"comment" : "Signature with special case values r=n and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc529730201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 195,
|
|
"comment" : "Signature with special case values r=n and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 196,
|
|
"comment" : "Signature with special case values r=n and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 197,
|
|
"comment" : "Signature with special case values r=n and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 198,
|
|
"comment" : "Signature with special case values r=n and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 199,
|
|
"comment" : "Signature with special case values r=n and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 200,
|
|
"comment" : "Signature with special case values r=n - 1 and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 201,
|
|
"comment" : "Signature with special case values r=n - 1 and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 202,
|
|
"comment" : "Signature with special case values r=n - 1 and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc529720201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 203,
|
|
"comment" : "Signature with special case values r=n - 1 and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 204,
|
|
"comment" : "Signature with special case values r=n - 1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 205,
|
|
"comment" : "Signature with special case values r=n - 1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 206,
|
|
"comment" : "Signature with special case values r=n - 1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 207,
|
|
"comment" : "Signature with special case values r=n - 1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 208,
|
|
"comment" : "Signature with special case values r=n + 1 and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 209,
|
|
"comment" : "Signature with special case values r=n + 1 and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 210,
|
|
"comment" : "Signature with special case values r=n + 1 and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc529740201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 211,
|
|
"comment" : "Signature with special case values r=n + 1 and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 212,
|
|
"comment" : "Signature with special case values r=n + 1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 213,
|
|
"comment" : "Signature with special case values r=n + 1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 214,
|
|
"comment" : "Signature with special case values r=n + 1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 215,
|
|
"comment" : "Signature with special case values r=n + 1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 216,
|
|
"comment" : "Signature with special case values r=p and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 217,
|
|
"comment" : "Signature with special case values r=p and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 218,
|
|
"comment" : "Signature with special case values r=p and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff0201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 219,
|
|
"comment" : "Signature with special case values r=p and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 220,
|
|
"comment" : "Signature with special case values r=p and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 221,
|
|
"comment" : "Signature with special case values r=p and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 222,
|
|
"comment" : "Signature with special case values r=p and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 223,
|
|
"comment" : "Signature with special case values r=p and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 224,
|
|
"comment" : "Signature with special case values r=p + 1 and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 225,
|
|
"comment" : "Signature with special case values r=p + 1 and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 226,
|
|
"comment" : "Signature with special case values r=p + 1 and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000001000000000201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 227,
|
|
"comment" : "Signature with special case values r=p + 1 and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 228,
|
|
"comment" : "Signature with special case values r=p + 1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 229,
|
|
"comment" : "Signature with special case values r=p + 1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52974",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 230,
|
|
"comment" : "Signature with special case values r=p + 1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 231,
|
|
"comment" : "Signature with special case values r=p + 1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000",
|
|
"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" : "3038023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973090380fe01",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 260,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=nan",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973090142",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 261,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=True",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973010101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 262,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=False",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973010100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 263,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=Null",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc529730500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 264,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=empyt UTF-8 string",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc529730c00",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 265,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=\"0\"",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc529730c0130",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 266,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=empty list",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc529733000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 267,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=list containing 0",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3038023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc529733003020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 268,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=0.25",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3038023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff090380fe01",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 269,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=nan",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff090142",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 270,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=True",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff010101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 271,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=False",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff010100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 272,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=Null",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff0500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 273,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=empyt UTF-8 string",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff0c00",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 274,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=\"0\"",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff0c0130",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 275,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=empty list",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff3000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 276,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=list containing 0",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3038023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff3003020100",
|
|
"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" : "3130343938",
|
|
"sig" : "3066023100ac042e13ab83394692019170707bc21dd3d7b8d233d11b651757085bdd5767eabbb85322984f14437335de0cdf565684023100eb4fdca338493686d519df6a7457abb18f48d0249cb9b7d539049b8c021e6cc1ce45c4594f18c210ceb030025f6cdbf4",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 296,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "343236343739373234",
|
|
"sig" : "3065023100975929c1c18f6535b6b21e355b7280775e46be07126af04de8e39086840fd66fa3e0628df5e86636cf24ff88156a8aaa02305169223a02ab84d89f29687397069f93a69595085c2ad8928695bbf409fc0fac803eb563c3b5afd16350928296b6e2a1",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 297,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "37313338363834383931",
|
|
"sig" : "3066023100ec749d0d9f1c4397caee8bdf13fe15609c01e3bf7013c0fec61de8b8105a91b50fa5517dc85579cf814530a8d007535302310095d0ab006017d3aff436f45f6334ce812a8706f0d15073afda9cb3ac0a617dbed1e67e8f8a1942ccbb1335f2a73fb8da",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 298,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130333539333331363638",
|
|
"sig" : "306402307b55d88ee033ad9f5ed40eb04c2be01ec132b2f0142f458b000266d0933cfe89b02230b23bac8cbbda51e131811261f702306aff261cf15f0d16bc45b7a9c45c6c64bcc81439476f83a884cbdd03144cd1664b9c2f0864dda4d743b5b0e2040b6401",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 299,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33393439343031323135",
|
|
"sig" : "30640230735143f5c366cfcab3538d90bfdcb030867fd14da07fa769b19bb83d21cabb1d3b57effc608f0e829b56f962cd8d3a8a023071da9bf0ab8032f3364a35c4c76497ac152eb2088f31e330d124f39195e99dc52b9173ab0167ea7ec50196e968898d5f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 300,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31333434323933303739",
|
|
"sig" : "3064023057c8e3316af46afbcd92e9328edf23aac8a39eee1f389e8092b7c0a44af82c98b3f82dd7196d0b6a5f0e8cf825d77b9a0230295e9b5ed2d0772be013206b642595cc6c54742121477327244c342f794aaa6f5c49eaa2647820ff0177ab06c933fc15",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 301,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33373036323131373132",
|
|
"sig" : "306402300986511c8d8fb8eabf38ee9db774f25a4ec6855f90db689127bbd300adbb5fccea23776b1c9d16f5a001338841344ce702303c2462e7e78b087d57be5b1d350142b57199b10f2162201bfbc7b2c87444eb7fdb6bec97c2a81eaea9b4bdefb095a60b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 302,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "333433363838373132",
|
|
"sig" : "3066023100e6cc1eba338d1129ef0323e275ec178c64add92bb1a6eb4b1a6772dd4d21f9c392f78ccc870b5404f9c7c37e54ef0a1b023100c2c310e2233c06e0661e08f02abad4c08de5ad44934ae2c82aafbd2e4ebe76bc73be3757e9006fd21d31f991341e1b44",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 303,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31333531353330333730",
|
|
"sig" : "306502310097f981449d986522566b9ca9d9eed191b0826090227801ff2551d86dd70ea5d43fb7d69fb3dd5e619221fd48f9fe790d023014fc61201682a3c7fd9f1e0567e32aa5a81bd5b06424bdcaaabc554b45e9ad6e96b566477994f5bb1a4d6f2cc7eedad4",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 304,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36353533323033313236",
|
|
"sig" : "306402307381be0f0ebdc1e7103e928468501aec1a2781497471d4a01451a4374ec754d888d03c21e4724e62e218b8662e645441023043bc6698e0853b0c3af0c4d3247e2668bd14b5d1efc0af47783a6347a07336c8c9e7ddaef59371c45949ad923a77c127",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 305,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31353634333436363033",
|
|
"sig" : "3065023100b0c84f4153134f38d5223ff689adafa8be0187b6f996b3a7e73bfba2cdf0c20a174bb8b53f636006de4530dbe6c955fa023064e07297c907d9e1d2af55460e791fc088ba9130be9547021087daafde1bf743472c3e1698510fdb921980c244d27722",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 306,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34343239353339313137",
|
|
"sig" : "3066023100f555cfa9c4af250e0d9738418588d0eb3419facb96040e8bb9270b2ee85affd50b5e9cc24dfa97699dd0c9ed54fa6f67023100f4221d01cb61e15476a0706c7d7e6a8ed6dd42d09979a728dd8c74cb56d8019dd9991ce4d9ac2c5d4c39947b7ed24941",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 307,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130393533323631333531",
|
|
"sig" : "306502305ac7fef863284650e2e2364b3f3084d5dd6660142719eacf512b2b0691597ffa55efd9b10ca9ce16503a381de08018c1023100d1e95c9b3391c0c6c65f290ee4bd536b7f76c1d38a10bf79f37bbcc313a0fda2ce6e21195572cff19c72fe014cd27d29",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 308,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "35393837333530303431",
|
|
"sig" : "3064023023af8731c5917a151967941f4789e824aa29f134a1d489ccdb42d56adbd2cd6ea40063fa8c3130d02434afedd4563da4023011984e2cd8e02e3a91e04776dad088bbec2e5a42236a1eff29482932e3f79f1d6ba1ad28eba984c340d961f33a5d94b2",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 309,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33343633303036383738",
|
|
"sig" : "3065023100828c2d20976e45f148c7db7d1d60f7f37e077a4032fa8a616ba507d4affc02f9eea6833d0dd68fc99644d68478967871023030fdebcf6efbc0f2844e59344a42e3397c006cd384781c2a63f8e878227cf276bb088376370119bafe2d8918cd2af5f9",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 310,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "39383137333230323837",
|
|
"sig" : "3065023100bae5e2b56187ddcc6040a9ac133181c93a0bde87cd2fe55c83898cc600ed0d28a2ebfe0d6cd6f56396ad7b105cb03b2902306dcb1b4604a334a60c7b31e4156ce8f0a5ff64b75c6d247bceb4c2dc303d6d1b26f38bd54b5e5ec92ba98909f4b1afdb",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 311,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33323232303431303436",
|
|
"sig" : "3066023100df27ad7f85d6d4844462d9888ea3944375d3e22cf25e38de58c8f20324c104ddf006fff2c9276f09efae862cf3591cc9023100cd87ee40f38b4defabf1a214e4dbeb009d2eab199d44aca7893cfa810d816484c1be562fcfb1993fd5cda00a119f5bb1",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 312,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36363636333037313034",
|
|
"sig" : "30660231008559ddc69f03c1d163fbba98e10a51f169c988a0aebeeca86694c396a478d98c3f2618aa06993aeb9dc646df8136ff52023100baa7939ec4bd412d3958e50ed2d201678d34b2a368f58cd84882647f881ffb907cbac5ef868da1b5dae5e54bee33d2bd",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 313,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31303335393531383938",
|
|
"sig" : "306402304536c3f6281e6286170084587d1d70654792c3a48aaa5138882634248cd2221939f8ee7fff0da299cbb329ed26de3b2b023033874deb77fa1c35ee217024130c853c71468fa44a0558b07d2c03cf3047280cca7752e80f44287144c1fcb7222c1659",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 314,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31383436353937313935",
|
|
"sig" : "306602310081e29b73bccb4c0af067ba7093970300a1db40a822ab830f47898ae2506707aa3523cb73eb753d3ed64e33164819c4d90231008f09293b9099bb08ccf46710ff00269a1285e87c12c3bbc3b94c3256d5dab415c5e53a1f6c96d85779fe7306605635ee",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 315,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33313336303436313839",
|
|
"sig" : "306602310086c6bc10ebbc30f550d70b4a5a728b07c4aff11a2210e03fb9149663065561fbdc7b343faf8333331762e6f91c8d61d802310095626bd31fffacc404ce0d25af14047fe13dfdfdd7b6cdaf3a7ad3f1bea88db11faa8022e6f645f8bf26b66ff5fb6067",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 316,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32363633373834323534",
|
|
"sig" : "30660231008ed8c97cfd78079f422711225c866943d10dd72c62fe3fb89000bc3f3f16ccda78943d27b5f2dfffde6b04880329c1e8023100cb62a92979aba5af7fc47d076f3c7913f579e84a419074bebbaf9b4f92aa0e7f24d6e7fae53f38a7bf06f3e3e1e4d533",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 317,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31363532313030353234",
|
|
"sig" : "3066023100e0c042b064728daadc7c51b703876f368543dc2bdc31473c3e76a84518954e01f34b3035ffaa73f30ba5008e5656d4b2023100ce862b3a290614d70a84f77e6f62ae583fc8de5739677072455e29216b8f4324a754617678ad84dd58c7cefc2048527f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 318,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "35373438303831363936",
|
|
"sig" : "3065023048a511fdf410b2cf3f1f8bf86d8a91a30771887fe72aa44eb726436f0c8e7dc27b66f5cac3f7b51ecff7c54f9d6f9c6a023100c2cf9a4af2f989c533e222b3b67c96a39aaeffb7d86cf0ea71e837b517eee76fca502d7feade878a49732aee75b71580",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 319,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36333433393133343638",
|
|
"sig" : "306502300dac46dae950896cc689b348c031ad9d776a4b9022d44b2225f02124c8ce2558dbae399c8d5e5d3a09eb3ea0c4f24ce1023100d057338639b25aa835a9889febe4e795967a22f9f6841ea973b892725778c443446e398441d2319210be996c1c5aa7e0",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 320,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31353431313033353938",
|
|
"sig" : "30660231008eab1877a7fefc207bd036be18306d6f05c55c3e164e0f5eec869304e72707e35a2fc1ab4cb9c85bbb34197c19beb31d0231008af62763f64f46abce9124ad211b13f8104e0034d205db50c1491c99eb478fefe4c3b590f2bb63173441548210a6cadb",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 321,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130343738353830313238",
|
|
"sig" : "3065023100e3f7ff3ce02eb4e0f05b64dbd206c73c016a675d83ca0fb4db2e5036015f9082a2c798d64d2a58ad831cf892b880ae9502305a8252381bbedb9f30c50560579c21e388bc02960ba5a891f9e28886c4f14d5fbe6549018793da91581d808a26e0faa1",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 322,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130353336323835353638",
|
|
"sig" : "30640230206aecd410ac6934780bcc8741ad0bc9970f0edf0485012c115c04e8a6eb9cb949106df4086d08e06d91de4110d3c106023026c1e68862189ce6bd1a065359efd2fd7381a81f113bdcfee743ff8eb9b4e9f19292be250b7971b8a8fe5d2bc512e51e",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 323,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "393533393034313035",
|
|
"sig" : "3065023030b3c484de8b08ba08923045777f4c7b980bafacba605e97dcf140ed1bc71601f4124d9c145d173d719ca73505bebd6e023100afe66045b7f7ce02b86603420ffcc168812d10f7531b300f6de6de3ac43543fe0df748441a62e6ec947f2efd2deac35f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 324,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "393738383438303339",
|
|
"sig" : "30650230530461b01e1f9098f2a85624193b50b41c14df312f6747580cb6ef9475799898a105b7c8e582d2de562b501977fc5c88023100875a323c291eb8a8a7197772a90dd6a9668e8392e507399968ae25a026ad0085277602b65deff5a386cd615641a89604",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 325,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33363130363732343432",
|
|
"sig" : "3065023100e0e498bcaea54c4fcd021e03e73fa11dde5065a7f6fb0c6a1218a8ddd79228de06d0c261be7dca047a30a092d03d10e302304e2dd4d03653313b3ba7fd140a09f7e3c59e2042b0d902700e63ca53c73d11a103d9efc987ef87d75586bc7e1a035136",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 326,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31303534323430373035",
|
|
"sig" : "306402303409654af038b6d1a9c09fceda39a3155fbf28a57e1df4c9e35064876455c2534af075b0e4d7960cacd23a0df9f42e2702305b8a3ccd8d4f97135ecf8b5d09423c6b72bc045dcb31d1640e50001464208ce23daee21049dfd1f9b3ced26172f6ee7b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 327,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "35313734343438313937",
|
|
"sig" : "30640230031a7190173c2b5af9bbe16b91d5d12640a7fbfbad118237049f7b7b975ed918c91fe78e22cc0bcf58528e3bd87bbb3802306357706f71db16d524e1efe7bb2b43277f59e77cdce8fc71a631a84913e333ac1bab3a16f8655a4223a8681e2f3436a9",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 328,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31393637353631323531",
|
|
"sig" : "30640230346cc96a4f931181737c18932f73a364eda5c3cb7972b5e0446e83cbae8a25e0e7948652b2c9dd3de2f5eaa6ea00c83002302ec44b5a7ac35229af089437205b987cbf2beb1cc7b757eb47c8383ebd6d1ea7db169515437ada08f2f68a51d5d1230f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 329,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33343437323533333433",
|
|
"sig" : "306502306973eef723464352e96f58a5eb3b176ea350b4cc51734fcd2fb50d24a2e24447eec760d410ed93cddf1a50524fafbb97023100d74f45b20b662986e555d396421ef8258001e538929feea9fa5a9e44e3e647031516b8db95f33fc3c63106e3aa8bc6b0",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 330,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "333638323634333138",
|
|
"sig" : "3065023069839151e3b3fd33caa7a00cb8d18a1b4427d1c83712a50daf4ba25b9465d5c301fc37cc046815ee5ad89d3788f6ed810231009059a83d790ffd68e262eae802cc0723a0a2903d19e45516c34a9fa922eca27a3528fb4f8161d2f65c36dd90014e0a0e",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 331,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33323631313938363038",
|
|
"sig" : "30650231008d415cada3039cf8ceaec19b75bd97bdfad4336e4affb856fda544e46e0447b6a737eb780c7ab2997c3ad35207758b8b02302263661e4ec79487f279c9eccd507319c185c3cca77b2dabe900237b424df2db82bb275ead03a0c7e1452f4b235ed635",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 332,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "39363738373831303934",
|
|
"sig" : "3065023100c4d368ea98589f828edba7362e083d052e286e683db1af2a8b14529c59214aeb55b8080abf6ef025c59ed2c11d8142d0023046557571e457adba970327dcc5fede7604b5f7a4c5bedcada8f745e8ebc44b5b074c9905134cdd644164eb85bcdc30eb",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 333,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34393538383233383233",
|
|
"sig" : "3065023100fdc4a9e63ee8a2437d0446ecbebe6d9567aa07768dff1f86a629180525b13c0116777e0aa0d82b8711cbb4cdde1f3d58023055db077a644062bfad52aa5344945977ae8ce1ec5e69c39a6a883129dd49b622dc63ad168a11f985992ddc9274971ec2",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 334,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "383234363337383337",
|
|
"sig" : "306502300eb8aa22ec8b935c8bb3fc4f15d0d476dbbff689fae373b71ef8b1677692115bcd2ca0f3d9884f47ee4e8b9b61ffb0cd023100fce80bb7ecdb612b92f9a4b75453aacb7a6b66db3663ce983eb9d42d08deb083a169996f635691fda31170cc40451078",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 335,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3131303230383333373736",
|
|
"sig" : "3065023054d90579d215219f5a129c24be7b8be7415040d952af17848cf720421f5112e0ecda24b9f9f8657a8eccbcd47404348b02310088cb28669566a92d70f9249171453391224eb3a6cde2c8d1092f1dfa099556d775e925bdca1de18fbb6281ae9e8f8139",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 336,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "313333383731363438",
|
|
"sig" : "30650230524d01afc5c2017bf6903e4ed032999202976c4217f77b4c106904d774bf724edcd648de9729f97101b03c5589b804c0023100c22be2008aa068663862ded1619c52f7c1c1b9da105295bfb23c79478adc79d133ac1ee3ddfb41f125dc890153b53b90",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 337,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "333232313434313632",
|
|
"sig" : "3065023100d7d854c08b768c994f435d155ea9969823b364e326ddfc98d769df83b4d2ed2154f09c3e8007a9be6d000f1cfae7ed17023015bf0f7d89206d5e90398f62e63917de6b6fda4df13566852b62f61ae3181e20fc2fd297001e90a40ff8042e4a2c4889",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 338,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130363836363535353436",
|
|
"sig" : "3065023100abf3a5f3c46686df96a328bfcffce36911e79ade8e36eda9925a641d55330d1b4cd8adc5f7b4b05679b047ee7087690002300f97f0063c6997d601ad2f2827b1c9324d79a2d7695b372be8fd55b583f2e0b0159c83ce3b2cfb5b5211993bb861af9d",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 339,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3632313535323436",
|
|
"sig" : "30650230554ed95d83fce6e0e49b4b68236aa6c9755a9242b6143d414c13bcd8a765cc156982bd7693bdd24cf2154fabe74ef345023100e4e29bbb96ae1ea94f826a735d2599271903cc295182fdb1f0052810c01c8385d01ad9ffa443d2dad13c1c6e948d7b4a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 340,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "37303330383138373734",
|
|
"sig" : "3066023100a31b42c8760587f68042048b9b2ac99ea55d5d2898dd2c565971bc5f038da313ad098e14fc996b2bb7e3b1f5485c6783023100ccfc345706e0eec6c02f9eebc0cac90cc5807a6505dfe4cbeee837f4b6763afdf067cb1f97a5fe686c3b955b83d81f45",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 341,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "35393234353233373434",
|
|
"sig" : "30650230318c147e4dac1e9513f0b9dea9f33e2e08d222d613ef08210d62f4427599a94c16468610ea16738974e3f69361dd35a6023100f26e2bd9da86f570f865bac5f3ed10dba45e83c2854b6361251b0ea4d504303868aad33fa68780241f9e42a1bc4c8875",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 342,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31343935353836363231",
|
|
"sig" : "306402303522d0d163a4ddf96ab3de77c3bce47437ab27d11f0cf744578e53e5043b42d1b606c80ac47655d94d5750928b8a773402305a49186d3b7c44aeceb66f1346dd5efb7d7f6869a48d93e4a0a1b495d2c42ecaf37e50e443d6999ea0b06d417958bc12",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 343,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34303035333134343036",
|
|
"sig" : "3065023033232fc4a1252216f81fa75ba0582f8bbd3677e31ec41386e5c1d335d078a5e35ae3795e4f6e116825b6d704b9133e65023100cb4104bab332b7fca97c832c9169295987fd4dfc5f4b3390e78a68955e7a05881edb653da4729ce8afe8dc9c93a12bd6",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 344,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33303936343537353132",
|
|
"sig" : "306502301db7492dfe34dc9072b3a8e5b46c60f4b6c349948f17e804181069e3614fd76f99f992a27f4ac4c4a4bba9b4255f73ff0231008b9849be56d77b1d9762ac74e367497e0655f2170a36671fb989f00a778adb854aedf6c02bfa1a87d57df76a1b63545d",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 345,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32373834303235363230",
|
|
"sig" : "306502302a10831254b51ee0fef4da0a76c9d069c495865fff2293314f8a82e27c674db73c5c64ec9451447df990a3e165fcb599023100e043fbffe24e82cd416e06bf18dc1009c24551772f4f718fbc35e2ecefe91656e4f338364b67d0592deaba7032dd59e6",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 346,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32363138373837343138",
|
|
"sig" : "3064023058d0938b3330d1a3c33968803f0132b03a7706f5b6ec15044e266a863bc388d0b64d55d6fa5e136f5576bae0131c1d2302303a148453c83bdd1b1ce1b194bc2a2c3e6f969372e2d4363d360b095c9afe03b11244d67942ba30d90d796a0c8992d5a6",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 347,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31363432363235323632",
|
|
"sig" : "306502306b0ed94b24a40760f803d0728c9f88fc4ced9ae66c81ae96c47c23299fee5f180b168041f129e267ec2a20c9304755d3023100be555ce7cbed2b4aa19dfea7c38b782994cc6945fd1bf27b96045e4dda5b2d90209ace7fb3dcd12fad93e2b406a68397",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 348,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36383234313839343336",
|
|
"sig" : "3066023100b6f56623da31ae12bbfa074491e10c30b3352f7fd70ede8270971cbe760bb7b83583d0268f4918fb491fbaf49f75604d02310093326ad817f2c0c24bd24c55f96a0f9fe2d714aebe5cfeef5c612cb27780c27d5325b2974bce3bab12f200c92c084632",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 349,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "343834323435343235",
|
|
"sig" : "3065023100b17e28636fbf91410820a4f0f699639f66fa91cbaaec6e5ced4b99671c7319f3eda33f9a870636ddc08d881e7425ff3902304fb90b8736458b693b5bf9319a3a06bf78e296e700e7c76b4bc25686763d79b54d4ac5b0535668f18ef36046dbaf83f1",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04dfa721784921f3697f45769245087c8997e82ca4f5692605cc7dff7235091bd53ba451e2252572818056fbd14228aa277ac54ad5c36344bc092a370f7e149f55d19e4fd9df5022d89d761960911efcbbf6e3b8f3e29114a3ba0729d27e226faf",
|
|
"wx" : "00dfa721784921f3697f45769245087c8997e82ca4f5692605cc7dff7235091bd53ba451e2252572818056fbd14228aa27",
|
|
"wy" : "7ac54ad5c36344bc092a370f7e149f55d19e4fd9df5022d89d761960911efcbbf6e3b8f3e29114a3ba0729d27e226faf"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004dfa721784921f3697f45769245087c8997e82ca4f5692605cc7dff7235091bd53ba451e2252572818056fbd14228aa277ac54ad5c36344bc092a370f7e149f55d19e4fd9df5022d89d761960911efcbbf6e3b8f3e29114a3ba0729d27e226faf",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE36cheEkh82l/RXaSRQh8iZfoLKT1aSYF\nzH3/cjUJG9U7pFHiJSVygYBW+9FCKKonesVK1cNjRLwJKjcPfhSfVdGeT9nfUCLY\nnXYZYJEe/Lv247jz4pEUo7oHKdJ+Im+v\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 350,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304d0218389cb27e0bc8d21fa7e5f24cb74f58851313e696333ad68b023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52970",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 351,
|
|
"comment" : "r too large",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffe023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52970",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04de9829daa1eca6573644b003ef87d6a390be7ad5b69f97f6e74337faa19958642936e272f4048976578573d0238e562729989c988f81b05bf4918dfd9b2c2b444f305e4a851e26baad31d2091f9e917a7081f479632c5cb16407c9e2033834bb",
|
|
"wx" : "00de9829daa1eca6573644b003ef87d6a390be7ad5b69f97f6e74337faa19958642936e272f4048976578573d0238e5627",
|
|
"wy" : "29989c988f81b05bf4918dfd9b2c2b444f305e4a851e26baad31d2091f9e917a7081f479632c5cb16407c9e2033834bb"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004de9829daa1eca6573644b003ef87d6a390be7ad5b69f97f6e74337faa19958642936e272f4048976578573d0238e562729989c988f81b05bf4918dfd9b2c2b444f305e4a851e26baad31d2091f9e917a7081f479632c5cb16407c9e2033834bb",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3pgp2qHsplc2RLAD74fWo5C+etW2n5f2\n50M3+qGZWGQpNuJy9ASJdleFc9AjjlYnKZicmI+BsFv0kY39mywrRE8wXkqFHia6\nrTHSCR+ekXpwgfR5YyxcsWQHyeIDODS7\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 352,
|
|
"comment" : "r,s are large",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52971",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04b6d8c17908d4a6fedb44f1d0fd6a552763069be2c997660447ce4cb2b2cd47657d9337267cecc42d89842d05b8313625a6be94cceb6a9ad74fd2841cfc46fc12188289d724d41b24b07520441cb6c002957b5d2e9ff7fb12fbf8a245d68ed1b7",
|
|
"wx" : "00b6d8c17908d4a6fedb44f1d0fd6a552763069be2c997660447ce4cb2b2cd47657d9337267cecc42d89842d05b8313625",
|
|
"wy" : "00a6be94cceb6a9ad74fd2841cfc46fc12188289d724d41b24b07520441cb6c002957b5d2e9ff7fb12fbf8a245d68ed1b7"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004b6d8c17908d4a6fedb44f1d0fd6a552763069be2c997660447ce4cb2b2cd47657d9337267cecc42d89842d05b8313625a6be94cceb6a9ad74fd2841cfc46fc12188289d724d41b24b07520441cb6c002957b5d2e9ff7fb12fbf8a245d68ed1b7",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEttjBeQjUpv7bRPHQ/WpVJ2MGm+LJl2YE\nR85MsrLNR2V9kzcmfOzELYmELQW4MTYlpr6UzOtqmtdP0oQc/Eb8EhiCidck1Bsk\nsHUgRBy2wAKVe10un/f7Evv4okXWjtG3\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 353,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100d1aee55fdc2a716ba2fabcb57020b72e539bf05c7902f98e105bf83d4cc10c2a159a3cf7e01d749d2205f4da6bd8fcf1",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04c1fb7338c0b11b7d0522f7b34b8ee2f1ddf8319c6cde532a138077062bd8c299f287aee32d8c7b5596837ed0c174690fc48dc9933947e4288799ff45344ae0c2dda6bf22d5e0bd167daaa13949ddcf7762f47858bf5c418b2d7a1ca12e7e2406",
|
|
"wx" : "00c1fb7338c0b11b7d0522f7b34b8ee2f1ddf8319c6cde532a138077062bd8c299f287aee32d8c7b5596837ed0c174690f",
|
|
"wy" : "00c48dc9933947e4288799ff45344ae0c2dda6bf22d5e0bd167daaa13949ddcf7762f47858bf5c418b2d7a1ca12e7e2406"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004c1fb7338c0b11b7d0522f7b34b8ee2f1ddf8319c6cde532a138077062bd8c299f287aee32d8c7b5596837ed0c174690fc48dc9933947e4288799ff45344ae0c2dda6bf22d5e0bd167daaa13949ddcf7762f47858bf5c418b2d7a1ca12e7e2406",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwftzOMCxG30FIvezS47i8d34MZxs3lMq\nE4B3BivYwpnyh67jLYx7VZaDftDBdGkPxI3JkzlH5CiHmf9FNErgwt2mvyLV4L0W\nfaqhOUndz3di9HhYv1xBiy16HKEufiQG\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 354,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100b6b681dc484f4f020fd3f7e626d88edc6ded1b382ef3e143d60887b51394260832d4d8f2ef70458f9fa90e38c2e19e4f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "049fdd44cd61f939e15533c7ea1dc439f35ab5920c9b51a0110c494af15ef08efd01c75e70c6ba4ea514bdcf3f146bf7ef8b4d04f4c3848d5f5aa32d94278993bb72cf66fea4de1a873b3ae175b45cd7ce98775d2523920f7f33398c89529ff9ce",
|
|
"wx" : "009fdd44cd61f939e15533c7ea1dc439f35ab5920c9b51a0110c494af15ef08efd01c75e70c6ba4ea514bdcf3f146bf7ef",
|
|
"wy" : "008b4d04f4c3848d5f5aa32d94278993bb72cf66fea4de1a873b3ae175b45cd7ce98775d2523920f7f33398c89529ff9ce"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200049fdd44cd61f939e15533c7ea1dc439f35ab5920c9b51a0110c494af15ef08efd01c75e70c6ba4ea514bdcf3f146bf7ef8b4d04f4c3848d5f5aa32d94278993bb72cf66fea4de1a873b3ae175b45cd7ce98775d2523920f7f33398c89529ff9ce",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEn91EzWH5OeFVM8fqHcQ581q1kgybUaAR\nDElK8V7wjv0Bx15wxrpOpRS9zz8Ua/fvi00E9MOEjV9aoy2UJ4mTu3LPZv6k3hqH\nOzrhdbRc186Yd10lI5IPfzM5jIlSn/nO\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 355,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020102020101",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04dbe8c22e6c4bb95778b4fc8974fef8a7a2ba0e56951d25fb18a8855e26bc6a3afa8af2c7d1e504a2859be29e20201527b2fe83a33bc386658e144caa05e36c07ac0bfd2bf73aaca2107c79c5548334fdc6372e24cee0460b11eea6737b2ba0ce",
|
|
"wx" : "00dbe8c22e6c4bb95778b4fc8974fef8a7a2ba0e56951d25fb18a8855e26bc6a3afa8af2c7d1e504a2859be29e20201527",
|
|
"wy" : "00b2fe83a33bc386658e144caa05e36c07ac0bfd2bf73aaca2107c79c5548334fdc6372e24cee0460b11eea6737b2ba0ce"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004dbe8c22e6c4bb95778b4fc8974fef8a7a2ba0e56951d25fb18a8855e26bc6a3afa8af2c7d1e504a2859be29e20201527b2fe83a33bc386658e144caa05e36c07ac0bfd2bf73aaca2107c79c5548334fdc6372e24cee0460b11eea6737b2ba0ce",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE2+jCLmxLuVd4tPyJdP74p6K6DlaVHSX7\nGKiFXia8ajr6ivLH0eUEooWb4p4gIBUnsv6DozvDhmWOFEyqBeNsB6wL/Sv3Oqyi\nEHx5xVSDNP3GNy4kzuBGCxHupnN7K6DO\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 356,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020102020102",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04529865605596bdfa993e838049cfea67915da278dffdaa258266b32718df0b5d9e8c9d1035a3ac08980849bf7d934ca51214b858d31f75b6f73d8a0b546f84eb328b1eded40a0b33e4fa97b06ea4b7cde46d152ced80b6423558dcec7b2116c9",
|
|
"wx" : "529865605596bdfa993e838049cfea67915da278dffdaa258266b32718df0b5d9e8c9d1035a3ac08980849bf7d934ca5",
|
|
"wy" : "1214b858d31f75b6f73d8a0b546f84eb328b1eded40a0b33e4fa97b06ea4b7cde46d152ced80b6423558dcec7b2116c9"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004529865605596bdfa993e838049cfea67915da278dffdaa258266b32718df0b5d9e8c9d1035a3ac08980849bf7d934ca51214b858d31f75b6f73d8a0b546f84eb328b1eded40a0b33e4fa97b06ea4b7cde46d152ced80b6423558dcec7b2116c9",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEUphlYFWWvfqZPoOASc/qZ5Fdonjf/aol\ngmazJxjfC12ejJ0QNaOsCJgISb99k0ylEhS4WNMfdbb3PYoLVG+E6zKLHt7UCgsz\n5PqXsG6kt83kbRUs7YC2QjVY3Ox7IRbJ\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 357,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020102020103",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04c09d55452bb9376b730f5dd7a187fff0145cf7d26bf4872df7c1d7cfcfa5af8a1ecb6c9fa3bac3361f0c503db6f0b834c7993183f29419412f5b9fc0639c7ca691fee2a8b6d340ae520e4595dc4685a730cba58b840639cab6bbaf31a4fa64e5",
|
|
"wx" : "00c09d55452bb9376b730f5dd7a187fff0145cf7d26bf4872df7c1d7cfcfa5af8a1ecb6c9fa3bac3361f0c503db6f0b834",
|
|
"wy" : "00c7993183f29419412f5b9fc0639c7ca691fee2a8b6d340ae520e4595dc4685a730cba58b840639cab6bbaf31a4fa64e5"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004c09d55452bb9376b730f5dd7a187fff0145cf7d26bf4872df7c1d7cfcfa5af8a1ecb6c9fa3bac3361f0c503db6f0b834c7993183f29419412f5b9fc0639c7ca691fee2a8b6d340ae520e4595dc4685a730cba58b840639cab6bbaf31a4fa64e5",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwJ1VRSu5N2tzD13XoYf/8BRc99Jr9Ict\n98HXz8+lr4oey2yfo7rDNh8MUD228Lg0x5kxg/KUGUEvW5/AY5x8ppH+4qi200Cu\nUg5FldxGhacwy6WLhAY5yra7rzGk+mTl\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 358,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020103020101",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0420f3d7826045052262df3330fbfdb96a98ed587298ba67774f484ef036d371be7e0fa974a1e3c5a0d72dcaeb8375395f94608a72e9ba34ff09d478fc6cf8833077d00696ffc008b4756f628c4e3e4733546fe04a785ae46eee810c1db0ea2c5c",
|
|
"wx" : "20f3d7826045052262df3330fbfdb96a98ed587298ba67774f484ef036d371be7e0fa974a1e3c5a0d72dcaeb8375395f",
|
|
"wy" : "0094608a72e9ba34ff09d478fc6cf8833077d00696ffc008b4756f628c4e3e4733546fe04a785ae46eee810c1db0ea2c5c"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000420f3d7826045052262df3330fbfdb96a98ed587298ba67774f484ef036d371be7e0fa974a1e3c5a0d72dcaeb8375395f94608a72e9ba34ff09d478fc6cf8833077d00696ffc008b4756f628c4e3e4733546fe04a785ae46eee810c1db0ea2c5c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEIPPXgmBFBSJi3zMw+/25apjtWHKYumd3\nT0hO8DbTcb5+D6l0oePFoNctyuuDdTlflGCKcum6NP8J1Hj8bPiDMHfQBpb/wAi0\ndW9ijE4+RzNUb+BKeFrkbu6BDB2w6ixc\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 359,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020103020103",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04325338f677836e8c523b0c014fa7e0d68ffaed360c35eda0d87304ef5ed9bf7eb81564b2c381ef76dfa823220001e672ae72772695f6bc153613fefd9c5ea340cc623012a26508c7b55a6829ed99beaa8ce97b18865db43a1fa071bdcb812723",
|
|
"wx" : "325338f677836e8c523b0c014fa7e0d68ffaed360c35eda0d87304ef5ed9bf7eb81564b2c381ef76dfa823220001e672",
|
|
"wy" : "00ae72772695f6bc153613fefd9c5ea340cc623012a26508c7b55a6829ed99beaa8ce97b18865db43a1fa071bdcb812723"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004325338f677836e8c523b0c014fa7e0d68ffaed360c35eda0d87304ef5ed9bf7eb81564b2c381ef76dfa823220001e672ae72772695f6bc153613fefd9c5ea340cc623012a26508c7b55a6829ed99beaa8ce97b18865db43a1fa071bdcb812723",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEMlM49neDboxSOwwBT6fg1o/67TYMNe2g\n2HME717Zv364FWSyw4Hvdt+oIyIAAeZyrnJ3JpX2vBU2E/79nF6jQMxiMBKiZQjH\ntVpoKe2ZvqqM6XsYhl20Oh+gcb3LgScj\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 360,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020103020104",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 361,
|
|
"comment" : "r is larger than n",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52976020104",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "048d65f327bf1f60df97f174122343c41dfc4d4ea02b4759cfed7a5e8c4c387e08a1d5dfb94e3da6c540213ca8f2f627dfed9d52419e1ad73ad3c528a54627278ee921d2fd61d94928e61feb8b3a36b29c4df354f86ecbaa5b5216e4bc42362b98",
|
|
"wx" : "008d65f327bf1f60df97f174122343c41dfc4d4ea02b4759cfed7a5e8c4c387e08a1d5dfb94e3da6c540213ca8f2f627df",
|
|
"wy" : "00ed9d52419e1ad73ad3c528a54627278ee921d2fd61d94928e61feb8b3a36b29c4df354f86ecbaa5b5216e4bc42362b98"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200048d65f327bf1f60df97f174122343c41dfc4d4ea02b4759cfed7a5e8c4c387e08a1d5dfb94e3da6c540213ca8f2f627dfed9d52419e1ad73ad3c528a54627278ee921d2fd61d94928e61feb8b3a36b29c4df354f86ecbaa5b5216e4bc42362b98",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEjWXzJ78fYN+X8XQSI0PEHfxNTqArR1nP\n7XpejEw4fgih1d+5Tj2mxUAhPKjy9iff7Z1SQZ4a1zrTxSilRicnjukh0v1h2Uko\n5h/rizo2spxN81T4bsuqW1IW5LxCNiuY\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 362,
|
|
"comment" : "s is larger than n",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036020103023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accd7fffa",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04568eaf1f63c840c7b45ddbdf6079c7830e4dd12c9a9489522a0afcdaa4ba5cadf3627978fca641f7b526c0a9a770b086c41c73d93c35413978a7544d58c010a0b00e1eb0de2c7b58b30b6cc31853f73c030c2c4b0276b2c4e749907beb600dc8",
|
|
"wx" : "568eaf1f63c840c7b45ddbdf6079c7830e4dd12c9a9489522a0afcdaa4ba5cadf3627978fca641f7b526c0a9a770b086",
|
|
"wy" : "00c41c73d93c35413978a7544d58c010a0b00e1eb0de2c7b58b30b6cc31853f73c030c2c4b0276b2c4e749907beb600dc8"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004568eaf1f63c840c7b45ddbdf6079c7830e4dd12c9a9489522a0afcdaa4ba5cadf3627978fca641f7b526c0a9a770b086c41c73d93c35413978a7544d58c010a0b00e1eb0de2c7b58b30b6cc31853f73c030c2c4b0276b2c4e749907beb600dc8",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEVo6vH2PIQMe0XdvfYHnHgw5N0SyalIlS\nKgr82qS6XK3zYnl4/KZB97UmwKmncLCGxBxz2Tw1QTl4p1RNWMAQoLAOHrDeLHtY\nswtswxhT9zwDDCxLAnayxOdJkHvrYA3I\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 363,
|
|
"comment" : "small r and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3036020201000230489122448912244891224489122448912244891224489122347ce79bc437f4d071aaa92c7d6c882ae8734dc18cb0d553",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04f0a5c7f9a60eaa827127a060a8464d1e86aa2af9e8e7b5a1d391b4e5e99664cf7e54953fcc87820f94b14af58b1ce172560e0a01d632e5529af97362fb884f6aa28c3077030adda9d62bfcca112c469cbca1bc89e1c3037f7bda5a7824b66d00",
|
|
"wx" : "00f0a5c7f9a60eaa827127a060a8464d1e86aa2af9e8e7b5a1d391b4e5e99664cf7e54953fcc87820f94b14af58b1ce172",
|
|
"wy" : "560e0a01d632e5529af97362fb884f6aa28c3077030adda9d62bfcca112c469cbca1bc89e1c3037f7bda5a7824b66d00"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004f0a5c7f9a60eaa827127a060a8464d1e86aa2af9e8e7b5a1d391b4e5e99664cf7e54953fcc87820f94b14af58b1ce172560e0a01d632e5529af97362fb884f6aa28c3077030adda9d62bfcca112c469cbca1bc89e1c3037f7bda5a7824b66d00",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE8KXH+aYOqoJxJ6BgqEZNHoaqKvno57Wh\n05G05emWZM9+VJU/zIeCD5SxSvWLHOFyVg4KAdYy5VKa+XNi+4hPaqKMMHcDCt2p\n1iv8yhEsRpy8obyJ4cMDf3vaWngktm0A\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 364,
|
|
"comment" : "smallish r and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303c02072d9b4d347952cd023100ce751512561b6f57c75342848a3ff98ccf9c3f0219b6b68d00449e6c971a85d2e2ce73554b59219d54d2083b46327351",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "049517e58ea80dd51f878ef6ca5d5129c292ac5ee9f0742f2d01bcc7e57d8277e13dfb86e5737a883647175e2f9034d6a4c04490cf98f55501023eb511bfd9172ce6e2d3bf2fb50332a153f5b18306258581d3008efa149a509afe2334f417fcea",
|
|
"wx" : "009517e58ea80dd51f878ef6ca5d5129c292ac5ee9f0742f2d01bcc7e57d8277e13dfb86e5737a883647175e2f9034d6a4",
|
|
"wy" : "00c04490cf98f55501023eb511bfd9172ce6e2d3bf2fb50332a153f5b18306258581d3008efa149a509afe2334f417fcea"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200049517e58ea80dd51f878ef6ca5d5129c292ac5ee9f0742f2d01bcc7e57d8277e13dfb86e5737a883647175e2f9034d6a4c04490cf98f55501023eb511bfd9172ce6e2d3bf2fb50332a153f5b18306258581d3008efa149a509afe2334f417fcea",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAElRfljqgN1R+HjvbKXVEpwpKsXunwdC8t\nAbzH5X2Cd+E9+4blc3qINkcXXi+QNNakwESQz5j1VQECPrURv9kXLObi078vtQMy\noVP1sYMGJYWB0wCO+hSaUJr+IzT0F/zq\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 365,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041020d1033e67e37b32b445580bf4efb02302ad52ad52ad52ad52ad52ad52ad52ad52ad52ad52ad52ad5215c51b320e460542f9cc38968ccdf4263684004eb79a452",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0492763643d11b8dd390fb00e7067660966d141920264f26d36ae3ddc5965d5b0b7ab9047f3a7b6df2dc50fb34b45f83f9e530a3b00f81d4e7db16323b42a1e37a20b4e61a4084884266c2a2c9a13fac5b1b45c435b9954dd471bc29b4faf35dbf",
|
|
"wx" : "0092763643d11b8dd390fb00e7067660966d141920264f26d36ae3ddc5965d5b0b7ab9047f3a7b6df2dc50fb34b45f83f9",
|
|
"wy" : "00e530a3b00f81d4e7db16323b42a1e37a20b4e61a4084884266c2a2c9a13fac5b1b45c435b9954dd471bc29b4faf35dbf"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000492763643d11b8dd390fb00e7067660966d141920264f26d36ae3ddc5965d5b0b7ab9047f3a7b6df2dc50fb34b45f83f9e530a3b00f81d4e7db16323b42a1e37a20b4e61a4084884266c2a2c9a13fac5b1b45c435b9954dd471bc29b4faf35dbf",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEknY2Q9EbjdOQ+wDnBnZglm0UGSAmTybT\nauPdxZZdWwt6uQR/Ontt8txQ+zS0X4P55TCjsA+B1OfbFjI7QqHjeiC05hpAhIhC\nZsKiyaE/rFsbRcQ1uZVN1HG8KbT6812/\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 366,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303602020100023077a172dfe37a2c53f0b92ab60f0a8f085f49dbfd930719d6f9e587ea68ae57cb49cd35a88cf8c6acec02f057a3807a5b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "046e29be8bf01240c48654bd9cb9e6e4b721c8c5026645bd8c87c660efaaabd10b4b62151b8a3bd1b51eaf1593ca466af11f711cee8397ff42b2824363bc96b03af8d700b507d33193c3690b53c85a4428d4f05d9a714a59068d741601eb2a7183",
|
|
"wx" : "6e29be8bf01240c48654bd9cb9e6e4b721c8c5026645bd8c87c660efaaabd10b4b62151b8a3bd1b51eaf1593ca466af1",
|
|
"wy" : "1f711cee8397ff42b2824363bc96b03af8d700b507d33193c3690b53c85a4428d4f05d9a714a59068d741601eb2a7183"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200046e29be8bf01240c48654bd9cb9e6e4b721c8c5026645bd8c87c660efaaabd10b4b62151b8a3bd1b51eaf1593ca466af11f711cee8397ff42b2824363bc96b03af8d700b507d33193c3690b53c85a4428d4f05d9a714a59068d741601eb2a7183",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEbim+i/ASQMSGVL2cuebktyHIxQJmRb2M\nh8Zg76qr0QtLYhUbijvRtR6vFZPKRmrxH3Ec7oOX/0KygkNjvJawOvjXALUH0zGT\nw2kLU8haRCjU8F2acUpZBo10FgHrKnGD\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 367,
|
|
"comment" : "100-bit r and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3041020d062522bbd3ecbe7c39e93e7c24023077a172dfe37a2c53f0b92ab60f0a8f085f49dbfd930719d6f9e587ea68ae57cb49cd35a88cf8c6acec02f057a3807a5b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04207308e6f1fd1bf539d8c506863b002683e03d8b16c5942472a1a260d88905e15b28ea254147d8574ba8be5f2c9cfd0902f3dfd62e0a357709e086ff0fcfd87d1cc2b7232356735a98ba099f2aaf78f264ab4598e162dec425619a6e906daa88",
|
|
"wx" : "207308e6f1fd1bf539d8c506863b002683e03d8b16c5942472a1a260d88905e15b28ea254147d8574ba8be5f2c9cfd09",
|
|
"wy" : "02f3dfd62e0a357709e086ff0fcfd87d1cc2b7232356735a98ba099f2aaf78f264ab4598e162dec425619a6e906daa88"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004207308e6f1fd1bf539d8c506863b002683e03d8b16c5942472a1a260d88905e15b28ea254147d8574ba8be5f2c9cfd0902f3dfd62e0a357709e086ff0fcfd87d1cc2b7232356735a98ba099f2aaf78f264ab4598e162dec425619a6e906daa88",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEIHMI5vH9G/U52MUGhjsAJoPgPYsWxZQk\ncqGiYNiJBeFbKOolQUfYV0uovl8snP0JAvPf1i4KNXcJ4Ib/D8/YfRzCtyMjVnNa\nmLoJnyqvePJkq0WY4WLexCVhmm6QbaqI\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 368,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc528f3023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0461e88253d94efe976c07076ebbd97a4a823442d823bf8461d00cfb44a3133b4e174e3a0fac8893387498432934c0cb7cecd3b9bcf204fd736ee21d4accdcbc4b692312e1769225632fcd7bec206e74259cc40a3c2609e8d2cbdfcd8f4f26be04",
|
|
"wx" : "61e88253d94efe976c07076ebbd97a4a823442d823bf8461d00cfb44a3133b4e174e3a0fac8893387498432934c0cb7c",
|
|
"wy" : "00ecd3b9bcf204fd736ee21d4accdcbc4b692312e1769225632fcd7bec206e74259cc40a3c2609e8d2cbdfcd8f4f26be04"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000461e88253d94efe976c07076ebbd97a4a823442d823bf8461d00cfb44a3133b4e174e3a0fac8893387498432934c0cb7cecd3b9bcf204fd736ee21d4accdcbc4b692312e1769225632fcd7bec206e74259cc40a3c2609e8d2cbdfcd8f4f26be04",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEYeiCU9lO/pdsBwduu9l6SoI0Qtgjv4Rh\n0Az7RKMTO04XTjoPrIiTOHSYQyk0wMt87NO5vPIE/XNu4h1KzNy8S2kjEuF2kiVj\nL8177CBudCWcxAo8Jgno0svfzY9PJr4E\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 369,
|
|
"comment" : "r and s are 64-bit integer",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30160209009c44febf31c3594d020900839ed28247c2b06b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04ba8bd967967e3083343efaee44b67b6f257faef887fb3c2988b1b09721af48c242ad1abe168a123c30c4b7ba544dde152578d88b9b1727e422ea165862288260a9928213afc72afbcdfe0e6350cbac77f12b1f1e3b8848052506c558abfc3762",
|
|
"wx" : "00ba8bd967967e3083343efaee44b67b6f257faef887fb3c2988b1b09721af48c242ad1abe168a123c30c4b7ba544dde15",
|
|
"wy" : "2578d88b9b1727e422ea165862288260a9928213afc72afbcdfe0e6350cbac77f12b1f1e3b8848052506c558abfc3762"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004ba8bd967967e3083343efaee44b67b6f257faef887fb3c2988b1b09721af48c242ad1abe168a123c30c4b7ba544dde152578d88b9b1727e422ea165862288260a9928213afc72afbcdfe0e6350cbac77f12b1f1e3b8848052506c558abfc3762",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEuovZZ5Z+MIM0PvruRLZ7byV/rviH+zwp\niLGwlyGvSMJCrRq+FooSPDDEt7pUTd4VJXjYi5sXJ+Qi6hZYYiiCYKmSghOvxyr7\nzf4OY1DLrHfxKx8eO4hIBSUGxVir/Ddi\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 370,
|
|
"comment" : "r and s are 100-bit integer",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "301e020d09df8b682430beef6f5fd7c7d0020d0fd0a62e13778f4222a0d61c8a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0418fa3b1ac43ce85701eb590e100f7b7a901d2dbcee747c5a756c8107e09d919c8c8e34e6c64381c3c146d3c0ff67325a8a318fad68c9bbbee72e14560891a38009f58954da86a903e48478d66762fcc7ee320087cdb54ede30fdb2a3e928db4b",
|
|
"wx" : "18fa3b1ac43ce85701eb590e100f7b7a901d2dbcee747c5a756c8107e09d919c8c8e34e6c64381c3c146d3c0ff67325a",
|
|
"wy" : "008a318fad68c9bbbee72e14560891a38009f58954da86a903e48478d66762fcc7ee320087cdb54ede30fdb2a3e928db4b"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000418fa3b1ac43ce85701eb590e100f7b7a901d2dbcee747c5a756c8107e09d919c8c8e34e6c64381c3c146d3c0ff67325a8a318fad68c9bbbee72e14560891a38009f58954da86a903e48478d66762fcc7ee320087cdb54ede30fdb2a3e928db4b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEGPo7GsQ86FcB61kOEA97epAdLbzudHxa\ndWyBB+CdkZyMjjTmxkOBw8FG08D/ZzJaijGPrWjJu77nLhRWCJGjgAn1iVTahqkD\n5IR41mdi/MfuMgCHzbVO3jD9sqPpKNtL\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 371,
|
|
"comment" : "r and s are 128-bit integer",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30260211008a598e563a89f526c32ebec8de26367a02110084f633e2042630e99dd0f1e16f7a04bf",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0456f40bdf5d5c725986cad1c52b407f2977e2495f600c9d4ef335efc82843fe63093541d1acf3147bbb689c0ab728d695870fb2b7fd5a61263bc953a94ec8a9a4152d386970acdc0e4f943e5eb42c18ef4840bf6017a38afa67f8d988a7bc8b60",
|
|
"wx" : "56f40bdf5d5c725986cad1c52b407f2977e2495f600c9d4ef335efc82843fe63093541d1acf3147bbb689c0ab728d695",
|
|
"wy" : "00870fb2b7fd5a61263bc953a94ec8a9a4152d386970acdc0e4f943e5eb42c18ef4840bf6017a38afa67f8d988a7bc8b60"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000456f40bdf5d5c725986cad1c52b407f2977e2495f600c9d4ef335efc82843fe63093541d1acf3147bbb689c0ab728d695870fb2b7fd5a61263bc953a94ec8a9a4152d386970acdc0e4f943e5eb42c18ef4840bf6017a38afa67f8d988a7bc8b60",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEVvQL311cclmGytHFK0B/KXfiSV9gDJ1O\n8zXvyChD/mMJNUHRrPMUe7tonAq3KNaVhw+yt/1aYSY7yVOpTsippBUtOGlwrNwO\nT5Q+XrQsGO9IQL9gF6OK+mf42YinvItg\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 372,
|
|
"comment" : "r and s are 160-bit integer",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302e021500aa6eeb5823f7fa31b466bb473797f0d0314c0be0021500e2977c479e6d25703cebbc6bd561938cc9d1bfb9",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04dc24f59eba985876596d7e48ed8207bd0c4f4212f7efbe57feee0617c7060d736f211ae1698070ac0b74304aac5e1aa5a6612e2df4d99aa40a7e1918d43716a22513edcb9670d86fc2a2ede769ee56bfb283de1544a95eeef1fc02df07072b3c",
|
|
"wx" : "00dc24f59eba985876596d7e48ed8207bd0c4f4212f7efbe57feee0617c7060d736f211ae1698070ac0b74304aac5e1aa5",
|
|
"wy" : "00a6612e2df4d99aa40a7e1918d43716a22513edcb9670d86fc2a2ede769ee56bfb283de1544a95eeef1fc02df07072b3c"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004dc24f59eba985876596d7e48ed8207bd0c4f4212f7efbe57feee0617c7060d736f211ae1698070ac0b74304aac5e1aa5a6612e2df4d99aa40a7e1918d43716a22513edcb9670d86fc2a2ede769ee56bfb283de1544a95eeef1fc02df07072b3c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3CT1nrqYWHZZbX5I7YIHvQxPQhL3775X\n/u4GF8cGDXNvIRrhaYBwrAt0MEqsXhqlpmEuLfTZmqQKfhkY1DcWoiUT7cuWcNhv\nwqLt52nuVr+yg94VRKle7vH8At8HBys8\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 373,
|
|
"comment" : "s == 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326020101",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 374,
|
|
"comment" : "s == 0",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326020100",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "044e97e504c56febe883186525474379d14680f26a62f421952aae89c4721d00ae537ea63f816d1caeb3c811da90118f17a284c40e24fe0ea83c2bccb2be5aa6a5941d176acbe3a2b32699c176c2db1db710bcc662e3a9d6c06dff6f2b2420dde3",
|
|
"wx" : "4e97e504c56febe883186525474379d14680f26a62f421952aae89c4721d00ae537ea63f816d1caeb3c811da90118f17",
|
|
"wy" : "00a284c40e24fe0ea83c2bccb2be5aa6a5941d176acbe3a2b32699c176c2db1db710bcc662e3a9d6c06dff6f2b2420dde3"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200044e97e504c56febe883186525474379d14680f26a62f421952aae89c4721d00ae537ea63f816d1caeb3c811da90118f17a284c40e24fe0ea83c2bccb2be5aa6a5941d176acbe3a2b32699c176c2db1db710bcc662e3a9d6c06dff6f2b2420dde3",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETpflBMVv6+iDGGUlR0N50UaA8mpi9CGV\nKq6JxHIdAK5TfqY/gW0crrPIEdqQEY8XooTEDiT+Dqg8K8yyvlqmpZQdF2rL46Kz\nJpnBdsLbHbcQvMZi46nWwG3/byskIN3j\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 375,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec63260230427f8227a67d9422557647d27945a90ae1d2ec2931f90113cd5b407099e3d8f5a889d62069e64c0e1c4efe29690b0992",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04128ac2ef6db923f724cf47f7d68aa74d2ce31a810a5486adde77ff230feec3036e5a4424f82cb52b02acfdcdd0de6f7635fc030ef2afef3ff465d9c53771737d105cec6a49edffa018a3cccd31d6b9ef92c09364f4002fedbfd5a31056ab24f0",
|
|
"wx" : "128ac2ef6db923f724cf47f7d68aa74d2ce31a810a5486adde77ff230feec3036e5a4424f82cb52b02acfdcdd0de6f76",
|
|
"wy" : "35fc030ef2afef3ff465d9c53771737d105cec6a49edffa018a3cccd31d6b9ef92c09364f4002fedbfd5a31056ab24f0"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004128ac2ef6db923f724cf47f7d68aa74d2ce31a810a5486adde77ff230feec3036e5a4424f82cb52b02acfdcdd0de6f7635fc030ef2afef3ff465d9c53771737d105cec6a49edffa018a3cccd31d6b9ef92c09364f4002fedbfd5a31056ab24f0",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEEorC7225I/ckz0f31oqnTSzjGoEKVIat\n3nf/Iw/uwwNuWkQk+Cy1KwKs/c3Q3m92NfwDDvKv7z/0ZdnFN3FzfRBc7GpJ7f+g\nGKPMzTHWue+SwJNk9AAv7b/VoxBWqyTw\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 376,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec63260230369cf68bb2919c11d0f82315e1ee68a7ee8c17858bd334bf84536b2b74756a77e4eee10ecc5a6416a8263b5429afcba4",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04d8d2aeac3f162e1619b3b6512707ef9af5b8235c53e3e11c0b75fb2703f007b2c7e0fde988a766eae82f2b5226604fc88e84a47531577ab03589d64bf9f9f05bf5b8b95d24884e0534fe992000b35950bb7db043afe3be07b312f0fe452d9a2a",
|
|
"wx" : "00d8d2aeac3f162e1619b3b6512707ef9af5b8235c53e3e11c0b75fb2703f007b2c7e0fde988a766eae82f2b5226604fc8",
|
|
"wy" : "008e84a47531577ab03589d64bf9f9f05bf5b8b95d24884e0534fe992000b35950bb7db043afe3be07b312f0fe452d9a2a"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004d8d2aeac3f162e1619b3b6512707ef9af5b8235c53e3e11c0b75fb2703f007b2c7e0fde988a766eae82f2b5226604fc88e84a47531577ab03589d64bf9f9f05bf5b8b95d24884e0534fe992000b35950bb7db043afe3be07b312f0fe452d9a2a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE2NKurD8WLhYZs7ZRJwfvmvW4I1xT4+Ec\nC3X7JwPwB7LH4P3piKdm6ugvK1ImYE/IjoSkdTFXerA1idZL+fnwW/W4uV0kiE4F\nNP6ZIACzWVC7fbBDr+O+B7MS8P5FLZoq\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 377,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec632602302111832a45fc5967f7bf78ccdfe98d4e707484aad43f67cf5ac8aa2afbde0d1d8b7fe5cfc5012feb033dffdec623dfbf",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "041cb88451fa09e467dfedf7c37d8485c01351dedd65ee6206e4e8c64bec8d54934a5be20f6f95db5904617cc88ac6f80ed801e633cd3a5ba198fdceea5542242e6c7f1711d31f4884c31a483bcd0b1df862f56085a3856607246b510baa91b254",
|
|
"wx" : "1cb88451fa09e467dfedf7c37d8485c01351dedd65ee6206e4e8c64bec8d54934a5be20f6f95db5904617cc88ac6f80e",
|
|
"wy" : "00d801e633cd3a5ba198fdceea5542242e6c7f1711d31f4884c31a483bcd0b1df862f56085a3856607246b510baa91b254"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200041cb88451fa09e467dfedf7c37d8485c01351dedd65ee6206e4e8c64bec8d54934a5be20f6f95db5904617cc88ac6f80ed801e633cd3a5ba198fdceea5542242e6c7f1711d31f4884c31a483bcd0b1df862f56085a3856607246b510baa91b254",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEHLiEUfoJ5Gff7ffDfYSFwBNR3t1l7mIG\n5OjGS+yNVJNKW+IPb5XbWQRhfMiKxvgO2AHmM806W6GY/c7qVUIkLmx/FxHTH0iE\nwxpIO80LHfhi9WCFo4VmByRrUQuqkbJU\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 378,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326023020cd002ab7dca06b798fecef3f06a222c2d2a65e9ec92f74659a8d82fe7d75e9af739f0b532e17d6c5f622c4b591442b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04cec5c5216b1ebb2fb3cfc5b78be8e04048ce5c9d727f93c1c92f761217f3bc0fbda7a2dac5b175a92ed0f04dd9904867292b4fda8028a749ce72d7d62f0315da96e3b4295014a4a94b414e40491f58c333b881666d444f487a2cba015d91cc4b",
|
|
"wx" : "00cec5c5216b1ebb2fb3cfc5b78be8e04048ce5c9d727f93c1c92f761217f3bc0fbda7a2dac5b175a92ed0f04dd9904867",
|
|
"wy" : "292b4fda8028a749ce72d7d62f0315da96e3b4295014a4a94b414e40491f58c333b881666d444f487a2cba015d91cc4b"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004cec5c5216b1ebb2fb3cfc5b78be8e04048ce5c9d727f93c1c92f761217f3bc0fbda7a2dac5b175a92ed0f04dd9904867292b4fda8028a749ce72d7d62f0315da96e3b4295014a4a94b414e40491f58c333b881666d444f487a2cba015d91cc4b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEzsXFIWseuy+zz8W3i+jgQEjOXJ1yf5PB\nyS92EhfzvA+9p6LaxbF1qS7Q8E3ZkEhnKStP2oAop0nOctfWLwMV2pbjtClQFKSp\nS0FOQEkfWMMzuIFmbURPSHosugFdkcxL\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 379,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec632602303276fe55314e426a8ed83c4c38dc27c8fe8cbba0b39bad7cfc35e963adf10ab37251ea6829b8d255a77dd0b655cf9ff8",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0455f0df11cc1fa0c15643f118765246eabf5a492e83cbce0072ca36e810e043995a680fb3b17125901c365658e1b056726b5f85375b44979c2088453d21d74317022c8ecd3b957c74d2479c99141969f46b34d3e87cf33b0762517182f591b26a",
|
|
"wx" : "55f0df11cc1fa0c15643f118765246eabf5a492e83cbce0072ca36e810e043995a680fb3b17125901c365658e1b05672",
|
|
"wy" : "6b5f85375b44979c2088453d21d74317022c8ecd3b957c74d2479c99141969f46b34d3e87cf33b0762517182f591b26a"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000455f0df11cc1fa0c15643f118765246eabf5a492e83cbce0072ca36e810e043995a680fb3b17125901c365658e1b056726b5f85375b44979c2088453d21d74317022c8ecd3b957c74d2479c99141969f46b34d3e87cf33b0762517182f591b26a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEVfDfEcwfoMFWQ/EYdlJG6r9aSS6Dy84A\ncso26BDgQ5laaA+zsXElkBw2VljhsFZya1+FN1tEl5wgiEU9IddDFwIsjs07lXx0\n0kecmRQZafRrNNPofPM7B2JRcYL1kbJq\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 380,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec632602301a80b4a3d6c88775821e26784463080eb7de510762ab0d98223e532364c7089b07af73746ae4cf076c5277dcc80cf8c2",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04fa081fa00728982fa13e216a50b52dc2eaf84f458ad52c81d5f607a1fdc2562b97617fe07e6c3d6dea6cac20b78d8cc7ffdbd588c54fa20f6f7d9a6c8d7601382dfc39ee83d25f96cb842d4fd8f940e02d369edb37df28b54bc59752a95062eb",
|
|
"wx" : "00fa081fa00728982fa13e216a50b52dc2eaf84f458ad52c81d5f607a1fdc2562b97617fe07e6c3d6dea6cac20b78d8cc7",
|
|
"wy" : "00ffdbd588c54fa20f6f7d9a6c8d7601382dfc39ee83d25f96cb842d4fd8f940e02d369edb37df28b54bc59752a95062eb"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004fa081fa00728982fa13e216a50b52dc2eaf84f458ad52c81d5f607a1fdc2562b97617fe07e6c3d6dea6cac20b78d8cc7ffdbd588c54fa20f6f7d9a6c8d7601382dfc39ee83d25f96cb842d4fd8f940e02d369edb37df28b54bc59752a95062eb",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE+ggfoAcomC+hPiFqULUtwur4T0WK1SyB\n1fYHof3CViuXYX/gfmw9bepsrCC3jYzH/9vViMVPog9vfZpsjXYBOC38Oe6D0l+W\ny4QtT9j5QOAtNp7bN98otUvFl1KpUGLr\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 381,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326023074e780e38b3a7cd6cfe17d5c9ac615895bd97dd4076b5f8218ae758b83d195fba64eb9aead39a790ca0f8b8387376265",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "049dff849ecc2c3af8433c6a9493663ea4a930d98734b99bfc9eed5cea462735eb1a03d3e23711735d64565cf20324ea4a92cc11ecf2b41aae833f96d3f0679a4baa2017d156115658cfbf5f13b6a9a89fd6c3e96af2a59670300de8d4d1fb6112",
|
|
"wx" : "009dff849ecc2c3af8433c6a9493663ea4a930d98734b99bfc9eed5cea462735eb1a03d3e23711735d64565cf20324ea4a",
|
|
"wy" : "0092cc11ecf2b41aae833f96d3f0679a4baa2017d156115658cfbf5f13b6a9a89fd6c3e96af2a59670300de8d4d1fb6112"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200049dff849ecc2c3af8433c6a9493663ea4a930d98734b99bfc9eed5cea462735eb1a03d3e23711735d64565cf20324ea4a92cc11ecf2b41aae833f96d3f0679a4baa2017d156115658cfbf5f13b6a9a89fd6c3e96af2a59670300de8d4d1fb6112",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEnf+EnswsOvhDPGqUk2Y+pKkw2Yc0uZv8\nnu1c6kYnNesaA9PiNxFzXWRWXPIDJOpKkswR7PK0Gq6DP5bT8GeaS6ogF9FWEVZY\nz79fE7apqJ/Ww+lq8qWWcDAN6NTR+2ES\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 382,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec632602306ee5f8daae12c862e1f7f8b59294ac90448c4461e29b36ed623a719dd69bb17b3a4b7c29b9eb5c39ca6168bf6b597c6a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04b107a43b4ac4ffb8f7b55f06679e2204d377ad2ee635e7a0b48ff46911a733b2b3084ce6042bf7ce279686f0703c7eaa069b7bf6419d9cb63c479da1c098e477ae88e3c167616721c108a5a813ec6f03157837311646b0733b350e224bb76b7a",
|
|
"wx" : "00b107a43b4ac4ffb8f7b55f06679e2204d377ad2ee635e7a0b48ff46911a733b2b3084ce6042bf7ce279686f0703c7eaa",
|
|
"wy" : "069b7bf6419d9cb63c479da1c098e477ae88e3c167616721c108a5a813ec6f03157837311646b0733b350e224bb76b7a"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004b107a43b4ac4ffb8f7b55f06679e2204d377ad2ee635e7a0b48ff46911a733b2b3084ce6042bf7ce279686f0703c7eaa069b7bf6419d9cb63c479da1c098e477ae88e3c167616721c108a5a813ec6f03157837311646b0733b350e224bb76b7a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEsQekO0rE/7j3tV8GZ54iBNN3rS7mNeeg\ntI/0aRGnM7KzCEzmBCv3zieWhvBwPH6qBpt79kGdnLY8R52hwJjkd66I48FnYWch\nwQilqBPsbwMVeDcxFkawczs1DiJLt2t6\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 383,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec632602305426ca20a25b0cfb1ef230c62f91e98005f346e229233f1803e8944bf421fef150a4a109e48cefaa4ea23eea627fca41",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04dd63d35451728237f16085f3feed8d5a1923cb67597f72a66413456260ab9619dcc33f959627a7e503e9f358b8eff3aeb6354b52b1081e4b172eb847e03a9a940bb840603bd305e826b48cb7895934e3f77577403ec8488636d7a8ffc069bf17",
|
|
"wx" : "00dd63d35451728237f16085f3feed8d5a1923cb67597f72a66413456260ab9619dcc33f959627a7e503e9f358b8eff3ae",
|
|
"wy" : "00b6354b52b1081e4b172eb847e03a9a940bb840603bd305e826b48cb7895934e3f77577403ec8488636d7a8ffc069bf17"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004dd63d35451728237f16085f3feed8d5a1923cb67597f72a66413456260ab9619dcc33f959627a7e503e9f358b8eff3aeb6354b52b1081e4b172eb847e03a9a940bb840603bd305e826b48cb7895934e3f77577403ec8488636d7a8ffc069bf17",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3WPTVFFygjfxYIXz/u2NWhkjy2dZf3Km\nZBNFYmCrlhncwz+Vlien5QPp81i47/OutjVLUrEIHksXLrhH4DqalAu4QGA70wXo\nJrSMt4lZNOP3dXdAPshIhjbXqP/Aab8X\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 384,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326023039fd1a0ae3964735554c61daf085c66bcc2e9e5350131086023aa99549fc5f9057c848e75a1b8e58069fe0b9b23fa3c9",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0461980b43979e2a4b03e904b046f8797446b51836baaa64bff51fbf24bd0b31f3a0a022c14da8e94c3e7a23979f731aa8a1e5f7efe41546846af368fd63391638d632cd99541ef83f3150b3c1d56e553e8afb44d72c98dc0016f66a7b5fba5204",
|
|
"wx" : "61980b43979e2a4b03e904b046f8797446b51836baaa64bff51fbf24bd0b31f3a0a022c14da8e94c3e7a23979f731aa8",
|
|
"wy" : "00a1e5f7efe41546846af368fd63391638d632cd99541ef83f3150b3c1d56e553e8afb44d72c98dc0016f66a7b5fba5204"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000461980b43979e2a4b03e904b046f8797446b51836baaa64bff51fbf24bd0b31f3a0a022c14da8e94c3e7a23979f731aa8a1e5f7efe41546846af368fd63391638d632cd99541ef83f3150b3c1d56e553e8afb44d72c98dc0016f66a7b5fba5204",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEYZgLQ5eeKksD6QSwRvh5dEa1GDa6qmS/\n9R+/JL0LMfOgoCLBTajpTD56I5efcxqooeX37+QVRoRq82j9YzkWONYyzZlUHvg/\nMVCzwdVuVT6K+0TXLJjcABb2antfulIE\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 385,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec63260230707a37cfb7367c2e551ea1f0caeac6c0fdd2b562e1bd8f1c7c51a5dd78f21da8cb179bd832cac3d3aee21fda54729e66",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "048c03a059fb8643d5fb8574bd166f7360f8243fa0e40a7e17fbb35b680111ef2a7f9b23cdc42f7a66f10a16dd2c40432ba6dca1075c8396b7ae772732851ec2b53b3599aca001850665a6bc1db8bb24966af7dba572ad3ec9dba65ba9418b78a7",
|
|
"wx" : "008c03a059fb8643d5fb8574bd166f7360f8243fa0e40a7e17fbb35b680111ef2a7f9b23cdc42f7a66f10a16dd2c40432b",
|
|
"wy" : "00a6dca1075c8396b7ae772732851ec2b53b3599aca001850665a6bc1db8bb24966af7dba572ad3ec9dba65ba9418b78a7"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200048c03a059fb8643d5fb8574bd166f7360f8243fa0e40a7e17fbb35b680111ef2a7f9b23cdc42f7a66f10a16dd2c40432ba6dca1075c8396b7ae772732851ec2b53b3599aca001850665a6bc1db8bb24966af7dba572ad3ec9dba65ba9418b78a7",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEjAOgWfuGQ9X7hXS9Fm9zYPgkP6DkCn4X\n+7NbaAER7yp/myPNxC96ZvEKFt0sQEMrptyhB1yDlreudycyhR7CtTs1maygAYUG\nZaa8Hbi7JJZq99ulcq0+ydumW6lBi3in\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 386,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326023015c99e2ae11f429e74fe2e758bc53ffea26eb6368dd60d10daf860f9c79fa8cc6cb98fee9b87dd38353e970539a50a9e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04cc17b0a942599b5e4f24b674f4b31bdebb9568365052a5666f71268234ae517ca804fb257e0317c641ef090d06e08e1803643985acd19af4a665976436cb1305af99691cc9d162060800beec9b8fc9f986844ef85311a21b35da41076e3da8e1",
|
|
"wx" : "00cc17b0a942599b5e4f24b674f4b31bdebb9568365052a5666f71268234ae517ca804fb257e0317c641ef090d06e08e18",
|
|
"wy" : "03643985acd19af4a665976436cb1305af99691cc9d162060800beec9b8fc9f986844ef85311a21b35da41076e3da8e1"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004cc17b0a942599b5e4f24b674f4b31bdebb9568365052a5666f71268234ae517ca804fb257e0317c641ef090d06e08e1803643985acd19af4a665976436cb1305af99691cc9d162060800beec9b8fc9f986844ef85311a21b35da41076e3da8e1",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEzBewqUJZm15PJLZ09LMb3ruVaDZQUqVm\nb3EmgjSuUXyoBPslfgMXxkHvCQ0G4I4YA2Q5hazRmvSmZZdkNssTBa+ZaRzJ0WIG\nCAC+7JuPyfmGhE74UxGiGzXaQQduPajh\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 387,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec63260230148c732596feaabb01be1be3a220740e84bbfabe6d82ad0db1c396fa047603beeb95a1cd37fc708a9451d3cc29a45b32",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04b8033e58411dc0a379ebae87a1e8c2339e4a4d1903ee96c64a6895178a09e6b8058cb9218832d8656c594b2c74b774150d0b55352982f22998363646ef74dda98d869a3e3a330e8e6b80f35fa78344b6ed681c5d9819e6a1f226861595de1993",
|
|
"wx" : "00b8033e58411dc0a379ebae87a1e8c2339e4a4d1903ee96c64a6895178a09e6b8058cb9218832d8656c594b2c74b77415",
|
|
"wy" : "0d0b55352982f22998363646ef74dda98d869a3e3a330e8e6b80f35fa78344b6ed681c5d9819e6a1f226861595de1993"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004b8033e58411dc0a379ebae87a1e8c2339e4a4d1903ee96c64a6895178a09e6b8058cb9218832d8656c594b2c74b774150d0b55352982f22998363646ef74dda98d869a3e3a330e8e6b80f35fa78344b6ed681c5d9819e6a1f226861595de1993",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEuAM+WEEdwKN5666HoejCM55KTRkD7pbG\nSmiVF4oJ5rgFjLkhiDLYZWxZSyx0t3QVDQtVNSmC8imYNjZG73TdqY2Gmj46Mw6O\na4DzX6eDRLbtaBxdmBnmofImhhWV3hmT\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 388,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec632602306b3cc62a449ae5ef68bec8672f186d5418cc18d039af91b45f8a8fae4210ef06d3f0d226f89945b314d9df72e01a02bb",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0446dedd90f787db11f13b1a0441b819b23a4613d3083b50dd1833f604c1cc3946bd7b6390827e34c4c5e4ed169cc2087f0353a343489639d9f6fb8a483cde06e97ae1df63428aa0736e150ddf3036dd1175de86edb104418b486982e05eb721a0",
|
|
"wx" : "46dedd90f787db11f13b1a0441b819b23a4613d3083b50dd1833f604c1cc3946bd7b6390827e34c4c5e4ed169cc2087f",
|
|
"wy" : "0353a343489639d9f6fb8a483cde06e97ae1df63428aa0736e150ddf3036dd1175de86edb104418b486982e05eb721a0"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000446dedd90f787db11f13b1a0441b819b23a4613d3083b50dd1833f604c1cc3946bd7b6390827e34c4c5e4ed169cc2087f0353a343489639d9f6fb8a483cde06e97ae1df63428aa0736e150ddf3036dd1175de86edb104418b486982e05eb721a0",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAERt7dkPeH2xHxOxoEQbgZsjpGE9MIO1Dd\nGDP2BMHMOUa9e2OQgn40xMXk7Racwgh/A1OjQ0iWOdn2+4pIPN4G6Xrh32NCiqBz\nbhUN3zA23RF13obtsQRBi0hpguBetyGg\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 389,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec632602307db7901f053b9cefacfda88dd7791c01fd569ed9a5243385eccae12ba992af55832a2e5dc8065e018399a70730035bd8",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04ee131cfe177bde1f414ae7b1b0767afbb1fdbaf3a21525e2544cdc153ae1cc60048520de09288328081545686dc63a304077fa824ef65642af4bc0f2e80faecc1e4df0a771a69db47d8228fd7bd8248c0b30838f92e22dff34f2bac0ea561e63",
|
|
"wx" : "00ee131cfe177bde1f414ae7b1b0767afbb1fdbaf3a21525e2544cdc153ae1cc60048520de09288328081545686dc63a30",
|
|
"wy" : "4077fa824ef65642af4bc0f2e80faecc1e4df0a771a69db47d8228fd7bd8248c0b30838f92e22dff34f2bac0ea561e63"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004ee131cfe177bde1f414ae7b1b0767afbb1fdbaf3a21525e2544cdc153ae1cc60048520de09288328081545686dc63a304077fa824ef65642af4bc0f2e80faecc1e4df0a771a69db47d8228fd7bd8248c0b30838f92e22dff34f2bac0ea561e63",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE7hMc/hd73h9BSuexsHZ6+7H9uvOiFSXi\nVEzcFTrhzGAEhSDeCSiDKAgVRWhtxjowQHf6gk72VkKvS8Dy6A+uzB5N8Kdxpp20\nfYIo/XvYJIwLMIOPkuIt/zTyusDqVh5j\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 390,
|
|
"comment" : "point at infinity during verify",
|
|
"flags" : [
|
|
"PointDuplication",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307fffffffffffffffffffffffffffffffffffffffffffffffe3b1a6c0fa1b96efac0d06d9245853bd76760cb5666294b9023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04b7ee6be7e79ba7a1e3c866b45b5a24bf6d07239718c7ed2fb79af878fc6c3cfd8194de0a31055991699fd6c2ef82bc8cf848e8773f53a727c9f17690aacf42e27ab0a5bc3b3521571174d8b3e73dbfe4479cf644a69fc337751b93de5e8f5eb1",
|
|
"wx" : "00b7ee6be7e79ba7a1e3c866b45b5a24bf6d07239718c7ed2fb79af878fc6c3cfd8194de0a31055991699fd6c2ef82bc8c",
|
|
"wy" : "00f848e8773f53a727c9f17690aacf42e27ab0a5bc3b3521571174d8b3e73dbfe4479cf644a69fc337751b93de5e8f5eb1"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004b7ee6be7e79ba7a1e3c866b45b5a24bf6d07239718c7ed2fb79af878fc6c3cfd8194de0a31055991699fd6c2ef82bc8cf848e8773f53a727c9f17690aacf42e27ab0a5bc3b3521571174d8b3e73dbfe4479cf644a69fc337751b93de5e8f5eb1",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEt+5r5+ebp6HjyGa0W1okv20HI5cYx+0v\nt5r4ePxsPP2BlN4KMQVZkWmf1sLvgryM+Ejodz9TpyfJ8XaQqs9C4nqwpbw7NSFX\nEXTYs+c9v+RHnPZEpp/DN3Ubk95ej16x\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 391,
|
|
"comment" : "edge case for signature malleability",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307fffffffffffffffffffffffffffffffffffffffffffffffe3b1a6c0fa1b96efac0d06d9245853bd76760cb5666294b902307fffffffffffffffffffffffffffffffffffffffffffffffe3b1a6c0fa1b96efac0d06d9245853bd76760cb5666294b9",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04e15615779199fd5ba364d8faf22884737e9d4606710c73a274c0b3d2a9a5f9599578482d8eb0103403b4114b21593476544ff1972b88e63e31f38822c25965b06700a45b37001faf828f30ec8417b1c8dfb064392432efc5e2f924bb5e791dde",
|
|
"wx" : "00e15615779199fd5ba364d8faf22884737e9d4606710c73a274c0b3d2a9a5f9599578482d8eb0103403b4114b21593476",
|
|
"wy" : "544ff1972b88e63e31f38822c25965b06700a45b37001faf828f30ec8417b1c8dfb064392432efc5e2f924bb5e791dde"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004e15615779199fd5ba364d8faf22884737e9d4606710c73a274c0b3d2a9a5f9599578482d8eb0103403b4114b21593476544ff1972b88e63e31f38822c25965b06700a45b37001faf828f30ec8417b1c8dfb064392432efc5e2f924bb5e791dde",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE4VYVd5GZ/VujZNj68iiEc36dRgZxDHOi\ndMCz0qml+VmVeEgtjrAQNAO0EUshWTR2VE/xlyuI5j4x84giwlllsGcApFs3AB+v\ngo8w7IQXscjfsGQ5JDLvxeL5JLteeR3e\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 392,
|
|
"comment" : "edge case for signature malleability",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307fffffffffffffffffffffffffffffffffffffffffffffffe3b1a6c0fa1b96efac0d06d9245853bd76760cb5666294b902307fffffffffffffffffffffffffffffffffffffffffffffffe3b1a6c0fa1b96efac0d06d9245853bd76760cb5666294ba",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "048d5a8b35e8b996f816bf2d1f3730ca44445b32eb063cb329de526a7b160d947febb1e9f3985e4404a6b1c5aeee2b32c0a05b85287fbb013a771a4269d1d63088800a5eaa8e12de51de1996b88a0531c743b2c36d1ad1c5455e8ec0d4ca7105ad",
|
|
"wx" : "008d5a8b35e8b996f816bf2d1f3730ca44445b32eb063cb329de526a7b160d947febb1e9f3985e4404a6b1c5aeee2b32c0",
|
|
"wy" : "00a05b85287fbb013a771a4269d1d63088800a5eaa8e12de51de1996b88a0531c743b2c36d1ad1c5455e8ec0d4ca7105ad"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200048d5a8b35e8b996f816bf2d1f3730ca44445b32eb063cb329de526a7b160d947febb1e9f3985e4404a6b1c5aeee2b32c0a05b85287fbb013a771a4269d1d63088800a5eaa8e12de51de1996b88a0531c743b2c36d1ad1c5455e8ec0d4ca7105ad",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEjVqLNei5lvgWvy0fNzDKRERbMusGPLMp\n3lJqexYNlH/rsenzmF5EBKaxxa7uKzLAoFuFKH+7ATp3GkJp0dYwiIAKXqqOEt5R\n3hmWuIoFMcdDssNtGtHFRV6OwNTKcQWt\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 393,
|
|
"comment" : "u1 == 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3055023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca605023",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0429fef69d4aab0125e270cffa43b94c5466b7d4ca1efdc852c1f456d03de085408baa191f65a6c05483dcbee4d840467a2441185832a99f5145ed73ea54774e814dbe15018e705f8aad95eea9e22160e94541e8df64c1baccd3df749e6b7af611",
|
|
"wx" : "29fef69d4aab0125e270cffa43b94c5466b7d4ca1efdc852c1f456d03de085408baa191f65a6c05483dcbee4d840467a",
|
|
"wy" : "2441185832a99f5145ed73ea54774e814dbe15018e705f8aad95eea9e22160e94541e8df64c1baccd3df749e6b7af611"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000429fef69d4aab0125e270cffa43b94c5466b7d4ca1efdc852c1f456d03de085408baa191f65a6c05483dcbee4d840467a2441185832a99f5145ed73ea54774e814dbe15018e705f8aad95eea9e22160e94541e8df64c1baccd3df749e6b7af611",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEKf72nUqrASXicM/6Q7lMVGa31Moe/chS\nwfRW0D3ghUCLqhkfZabAVIPcvuTYQEZ6JEEYWDKpn1FF7XPqVHdOgU2+FQGOcF+K\nrZXuqeIhYOlFQejfZMG6zNPfdJ5revYR\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 394,
|
|
"comment" : "u1 == n - 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326023100ffffffffffffffffffffffffffffffff44a5ad0bd0636d9dda1feb8c60148bfc57e325ef1d899af2e547ff6c0264d950",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "049b3d7bb633c34a4318062fc0e1a63bca8346efbfe6bd4ff33d9190385a5c5c77503603aa41b1f5d65cbcde08fc91bc43933964a01e00a0937785ea34c60bb41a310c94e03a2ad2eb44d4b4ca1d651d264f4b0a62ac529bccad8de076e3f8b92a",
|
|
"wx" : "009b3d7bb633c34a4318062fc0e1a63bca8346efbfe6bd4ff33d9190385a5c5c77503603aa41b1f5d65cbcde08fc91bc43",
|
|
"wy" : "00933964a01e00a0937785ea34c60bb41a310c94e03a2ad2eb44d4b4ca1d651d264f4b0a62ac529bccad8de076e3f8b92a"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200049b3d7bb633c34a4318062fc0e1a63bca8346efbfe6bd4ff33d9190385a5c5c77503603aa41b1f5d65cbcde08fc91bc43933964a01e00a0937785ea34c60bb41a310c94e03a2ad2eb44d4b4ca1d651d264f4b0a62ac529bccad8de076e3f8b92a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEmz17tjPDSkMYBi/A4aY7yoNG77/mvU/z\nPZGQOFpcXHdQNgOqQbH11ly83gj8kbxDkzlkoB4AoJN3heo0xgu0GjEMlOA6KtLr\nRNS0yh1lHSZPSwpirFKbzK2N4Hbj+Lkq\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 395,
|
|
"comment" : "u2 == 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "041cee4d3d2cdb64d4c9d0279aec92ca9471391b79cdde4686226386a1e3f89b42650846a0b1609d584be5932b4a608725595252558241530a6aaacc3dc3ac83e1a4c82fa3402269b3497c771ba00d9bf402a3183fb8b8f7644408b9eb0ceea504",
|
|
"wx" : "1cee4d3d2cdb64d4c9d0279aec92ca9471391b79cdde4686226386a1e3f89b42650846a0b1609d584be5932b4a608725",
|
|
"wy" : "595252558241530a6aaacc3dc3ac83e1a4c82fa3402269b3497c771ba00d9bf402a3183fb8b8f7644408b9eb0ceea504"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200041cee4d3d2cdb64d4c9d0279aec92ca9471391b79cdde4686226386a1e3f89b42650846a0b1609d584be5932b4a608725595252558241530a6aaacc3dc3ac83e1a4c82fa3402269b3497c771ba00d9bf402a3183fb8b8f7644408b9eb0ceea504",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEHO5NPSzbZNTJ0Cea7JLKlHE5G3nN3kaG\nImOGoeP4m0JlCEagsWCdWEvlkytKYIclWVJSVYJBUwpqqsw9w6yD4aTIL6NAImmz\nSXx3G6ANm/QCoxg/uLj3ZEQIuesM7qUE\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 396,
|
|
"comment" : "u2 == n - 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326023100aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa84ecde56a2cf73ea3abc092185cb1a51f34810f1ddd8c64d",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04ae0577be20fb0dcd34c5a7b61d3cbc5188b714c12c7ab06df756f7d3b4f776314718b07988b1d3d9452a36f126b6e5dfc966159f0f5681c81b3403dd0c1218dabf642fd52d74cbb04c5f044800cbd1967d39504f4207c99c072eef41ea3ea471",
|
|
"wx" : "00ae0577be20fb0dcd34c5a7b61d3cbc5188b714c12c7ab06df756f7d3b4f776314718b07988b1d3d9452a36f126b6e5df",
|
|
"wy" : "00c966159f0f5681c81b3403dd0c1218dabf642fd52d74cbb04c5f044800cbd1967d39504f4207c99c072eef41ea3ea471"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004ae0577be20fb0dcd34c5a7b61d3cbc5188b714c12c7ab06df756f7d3b4f776314718b07988b1d3d9452a36f126b6e5dfc966159f0f5681c81b3403dd0c1218dabf642fd52d74cbb04c5f044800cbd1967d39504f4207c99c072eef41ea3ea471",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAErgV3viD7Dc00xae2HTy8UYi3FMEserBt\n91b307T3djFHGLB5iLHT2UUqNvEmtuXfyWYVnw9WgcgbNAPdDBIY2r9kL9UtdMuw\nTF8ESADL0ZZ9OVBPQgfJnAcu70HqPqRx\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 397,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae91e1ba6ba8986207eadfefdd430548b3ace5662942d73d4a07ec446cbf8e103",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "046aae5918f9923bd4164a49488fc522bab02a6e6ae51f85ff757ed18c90570287aa1c22fe073d827d3c07ef6ab915539afde40d804a046c26ec949b25f4376158b5187add82c2eb612600d0490294a08c218827a779b046b00f3bec158f30f89a",
|
|
"wx" : "6aae5918f9923bd4164a49488fc522bab02a6e6ae51f85ff757ed18c90570287aa1c22fe073d827d3c07ef6ab915539a",
|
|
"wy" : "00fde40d804a046c26ec949b25f4376158b5187add82c2eb612600d0490294a08c218827a779b046b00f3bec158f30f89a"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200046aae5918f9923bd4164a49488fc522bab02a6e6ae51f85ff757ed18c90570287aa1c22fe073d827d3c07ef6ab915539afde40d804a046c26ec949b25f4376158b5187add82c2eb612600d0490294a08c218827a779b046b00f3bec158f30f89a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEaq5ZGPmSO9QWSklIj8UiurAqbmrlH4X/\ndX7RjJBXAoeqHCL+Bz2CfTwH72q5FVOa/eQNgEoEbCbslJsl9DdhWLUYet2Cwuth\nJgDQSQKUoIwhiCenebBGsA877BWPMPia\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 398,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100bfe534e980897d2679cd9a3780bd3dfaf493984eb534f6570fd459354c0da4dafdf7d438eb989f74910d762c1a607fcd",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "041f37c46517738db2f6954ed3920e220e89e30b0ec2b6657342fc84cb797208c97d0ae5f2cb64d9d54a401db0f1f8fec8c9aa908ef1d282749a4ac27a9a8889479c7a7a8f778e85d682f4189eafa00bda4a16a162348cd33184e8776ee31a43cf",
|
|
"wx" : "1f37c46517738db2f6954ed3920e220e89e30b0ec2b6657342fc84cb797208c97d0ae5f2cb64d9d54a401db0f1f8fec8",
|
|
"wy" : "00c9aa908ef1d282749a4ac27a9a8889479c7a7a8f778e85d682f4189eafa00bda4a16a162348cd33184e8776ee31a43cf"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200041f37c46517738db2f6954ed3920e220e89e30b0ec2b6657342fc84cb797208c97d0ae5f2cb64d9d54a401db0f1f8fec8c9aa908ef1d282749a4ac27a9a8889479c7a7a8f778e85d682f4189eafa00bda4a16a162348cd33184e8776ee31a43cf",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEHzfEZRdzjbL2lU7Tkg4iDonjCw7CtmVz\nQvyEy3lyCMl9CuXyy2TZ1UpAHbDx+P7IyaqQjvHSgnSaSsJ6moiJR5x6eo93joXW\ngvQYnq+gC9pKFqFiNIzTMYTod27jGkPP\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 399,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100e11190e4512e6cd9a3fca9a9cd73aa99a855f7a7102eae214b8ce295399c2d2c07dda100541da32154c7a72f65961f31",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "043f73521f225c5a2a1fc554ee9ddfd4e14e71958f20d0519eaabd567086f6764cf39beb89d733c247ab356025702d5e9778db565bd8801439a596783b4ee0a48e9386716cf1110dfcbdc3e27797da11e0e30084d125ae9a3f4f1db90e526feb88",
|
|
"wx" : "3f73521f225c5a2a1fc554ee9ddfd4e14e71958f20d0519eaabd567086f6764cf39beb89d733c247ab356025702d5e97",
|
|
"wy" : "78db565bd8801439a596783b4ee0a48e9386716cf1110dfcbdc3e27797da11e0e30084d125ae9a3f4f1db90e526feb88"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200043f73521f225c5a2a1fc554ee9ddfd4e14e71958f20d0519eaabd567086f6764cf39beb89d733c247ab356025702d5e9778db565bd8801439a596783b4ee0a48e9386716cf1110dfcbdc3e27797da11e0e30084d125ae9a3f4f1db90e526feb88",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEP3NSHyJcWiofxVTund/U4U5xlY8g0FGe\nqr1WcIb2dkzzm+uJ1zPCR6s1YCVwLV6XeNtWW9iAFDmllng7TuCkjpOGcWzxEQ38\nvcPid5faEeDjAITRJa6aP08duQ5Sb+uI\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 400,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100ab1fb141339f5290ffffffffffffffffffffffffffffffff1ecdffa53ea3f0a5becbf535894f588941ef362ce95529f2",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "044b18cab482e99d1cd059794ba0bb516779ad6a432282b7d115e9aab13bb077cb8057b41eadffc8467b3eddb1dd9ce21b18cb56fe71341001076b84096b9ef35a1765c7cab761186a768a73a4eefdae10b27d9dd8561000d99ce4802f7be5c366",
|
|
"wx" : "4b18cab482e99d1cd059794ba0bb516779ad6a432282b7d115e9aab13bb077cb8057b41eadffc8467b3eddb1dd9ce21b",
|
|
"wy" : "18cb56fe71341001076b84096b9ef35a1765c7cab761186a768a73a4eefdae10b27d9dd8561000d99ce4802f7be5c366"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200044b18cab482e99d1cd059794ba0bb516779ad6a432282b7d115e9aab13bb077cb8057b41eadffc8467b3eddb1dd9ce21b18cb56fe71341001076b84096b9ef35a1765c7cab761186a768a73a4eefdae10b27d9dd8561000d99ce4802f7be5c366",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAESxjKtILpnRzQWXlLoLtRZ3mtakMigrfR\nFemqsTuwd8uAV7Qerf/IRns+3bHdnOIbGMtW/nE0EAEHa4QJa57zWhdlx8q3YRhq\ndopzpO79rhCyfZ3YVhAA2ZzkgC975cNm\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 401,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100fb141339f5290ffffffffffffffffffffffffffffffff44a234aa9863d18eb0fd0c6e979ccd9fadfeb270fbe0aaef97d",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "048f49c7984fd20e1264e04afa91d536daffb8cbdd9c3f2deaf56fd9137d16830d01fe29d03d6a63f096061cbeabad7d0e4304531294ff633b09f51be4b26df3284bdfb76671a0945935dbe4a282ef830416c4deed3cf6f6204a7402de803de17e",
|
|
"wx" : "008f49c7984fd20e1264e04afa91d536daffb8cbdd9c3f2deaf56fd9137d16830d01fe29d03d6a63f096061cbeabad7d0e",
|
|
"wy" : "4304531294ff633b09f51be4b26df3284bdfb76671a0945935dbe4a282ef830416c4deed3cf6f6204a7402de803de17e"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200048f49c7984fd20e1264e04afa91d536daffb8cbdd9c3f2deaf56fd9137d16830d01fe29d03d6a63f096061cbeabad7d0e4304531294ff633b09f51be4b26df3284bdfb76671a0945935dbe4a282ef830416c4deed3cf6f6204a7402de803de17e",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEj0nHmE/SDhJk4Er6kdU22v+4y92cPy3q\n9W/ZE30Wgw0B/inQPWpj8JYGHL6rrX0OQwRTEpT/YzsJ9Rvksm3zKEvft2ZxoJRZ\nNdvkooLvgwQWxN7tPPb2IEp0At6APeF+\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 402,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100f6282673ea521fffffffffffffffffffffffffffffffe8947f32058a85faa8404973c54151034e44e96206114898c987",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0453854575481f84e621f46c8190b9a351c592b62c5758dd3b54c5bc6392397acfb59217470b496c9d08ae7f0bbb61308a6b62b7e71148440f36117fd8d6770d9d54357cbe52b8a92ad006b706da71b67b197b9d338c77575b4d6994a863601a0b",
|
|
"wx" : "53854575481f84e621f46c8190b9a351c592b62c5758dd3b54c5bc6392397acfb59217470b496c9d08ae7f0bbb61308a",
|
|
"wy" : "6b62b7e71148440f36117fd8d6770d9d54357cbe52b8a92ad006b706da71b67b197b9d338c77575b4d6994a863601a0b"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000453854575481f84e621f46c8190b9a351c592b62c5758dd3b54c5bc6392397acfb59217470b496c9d08ae7f0bbb61308a6b62b7e71148440f36117fd8d6770d9d54357cbe52b8a92ad006b706da71b67b197b9d338c77575b4d6994a863601a0b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEU4VFdUgfhOYh9GyBkLmjUcWStixXWN07\nVMW8Y5I5es+1khdHC0lsnQiufwu7YTCKa2K35xFIRA82EX/Y1ncNnVQ1fL5SuKkq\n0Aa3BtpxtnsZe50zjHdXW01plKhjYBoL\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 403,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0230339f5290ffffffffffffffffffffffffffffffff44a5ad0bc4f8fa79d82cd1486814ccbf45244c9619195fafda5af6cd",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0499777fe147e7d56eefe190d6663a834fb241234355cf25acd61d3313f8aaf86c2751f5a83d5c2d60fcf57b85842e48e2847b062abf370e5065896a76d8046c48606fb9b21222837a7c4b120ba778832ebb517bee2f63830e447dde58dc780254",
|
|
"wx" : "0099777fe147e7d56eefe190d6663a834fb241234355cf25acd61d3313f8aaf86c2751f5a83d5c2d60fcf57b85842e48e2",
|
|
"wy" : "00847b062abf370e5065896a76d8046c48606fb9b21222837a7c4b120ba778832ebb517bee2f63830e447dde58dc780254"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000499777fe147e7d56eefe190d6663a834fb241234355cf25acd61d3313f8aaf86c2751f5a83d5c2d60fcf57b85842e48e2847b062abf370e5065896a76d8046c48606fb9b21222837a7c4b120ba778832ebb517bee2f63830e447dde58dc780254",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEmXd/4Ufn1W7v4ZDWZjqDT7JBI0NVzyWs\n1h0zE/iq+GwnUfWoPVwtYPz1e4WELkjihHsGKr83DlBliWp22ARsSGBvubISIoN6\nfEsSC6d4gy67UXvuL2ODDkR93ljceAJU\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 404,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100a76276276276276276276276276276275b4172f69bb50e0fc803429a4b367061ead3d8a82405b1f286ecad2856b84940",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04c7bfef909a8abaaf6f684807dabeb66119415ecd8b330c6cd1abc7a817f581bf045b23487e0b2a8fc5b42f70ed3777a228c16340b107bf486049da3308dd443eb44080423134bf37187386a205dfcbc5e39ad5b3e423d847617fb0410d80fd27",
|
|
"wx" : "00c7bfef909a8abaaf6f684807dabeb66119415ecd8b330c6cd1abc7a817f581bf045b23487e0b2a8fc5b42f70ed3777a2",
|
|
"wy" : "28c16340b107bf486049da3308dd443eb44080423134bf37187386a205dfcbc5e39ad5b3e423d847617fb0410d80fd27"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004c7bfef909a8abaaf6f684807dabeb66119415ecd8b330c6cd1abc7a817f581bf045b23487e0b2a8fc5b42f70ed3777a228c16340b107bf486049da3308dd443eb44080423134bf37187386a205dfcbc5e39ad5b3e423d847617fb0410d80fd27",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEx7/vkJqKuq9vaEgH2r62YRlBXs2LMwxs\n0avHqBf1gb8EWyNIfgsqj8W0L3DtN3eiKMFjQLEHv0hgSdozCN1EPrRAgEIxNL83\nGHOGogXfy8XjmtWz5CPYR2F/sEENgP0n\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 405,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02301999999999999999999999999999999986dd5e1ac809f15c95cffdf470020dffa26383cb1c8dc2b1e3ba665799d6e288",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04d293cca4e69ef23fee051fadd8d752bdb0640e1c0ad69a9efba80f7156d7c7b4d1b34d5372b55f3b8b7bd6a9abfa61c82b7aabb1cf818485ff1853e10d1a095fa86af694a97cfc92d0eb14a249b73536ef1f371c3cf83758af0f7a677e7320c7",
|
|
"wx" : "00d293cca4e69ef23fee051fadd8d752bdb0640e1c0ad69a9efba80f7156d7c7b4d1b34d5372b55f3b8b7bd6a9abfa61c8",
|
|
"wy" : "2b7aabb1cf818485ff1853e10d1a095fa86af694a97cfc92d0eb14a249b73536ef1f371c3cf83758af0f7a677e7320c7"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004d293cca4e69ef23fee051fadd8d752bdb0640e1c0ad69a9efba80f7156d7c7b4d1b34d5372b55f3b8b7bd6a9abfa61c82b7aabb1cf818485ff1853e10d1a095fa86af694a97cfc92d0eb14a249b73536ef1f371c3cf83758af0f7a677e7320c7",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE0pPMpOae8j/uBR+t2NdSvbBkDhwK1pqe\n+6gPcVbXx7TRs01TcrVfO4t71qmr+mHIK3qrsc+BhIX/GFPhDRoJX6hq9pSpfPyS\n0OsUokm3NTbvHzccPPg3WK8Pemd+cyDH\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 406,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02305555555555555555555555555555555516e1e459457679df48b54e842006d9541d4bb74fb48333a64c6d552400cc4870",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0469e6a54921a0f3d9f0c28b72fd37803ed0b25189417b52a7ec9e70bc17d128edfa5328d1f39cce22fcaf75a51037656a028b82fe82d9a5c5f1a529cdcb7dc6f8b25924993ecccccfaecb63f9aa0918c18575d4f51512e04bb3f10a65811fc7b6",
|
|
"wx" : "69e6a54921a0f3d9f0c28b72fd37803ed0b25189417b52a7ec9e70bc17d128edfa5328d1f39cce22fcaf75a51037656a",
|
|
"wy" : "028b82fe82d9a5c5f1a529cdcb7dc6f8b25924993ecccccfaecb63f9aa0918c18575d4f51512e04bb3f10a65811fc7b6"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000469e6a54921a0f3d9f0c28b72fd37803ed0b25189417b52a7ec9e70bc17d128edfa5328d1f39cce22fcaf75a51037656a028b82fe82d9a5c5f1a529cdcb7dc6f8b25924993ecccccfaecb63f9aa0918c18575d4f51512e04bb3f10a65811fc7b6",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEaealSSGg89nwwoty/TeAPtCyUYlBe1Kn\n7J5wvBfRKO36UyjR85zOIvyvdaUQN2VqAouC/oLZpcXxpSnNy33G+LJZJJk+zMzP\nrstj+aoJGMGFddT1FRLgS7PxCmWBH8e2\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 407,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02307fffffffffffffffffffffffffffffffa252d685e831b6ceed0ff5c6300a45fe2bf192f78ec4cd7972a3ffb601326ca8",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04a76bcfdec3e35782bb6748d1e5618a57dd3d077f00f8d9bdd3fa2b5d13f8281d46debcda0704da00d7ad1fbaa758d72f96f210ae33e995fccb11772c256b15cbf1ddb0744e6640acd9a7ea0c628e93ade4fedc368184ca9fa06c11bcc50c5fdd",
|
|
"wx" : "00a76bcfdec3e35782bb6748d1e5618a57dd3d077f00f8d9bdd3fa2b5d13f8281d46debcda0704da00d7ad1fbaa758d72f",
|
|
"wy" : "0096f210ae33e995fccb11772c256b15cbf1ddb0744e6640acd9a7ea0c628e93ade4fedc368184ca9fa06c11bcc50c5fdd"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004a76bcfdec3e35782bb6748d1e5618a57dd3d077f00f8d9bdd3fa2b5d13f8281d46debcda0704da00d7ad1fbaa758d72f96f210ae33e995fccb11772c256b15cbf1ddb0744e6640acd9a7ea0c628e93ade4fedc368184ca9fa06c11bcc50c5fdd",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEp2vP3sPjV4K7Z0jR5WGKV909B38A+Nm9\n0/orXRP4KB1G3rzaBwTaANetH7qnWNcvlvIQrjPplfzLEXcsJWsVy/HdsHROZkCs\n2afqDGKOk63k/tw2gYTKn6BsEbzFDF/d\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 408,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100f088c8722897366cd1fe54d4e6b9d54cd42afbd3881757108978180b96e9ad85affbd7594e67254e20d9e04d192da452",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "046608ea63d56c6bb7f5fc56688a2fb5ce3f06ef67c1f3c357f30bcdbe32bc5fad3e58edb340ab5417bab5b331a8c4f7f4a83f1cf80687d5cee7729c02a7b62aacc14e829d29b46f9ff08626d3e3014e98a1f3a5dd88d92b005f3b6f8b4775fcdb",
|
|
"wx" : "6608ea63d56c6bb7f5fc56688a2fb5ce3f06ef67c1f3c357f30bcdbe32bc5fad3e58edb340ab5417bab5b331a8c4f7f4",
|
|
"wy" : "00a83f1cf80687d5cee7729c02a7b62aacc14e829d29b46f9ff08626d3e3014e98a1f3a5dd88d92b005f3b6f8b4775fcdb"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200046608ea63d56c6bb7f5fc56688a2fb5ce3f06ef67c1f3c357f30bcdbe32bc5fad3e58edb340ab5417bab5b331a8c4f7f4a83f1cf80687d5cee7729c02a7b62aacc14e829d29b46f9ff08626d3e3014e98a1f3a5dd88d92b005f3b6f8b4775fcdb",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEZgjqY9Vsa7f1/FZoii+1zj8G72fB88NX\n8wvNvjK8X60+WO2zQKtUF7q1szGoxPf0qD8c+AaH1c7ncpwCp7YqrMFOgp0ptG+f\n8IYm0+MBTpih86XdiNkrAF87b4tHdfzb\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 409,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02307fffffffffffffffffffffffffffffffffffffffffffffffed2119d5fc12649fc808af3b6d9037d3a44eb32399970dd0",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04b2f4923dcf54ddf300d90f82b646c82b9395b2255048b9327a73e598cb2a0ac71807270ece0ce3a9172ff63ab2a4b5792db76185037c879f4188a794892a07739ed15a6eaaaa94ec37aa82cb092e39934ad68cc4b390efc979c55cd9e69d88d4",
|
|
"wx" : "00b2f4923dcf54ddf300d90f82b646c82b9395b2255048b9327a73e598cb2a0ac71807270ece0ce3a9172ff63ab2a4b579",
|
|
"wy" : "2db76185037c879f4188a794892a07739ed15a6eaaaa94ec37aa82cb092e39934ad68cc4b390efc979c55cd9e69d88d4"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004b2f4923dcf54ddf300d90f82b646c82b9395b2255048b9327a73e598cb2a0ac71807270ece0ce3a9172ff63ab2a4b5792db76185037c879f4188a794892a07739ed15a6eaaaa94ec37aa82cb092e39934ad68cc4b390efc979c55cd9e69d88d4",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEsvSSPc9U3fMA2Q+CtkbIK5OVsiVQSLky\nenPlmMsqCscYBycOzgzjqRcv9jqypLV5LbdhhQN8h59BiKeUiSoHc57RWm6qqpTs\nN6qCywkuOZNK1ozEs5DvyXnFXNnmnYjU\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 410,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023079b95c013b0472de04d8faeec3b779c39fe729ea84fb554cd091c7178c2f054eabbc62c3e1cfbac2c2e69d7aa45d9072",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04cb814875d6d40960dea00196d1a9156db9ad46d636a798e80ecdb27ff070e41f286a7c0acc35de6272980928ecbf39a9c1d2e9fae5462024d7671459d20b8711a5d3bada784eb95c44179bb036f60cd1940561ea4dc14c3161ad3c26925feb19",
|
|
"wx" : "00cb814875d6d40960dea00196d1a9156db9ad46d636a798e80ecdb27ff070e41f286a7c0acc35de6272980928ecbf39a9",
|
|
"wy" : "00c1d2e9fae5462024d7671459d20b8711a5d3bada784eb95c44179bb036f60cd1940561ea4dc14c3161ad3c26925feb19"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004cb814875d6d40960dea00196d1a9156db9ad46d636a798e80ecdb27ff070e41f286a7c0acc35de6272980928ecbf39a9c1d2e9fae5462024d7671459d20b8711a5d3bada784eb95c44179bb036f60cd1940561ea4dc14c3161ad3c26925feb19",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEy4FIddbUCWDeoAGW0akVbbmtRtY2p5jo\nDs2yf/Bw5B8oanwKzDXeYnKYCSjsvzmpwdLp+uVGICTXZxRZ0guHEaXTutp4Trlc\nRBebsDb2DNGUBWHqTcFMMWGtPCaSX+sZ\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 411,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100bfd40d0caa4d9d42381f3d72a25683f52b03a1ed96fb72d03f08dcb9a8bc8f23c1a459deab03bcd39396c0d1e9053c81",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "040dbd9ccca18e9edbb0d2ca8c7b33de0ce5e2ce4b641af2a4e8e4e105705ad2c04043e22f7bc9f32474a9ce05a2772f38ffb8419e769afd848df80677f632cc6c292cf73f74505a043bdc224553dff4f6d1d4d2a94f6d74a7893bd37dd199463f",
|
|
"wx" : "0dbd9ccca18e9edbb0d2ca8c7b33de0ce5e2ce4b641af2a4e8e4e105705ad2c04043e22f7bc9f32474a9ce05a2772f38",
|
|
"wy" : "00ffb8419e769afd848df80677f632cc6c292cf73f74505a043bdc224553dff4f6d1d4d2a94f6d74a7893bd37dd199463f"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200040dbd9ccca18e9edbb0d2ca8c7b33de0ce5e2ce4b641af2a4e8e4e105705ad2c04043e22f7bc9f32474a9ce05a2772f38ffb8419e769afd848df80677f632cc6c292cf73f74505a043bdc224553dff4f6d1d4d2a94f6d74a7893bd37dd199463f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEDb2czKGOntuw0sqMezPeDOXizktkGvKk\n6OThBXBa0sBAQ+Ive8nzJHSpzgWidy84/7hBnnaa/YSN+AZ39jLMbCks9z90UFoE\nO9wiRVPf9PbR1NKpT210p4k7033RmUY/\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 412,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02304c7d219db9af94ce7fffffffffffffffffffffffffffffffef15cf1058c8d8ba1e634c4122db95ec1facd4bb13ebf09a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04dd259071ca02a423555760f7712c51eb25c6ebe52408cd91c7463283d45a6318cbffbcc37389cdf1926233bc60b79ae325c0e41d49d876b7bcd08da82ac29674b346d09185f1ee9552b03eee982f493ce0b03169fc421c42325e2160fdaf651f",
|
|
"wx" : "00dd259071ca02a423555760f7712c51eb25c6ebe52408cd91c7463283d45a6318cbffbcc37389cdf1926233bc60b79ae3",
|
|
"wy" : "25c0e41d49d876b7bcd08da82ac29674b346d09185f1ee9552b03eee982f493ce0b03169fc421c42325e2160fdaf651f"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004dd259071ca02a423555760f7712c51eb25c6ebe52408cd91c7463283d45a6318cbffbcc37389cdf1926233bc60b79ae325c0e41d49d876b7bcd08da82ac29674b346d09185f1ee9552b03eee982f493ce0b03169fc421c42325e2160fdaf651f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3SWQccoCpCNVV2D3cSxR6yXG6+UkCM2R\nx0Yyg9RaYxjL/7zDc4nN8ZJiM7xgt5rjJcDkHUnYdre80I2oKsKWdLNG0JGF8e6V\nUrA+7pgvSTzgsDFp/EIcQjJeIWD9r2Uf\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 413,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100d219db9af94ce7ffffffffffffffffffffffffffffffffffd189bdb6d9ef7be8504ca374756ea5b8f15e44067d209b9b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04576571c8489bc8f1f17c3a5e692ffa15e87501fce3544f6ec51a4fd5c9c84f33e95dd47645c61e70a53840243ba55f60e4b2f7d1815179c60c1d9ad6fd4dddf856569bd33986d3412b1030f8dedc48a2309bce01e324483f95257069a48773cd",
|
|
"wx" : "576571c8489bc8f1f17c3a5e692ffa15e87501fce3544f6ec51a4fd5c9c84f33e95dd47645c61e70a53840243ba55f60",
|
|
"wy" : "00e4b2f7d1815179c60c1d9ad6fd4dddf856569bd33986d3412b1030f8dedc48a2309bce01e324483f95257069a48773cd"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004576571c8489bc8f1f17c3a5e692ffa15e87501fce3544f6ec51a4fd5c9c84f33e95dd47645c61e70a53840243ba55f60e4b2f7d1815179c60c1d9ad6fd4dddf856569bd33986d3412b1030f8dedc48a2309bce01e324483f95257069a48773cd",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEV2VxyEibyPHxfDpeaS/6Feh1AfzjVE9u\nxRpP1cnITzPpXdR2RcYecKU4QCQ7pV9g5LL30YFRecYMHZrW/U3d+FZWm9M5htNB\nKxAw+N7cSKIwm84B4yRIP5UlcGmkh3PN\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 414,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100a433b735f299cfffffffffffffffffffffffffffffffffffdbb02debbfa7c9f1487f3936a22ca3f6f5d06ea22d7c0dc3",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04536c24359a4d7a6c9d1366a8a9ac4702332af87117db4d8ad3e941932d938dc17f1869f95621f22ce9f66a86100cc57bdfe809d5c1875807f42510af20e0d6ddc169422090192df9741a0d9b6de9ce608ad9ad72adbf7a17269f5dceec7b6f17",
|
|
"wx" : "536c24359a4d7a6c9d1366a8a9ac4702332af87117db4d8ad3e941932d938dc17f1869f95621f22ce9f66a86100cc57b",
|
|
"wy" : "00dfe809d5c1875807f42510af20e0d6ddc169422090192df9741a0d9b6de9ce608ad9ad72adbf7a17269f5dceec7b6f17"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004536c24359a4d7a6c9d1366a8a9ac4702332af87117db4d8ad3e941932d938dc17f1869f95621f22ce9f66a86100cc57bdfe809d5c1875807f42510af20e0d6ddc169422090192df9741a0d9b6de9ce608ad9ad72adbf7a17269f5dceec7b6f17",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEU2wkNZpNemydE2aoqaxHAjMq+HEX202K\n0+lBky2TjcF/GGn5ViHyLOn2aoYQDMV73+gJ1cGHWAf0JRCvIODW3cFpQiCQGS35\ndBoNm23pzmCK2a1yrb96FyafXc7se28X\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 415,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100b9af94ce7fffffffffffffffffffffffffffffffffffffffd6efeefc876c9f23217b443c80637ef939e911219f96c179",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04f7ad2994d5e2d45e8013495b67ead9033eb89d0a7bf795f443cca19e4bc4b62fb141505e0b45f4c353f139d7693848aa2998c1024fd34cfa167ec75ecedf967497a9a3b1d3f7a30915a9b8ada601aa1706d7c4c99f52628519775e4243d84b3c",
|
|
"wx" : "00f7ad2994d5e2d45e8013495b67ead9033eb89d0a7bf795f443cca19e4bc4b62fb141505e0b45f4c353f139d7693848aa",
|
|
"wy" : "2998c1024fd34cfa167ec75ecedf967497a9a3b1d3f7a30915a9b8ada601aa1706d7c4c99f52628519775e4243d84b3c"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004f7ad2994d5e2d45e8013495b67ead9033eb89d0a7bf795f443cca19e4bc4b62fb141505e0b45f4c353f139d7693848aa2998c1024fd34cfa167ec75ecedf967497a9a3b1d3f7a30915a9b8ada601aa1706d7c4c99f52628519775e4243d84b3c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE960plNXi1F6AE0lbZ+rZAz64nQp795X0\nQ8yhnkvEti+xQVBeC0X0w1PxOddpOEiqKZjBAk/TTPoWfsdezt+WdJepo7HT96MJ\nFam4raYBqhcG18TJn1JihRl3XkJD2Es8\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 416,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100a276276276276276276276276276276276276276276276273d7228d4f84b769be0fd57b97e4c1ebcae9a5f635e80e9df",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "043a591e4e71d27b46678a3459361afa394f991ea553b8c06e337960dc424762c5cf2489864d323aa2ab53933fdc93f71dd21330465eaa43aa2e6572fe087fd192e39bc53f8356dc7c5bbcaa693ee5a2e56b952079a0a49ecad45903c937e2b94b",
|
|
"wx" : "3a591e4e71d27b46678a3459361afa394f991ea553b8c06e337960dc424762c5cf2489864d323aa2ab53933fdc93f71d",
|
|
"wy" : "00d21330465eaa43aa2e6572fe087fd192e39bc53f8356dc7c5bbcaa693ee5a2e56b952079a0a49ecad45903c937e2b94b"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200043a591e4e71d27b46678a3459361afa394f991ea553b8c06e337960dc424762c5cf2489864d323aa2ab53933fdc93f71dd21330465eaa43aa2e6572fe087fd192e39bc53f8356dc7c5bbcaa693ee5a2e56b952079a0a49ecad45903c937e2b94b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEOlkeTnHSe0ZnijRZNhr6OU+ZHqVTuMBu\nM3lg3EJHYsXPJImGTTI6oqtTkz/ck/cd0hMwRl6qQ6ouZXL+CH/RkuObxT+DVtx8\nW7yqaT7louVrlSB5oKSeytRZA8k34rlL\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 417,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023073333333333333333333333333333333333333333333333316e4d9f42d4eca22df403a0c578b86f0a9a93fe89995c7ed",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "043379e51b7535d0abf2bdb1d96fd98105193f9fd248439233fa003133083b424d6a9da59ed9b1f13f2e73b427c7c45ae100297dc5a37442429e16879236c3fa309aed2cdb1ed288f7f39d6284aa09da0b961c9f4d242f89c8741af1faab3c90c4",
|
|
"wx" : "3379e51b7535d0abf2bdb1d96fd98105193f9fd248439233fa003133083b424d6a9da59ed9b1f13f2e73b427c7c45ae1",
|
|
"wy" : "297dc5a37442429e16879236c3fa309aed2cdb1ed288f7f39d6284aa09da0b961c9f4d242f89c8741af1faab3c90c4"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200043379e51b7535d0abf2bdb1d96fd98105193f9fd248439233fa003133083b424d6a9da59ed9b1f13f2e73b427c7c45ae100297dc5a37442429e16879236c3fa309aed2cdb1ed288f7f39d6284aa09da0b961c9f4d242f89c8741af1faab3c90c4",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEM3nlG3U10KvyvbHZb9mBBRk/n9JIQ5Iz\n+gAxMwg7Qk1qnaWe2bHxPy5ztCfHxFrhACl9xaN0QkKeFoeSNsP6MJrtLNse0oj3\n851ihKoJ2guWHJ9NJC+JyHQa8fqrPJDE\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 418,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02307fffffffffffffffffffffffffffffffffffffffffffffffda4233abf824c93f90115e76db206fa7489d6647332e1ba3",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "045d47c565466e38dbcb22e83198f8499bae2c3de0696330b3bf64a59b9cbf614e727892b2cbc6114b48009d4172489a49d535292a338ee880368cb829a49170ceb86767dc07df68dc2da8eac3b4ddbea6366447d05423b0097a9c86a04b88995b",
|
|
"wx" : "5d47c565466e38dbcb22e83198f8499bae2c3de0696330b3bf64a59b9cbf614e727892b2cbc6114b48009d4172489a49",
|
|
"wy" : "00d535292a338ee880368cb829a49170ceb86767dc07df68dc2da8eac3b4ddbea6366447d05423b0097a9c86a04b88995b"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200045d47c565466e38dbcb22e83198f8499bae2c3de0696330b3bf64a59b9cbf614e727892b2cbc6114b48009d4172489a49d535292a338ee880368cb829a49170ceb86767dc07df68dc2da8eac3b4ddbea6366447d05423b0097a9c86a04b88995b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEXUfFZUZuONvLIugxmPhJm64sPeBpYzCz\nv2Slm5y/YU5yeJKyy8YRS0gAnUFySJpJ1TUpKjOO6IA2jLgppJFwzrhnZ9wH32jc\nLajqw7TdvqY2ZEfQVCOwCXqchqBLiJlb\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 419,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02303fffffffffffffffffffffffffffffffffffffffffffffffe3b1a6c0fa1b96efac0d06d9245853bd76760cb5666294bb",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04c05afbde4722ac351cbc7fbed85be84cccf9748a89bd834a05946cca51b5845a4e1d27b3affd57f80a34bc0e84720a35ecc37a2f4b1a01cbbe918cc9df54b87bd52255868d0f918e0c5f5332d18532caf4e30458ab69a303022fdcc43931d6ed",
|
|
"wx" : "00c05afbde4722ac351cbc7fbed85be84cccf9748a89bd834a05946cca51b5845a4e1d27b3affd57f80a34bc0e84720a35",
|
|
"wy" : "00ecc37a2f4b1a01cbbe918cc9df54b87bd52255868d0f918e0c5f5332d18532caf4e30458ab69a303022fdcc43931d6ed"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004c05afbde4722ac351cbc7fbed85be84cccf9748a89bd834a05946cca51b5845a4e1d27b3affd57f80a34bc0e84720a35ecc37a2f4b1a01cbbe918cc9df54b87bd52255868d0f918e0c5f5332d18532caf4e30458ab69a303022fdcc43931d6ed",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwFr73kcirDUcvH++2FvoTMz5dIqJvYNK\nBZRsylG1hFpOHSezr/1X+Ao0vA6Ecgo17MN6L0saAcu+kYzJ31S4e9UiVYaND5GO\nDF9TMtGFMsr04wRYq2mjAwIv3MQ5Mdbt\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 420,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100dfea06865526cea11c0f9eb9512b41fa9581d0f6cb7db9680336151dce79de818cdf33c879da322740416d1e5ae532fa",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "043c246b196629148260d8453f2f54006b32d098bb7dbeb2efe9216a745decc80434bf28e4cc4167ca461ad2434c244abbae83351bb64b8681dfcafb3d52495f947039a0923903856407b005a5bfdcb6e952fc867433c6947864453a7db0db9db2",
|
|
"wx" : "3c246b196629148260d8453f2f54006b32d098bb7dbeb2efe9216a745decc80434bf28e4cc4167ca461ad2434c244abb",
|
|
"wy" : "00ae83351bb64b8681dfcafb3d52495f947039a0923903856407b005a5bfdcb6e952fc867433c6947864453a7db0db9db2"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200043c246b196629148260d8453f2f54006b32d098bb7dbeb2efe9216a745decc80434bf28e4cc4167ca461ad2434c244abbae83351bb64b8681dfcafb3d52495f947039a0923903856407b005a5bfdcb6e952fc867433c6947864453a7db0db9db2",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEPCRrGWYpFIJg2EU/L1QAazLQmLt9vrLv\n6SFqdF3syAQ0vyjkzEFnykYa0kNMJEq7roM1G7ZLhoHfyvs9UklflHA5oJI5A4Vk\nB7AFpb/ctulS/IZ0M8aUeGRFOn2w252y\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 421,
|
|
"comment" : "point duplication during verification",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100b37699e0d518a4d370dbdaaaea3788850fa03f8186d1f78fdfbae6540aa670b31c8ada0fff3e737bd69520560fe0ce60023008f8607b46952a98fbb62768cda34643a5ba7ba37e3b0e6470e660502dce358a819d965dd882555b8d139835c06d4a7f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "043c246b196629148260d8453f2f54006b32d098bb7dbeb2efe9216a745decc80434bf28e4cc4167ca461ad2434c244abb517ccae449b4797e203504c2adb6a06b8fc65f6dc6fc7a9bf84ffa5a40234915ad03798acc396b879bbac5834f24624d",
|
|
"wx" : "3c246b196629148260d8453f2f54006b32d098bb7dbeb2efe9216a745decc80434bf28e4cc4167ca461ad2434c244abb",
|
|
"wy" : "517ccae449b4797e203504c2adb6a06b8fc65f6dc6fc7a9bf84ffa5a40234915ad03798acc396b879bbac5834f24624d"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200043c246b196629148260d8453f2f54006b32d098bb7dbeb2efe9216a745decc80434bf28e4cc4167ca461ad2434c244abb517ccae449b4797e203504c2adb6a06b8fc65f6dc6fc7a9bf84ffa5a40234915ad03798acc396b879bbac5834f24624d",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEPCRrGWYpFIJg2EU/L1QAazLQmLt9vrLv\n6SFqdF3syAQ0vyjkzEFnykYa0kNMJEq7UXzK5Em0eX4gNQTCrbaga4/GX23G/Hqb\n+E/6WkAjSRWtA3mKzDlrh5u6xYNPJGJN\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 422,
|
|
"comment" : "duplication bug",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100b37699e0d518a4d370dbdaaaea3788850fa03f8186d1f78fdfbae6540aa670b31c8ada0fff3e737bd69520560fe0ce60023008f8607b46952a98fbb62768cda34643a5ba7ba37e3b0e6470e660502dce358a819d965dd882555b8d139835c06d4a7f",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04665aea8c7150c125dfc978cf39d93372b822b9bd503f43f659981c9af6813b13479d895ffee6ce7e5b424e5b8a4567aabb36fabb598230f5deabfda1b8bb364b4e29a7ed04d1ec45bdc602098c9a1330755e7c4c7739c4dcb898476783242c9f",
|
|
"wx" : "665aea8c7150c125dfc978cf39d93372b822b9bd503f43f659981c9af6813b13479d895ffee6ce7e5b424e5b8a4567aa",
|
|
"wy" : "00bb36fabb598230f5deabfda1b8bb364b4e29a7ed04d1ec45bdc602098c9a1330755e7c4c7739c4dcb898476783242c9f"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004665aea8c7150c125dfc978cf39d93372b822b9bd503f43f659981c9af6813b13479d895ffee6ce7e5b424e5b8a4567aabb36fabb598230f5deabfda1b8bb364b4e29a7ed04d1ec45bdc602098c9a1330755e7c4c7739c4dcb898476783242c9f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEZlrqjHFQwSXfyXjPOdkzcrgiub1QP0P2\nWZgcmvaBOxNHnYlf/ubOfltCTluKRWequzb6u1mCMPXeq/2huLs2S04pp+0E0exF\nvcYCCYyaEzB1XnxMdznE3LiYR2eDJCyf\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 423,
|
|
"comment" : "point with x-coordinate 0",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3035020101023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04a295709e20608372fa22e764be8eb29302f5a89af22e947ca3fcbdf7c4992a5675a9c5a60d65e3b8acf8e291c67d5b1710cb799efdfddeaa04e2426f2c6a08f2df7e4160f8618925355947c159aaf406ef90056414093c42a213b7cc9d006a09",
|
|
"wx" : "00a295709e20608372fa22e764be8eb29302f5a89af22e947ca3fcbdf7c4992a5675a9c5a60d65e3b8acf8e291c67d5b17",
|
|
"wy" : "10cb799efdfddeaa04e2426f2c6a08f2df7e4160f8618925355947c159aaf406ef90056414093c42a213b7cc9d006a09"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004a295709e20608372fa22e764be8eb29302f5a89af22e947ca3fcbdf7c4992a5675a9c5a60d65e3b8acf8e291c67d5b1710cb799efdfddeaa04e2426f2c6a08f2df7e4160f8618925355947c159aaf406ef90056414093c42a213b7cc9d006a09",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEopVwniBgg3L6Iudkvo6ykwL1qJryLpR8\no/y998SZKlZ1qcWmDWXjuKz44pHGfVsXEMt5nv393qoE4kJvLGoI8t9+QWD4YYkl\nNVlHwVmq9AbvkAVkFAk8QqITt8ydAGoJ\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 424,
|
|
"comment" : "point with x-coordinate 0",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000023033333333333333333333333333333333333333333333333327e0a919fda4a2c644d202bd41bcee4bc8fc05155c276eb0",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04accca75348f7e5ac63f8dbd2c8f05be5f3c245cae8f0b029fb1ce6362f3c5c14181bea69cfab5da4dc0a8a53396760b54d0a19e7be066654d27ca925a92f67a75fedabd414db72e6177d142267c365b42a3b304dc7aefb90276801018bcd661b",
|
|
"wx" : "00accca75348f7e5ac63f8dbd2c8f05be5f3c245cae8f0b029fb1ce6362f3c5c14181bea69cfab5da4dc0a8a53396760b5",
|
|
"wy" : "4d0a19e7be066654d27ca925a92f67a75fedabd414db72e6177d142267c365b42a3b304dc7aefb90276801018bcd661b"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004accca75348f7e5ac63f8dbd2c8f05be5f3c245cae8f0b029fb1ce6362f3c5c14181bea69cfab5da4dc0a8a53396760b54d0a19e7be066654d27ca925a92f67a75fedabd414db72e6177d142267c365b42a3b304dc7aefb90276801018bcd661b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAErMynU0j35axj+NvSyPBb5fPCRcro8LAp\n+xzmNi88XBQYG+ppz6tdpNwKilM5Z2C1TQoZ574GZlTSfKklqS9np1/tq9QU23Lm\nF30UImfDZbQqOzBNx677kCdoAQGLzWYb\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 425,
|
|
"comment" : "comparison with point at infinity ",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326023033333333333333333333333333333333333333333333333327e0a919fda4a2c644d202bd41bcee4bc8fc05155c276eb0",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "047875a539f14452b88b6d7bd04fc9f20840cb58881a5337fbdd673579f6e18a08e23e4099c7e2a29418fadcb33e248392c2d17f5866099e6c1e9a244dac48994201dbb6cb7bc0940572d1f05c8d8865d215f58bbdff43591872834d0d473b95f6",
|
|
"wx" : "7875a539f14452b88b6d7bd04fc9f20840cb58881a5337fbdd673579f6e18a08e23e4099c7e2a29418fadcb33e248392",
|
|
"wy" : "00c2d17f5866099e6c1e9a244dac48994201dbb6cb7bc0940572d1f05c8d8865d215f58bbdff43591872834d0d473b95f6"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200047875a539f14452b88b6d7bd04fc9f20840cb58881a5337fbdd673579f6e18a08e23e4099c7e2a29418fadcb33e248392c2d17f5866099e6c1e9a244dac48994201dbb6cb7bc0940572d1f05c8d8865d215f58bbdff43591872834d0d473b95f6",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEeHWlOfFEUriLbXvQT8nyCEDLWIgaUzf7\n3Wc1efbhigjiPkCZx+KilBj63LM+JIOSwtF/WGYJnmwemiRNrEiZQgHbtst7wJQF\nctHwXI2IZdIV9Yu9/0NZGHKDTQ1HO5X2\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 426,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023008d999057ba3d2d969260045c55b97f089025959a6f434d651d207d19fb96e9e4fe0e86ebe0e64f85b96a9c75295df61023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "0452828bf33158db6b6df5afd25d567b8318176ea946410396d123e1c05114ed1bcebe0eb86c6e5a2161e67be8e73606d17571de1a0d4af076ff0b659648c4421fe9209943c26c59f37d51c5c08ab7af62b0db021d41891b4775cf6d590788c1e4",
|
|
"wx" : "52828bf33158db6b6df5afd25d567b8318176ea946410396d123e1c05114ed1bcebe0eb86c6e5a2161e67be8e73606d1",
|
|
"wy" : "7571de1a0d4af076ff0b659648c4421fe9209943c26c59f37d51c5c08ab7af62b0db021d41891b4775cf6d590788c1e4"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b810400220362000452828bf33158db6b6df5afd25d567b8318176ea946410396d123e1c05114ed1bcebe0eb86c6e5a2161e67be8e73606d17571de1a0d4af076ff0b659648c4421fe9209943c26c59f37d51c5c08ab7af62b0db021d41891b4775cf6d590788c1e4",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEUoKL8zFY22tt9a/SXVZ7gxgXbqlGQQOW\n0SPhwFEU7RvOvg64bG5aIWHme+jnNgbRdXHeGg1K8Hb/C2WWSMRCH+kgmUPCbFnz\nfVHFwIq3r2Kw2wIdQYkbR3XPbVkHiMHk\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 427,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023008d999057ba3d2d969260045c55b97f089025959a6f434d651d207d19fb96e9e4fe0e86ebe0e64f85b96a9c75295df6102302492492492492492492492492492492492492492492492491c7be680477598d6c3716fabc13dcec86afd2833d41c2a7e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04acc56e53377950c865db422481b8d6a23b85797a6196cbcb85ca49ad2f0d2a7846d78d178b816951c8d63c20cc1a09de4bb0eb484864b8bce2eef0133efc8ccb2ed6e81b00461971528e8ae463318de16c668cc4e5c536f173f21acb84f01e89",
|
|
"wx" : "00acc56e53377950c865db422481b8d6a23b85797a6196cbcb85ca49ad2f0d2a7846d78d178b816951c8d63c20cc1a09de",
|
|
"wy" : "4bb0eb484864b8bce2eef0133efc8ccb2ed6e81b00461971528e8ae463318de16c668cc4e5c536f173f21acb84f01e89"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004acc56e53377950c865db422481b8d6a23b85797a6196cbcb85ca49ad2f0d2a7846d78d178b816951c8d63c20cc1a09de4bb0eb484864b8bce2eef0133efc8ccb2ed6e81b00461971528e8ae463318de16c668cc4e5c536f173f21acb84f01e89",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAErMVuUzd5UMhl20IkgbjWojuFeXphlsvL\nhcpJrS8NKnhG140Xi4FpUcjWPCDMGgneS7DrSEhkuLzi7vATPvyMyy7W6BsARhlx\nUo6K5GMxjeFsZozE5cU28XPyGsuE8B6J\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 428,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023008d999057ba3d2d969260045c55b97f089025959a6f434d651d207d19fb96e9e4fe0e86ebe0e64f85b96a9c75295df6102306666666666666666666666666666666666666666666666664fc15233fb49458c89a4057a8379dc9791f80a2ab84edd61",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04b75eeccd7fb25e5f541c103a9f4f5949a75106ba37a37777ec91101fd8941c0ebe33bbdb9c456a5fadd046b8ebea32b170e5ac6fc398b0719633cd9bdcdb4603f56f896f8c673d52dcf80cc59db81e1c4603dd5bda1179dccc0c466863cf7188",
|
|
"wx" : "00b75eeccd7fb25e5f541c103a9f4f5949a75106ba37a37777ec91101fd8941c0ebe33bbdb9c456a5fadd046b8ebea32b1",
|
|
"wy" : "70e5ac6fc398b0719633cd9bdcdb4603f56f896f8c673d52dcf80cc59db81e1c4603dd5bda1179dccc0c466863cf7188"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004b75eeccd7fb25e5f541c103a9f4f5949a75106ba37a37777ec91101fd8941c0ebe33bbdb9c456a5fadd046b8ebea32b170e5ac6fc398b0719633cd9bdcdb4603f56f896f8c673d52dcf80cc59db81e1c4603dd5bda1179dccc0c466863cf7188",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEt17szX+yXl9UHBA6n09ZSadRBro3o3d3\n7JEQH9iUHA6+M7vbnEVqX63QRrjr6jKxcOWsb8OYsHGWM82b3NtGA/VviW+MZz1S\n3PgMxZ24HhxGA91b2hF53MwMRmhjz3GI\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 429,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023008d999057ba3d2d969260045c55b97f089025959a6f434d651d207d19fb96e9e4fe0e86ebe0e64f85b96a9c75295df6102310099999999999999999999999999999999999999999999999977a1fb4df8ede852ce760837c536cae35af40f4014764c12",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04537dfac2315c48a04624cfd8a8b168879f6888f96c67803f8ae7a31082a0185b8925a74a99bebe543d113d6e46fe189c9b449167c921fa8d02f373f5ce9baee5e70f556608af997e59dac9e23f589be5972aef1313bbc7f4c40e718d49c0cba8",
|
|
"wx" : "537dfac2315c48a04624cfd8a8b168879f6888f96c67803f8ae7a31082a0185b8925a74a99bebe543d113d6e46fe189c",
|
|
"wy" : "009b449167c921fa8d02f373f5ce9baee5e70f556608af997e59dac9e23f589be5972aef1313bbc7f4c40e718d49c0cba8"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004537dfac2315c48a04624cfd8a8b168879f6888f96c67803f8ae7a31082a0185b8925a74a99bebe543d113d6e46fe189c9b449167c921fa8d02f373f5ce9baee5e70f556608af997e59dac9e23f589be5972aef1313bbc7f4c40e718d49c0cba8",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEU336wjFcSKBGJM/YqLFoh59oiPlsZ4A/\niuejEIKgGFuJJadKmb6+VD0RPW5G/hicm0SRZ8kh+o0C83P1zpuu5ecPVWYIr5l+\nWdrJ4j9Ym+WXKu8TE7vH9MQOcY1JwMuo\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 430,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023008d999057ba3d2d969260045c55b97f089025959a6f434d651d207d19fb96e9e4fe0e86ebe0e64f85b96a9c75295df61023100db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6aae76701acc1950894a89e068772d8b281eef136f8a8fef5",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "046640e0650d9025b936f2785e41516dd451092e2251eabfe9b32fae26702b7b89e8b3fd726d182b107b95dd3952a3776a19e24468c2d120789dccb27aad379e205d54f9dfd3a7229b9f82c9398130e8fc210ae424f939d7e079afd7198388e75d",
|
|
"wx" : "6640e0650d9025b936f2785e41516dd451092e2251eabfe9b32fae26702b7b89e8b3fd726d182b107b95dd3952a3776a",
|
|
"wy" : "19e24468c2d120789dccb27aad379e205d54f9dfd3a7229b9f82c9398130e8fc210ae424f939d7e079afd7198388e75d"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200046640e0650d9025b936f2785e41516dd451092e2251eabfe9b32fae26702b7b89e8b3fd726d182b107b95dd3952a3776a19e24468c2d120789dccb27aad379e205d54f9dfd3a7229b9f82c9398130e8fc210ae424f939d7e079afd7198388e75d",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEZkDgZQ2QJbk28nheQVFt1FEJLiJR6r/p\nsy+uJnAre4nos/1ybRgrEHuV3TlSo3dqGeJEaMLRIHidzLJ6rTeeIF1U+d/TpyKb\nn4LJOYEw6PwhCuQk+TnX4Hmv1xmDiOdd\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 431,
|
|
"comment" : "extreme value for k",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023008d999057ba3d2d969260045c55b97f089025959a6f434d651d207d19fb96e9e4fe0e86ebe0e64f85b96a9c75295df6102300eb10e5ab95f2f26a40700b1300fb8c3e754d5c453d9384ecce1daa38135a48a0a96c24efc2a76d00bde1d7aeedf7f6a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04145e3f8e547067310c512997302aaa4eab971a72288a9b6e4ba846e39a619d0e1ae4f136015ac975fc5283b8e61cef4099c2ad9913e61dcce2fd3cece6e989755e5aa6bba0ecb070b5d176f47222eb9ee655b8843e413cce14ac219ed79a5c70",
|
|
"wx" : "145e3f8e547067310c512997302aaa4eab971a72288a9b6e4ba846e39a619d0e1ae4f136015ac975fc5283b8e61cef40",
|
|
"wy" : "0099c2ad9913e61dcce2fd3cece6e989755e5aa6bba0ecb070b5d176f47222eb9ee655b8843e413cce14ac219ed79a5c70"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004145e3f8e547067310c512997302aaa4eab971a72288a9b6e4ba846e39a619d0e1ae4f136015ac975fc5283b8e61cef4099c2ad9913e61dcce2fd3cece6e989755e5aa6bba0ecb070b5d176f47222eb9ee655b8843e413cce14ac219ed79a5c70",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEFF4/jlRwZzEMUSmXMCqqTquXGnIoiptu\nS6hG45phnQ4a5PE2AVrJdfxSg7jmHO9AmcKtmRPmHczi/Tzs5umJdV5aprug7LBw\ntdF29HIi657mVbiEPkE8zhSsIZ7Xmlxw\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 432,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04decf587c31d7df83446f2da47c5158ad7794af76fcc726c201b150ccbc8e41bb218ccb9ab0a9fda741c8173f98e3f4b23b9fd5db1b326b12820dab5a8da938af2a23cd82467b69af7e8ab8bcfd79d12ab0acfc443b709af02fa160245c5ad50a",
|
|
"wx" : "00decf587c31d7df83446f2da47c5158ad7794af76fcc726c201b150ccbc8e41bb218ccb9ab0a9fda741c8173f98e3f4b2",
|
|
"wy" : "3b9fd5db1b326b12820dab5a8da938af2a23cd82467b69af7e8ab8bcfd79d12ab0acfc443b709af02fa160245c5ad50a"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004decf587c31d7df83446f2da47c5158ad7794af76fcc726c201b150ccbc8e41bb218ccb9ab0a9fda741c8173f98e3f4b23b9fd5db1b326b12820dab5a8da938af2a23cd82467b69af7e8ab8bcfd79d12ab0acfc443b709af02fa160245c5ad50a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3s9YfDHX34NEby2kfFFYrXeUr3b8xybC\nAbFQzLyOQbshjMuasKn9p0HIFz+Y4/SyO5/V2xsyaxKCDatajak4ryojzYJGe2mv\nfoq4vP150SqwrPxEO3Ca8C+hYCRcWtUK\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 433,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab702302492492492492492492492492492492492492492492492491c7be680477598d6c3716fabc13dcec86afd2833d41c2a7e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "042b020240aeafc23c2d50341e46c35c569e3edb36bc6c54014c8d57a29eddda6e9b866490f2ed2aa1e24292b7fb5b45b5cc98cd746ffb5f67575d07c81434c0cbca096ccdb49aa7aeeb56f00919d6cd365aa29a01bd85d834d450bae4aa7afd1e",
|
|
"wx" : "2b020240aeafc23c2d50341e46c35c569e3edb36bc6c54014c8d57a29eddda6e9b866490f2ed2aa1e24292b7fb5b45b5",
|
|
"wy" : "00cc98cd746ffb5f67575d07c81434c0cbca096ccdb49aa7aeeb56f00919d6cd365aa29a01bd85d834d450bae4aa7afd1e"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200042b020240aeafc23c2d50341e46c35c569e3edb36bc6c54014c8d57a29eddda6e9b866490f2ed2aa1e24292b7fb5b45b5cc98cd746ffb5f67575d07c81434c0cbca096ccdb49aa7aeeb56f00919d6cd365aa29a01bd85d834d450bae4aa7afd1e",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEKwICQK6vwjwtUDQeRsNcVp4+2za8bFQB\nTI1Xop7d2m6bhmSQ8u0qoeJCkrf7W0W1zJjNdG/7X2dXXQfIFDTAy8oJbM20mqeu\n61bwCRnWzTZaopoBvYXYNNRQuuSqev0e\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 434,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab702306666666666666666666666666666666666666666666666664fc15233fb49458c89a4057a8379dc9791f80a2ab84edd61",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04240130e45f786d74cdd9b5575ca87a036079ef81ecff8acdebc283d0d0d846ede13bf64c4dee83eb154370d32bc9d6bd564a1039c819a9c4eefd97a0906cbc29f986ac4fb48bab4a44f426fd187f71694407391c8c953487436e6d1296601ea8",
|
|
"wx" : "240130e45f786d74cdd9b5575ca87a036079ef81ecff8acdebc283d0d0d846ede13bf64c4dee83eb154370d32bc9d6bd",
|
|
"wy" : "564a1039c819a9c4eefd97a0906cbc29f986ac4fb48bab4a44f426fd187f71694407391c8c953487436e6d1296601ea8"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004240130e45f786d74cdd9b5575ca87a036079ef81ecff8acdebc283d0d0d846ede13bf64c4dee83eb154370d32bc9d6bd564a1039c819a9c4eefd97a0906cbc29f986ac4fb48bab4a44f426fd187f71694407391c8c953487436e6d1296601ea8",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEJAEw5F94bXTN2bVXXKh6A2B574Hs/4rN\n68KD0NDYRu3hO/ZMTe6D6xVDcNMryda9VkoQOcgZqcTu/ZegkGy8KfmGrE+0i6tK\nRPQm/Rh/cWlEBzkcjJU0h0NubRKWYB6o\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 435,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab702310099999999999999999999999999999999999999999999999977a1fb4df8ede852ce760837c536cae35af40f4014764c12",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04a964e60fc4a8f1e305f5c31486fd216f59cbf69181492782022b2ad3583e6c073b039d92f53546f6aef6caac99e43c17acc34410e90c177e1935a521285b402d69b08abe49ba09292b57dc04d04a7155891862f932652f3478c7a0ba28a51328",
|
|
"wx" : "00a964e60fc4a8f1e305f5c31486fd216f59cbf69181492782022b2ad3583e6c073b039d92f53546f6aef6caac99e43c17",
|
|
"wy" : "00acc34410e90c177e1935a521285b402d69b08abe49ba09292b57dc04d04a7155891862f932652f3478c7a0ba28a51328"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004a964e60fc4a8f1e305f5c31486fd216f59cbf69181492782022b2ad3583e6c073b039d92f53546f6aef6caac99e43c17acc34410e90c177e1935a521285b402d69b08abe49ba09292b57dc04d04a7155891862f932652f3478c7a0ba28a51328",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEqWTmD8So8eMF9cMUhv0hb1nL9pGBSSeC\nAisq01g+bAc7A52S9TVG9q72yqyZ5DwXrMNEEOkMF34ZNaUhKFtALWmwir5Jugkp\nK1fcBNBKcVWJGGL5MmUvNHjHoLoopRMo\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 436,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7023100db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6aae76701acc1950894a89e068772d8b281eef136f8a8fef5",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04dcfc5eb16c7a60e4b1ad10a23b76279e59c5e81420801fc836e83d108ace75d866583650789152ee2b711b343da6bf139275225f1477b593a4814d27056a40f629523051c6b339042ac609b5c8a1fdeebc63ee48b45f18bffff503cdacf72bc2",
|
|
"wx" : "00dcfc5eb16c7a60e4b1ad10a23b76279e59c5e81420801fc836e83d108ace75d866583650789152ee2b711b343da6bf13",
|
|
"wy" : "009275225f1477b593a4814d27056a40f629523051c6b339042ac609b5c8a1fdeebc63ee48b45f18bffff503cdacf72bc2"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004dcfc5eb16c7a60e4b1ad10a23b76279e59c5e81420801fc836e83d108ace75d866583650789152ee2b711b343da6bf139275225f1477b593a4814d27056a40f629523051c6b339042ac609b5c8a1fdeebc63ee48b45f18bffff503cdacf72bc2",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3PxesWx6YOSxrRCiO3YnnlnF6BQggB/I\nNug9EIrOddhmWDZQeJFS7itxGzQ9pr8TknUiXxR3tZOkgU0nBWpA9ilSMFHGszkE\nKsYJtcih/e68Y+5ItF8Yv//1A82s9yvC\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 437,
|
|
"comment" : "extreme value for k",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab702300eb10e5ab95f2f26a40700b1300fb8c3e754d5c453d9384ecce1daa38135a48a0a96c24efc2a76d00bde1d7aeedf7f6a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab73617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f",
|
|
"wx" : "00aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7",
|
|
"wy" : "3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab73617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEqofKIr6LBTeOscce8yCtdG4dO2KLp5uY\nWfdB4IJUKjhVAvJdv1UpbDpUXjhydgq3NhfeSpYmLG9dnpi/kpLcKfj0Hb0omhR8\n6doxE7XwuMAKYLHOHX6BnXpDHXyQ6g5f\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 438,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3055022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca60502302302492492492492492492492492492492492492492492492491c7be680477598d6c3716fabc13dcec86afd2833d41c2a7e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 439,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100ffffffffffffffffffffffffffffffff44a5ad0bd0636d9dda1feb8c60148bfc57e325ef1d899af2e547ff6c0264d95002302492492492492492492492492492492492492492492492491c7be680477598d6c3716fabc13dcec86afd2833d41c2a7e",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7c9e821b569d9d390a26167406d6d23d6070be242d765eb831625ceec4a0f473ef59f4e30e2817e6285bce2846f15f1a0",
|
|
"wx" : "00aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7",
|
|
"wy" : "00c9e821b569d9d390a26167406d6d23d6070be242d765eb831625ceec4a0f473ef59f4e30e2817e6285bce2846f15f1a0"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7c9e821b569d9d390a26167406d6d23d6070be242d765eb831625ceec4a0f473ef59f4e30e2817e6285bce2846f15f1a0",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEqofKIr6LBTeOscce8yCtdG4dO2KLp5uY\nWfdB4IJUKjhVAvJdv1UpbDpUXjhydgq3yeghtWnZ05CiYWdAbW0j1gcL4kLXZeuD\nFiXO7EoPRz71n04w4oF+YoW84oRvFfGg\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 440,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3055022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca60502302302492492492492492492492492492492492492492492492491c7be680477598d6c3716fabc13dcec86afd2833d41c2a7e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 441,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100ffffffffffffffffffffffffffffffff44a5ad0bd0636d9dda1feb8c60148bfc57e325ef1d899af2e547ff6c0264d95002302492492492492492492492492492492492492492492492491c7be680477598d6c3716fabc13dcec86afd2833d41c2a7e",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04ffffffffaa63f1a239ac70197c6ebfcea5756dc012123f82c51fa874d66028be00e976a1080606737cc75c40bdfe4aacacbd85389088a62a6398384c22b52d492f23f46e4a27a4724ad55551da5c483438095a247cb0c3378f1f52c3425ff9f1",
|
|
"wx" : "00ffffffffaa63f1a239ac70197c6ebfcea5756dc012123f82c51fa874d66028be00e976a1080606737cc75c40bdfe4aac",
|
|
"wy" : "00acbd85389088a62a6398384c22b52d492f23f46e4a27a4724ad55551da5c483438095a247cb0c3378f1f52c3425ff9f1"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004ffffffffaa63f1a239ac70197c6ebfcea5756dc012123f82c51fa874d66028be00e976a1080606737cc75c40bdfe4aacacbd85389088a62a6398384c22b52d492f23f46e4a27a4724ad55551da5c483438095a247cb0c3378f1f52c3425ff9f1",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/////6pj8aI5rHAZfG6/zqV1bcASEj+C\nxR+odNZgKL4A6XahCAYGc3zHXEC9/kqsrL2FOJCIpipjmDhMIrUtSS8j9G5KJ6Ry\nStVVUdpcSDQ4CVokfLDDN48fUsNCX/nx\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 442,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30650230281dbd30737a13d6cb67de51c49a60017e86cbb1e5044862adbf83f80974b0fc08f48dea2b3a253b0043e332efcb996b023100bf107be3f19987ec921be2e00212c269f3c49ae86b513e3fb986f7fb1f581d9f993b08ba6f5db3657ea9fa60bfb8c6cf",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 443,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023044b25dd15efd870cbad4b9e4fafa83fccd033d95528304e94a53f56bbcbc8a11d1da2c2c570bc8306476acf08184874c023072a5d7405a2b03e18c809f8371f1097cdce03bc08317325d50bed7cad26a36700738fc1e044f5209eb01f93407ca01c9",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 444,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306602310093af9f6fba6d774d5c930b3644f811fb46a9e54954da0f3db670292b9fcc0e8145ab032e602c995f9389c841254e9868023100d2ffd5ca020101935216dabbed1fdff3a4dcc7db5906bd87319cb8d8cd31a346dff4fbc7b9ac864beccd2e89e8b58c06",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04d1827fc6f6f12f21992c5a409a0653b121d2ef02b2b0ab01a9161ce956280740b1e356b255701b0a6ddc9ec2ca8a9422c6ed5d2ced8d8ab7560fa5bb88c738e74541883d8a2b1c0e2ba7e36d030fc4d9bfb8b22f24db897ebac49dd400000000",
|
|
"wx" : "00d1827fc6f6f12f21992c5a409a0653b121d2ef02b2b0ab01a9161ce956280740b1e356b255701b0a6ddc9ec2ca8a9422",
|
|
"wy" : "00c6ed5d2ced8d8ab7560fa5bb88c738e74541883d8a2b1c0e2ba7e36d030fc4d9bfb8b22f24db897ebac49dd400000000"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004d1827fc6f6f12f21992c5a409a0653b121d2ef02b2b0ab01a9161ce956280740b1e356b255701b0a6ddc9ec2ca8a9422c6ed5d2ced8d8ab7560fa5bb88c738e74541883d8a2b1c0e2ba7e36d030fc4d9bfb8b22f24db897ebac49dd400000000",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE0YJ/xvbxLyGZLFpAmgZTsSHS7wKysKsB\nqRYc6VYoB0Cx41ayVXAbCm3cnsLKipQixu1dLO2NirdWD6W7iMc450VBiD2KKxwO\nK6fjbQMPxNm/uLIvJNuJfrrEndQAAAAA\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 445,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306502310083c340568db683c26521a072c2ec0d3c6301e6141917b3d31051190768164966a4375d6a596daddce23fa35a0663bfbe023026f3e0761e561df924a6b12a74ddcccd4380de02cec1f30739b780b4f0216be00fc4f913ecd12491e56c82c39b181f62",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 446,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3066023100f8dec11959a61ef14714eb32ad8ac666618c5a0fe1cb6caa75ca4df0c965b72fbe8a1011b5ae826f25d306cd48343d33023100b56f1efa8d1b32932ddf6cb6ea5b20c13c9602a3be4e0b40a4d24caa0a52b1cbe9b9326fa4d8eb1739380fd2e5d1751a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 447,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402301d53c575c4874db600e7e58488a35017fbe0dc78575b9fd336983cf49805cd1dcfd9156c7e92503681b1d0fbce96957e02303bd64bb7d409e1d9f3cf71918d3eb0fbb399cb9a9c3226c0d6a4e5e0a54bc17b01f65de803850581981d0d5bafc2fdd6",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "041099bb45100f55f5a85cca3de2b3bd5e250f4f6fad6631a3156c2e52a33d7d615dd279f79f8b4baff7c713ac00000000e6c9b736a8929f2ed7be0c753a54cbb48b8469e0411eaf93a4a82459ba0b681bba8f5fb383b4906d4901a3303e2f1557",
|
|
"wx" : "1099bb45100f55f5a85cca3de2b3bd5e250f4f6fad6631a3156c2e52a33d7d615dd279f79f8b4baff7c713ac00000000",
|
|
"wy" : "00e6c9b736a8929f2ed7be0c753a54cbb48b8469e0411eaf93a4a82459ba0b681bba8f5fb383b4906d4901a3303e2f1557"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b81040022036200041099bb45100f55f5a85cca3de2b3bd5e250f4f6fad6631a3156c2e52a33d7d615dd279f79f8b4baff7c713ac00000000e6c9b736a8929f2ed7be0c753a54cbb48b8469e0411eaf93a4a82459ba0b681bba8f5fb383b4906d4901a3303e2f1557",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEEJm7RRAPVfWoXMo94rO9XiUPT2+tZjGj\nFWwuUqM9fWFd0nn3n4tLr/fHE6wAAAAA5sm3NqiSny7Xvgx1OlTLtIuEaeBBHq+T\npKgkWboLaBu6j1+zg7SQbUkBozA+LxVX\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 448,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3065023100d3616ab68474a641fe2abb8d02fd606e3b8e5567a8fa30a8ea037bac09f2e1d747fe7383adbd4f5449c50c401461b05a02302ea50df8beeb2cece8b6d7cc7da29737b46bb10f2c3c18aef346c3f4ab7d7230f56533f2097f7fd65460c8a26fd4253a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 449,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306502304a6b5fd43110bddd1295e311b0f8d12df3d0f9b37fb39108abf7bc1b867debdd3e1aea523058ebf6edfa447f47b7656a023100e519e0c2c5f5fde47678a89a3f7145626b0a5edf5aed705c1a56674fb85266d881b56ddd135486909737a73edd5cd673",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 450,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30650230209e7963d1bcf312ff25967584af604229aa5cadebb1af44d413baeec779a23c3d4ecc1407fb6aa010e1856208ea798b023100a7c1a17207547ab389001f4e7a3e9c93ed25dc94305d5ae9f8064af323b57a1112c93cf21c1d13c2e6ab44803b341974",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04000000002b089edd754169010145f263f334fc167cc19dae8225970ae19cc8cb7ec73593d6a465c370f5478b0e539d69d1951d597b56a67345acb25809581f07cd0eb78d9538a3f8a65f300e68a1eb78507df76de650e8f8ee63a5f0c5687c98",
|
|
"wx" : "2b089edd754169010145f263f334fc167cc19dae8225970ae19cc8cb7ec73593d6a465c370f5478b0e539d69",
|
|
"wy" : "00d1951d597b56a67345acb25809581f07cd0eb78d9538a3f8a65f300e68a1eb78507df76de650e8f8ee63a5f0c5687c98"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004000000002b089edd754169010145f263f334fc167cc19dae8225970ae19cc8cb7ec73593d6a465c370f5478b0e539d69d1951d597b56a67345acb25809581f07cd0eb78d9538a3f8a65f300e68a1eb78507df76de650e8f8ee63a5f0c5687c98",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEAAAAACsInt11QWkBAUXyY/M0/BZ8wZ2u\ngiWXCuGcyMt+xzWT1qRlw3D1R4sOU51p0ZUdWXtWpnNFrLJYCVgfB80Ot42VOKP4\npl8wDmih63hQffdt5lDo+O5jpfDFaHyY\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 451,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3065023008076af74d9aca7e8736110c77dc8e500c211d574cac8c2ec914d5e30ee663b5bcebab44b7116124a289a32e1c3c6c3c0231008f2e722c43674685641c57c8c1ed8dcea74aed0eb50c394ffa44b033ab5a5a58af422612cb1f8e08f5a7b4fb8d027553",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 452,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3066023100934b89b2647372376d08a70d0d9d5126e4bf627942294862ccb3c64a539305c645ad7a7e17068e7196b4fd99df126a0d023100832a0278c244b9b18768ed498e2c7869e2c0b5fc2c4c5071f45d8b173779dab008839ab10c10df1e1e47e9a41248973e",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 453,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3066023100ea9bf433ebdeb5515c1e56607803098c2db8af5cbb54bb256ada709a00d5a626de8eb6eb0af53ad0beac869c6bafd86f0231009eae95d2c41b670f2ed70fa0f01370141749bb4447ca063677308c17485cac90afd7df1da16c542f204526fa342dd44c",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04fb01baad5f0b8f79b9cd104d12aab9310146add7d6b4c022d87ae6711178b94d618ca7b3af13854b1c588879e877b33600000000208b3f5ad3b3937acc9d606cc5ececab4a701f75ed42957ea4d7858d33f5c26c6ae20a9cccda56996700d6b4",
|
|
"wx" : "00fb01baad5f0b8f79b9cd104d12aab9310146add7d6b4c022d87ae6711178b94d618ca7b3af13854b1c588879e877b336",
|
|
"wy" : "208b3f5ad3b3937acc9d606cc5ececab4a701f75ed42957ea4d7858d33f5c26c6ae20a9cccda56996700d6b4"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004fb01baad5f0b8f79b9cd104d12aab9310146add7d6b4c022d87ae6711178b94d618ca7b3af13854b1c588879e877b33600000000208b3f5ad3b3937acc9d606cc5ececab4a701f75ed42957ea4d7858d33f5c26c6ae20a9cccda56996700d6b4",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE+wG6rV8Lj3m5zRBNEqq5MQFGrdfWtMAi\n2HrmcRF4uU1hjKezrxOFSxxYiHnod7M2AAAAACCLP1rTs5N6zJ1gbMXs7KtKcB91\n7UKVfqTXhY0z9cJsauIKnMzaVplnANa0\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 454,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30650230750bfb52b08003d4cc11bbc677005ff76facd7922450bd0b9d8fb0db01b6162ad106925096a3f311405aee322ba8fa4e023100aad1626127816f28526f9244bdb5ceb9484c7e45cf6fcda0f921e2621514ccdcf28f06d41466fb52e619356cc3d4ffbf",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 455,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306502303ec493f00b1ea554b8725b7e39d50dea0017cf1558d70a0fe11c72d6ba4a5df084bb4cd3faeb8f7057612f1318f3c165023100e6297e29986b6a01490aa6d0ca7ddbfe8f173340688010d9dd278a0a93be09606a8da9b3159e3f4e55a4010a6590dec2",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 456,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3066023100ce1d27dba63bbd9332e27f471e22ee105768f95ea1d031d4617b9e88033c9596d3e67abebb6d2e8b7e52c5bb3368aa5b023100cc85133e6553ff21812987e58d9abe00a8acb7cc1354247bcfdacc8a914189c159034b92d59932301f17e2447863da4b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"uncompressed" : "04fb01baad5f0b8f79b9cd104d12aab9310146add7d6b4c022d87ae6711178b94d618ca7b3af13854b1c588879e877b336ffffffffdf74c0a52c4c6c8533629f933a131354b58fe08a12bd6a815b287a71cc0a3d92951df5633325a96798ff294b",
|
|
"wx" : "00fb01baad5f0b8f79b9cd104d12aab9310146add7d6b4c022d87ae6711178b94d618ca7b3af13854b1c588879e877b336",
|
|
"wy" : "00ffffffffdf74c0a52c4c6c8533629f933a131354b58fe08a12bd6a815b287a71cc0a3d92951df5633325a96798ff294b"
|
|
},
|
|
"publicKeyDer" : "3076301006072a8648ce3d020106052b8104002203620004fb01baad5f0b8f79b9cd104d12aab9310146add7d6b4c022d87ae6711178b94d618ca7b3af13854b1c588879e877b336ffffffffdf74c0a52c4c6c8533629f933a131354b58fe08a12bd6a815b287a71cc0a3d92951df5633325a96798ff294b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE+wG6rV8Lj3m5zRBNEqq5MQFGrdfWtMAi\n2HrmcRF4uU1hjKezrxOFSxxYiHnod7M2/////990wKUsTGyFM2KfkzoTE1S1j+CK\nEr1qgVsoenHMCj2SlR31YzMlqWeY/ylL\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 457,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306502307054a5bd3eec9debc0113eafecf27d11b5186ce67aa430b57c6eb3c98e239c16370bb8aa6d0cc8cb2c554186b7dd82b6023100e820c50fb0ef6208407dd37d34796ea21771a988d5eafbd9b12caceec15e1519861407dfced9f20d7898ee0fa0afb61c",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 458,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306602310080f3ca043a055dd0784aa37d8c3afabbfc8160606afc1d54463b3af1e56b8269e5fa850808def439f83cfd4d3a375661023100fe0030173c18cfd88b3ab317430e55722ec9ae8a3d8fda64243c325262da11a2f7183d2d2a462b42ec2f6a6c8f9bf12b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 459,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3066023100b57d6915f6ef8bc76246fe073372ac289fbd9c1b9451e261aeccb927dfbc39419fe51aa936afc3e5ae6d18b99fa7a863023100dacf1c1c7a6ec67e4a6a4b2d7c0fdad0a9e8e92f65a2bdd3b42548aae9853128fd36291d492ca1b51990b3b62fae3860",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|