forked from tornado-packages/noble-curves
6583 lines
302 KiB
JSON
6583 lines
302 KiB
JSON
{
|
|
"algorithm" : "ECDSA",
|
|
"schema" : "ecdsa_verify_schema.json",
|
|
"generatorVersion" : "0.9rc5",
|
|
"numberOfTests" : 479,
|
|
"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" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0404aaec73635726f213fb8a9e64da3b8632e41495a944d0045b522eba7240fad587d9315798aaa3a5ba01775787ced05eaaf7b4e09fc81d6d1aa546e8365d525d",
|
|
"wx" : "04aaec73635726f213fb8a9e64da3b8632e41495a944d0045b522eba7240fad5",
|
|
"wy" : "0087d9315798aaa3a5ba01775787ced05eaaf7b4e09fc81d6d1aa546e8365d525d"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000404aaec73635726f213fb8a9e64da3b8632e41495a944d0045b522eba7240fad587d9315798aaa3a5ba01775787ced05eaaf7b4e09fc81d6d1aa546e8365d525d",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEBKrsc2NXJvIT+4qeZNo7hjLkFJWp\nRNAEW1IuunJA+tWH2TFXmKqjpboBd1eHztBeqve04J/IHW0apUboNl1SXQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "",
|
|
"sig" : "3044022063f01899b4b0bfe9dc9929fd4526919b981acda781044ee3d2c337bf5fc748300220591381bdf1b1a9b01020b87314a128d06e4833342bf232779f61480739613927",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 2,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "4d7367",
|
|
"sig" : "3044022010228beaf773caeff22a94602e9eff1923dcc51b277f64b482ea63218c350b0d02202104c8343f8970a28c9eb221a63c857ef385e758eaccc5f7d2ae975553a1534b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 3,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100e6e1b8c20e9d00f0b6cf1b2c39cacd9c50ee3f990553250f074a4a3eed3afe43022052f3be1ae2d2f9b2bfea8e8c22d95af4574581a9f4b09a89f7b6a4ad1c5b2776",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 4,
|
|
"comment" : "pseudorandom signature",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "3045022020f6203e48fc4c66ae8a74ec61d5124772daad058a74b871914d37dfe9d409c10221008b68de7a4786e29b3a726ea7fd8ef2a585b5c8dadf11281f2caa228eb3df3f96",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "042927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e",
|
|
"wx" : "2927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838",
|
|
"wy" : "00c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKSexBRK64+3c/kZ4KBKLrSkDJpkZ\n9whgacjE32xzKDjHeHlk6qwA5ZIfsUmKYPRgZ2az2WhQAVWNGpdOc0FRPg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 5,
|
|
"comment" : "signature malleability",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0221009364745a6a2d69f2283698fdfbee7b13de20bc93deb0230a9af3bd9fddf04401",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 6,
|
|
"comment" : "Legacy: ASN encoding of r misses leading 0",
|
|
"flags" : [
|
|
"MissingZero"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402208ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 7,
|
|
"comment" : "valid",
|
|
"flags" : [
|
|
"ValidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 8,
|
|
"comment" : "length of sequence [r, s] uses long form encoding",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3081450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 9,
|
|
"comment" : "length of sequence [r, s] contains a leading 0",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308200450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 10,
|
|
"comment" : "length of sequence [r, s] uses 70 instead of 69",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 11,
|
|
"comment" : "length of sequence [r, s] uses 68 instead of 69",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 12,
|
|
"comment" : "uint32 overflow in length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308501000000450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 13,
|
|
"comment" : "uint64 overflow in length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30890100000000000000450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 14,
|
|
"comment" : "length of sequence [r, s] = 2**31 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30847fffffff0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 15,
|
|
"comment" : "length of sequence [r, s] = 2**31",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3084800000000221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 16,
|
|
"comment" : "length of sequence [r, s] = 2**32 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3084ffffffff0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 17,
|
|
"comment" : "length of sequence [r, s] = 2**40 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3085ffffffffff0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 18,
|
|
"comment" : "length of sequence [r, s] = 2**64 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3088ffffffffffffffff0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 19,
|
|
"comment" : "incorrect length of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30ff0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 20,
|
|
"comment" : "replaced sequence [r, s] by an indefinite length tag without termination",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"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" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 24,
|
|
"comment" : "prepending 0's to sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304700000221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 25,
|
|
"comment" : "appending unused 0's to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 26,
|
|
"comment" : "appending null value to sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 27,
|
|
"comment" : "prepending garbage to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304a49817730450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 28,
|
|
"comment" : "prepending garbage to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3049250030450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 29,
|
|
"comment" : "appending garbage to sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304730450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500004deadbeef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 30,
|
|
"comment" : "including undefined tags",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304daa00bb00cd0030450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 31,
|
|
"comment" : "including undefined tags",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304d2229aa00bb00cd000221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 32,
|
|
"comment" : "including undefined tags",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304d0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e2228aa00bb00cd0002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"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" : "304baa02aabb30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 35,
|
|
"comment" : "using composition with indefinite length for sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308030450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 36,
|
|
"comment" : "using composition with wrong tag for sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308031450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000",
|
|
"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" : "2e450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 39,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "2f450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 40,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "31450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 41,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "32450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 42,
|
|
"comment" : "changing tag value of sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "ff450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"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" : "3049300102304421008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 45,
|
|
"comment" : "truncated sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 46,
|
|
"comment" : "truncated sequence [r, s]",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304421008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 47,
|
|
"comment" : "sequence [r, s] of size 4166 to check for overflows",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308210460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 48,
|
|
"comment" : "indefinite length",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 49,
|
|
"comment" : "indefinite length with truncated delimiter",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e15000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 50,
|
|
"comment" : "indefinite length with additional element",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e15005000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 51,
|
|
"comment" : "indefinite length with truncated element",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150060811220000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 52,
|
|
"comment" : "indefinite length with garbage",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000fe02beef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 53,
|
|
"comment" : "indefinite length with nonempty EOC",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500002beef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 54,
|
|
"comment" : "prepend empty sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304730000221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 55,
|
|
"comment" : "append empty sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1503000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 56,
|
|
"comment" : "append zero",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30480221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 57,
|
|
"comment" : "append garbage with high tag number",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30480221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150bf7f00",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 58,
|
|
"comment" : "append null with explicit tag",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150a0020500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 59,
|
|
"comment" : "append null with implicit tag",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150a000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 60,
|
|
"comment" : "sequence of sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304730450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 61,
|
|
"comment" : "truncated sequence: removed last 1 elements",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30230221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 62,
|
|
"comment" : "repeating element in sequence",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30670221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e15002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 63,
|
|
"comment" : "flipped bit 0 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3043008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36f02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 64,
|
|
"comment" : "flipped bit 32 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3043008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af43e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 65,
|
|
"comment" : "flipped bit 48 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3043008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b234af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 66,
|
|
"comment" : "flipped bit 64 in r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3043008ab9effd6738803fd19b92d2e9fdea1293056b793e29542a3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 67,
|
|
"comment" : "length of r uses long form encoding",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046028121008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 68,
|
|
"comment" : "length of r contains a leading 0",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304702820021008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 69,
|
|
"comment" : "length of r uses 34 instead of 33",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450222008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 70,
|
|
"comment" : "length of r uses 32 instead of 33",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450220008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 71,
|
|
"comment" : "uint32 overflow in length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304a02850100000021008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 72,
|
|
"comment" : "uint64 overflow in length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304e0289010000000000000021008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 73,
|
|
"comment" : "length of r = 2**31 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304902847fffffff008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 74,
|
|
"comment" : "length of r = 2**31",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3049028480000000008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 75,
|
|
"comment" : "length of r = 2**32 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30490284ffffffff008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 76,
|
|
"comment" : "length of r = 2**40 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304a0285ffffffffff008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 77,
|
|
"comment" : "length of r = 2**64 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304d0288ffffffffffffffff008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 78,
|
|
"comment" : "incorrect length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502ff008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 79,
|
|
"comment" : "replaced r by an indefinite length tag without termination",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450280008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 80,
|
|
"comment" : "removing r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302202206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 81,
|
|
"comment" : "lonely integer tag",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30230202206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 82,
|
|
"comment" : "lonely integer tag",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30240221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 83,
|
|
"comment" : "appending 0's to r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30470223008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e000002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 84,
|
|
"comment" : "prepending 0's to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304702230000008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 85,
|
|
"comment" : "appending unused 0's to r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e000002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 86,
|
|
"comment" : "appending null value to r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30470223008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e050002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 87,
|
|
"comment" : "prepending garbage to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304a22264981770221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 88,
|
|
"comment" : "prepending garbage to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3049222525000221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 89,
|
|
"comment" : "appending garbage to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304d22230221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0004deadbeef02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 90,
|
|
"comment" : "truncated length of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3024028102206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 91,
|
|
"comment" : "including undefined tags to r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304b2227aa02aabb0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 92,
|
|
"comment" : "using composition with indefinite length for r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304922800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e000002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 93,
|
|
"comment" : "using composition with wrong tag for r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304922800321008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e000002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 94,
|
|
"comment" : "Replacing r with NULL",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3024050002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 95,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450021008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 96,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450121008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 97,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450321008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 98,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450421008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 99,
|
|
"comment" : "changing tag value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045ff21008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 100,
|
|
"comment" : "dropping value of r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3024020002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 101,
|
|
"comment" : "using composition for r",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3049222502010002208ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 102,
|
|
"comment" : "modifying first byte of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221028ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 103,
|
|
"comment" : "modifying last byte of r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c3ee02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 104,
|
|
"comment" : "truncated r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c302206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 105,
|
|
"comment" : "r of size 4130 to check for overflows",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3082104802821022008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 106,
|
|
"comment" : "leading ff in r",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30460222ff008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 107,
|
|
"comment" : "replaced r by infinity",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302509018002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 108,
|
|
"comment" : "replacing r with zero",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302502010002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 109,
|
|
"comment" : "flipped bit 0 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30430221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e151",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 110,
|
|
"comment" : "flipped bit 32 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30430221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d221e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 111,
|
|
"comment" : "flipped bit 48 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30430221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c70d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 112,
|
|
"comment" : "flipped bit 64 in s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30430221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7b58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 113,
|
|
"comment" : "length of s uses long form encoding",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0281206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 114,
|
|
"comment" : "length of s contains a leading 0",
|
|
"flags" : [
|
|
"BerEncodedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e028200206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 115,
|
|
"comment" : "length of s uses 33 instead of 32",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02216c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 116,
|
|
"comment" : "length of s uses 31 instead of 32",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e021f6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 117,
|
|
"comment" : "uint32 overflow in length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304a0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e028501000000206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 118,
|
|
"comment" : "uint64 overflow in length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304e0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02890100000000000000206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 119,
|
|
"comment" : "length of s = 2**31 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02847fffffff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 120,
|
|
"comment" : "length of s = 2**31",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0284800000006c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 121,
|
|
"comment" : "length of s = 2**32 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0284ffffffff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 122,
|
|
"comment" : "length of s = 2**40 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304a0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0285ffffffffff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 123,
|
|
"comment" : "length of s = 2**64 - 1",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304d0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0288ffffffffffffffff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 124,
|
|
"comment" : "incorrect length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02ff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 125,
|
|
"comment" : "replaced s by an indefinite length tag without termination",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02806c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 126,
|
|
"comment" : "appending 0's to s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02226c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 127,
|
|
"comment" : "prepending 0's to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e022200006c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 128,
|
|
"comment" : "appending null value to s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02226c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 129,
|
|
"comment" : "prepending garbage to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304a0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e222549817702206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 130,
|
|
"comment" : "prepending garbage to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e2224250002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 131,
|
|
"comment" : "appending garbage to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304d0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e222202206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500004deadbeef",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 132,
|
|
"comment" : "truncated length of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30250221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0281",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 133,
|
|
"comment" : "including undefined tags to s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304b0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e2226aa02aabb02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 134,
|
|
"comment" : "using composition with indefinite length for s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e228002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 135,
|
|
"comment" : "using composition with wrong tag for s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e228003206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 136,
|
|
"comment" : "Replacing s with NULL",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30250221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 137,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e00206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 138,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e01206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 139,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e03206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 140,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e04206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 141,
|
|
"comment" : "changing tag value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36eff206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 142,
|
|
"comment" : "dropping value of s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30250221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0200",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 143,
|
|
"comment" : "using composition for s",
|
|
"flags" : [
|
|
"InvalidEncoding"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e222402016c021f9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 144,
|
|
"comment" : "modifying first byte of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206e9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 145,
|
|
"comment" : "modifying last byte of s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1d0",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 146,
|
|
"comment" : "truncated s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e021f6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 147,
|
|
"comment" : "truncated s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e021f9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 148,
|
|
"comment" : "s of size 4129 to check for overflows",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "308210480221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e028210216c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 149,
|
|
"comment" : "leading ff in s",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0221ff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 150,
|
|
"comment" : "replaced s by infinity",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30260221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e090180",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 151,
|
|
"comment" : "replacing s with zero",
|
|
"flags" : [
|
|
"ModifiedSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30260221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 152,
|
|
"comment" : "replaced r by r + n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221018ab9effc67388040d19b92d2e9fdea124fec6626e540f2b02edc15b83a73e8bf02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 153,
|
|
"comment" : "replaced r by r - n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402208ab9effe6738803ed19b92d2e9fdea12d61e70cb9711b5a64768803241ad9e1d02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 154,
|
|
"comment" : "replaced r by r + 256 * n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022201008ab9eefd6738813fd19b92d2e9fde9cf7a00192055c7d91ef4ed0df1a136146e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 155,
|
|
"comment" : "replaced r by -r",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221ff7546100298c77fc02e646d2d160215ed6cfa9486c1d6abd4c4ddb50ac1ef3c9202206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 156,
|
|
"comment" : "replaced r by n - r",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207546100198c77fc12e646d2d160215ed29e18f3468ee4a59b8977fcdbe5261e302206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 157,
|
|
"comment" : "replaced r by -n - r",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221fe7546100398c77fbf2e646d2d160215edb01399d91abf0d4fd123ea47c58c174102206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 158,
|
|
"comment" : "replaced r by r + 2**256",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221018ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 159,
|
|
"comment" : "replaced r by r + 2**320",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304d02290100000000000000008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 160,
|
|
"comment" : "replaced s by s + n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221016c9b8ba395d2960fd7c96702041184eb9bad38c76f7f19ff4c7fd7e61ad606a102206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 161,
|
|
"comment" : "replaced s by s - n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221ff6c9b8ba595d2960dd7c96702041184ec21df436c214fdcf5650c4260220fbbff02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 162,
|
|
"comment" : "replaced s by s + 256 * n",
|
|
"flags" : [
|
|
"RangeCheck"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022201006c9b8aa495d2970ed7c96702041184a8c5c0ebc0e006006e1290d01f8198325002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 163,
|
|
"comment" : "replaced s by -s",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402209364745b6a2d69f1283698fdfbee7b142139c1e637988485a739f2dce18d1eb002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 164,
|
|
"comment" : "replaced s by -n - s",
|
|
"flags" : [
|
|
"ModifiedInteger"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221fe9364745c6a2d69f0283698fdfbee7b146452c7389080e600b3802819e529f95f02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 165,
|
|
"comment" : "replaced s by s + 2**256",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221016c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e15002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 166,
|
|
"comment" : "replaced s by s - 2**256",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221ff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e15002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 167,
|
|
"comment" : "replaced s by s + 2**320",
|
|
"flags" : [
|
|
"IntegerOverflow"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304d02290100000000000000006c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e15002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150",
|
|
"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" : "3026020100022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 172,
|
|
"comment" : "Signature with special case values r=0 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 173,
|
|
"comment" : "Signature with special case values r=0 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 174,
|
|
"comment" : "Signature with special case values r=0 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 175,
|
|
"comment" : "Signature with special case values r=0 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"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" : "3026020101022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 180,
|
|
"comment" : "Signature with special case values r=1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 181,
|
|
"comment" : "Signature with special case values r=1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 182,
|
|
"comment" : "Signature with special case values r=1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 183,
|
|
"comment" : "Signature with special case values r=1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"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" : "30260201ff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 188,
|
|
"comment" : "Signature with special case values r=-1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 189,
|
|
"comment" : "Signature with special case values r=-1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 190,
|
|
"comment" : "Signature with special case values r=-1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 191,
|
|
"comment" : "Signature with special case values r=-1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 192,
|
|
"comment" : "Signature with special case values r=n and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 193,
|
|
"comment" : "Signature with special case values r=n and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 194,
|
|
"comment" : "Signature with special case values r=n and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 195,
|
|
"comment" : "Signature with special case values r=n and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 196,
|
|
"comment" : "Signature with special case values r=n and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 197,
|
|
"comment" : "Signature with special case values r=n and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 198,
|
|
"comment" : "Signature with special case values r=n and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 199,
|
|
"comment" : "Signature with special case values r=n and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 200,
|
|
"comment" : "Signature with special case values r=n - 1 and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 201,
|
|
"comment" : "Signature with special case values r=n - 1 and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 202,
|
|
"comment" : "Signature with special case values r=n - 1 and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325500201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 203,
|
|
"comment" : "Signature with special case values r=n - 1 and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 204,
|
|
"comment" : "Signature with special case values r=n - 1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 205,
|
|
"comment" : "Signature with special case values r=n - 1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 206,
|
|
"comment" : "Signature with special case values r=n - 1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 207,
|
|
"comment" : "Signature with special case values r=n - 1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 208,
|
|
"comment" : "Signature with special case values r=n + 1 and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 209,
|
|
"comment" : "Signature with special case values r=n + 1 and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 210,
|
|
"comment" : "Signature with special case values r=n + 1 and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325520201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 211,
|
|
"comment" : "Signature with special case values r=n + 1 and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 212,
|
|
"comment" : "Signature with special case values r=n + 1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 213,
|
|
"comment" : "Signature with special case values r=n + 1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 214,
|
|
"comment" : "Signature with special case values r=n + 1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 215,
|
|
"comment" : "Signature with special case values r=n + 1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 216,
|
|
"comment" : "Signature with special case values r=p and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 217,
|
|
"comment" : "Signature with special case values r=p and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 218,
|
|
"comment" : "Signature with special case values r=p and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 219,
|
|
"comment" : "Signature with special case values r=p and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 220,
|
|
"comment" : "Signature with special case values r=p and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 221,
|
|
"comment" : "Signature with special case values r=p and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 222,
|
|
"comment" : "Signature with special case values r=p and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 223,
|
|
"comment" : "Signature with special case values r=p and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 224,
|
|
"comment" : "Signature with special case values r=p + 1 and s=0",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000001000000000000000000000000020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 225,
|
|
"comment" : "Signature with special case values r=p + 1 and s=1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000001000000000000000000000000020101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 226,
|
|
"comment" : "Signature with special case values r=p + 1 and s=-1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff000000010000000000000000000000010000000000000000000000000201ff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 227,
|
|
"comment" : "Signature with special case values r=p + 1 and s=n",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 228,
|
|
"comment" : "Signature with special case values r=p + 1 and s=n - 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 229,
|
|
"comment" : "Signature with special case values r=p + 1 and s=n + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 230,
|
|
"comment" : "Signature with special case values r=p + 1 and s=p",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 231,
|
|
"comment" : "Signature with special case values r=p + 1 and s=p + 1",
|
|
"flags" : [
|
|
"InvalidSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"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" : "3028022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551090380fe01",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 260,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=nan",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551090142",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 261,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=True",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551010101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 262,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=False",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551010100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 263,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=Null",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 264,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=empyt UTF-8 string",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510c00",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 265,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=\"0\"",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510c0130",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 266,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=empty list",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325513000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 267,
|
|
"comment" : "Signature encoding contains incorrect types: r=n, s=list containing 0",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325513003020100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 268,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=0.25",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff090380fe01",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 269,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=nan",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff090142",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 270,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=True",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff010101",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 271,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=False",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff010100",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 272,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=Null",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0500",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 273,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=empyt UTF-8 string",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0c00",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 274,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=\"0\"",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0c0130",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 275,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=empty list",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff3000",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 276,
|
|
"comment" : "Signature encoding contains incorrect types: r=p, s=list containing 0",
|
|
"flags" : [
|
|
"InvalidTypesInSignature"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff3003020100",
|
|
"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" : "313733323231",
|
|
"sig" : "3044022064a1aab5000d0e804f3e2fc02bdee9be8ff312334e2ba16d11547c97711c898e0220404a1a6da158ae1473fce08d338b8d6410a6a5903358b23fdd3a54fee2c2742b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 296,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33313930393433323838",
|
|
"sig" : "3045022100a9edb87925684bcc5b92d0f7455123656e3498a0d182be63e2e6077c2b43bc6e02202c729ea1b01d14ee8fe702096cddd9394e351d801411ec8eac6b758475ea0070",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 297,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "383433343734313535",
|
|
"sig" : "304402203fba20ca893dcaf04e89141337a96abc7e24e026a8ff4c86d950de1c31b6427202206be2eced4ce388ff8026dfd3b658144f30931b7083ee2af06e75158c15b12249",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 298,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33353732363936383239",
|
|
"sig" : "3045022100c5aa31116f6006c479586ff7070014a35f22166701be8a5f1f1e9a43cb27dca0022068d1cee35ba3893b9cc3b5df5ac6afef55ebdb7ad9236b1fa8e438a538f8cb55",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 299,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "353931383333343239",
|
|
"sig" : "304502205b5b4d890504f56c16a4ac7947ac0057cdf640d2c39bac09fedc648bb0a16f1d022100f9c12e73a56d799e2827538187f0ed0ec331f6f0c089a4f6249d04c1b0c5cc8d",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 300,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3832353330383232353839",
|
|
"sig" : "304502204338e710478e8b922e50dc947f6fa0cd1903106cf02ee0742da69e8b624c5b6702210090c73bd0fcd07a4dd4a3664d559bd4795ac950d89463680852d33915de1a5745",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 301,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3133373334383238313432",
|
|
"sig" : "304502200fc97d7744e0b2762e6b48730d44c758ab238136a72693ff27339aaebefad581022100ab68ec80cf4afcca0f7d75f3c4b00e34ed4fe9101c98ed4d8c2f97eb865b1683",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 302,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "313733383135363430",
|
|
"sig" : "3045022100825f0b4230e30182b24b65151ec83d0aadc63ecfe0a91b5879ccf7fcce9eb40a022047f0211ad5471d055fe07c75f37f3fad8aeeff1ee11a54a17bab35212c46d5d6",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 303,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32353533343636353034",
|
|
"sig" : "304502203fedd83579431889710b67b6454d43ea7eddaaa9da950424e2c4ac730065a822022100b50cef5a9da8323fccd5bf13260dea6517c8ae6ccd6495f9ed7494cfd5891573",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 304,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32313833303339313937",
|
|
"sig" : "3044022069ba62b020a36333f7a0716577dd57d280132c540f66b9e2fe8d470121e0f135022066c7811587cb9247ec6d8c223b4c6d5533948fbabf072973d74cb19d3b2c91a6",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 305,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130353236313736353435",
|
|
"sig" : "30450221008bb763097d8ca8e9cb84e111f361f47de93499f50bc85401ea96a61d54fad7a802202587b81e277283d5c139b8e9a5f4aa0bb0b1c2b28963efddbf73a0eef341659a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 306,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32353031353339393836",
|
|
"sig" : "30450221008260a1eb8ba8b52db95b0722887920a1f9989dfa1efd420d1f8f9ab3df0cffce02206752c5687e6889e008eb9ad6e41933796b4adcd6018420fdef250998f6adf603",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 307,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3134393533313634363139",
|
|
"sig" : "3045022100b809c133b30c3a8ff11ea9024b131664b51c2768afb8536744e041015da9380602206cd015a49e19b260da6cd32a94806fb8bdceec5dc5542a7b2b938cce75137f30",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 308,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32303633383532393036",
|
|
"sig" : "304502202069244f8e72562406d631f647a141831aca5907fbff09932797d8305ad3c19d022100dfb7a3ae1a4bdf76987d7de404c5d8b7c51a6ae8dbece9de345a4b71cb5e1f38",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 309,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "37383339373634393932",
|
|
"sig" : "304402204d82e457954761001da6c5dd0fb45d3b8aae12a270cdc5b97d66f810e306532602200cc6217e3aee3839fd809b207d47dea412991932adb2de18ee86431452c22595",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 310,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32313239323634343639",
|
|
"sig" : "3045022100a81c6258489e10bb1132a6f81f76c31d7465869708d89eb018c51bf774e8a0930220304d75b7bebe9abda5daafc419a765ffb8e5c02dd91836c40c430f052d5ca59c",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 311,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34383332303432363833",
|
|
"sig" : "3045022100e8da776984d6af2b8d523d1bd6fab8b25409e669d172ef51e104648c1bf0dad1022049b4170fed1cc59ab000087a2c091b3f69a66c8562ed350472e982bd31a0d09e",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 312,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "333635323231383136",
|
|
"sig" : "3046022100c53d293775c5cfdb879b67ff4f4792942132c35c9dc7f8fda8b3a00967c75b47022100c36045151f70a5d6af2fd27cf1f13cb308b2e847151fa4b47e22f2df6220ae95",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 313,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3234393137313236393635",
|
|
"sig" : "30440220300ee6fa4de853ac6680302a9c439b82dfd046c314d7bbacb2e01274e61e9b5402200bb2b62f11b789848648fab7e0c46ca7b09cded01887ef6bda9f871bc5cc609f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 314,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32363232373930373738",
|
|
"sig" : "3045022100ac58a18fa5973efb06adba842affbd256a1c624606b146dae5a6ef85992cb428022048b4ecb8697e4cd20e0f30721ad94f4c18943879ce5d99d8c000d90465138bd0",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 315,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "313031323537373238393237",
|
|
"sig" : "304402206ebc2857fd53656b857005eb8f95c4f6fd3c99f9636a028e5244edc60bc9e18c022027719f12eb1de6cade547cb98523bdc7108622240f38d12f415c79cd0b1344d9",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 316,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31303530383732323032",
|
|
"sig" : "3044022067e8ca1907624419e3ccd88002dd7757f595abc84bd861cd0198364a4571ff6b02200db40b6a7200cdc1a09df432a5a763436ab4130cbdee024dea2a3ddd6c023ed9",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 317,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32353037373237303332",
|
|
"sig" : "3045022100f4d8208eed5cb4bfe4ef6ddbbc3742e780e4212a39cf79c9f85605ee64a962cb022043dee8a3c45a45a91e83a18ff3f881047b4fd6ad3003b3af37fb8211eaf7d584",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 318,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "373139333435393339",
|
|
"sig" : "304402203363ccc93e2413e47528ab086408bc0521be73353f2c2371bbf2d9dc16e63fb3022068f3d1074a2e06d33fc19a567a8af0edcae923560cf38da2dab82e2249c8dbbd",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 319,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31363337333035373633",
|
|
"sig" : "304502210084960758125ad8de3df0c113ff35f1644e4d43f661c2d81848f3fe4e55846f1802205983630fc8975bab570d2c9f3cbbdecb4dd6179ec497aff312d807ec26ca940a",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 320,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34323431323733373133",
|
|
"sig" : "3044022006ca924b5686a22f2e39c0f980fd58d62bbaf33c3a57f98a315332121e9ba60b02206516b98b31048722ca25e0a6c450461823c0a35f37d671439084fbc27c4779a1",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 321,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "343735363134373337",
|
|
"sig" : "304402200093c5ef07a7d955056b88cc8240060b4ffb42835a3df353cbe16ccb62eaf3f60220364dbea6d5ead4202d6fdc253bb0c2c0522b55823e8bb890235ab09ae9030ea2",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 322,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "37313632333237373334",
|
|
"sig" : "3045022100835274f3157b737975486c73e5bbdd15b61e2ebb9e580911e45fc288214d2e6702201d5dcebfc6d3ae3826b9a3211f5e2249acc967eb47dfd41a849241ffe779154f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 323,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31323232343034313239",
|
|
"sig" : "304502203797916fb5c401a691b710050df3eec163383f855f93b61322a56d862ad5572d022100eb7bff4000738a83dd64082eff710d5eb619427198ac290b291f4599768959ca",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 324,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33353234353833333638",
|
|
"sig" : "3044022070992463694c845183db142a77bf5d73c17e9004a8b946b7b8eeb3fdf2b22e00022003843ec28e4c4d4f7726a5a5835575bb3e272f612246bc3aff288ac4a4e90c90",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 325,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3331363334333936",
|
|
"sig" : "3046022100aeaf228b41a1f311d4df74717f4134ee992e5f2922eec65ec83e2db82a866472022100f5ef65eb9fc3feaaac04f71a9a5ceb73e8cd6cb75b4595b39b250a50476cb68f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 326,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36353332353938343339",
|
|
"sig" : "3045022100b84dbbddd3b8a2ddf67d27e4ef886f72d90cbb7ec2d6883728b27842d61505cc022032be7f0ff420ae3be212beb4c276d93e2527b0964d643c5807c8ee711e66e8e5",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 327,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "373338353138353034",
|
|
"sig" : "3046022100f7f6782978f376caf9434941535e1c87ad09b9d39ee936145a0b53b9250fd182022100fb752930c84c29e49f81a997a4d0f00fcdcb4a2f2bf8049cca5d7cf70b079cea",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 328,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31343635323636353739",
|
|
"sig" : "3045022100fb4b434112c1302ffd49ebd993cf5ec59729cbe78739db3c470264e378d56e8d02203aba99bd10be0fba04ca8d9601ae8f68ca7ffe5814f4cfbde78c1cc07a29fd8f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 329,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32303334383839343934",
|
|
"sig" : "3046022100eafafe851aad76036013bd571772147b7257fb736ed7b4458e0dcf60a2c7b9c0022100b59c6409e51043b7e5c86a8d465978a4c8f78e13ef5b184fe5f46f201ff4efa8",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 330,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34343730383836373835",
|
|
"sig" : "304502206c74d1679d871a46a43c3fe375e09d4f1b6413c59b5e070d7984dae0aadbc37e022100ff1d22228c9e9cf9958d677eed4c3a252b10273ce2d360457faabe7f7439c0e8",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 331,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "353537363430343436",
|
|
"sig" : "3046022100cae28b592e2d5bf6f9ea541e70bceedd07adde40bc2b5f883d35ae9560fc85c202210099eaffc16f570b7837d74177dae6e6cfd873ea89424581bc690d0e49c4218402",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 332,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "36333434393536363038",
|
|
"sig" : "304502206ce5133579dd044447206b9f6e1605d27f094b2c4466a5bf8e157873176baf3a022100bbe35524d9c1936bacecb6c270bf494eac75933caa8dbb2fef30f6572ed8667c",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 333,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34393432383039303331",
|
|
"sig" : "304402202855cf6e65812ea246e366ab961970d19387039a93f0bd406365d68b0356661302201b3a9593117380899d5c8f8f976ad4dee97db9f1225f735b1d41c2a115be93fb",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 334,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "323636353831393339",
|
|
"sig" : "304502210090ed3aa89579b73477e3fcba9f52a5a64b9b6d83b475a3881bc0e63d74f6bf9c022004cb5e2ca1d413b37a71607d5b5fa72ccc87a2edcd5c7f30daaa94241b749920",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 335,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33333332323134313134",
|
|
"sig" : "30450220055e38188756831ced4b01e0f9d4db6b02293c7ee2c3fd47860d38377ee0f4190221009c29f1688f16e111914d9c843c0a8f0306c1c4ddd5167cdd54338a4f4ab79a91",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 336,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "363136353237373135",
|
|
"sig" : "3045022006b28cd8538d8cc563473cf6c7abb519e4c8bb4c37915ef76512f37de02c2164022100a62dc2afb01a1a9bc877edd54f25fd1f6d0378b3fbaa219ff9ef28c560cc8065",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 337,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32333539393535383133",
|
|
"sig" : "3045022100c4b97652702efb1d1b67e966e88789efc0d9eb76d32efbeaf9c1bca36b2ea9a5022013e1b2358c7a34fef3ea738ef1a48fab63a2616455c81f8095394a2230c852e3",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 338,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "323931333631393538",
|
|
"sig" : "304502206a86100848566b5f5f89c13643515d81390952b6b5ce56b64fc3349e4edf21df022100c9ca4ba3a6fd501dae9917283a6851692f57dfbfa49d7a31aa937534df760c87",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 339,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31363230393033333936",
|
|
"sig" : "3046022100c1ea204ee71a0502fc47de5d89fad98b897b5c308a4030b4a29de9cc39ff1704022100a5261798ed9665358c31a2368c6705b53b5d7d17023c365ae532573593934481",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 340,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33333633313032383432",
|
|
"sig" : "3045022100b3c13e4907afa5a629398ff4fb50c48fae69dd3721a6f62ac13b901efcb4717c02206cb8a95728751b6274fb57e0e8fc87bd7911b1b94fb92edf09ef30fce410efe7",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 341,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "363237373433343931",
|
|
"sig" : "30460221009fafebd8841588e56116b2aa354557be814630bae5824e187405f3398f36bc5e022100f01264feb46aeefe68c967e439986f14aeb85ad99b520db572af8d1349d696a6",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 342,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33383536373938313437",
|
|
"sig" : "3046022100b45703f2c6e95c2f2378913cb78ecf7a01932b66d85e6f687dbb618b056851e8022100e1333352ea3ad42d7fd9a52a9b6dd1252848a180606d30012e142d135156720b",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 343,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32383831313830363430",
|
|
"sig" : "304502204138934da6329335702814333f4df8f907df7aa8e684cc38e2366961828ad937022100b90b1b0d77fa39c81f3df7a471499ebbe415a372e7c947eae8612646081aeb47",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 344,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3130393537333934363738",
|
|
"sig" : "3045022100a52a6cca52d60aedc270cfd2fb0e0c2dde1ec4bb61434a7f11cd126ad46bec5602201dba92bb08e5665da3847abf695dbe18aeae37d9fdcd3617fab0c648f48d8ce6",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 345,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "353432373131393834",
|
|
"sig" : "3045022100b153363d48a58d339a7e53bfedddb63ea63484569bda2630d61c129a45d352e10220592dc8769b4834fae70f2cf3eea157ea9684c56d4875d296313cdf12e4939df8",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 346,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33313530303334333235",
|
|
"sig" : "304402203516e0c8c97110170a5121b5408043f33c6efbef0e5556165812713be6422ae802205d80c5dffa87d3856083bf67beb27e90ebdc2e54d84760c1588f6432ca733195",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 347,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31393939383231333931",
|
|
"sig" : "3046022100903d8397244bfc99f2a677507db419597fef6f0cbfd49e0c022709c06c93e358022100f1705f4a19ab86893e0e022bca9081022764bd986c1c891eb80202ec46f50870",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 348,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31393731323039323631",
|
|
"sig" : "304502203ba4d01ac8cbfc4abf848253d060a4e3faede188fd01c21657c20b61d1943f43022100ca3b5365ffbb98a5539cbe3e71b3d9fc59b5f1d5bee1122870e153ded9e1ce67",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 349,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "33353731383338383537",
|
|
"sig" : "30440220741b76d33821c8cac2361048f10d28060f43e2c30b42b3f1b64a432f322e705c022037331cdebe152ff84bf909183069f278f8b0779042d5486b2d9826b42546952d",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 350,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "38363832323639383935",
|
|
"sig" : "3045022100d7988135fd211a2cc09a4588f2d91de3a9a9498d5c5c3ef7e78e9bd80906a63f022025de3162aefbd6afedf01116b4e69d498eaefbf29599a7e0ab60614d64fb3db7",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 351,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32353438383536303331",
|
|
"sig" : "3045022014580cf3aae5ebbb74fed09ff193f347f69ac5b38435eeb7c38a0fd95f5b7ad8022100fcd923fdbdcecb3ece3bd0069c81396b4acf6328648fbe5324ae0c5a276fd87c",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 352,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34393935373031333139",
|
|
"sig" : "30450220130821bb00d0f4416ef06761aa283d35383cc2d46ad6be76c96d839adce2dbb6022100d9deef38e7d0f136cc535f1f8931f271cbf0b0d9e4e20fc8db7a1fb3c616bb68",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 353,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "32343536363831373835",
|
|
"sig" : "3046022100ab4991cad903fc45f6afe22b939640736aec9788b9d8f94109343649d6327695022100ab126decd1743caf4b461a9c8029cf1230a54a0180e5225a79c075167c2911bc",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 354,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "34313835333731323336",
|
|
"sig" : "3045022100dc3b756b20b906f02dc03b46bbef56708be649bb4b23a41ac4333cd79d72749d0220309dfe0623034d6441332aebb327bf5b0fb2f3d6df5a6c02d836fc908e37b0e0",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 355,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "373237383439303034",
|
|
"sig" : "3046022100d733b4391a4876d30acdb95977e4fdfded201e698e42be54c5c690b4c83c9036022100f55565475dc58e468b4aaee60eda224770c5b30517944c065758cd5155ae1251",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 356,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "31353632383139333138",
|
|
"sig" : "3045022100aa9ea086e301728e0cac7568bf64095b9f51d070edb46679a9983500245e346802203aeb2415f10625c3a4e818da7ddecea27f56f0a393920f6a5d2f4f3054e2131f",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 357,
|
|
"comment" : "special case hash",
|
|
"flags" : [
|
|
"SpecialCaseHash"
|
|
],
|
|
"msg" : "3231383739393238333836",
|
|
"sig" : "3045022100d5a6ffddece918c5fe4e7d3a11344612bfb0cd2735ce071dfade01244c3b303c02200ff4ee3a70b9984e49277b3b15252c9f255b9ed51c7a4473cf55a7955083a985",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0458e71ffbfd2eabf4e4a465f68100f3d23d4702537dfcca5ee89d18a75ad7f75616535d3b19f050e443bf5dc38f7f7cda9df3798d4a2f65a413a9af5df002828c",
|
|
"wx" : "58e71ffbfd2eabf4e4a465f68100f3d23d4702537dfcca5ee89d18a75ad7f756",
|
|
"wy" : "16535d3b19f050e443bf5dc38f7f7cda9df3798d4a2f65a413a9af5df002828c"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000458e71ffbfd2eabf4e4a465f68100f3d23d4702537dfcca5ee89d18a75ad7f75616535d3b19f050e443bf5dc38f7f7cda9df3798d4a2f65a413a9af5df002828c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWOcf+/0uq/TkpGX2gQDz0j1HAlN9\n/Mpe6J0Yp1rX91YWU107GfBQ5EO/XcOPf3zanfN5jUovZaQTqa9d8AKCjA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 358,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "303502104319055358e8617b0c46353d039cdaab022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 359,
|
|
"comment" : "r too large",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000000fffffffffffffffffffffffc022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "040a78dad1701d0551089d3a0ee329a22a9d8bf4263c8a50e0668d24306cf0240b03950b34bb638c683c167a00ac06232c2ef1718d3ed7ebcfc145a41031b04ee0",
|
|
"wx" : "0a78dad1701d0551089d3a0ee329a22a9d8bf4263c8a50e0668d24306cf0240b",
|
|
"wy" : "03950b34bb638c683c167a00ac06232c2ef1718d3ed7ebcfc145a41031b04ee0"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040a78dad1701d0551089d3a0ee329a22a9d8bf4263c8a50e0668d24306cf0240b03950b34bb638c683c167a00ac06232c2ef1718d3ed7ebcfc145a41031b04ee0",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECnja0XAdBVEInToO4ymiKp2L9CY8\nilDgZo0kMGzwJAsDlQs0u2OMaDwWegCsBiMsLvFxjT7X68/BRaQQMbBO4A==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 360,
|
|
"comment" : "r,s are large",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254f022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04e5b027e1f5daf6e52eca80e35be28651bf849ff3de70d2a34c0d782b5aaad6853c8e2cff9b02c90bf4d7d49c7ff2a261d26aed7d4022b41392c85a857d434579",
|
|
"wx" : "00e5b027e1f5daf6e52eca80e35be28651bf849ff3de70d2a34c0d782b5aaad685",
|
|
"wy" : "3c8e2cff9b02c90bf4d7d49c7ff2a261d26aed7d4022b41392c85a857d434579"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e5b027e1f5daf6e52eca80e35be28651bf849ff3de70d2a34c0d782b5aaad6853c8e2cff9b02c90bf4d7d49c7ff2a261d26aed7d4022b41392c85a857d434579",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE5bAn4fXa9uUuyoDjW+KGUb+En/Pe\ncNKjTA14K1qq1oU8jiz/mwLJC/TX1Jx/8qJh0mrtfUAitBOSyFqFfUNFeQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 361,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100909135bdb6799286170f5ead2de4f6511453fe50914f3df2de54a36383df8dd4",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0424c5462bb7d1f1763ce28b3a9f851d86d7cb4c5f7c61ed9ed7d397f1a920ffc99460936b6919f88646844b27503555262ef8a81e6704f43e07deda12aa06f4ae",
|
|
"wx" : "24c5462bb7d1f1763ce28b3a9f851d86d7cb4c5f7c61ed9ed7d397f1a920ffc9",
|
|
"wy" : "009460936b6919f88646844b27503555262ef8a81e6704f43e07deda12aa06f4ae"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000424c5462bb7d1f1763ce28b3a9f851d86d7cb4c5f7c61ed9ed7d397f1a920ffc99460936b6919f88646844b27503555262ef8a81e6704f43e07deda12aa06f4ae",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJMVGK7fR8XY84os6n4UdhtfLTF98\nYe2e19OX8akg/8mUYJNraRn4hkaESydQNVUmLvioHmcE9D4H3toSqgb0rg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 362,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022027b4577ca009376f71303fd5dd227dcef5deb773ad5f5a84360644669ca249a5",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "046226bb83d3cef01ae27b7d04a905397682d5e4a5964b5160dba8a055a2e2aeca7a3630d49d999d0e85e59fe762c9c567cb767ca2a0a7a7756ac917e6085b18e1",
|
|
"wx" : "6226bb83d3cef01ae27b7d04a905397682d5e4a5964b5160dba8a055a2e2aeca",
|
|
"wy" : "7a3630d49d999d0e85e59fe762c9c567cb767ca2a0a7a7756ac917e6085b18e1"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046226bb83d3cef01ae27b7d04a905397682d5e4a5964b5160dba8a055a2e2aeca7a3630d49d999d0e85e59fe762c9c567cb767ca2a0a7a7756ac917e6085b18e1",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYia7g9PO8Brie30EqQU5doLV5KWW\nS1Fg26igVaLirsp6NjDUnZmdDoXln+diycVny3Z8oqCnp3VqyRfmCFsY4Q==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 363,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020105020101",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0465af8c23310fe060a09e7366d82ea35f48f8e2c682eab3783de7d9711f5923bebebabfaf084741fc806b9698ef87c9459246b7846fa17400094ad0bb222c2cb6",
|
|
"wx" : "65af8c23310fe060a09e7366d82ea35f48f8e2c682eab3783de7d9711f5923be",
|
|
"wy" : "00bebabfaf084741fc806b9698ef87c9459246b7846fa17400094ad0bb222c2cb6"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000465af8c23310fe060a09e7366d82ea35f48f8e2c682eab3783de7d9711f5923bebebabfaf084741fc806b9698ef87c9459246b7846fa17400094ad0bb222c2cb6",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEZa+MIzEP4GCgnnNm2C6jX0j44saC\n6rN4PefZcR9ZI76+ur+vCEdB/IBrlpjvh8lFkka3hG+hdAAJStC7Iiwstg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 364,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020105020103",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04f26ea876edab91b4070c5ec6e36663fff86f1fe5ef73938b227766b1805773cd07059506a5296d5766d4c55c06eebccf81c04e52cb14c3b198a18808d570d417",
|
|
"wx" : "00f26ea876edab91b4070c5ec6e36663fff86f1fe5ef73938b227766b1805773cd",
|
|
"wy" : "07059506a5296d5766d4c55c06eebccf81c04e52cb14c3b198a18808d570d417"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004f26ea876edab91b4070c5ec6e36663fff86f1fe5ef73938b227766b1805773cd07059506a5296d5766d4c55c06eebccf81c04e52cb14c3b198a18808d570d417",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE8m6odu2rkbQHDF7G42Zj//hvH+Xv\nc5OLIndmsYBXc80HBZUGpSltV2bUxVwG7rzPgcBOUssUw7GYoYgI1XDUFw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 365,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020105020105",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "047811e16675799076c4f5ea78e5f833be4649925165672057443c436cf4017e0d8e377d53fecdf1556b1cdfdd8270d920cf7c6d32c946af2db4c864faec6b1eba",
|
|
"wx" : "7811e16675799076c4f5ea78e5f833be4649925165672057443c436cf4017e0d",
|
|
"wy" : "008e377d53fecdf1556b1cdfdd8270d920cf7c6d32c946af2db4c864faec6b1eba"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200047811e16675799076c4f5ea78e5f833be4649925165672057443c436cf4017e0d8e377d53fecdf1556b1cdfdd8270d920cf7c6d32c946af2db4c864faec6b1eba",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEeBHhZnV5kHbE9ep45fgzvkZJklFl\nZyBXRDxDbPQBfg2ON31T/s3xVWsc392CcNkgz3xtMslGry20yGT67Gseug==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 366,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020105020106",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04614ec72ada338db0177b53573827f11c5b95b577117f14580aa81e12b47aeb8cd89bf53fd6de48ec10fa6ed7213474c04c5990ca9e14dc098a4ed4b6805937cf",
|
|
"wx" : "614ec72ada338db0177b53573827f11c5b95b577117f14580aa81e12b47aeb8c",
|
|
"wy" : "00d89bf53fd6de48ec10fa6ed7213474c04c5990ca9e14dc098a4ed4b6805937cf"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004614ec72ada338db0177b53573827f11c5b95b577117f14580aa81e12b47aeb8cd89bf53fd6de48ec10fa6ed7213474c04c5990ca9e14dc098a4ed4b6805937cf",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYU7HKtozjbAXe1NXOCfxHFuVtXcR\nfxRYCqgeErR664zYm/U/1t5I7BD6btchNHTATFmQyp4U3AmKTtS2gFk3zw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 367,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020106020101",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0452c01eaee2e5c30e7db97061b0e00b44f7199a23c1db44f2428e342a71e1df6ee37cc4355d79bfa76afc34e2db9cdac7f451cc9b28f772269c8b017d964d9a67",
|
|
"wx" : "52c01eaee2e5c30e7db97061b0e00b44f7199a23c1db44f2428e342a71e1df6e",
|
|
"wy" : "00e37cc4355d79bfa76afc34e2db9cdac7f451cc9b28f772269c8b017d964d9a67"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000452c01eaee2e5c30e7db97061b0e00b44f7199a23c1db44f2428e342a71e1df6ee37cc4355d79bfa76afc34e2db9cdac7f451cc9b28f772269c8b017d964d9a67",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUsAeruLlww59uXBhsOALRPcZmiPB\n20TyQo40KnHh327jfMQ1XXm/p2r8NOLbnNrH9FHMmyj3ciaciwF9lk2aZw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 368,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020106020103",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0478c04ef617e9ba8427a4946816e39c1319ff166ad0f248ef61b48e80e8b5a23512d07e5c45e1500c8ca4f714f68d47f762cad5ce8b798fbac0e1e2bfa395bc5e",
|
|
"wx" : "78c04ef617e9ba8427a4946816e39c1319ff166ad0f248ef61b48e80e8b5a235",
|
|
"wy" : "12d07e5c45e1500c8ca4f714f68d47f762cad5ce8b798fbac0e1e2bfa395bc5e"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000478c04ef617e9ba8427a4946816e39c1319ff166ad0f248ef61b48e80e8b5a23512d07e5c45e1500c8ca4f714f68d47f762cad5ce8b798fbac0e1e2bfa395bc5e",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEeMBO9hfpuoQnpJRoFuOcExn/FmrQ\n8kjvYbSOgOi1ojUS0H5cReFQDIyk9xT2jUf3YsrVzot5j7rA4eK/o5W8Xg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 369,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020106020106",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "045a6605c4dd6006cd2575c4e5a4eeecb99513b3df4ad1482218951b44b9dc615327d7b42d22a138d10d275fc4bf3363fcabc2d3cb22d8b68e8f358f28bc765c39",
|
|
"wx" : "5a6605c4dd6006cd2575c4e5a4eeecb99513b3df4ad1482218951b44b9dc6153",
|
|
"wy" : "27d7b42d22a138d10d275fc4bf3363fcabc2d3cb22d8b68e8f358f28bc765c39"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200045a6605c4dd6006cd2575c4e5a4eeecb99513b3df4ad1482218951b44b9dc615327d7b42d22a138d10d275fc4bf3363fcabc2d3cb22d8b68e8f358f28bc765c39",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWmYFxN1gBs0ldcTlpO7suZUTs99K\n0UgiGJUbRLncYVMn17QtIqE40Q0nX8S/M2P8q8LTyyLYto6PNY8ovHZcOQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 370,
|
|
"comment" : "small r and s",
|
|
"flags" : [
|
|
"SmallRandS",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020106020107",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 371,
|
|
"comment" : "r is larger than n",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632557020107",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04254166f8cc3c42f25c88ad410aa3e3003165de62377aa1eb2baf1ca00c6f6e402abea7a234b07e3f962839ba9c31fdbc3b86618e2151fe50cbcc24153e86f5d9",
|
|
"wx" : "254166f8cc3c42f25c88ad410aa3e3003165de62377aa1eb2baf1ca00c6f6e40",
|
|
"wy" : "2abea7a234b07e3f962839ba9c31fdbc3b86618e2151fe50cbcc24153e86f5d9"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004254166f8cc3c42f25c88ad410aa3e3003165de62377aa1eb2baf1ca00c6f6e402abea7a234b07e3f962839ba9c31fdbc3b86618e2151fe50cbcc24153e86f5d9",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJUFm+Mw8QvJciK1BCqPjADFl3mI3\neqHrK68coAxvbkAqvqeiNLB+P5YoObqcMf28O4ZhjiFR/lDLzCQVPob12Q==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 372,
|
|
"comment" : "s is larger than n",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020106022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc75fbd8",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "044b2475ae911ab3e3334bd5acefce2225e35ad7f4523df52c13f581b87898cca195575d5296d1bd97efaa74a12cc0df3d556a614f176c25b06348af8d304ea6c7",
|
|
"wx" : "4b2475ae911ab3e3334bd5acefce2225e35ad7f4523df52c13f581b87898cca1",
|
|
"wy" : "0095575d5296d1bd97efaa74a12cc0df3d556a614f176c25b06348af8d304ea6c7"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044b2475ae911ab3e3334bd5acefce2225e35ad7f4523df52c13f581b87898cca195575d5296d1bd97efaa74a12cc0df3d556a614f176c25b06348af8d304ea6c7",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAESyR1rpEas+MzS9Ws784iJeNa1/RS\nPfUsE/WBuHiYzKGVV11SltG9l++qdKEswN89VWphTxdsJbBjSK+NME6mxw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 373,
|
|
"comment" : "small r and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3027020201000221008f1e3c7862c58b16bb76eddbb76eddbb516af4f63f2d74d76e0d28c9bb75ea88",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04211cc26f1f60998bccfc6ae65cfe8f1bf2e70fc28b5aaf8e2a297f3f4460662c3ffc8dbd9b58a341d5160ff03b7a503649967a9a937edbbfc4bf154aa6e1a0ae",
|
|
"wx" : "211cc26f1f60998bccfc6ae65cfe8f1bf2e70fc28b5aaf8e2a297f3f4460662c",
|
|
"wy" : "3ffc8dbd9b58a341d5160ff03b7a503649967a9a937edbbfc4bf154aa6e1a0ae"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004211cc26f1f60998bccfc6ae65cfe8f1bf2e70fc28b5aaf8e2a297f3f4460662c3ffc8dbd9b58a341d5160ff03b7a503649967a9a937edbbfc4bf154aa6e1a0ae",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEIRzCbx9gmYvM/GrmXP6PG/LnD8KL\nWq+OKil/P0RgZiw//I29m1ijQdUWD/A7elA2SZZ6mpN+27/EvxVKpuGgrg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 374,
|
|
"comment" : "smallish r and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302c02072d9b4d347952d6022100ef3043e7329581dbb3974497710ab11505ee1c87ff907beebadd195a0ffe6d7a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "040a7bb520f0cc16284831167d3622b276487a7bbf41bf911d367b484f1bd81a0c0c30d573d27d44e68fb9a109ac7faad2c57ae09de30d8203ab409cd3ca63af3a",
|
|
"wx" : "0a7bb520f0cc16284831167d3622b276487a7bbf41bf911d367b484f1bd81a0c",
|
|
"wy" : "0c30d573d27d44e68fb9a109ac7faad2c57ae09de30d8203ab409cd3ca63af3a"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040a7bb520f0cc16284831167d3622b276487a7bbf41bf911d367b484f1bd81a0c0c30d573d27d44e68fb9a109ac7faad2c57ae09de30d8203ab409cd3ca63af3a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECnu1IPDMFihIMRZ9NiKydkh6e79B\nv5EdNntITxvYGgwMMNVz0n1E5o+5oQmsf6rSxXrgneMNggOrQJzTymOvOg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 375,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3032020d1033e67e37b32b445580bf4eff0221008b748b74000000008b748b748b748b7466e769ad4a16d3dcd87129b8e91d1b4d",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04d528a48fb391dd490d3f32810570613d16fe2709b82245027705e359549b0e155f4a5ac279d55c9ea6371f56403f816ee723632911df9804f01c7fa289eb2361",
|
|
"wx" : "00d528a48fb391dd490d3f32810570613d16fe2709b82245027705e359549b0e15",
|
|
"wy" : "5f4a5ac279d55c9ea6371f56403f816ee723632911df9804f01c7fa289eb2361"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d528a48fb391dd490d3f32810570613d16fe2709b82245027705e359549b0e155f4a5ac279d55c9ea6371f56403f816ee723632911df9804f01c7fa289eb2361",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Sikj7OR3UkNPzKBBXBhPRb+Jwm4\nIkUCdwXjWVSbDhVfSlrCedVcnqY3H1ZAP4Fu5yNjKRHfmATwHH+iiesjYQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 376,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302702020100022100ef9f6ba4d97c09d03178fa20b4aaad83be3cf9cb824a879fec3270fc4b81ef5b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04d1f035f0a28c0c49e6248ff373874da5b26b47e7cd89c1b3bd15402dc9bd7b627a182a1884f30222976579d766da681a7f31fe55b14e770dd0f3f1c09654b29c",
|
|
"wx" : "00d1f035f0a28c0c49e6248ff373874da5b26b47e7cd89c1b3bd15402dc9bd7b62",
|
|
"wy" : "7a182a1884f30222976579d766da681a7f31fe55b14e770dd0f3f1c09654b29c"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d1f035f0a28c0c49e6248ff373874da5b26b47e7cd89c1b3bd15402dc9bd7b627a182a1884f30222976579d766da681a7f31fe55b14e770dd0f3f1c09654b29c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0fA18KKMDEnmJI/zc4dNpbJrR+fN\nicGzvRVALcm9e2J6GCoYhPMCIpdleddm2mgafzH+VbFOdw3Q8/HAllSynA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 377,
|
|
"comment" : "100-bit r and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3032020d062522bbd3ecbe7c39e93e7c25022100ef9f6ba4d97c09d03178fa20b4aaad83be3cf9cb824a879fec3270fc4b81ef5b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0407df495050dcb1738f4e2aac5ba2c8a1f8e09d262a3b001865af3fba086d7aa1b596cde482a6bfdc5e49e4069fce7c2d1145d1e0f7fed63f9e848446fae479ed",
|
|
"wx" : "07df495050dcb1738f4e2aac5ba2c8a1f8e09d262a3b001865af3fba086d7aa1",
|
|
"wy" : "00b596cde482a6bfdc5e49e4069fce7c2d1145d1e0f7fed63f9e848446fae479ed"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000407df495050dcb1738f4e2aac5ba2c8a1f8e09d262a3b001865af3fba086d7aa1b596cde482a6bfdc5e49e4069fce7c2d1145d1e0f7fed63f9e848446fae479ed",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEB99JUFDcsXOPTiqsW6LIofjgnSYq\nOwAYZa8/ughteqG1ls3kgqa/3F5J5AafznwtEUXR4Pf+1j+ehIRG+uR57Q==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 378,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6324d50220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "047191df2d2802bf5c1c7f1a920334e7344ef340e8e5260ba6321bf1d8598099717fb768b3fe7eb246237e1ab5f42cc18d4b73e53b06ccfd7c86b0a13e7f6c411f",
|
|
"wx" : "7191df2d2802bf5c1c7f1a920334e7344ef340e8e5260ba6321bf1d859809971",
|
|
"wy" : "7fb768b3fe7eb246237e1ab5f42cc18d4b73e53b06ccfd7c86b0a13e7f6c411f"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200047191df2d2802bf5c1c7f1a920334e7344ef340e8e5260ba6321bf1d8598099717fb768b3fe7eb246237e1ab5f42cc18d4b73e53b06ccfd7c86b0a13e7f6c411f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEcZHfLSgCv1wcfxqSAzTnNE7zQOjl\nJgumMhvx2FmAmXF/t2iz/n6yRiN+GrX0LMGNS3PlOwbM/XyGsKE+f2xBHw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 379,
|
|
"comment" : "r and s are 64-bit integer",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30160209009c44febf31c3594f020900839ed28247c2b06b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "042c85a72b248789298f58a5a26a94afa6f5d6a7eb1eaac513ab23eefd9cb4ff99a1a1d193532f4c29d6625055000985809b5e8b8a10c72917d72e01c2f94aeeb2",
|
|
"wx" : "2c85a72b248789298f58a5a26a94afa6f5d6a7eb1eaac513ab23eefd9cb4ff99",
|
|
"wy" : "00a1a1d193532f4c29d6625055000985809b5e8b8a10c72917d72e01c2f94aeeb2"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042c85a72b248789298f58a5a26a94afa6f5d6a7eb1eaac513ab23eefd9cb4ff99a1a1d193532f4c29d6625055000985809b5e8b8a10c72917d72e01c2f94aeeb2",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELIWnKySHiSmPWKWiapSvpvXWp+se\nqsUTqyPu/Zy0/5mhodGTUy9MKdZiUFUACYWAm16LihDHKRfXLgHC+Urusg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 380,
|
|
"comment" : "r and s are 100-bit integer",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "301e020d09df8b682430beef6f5fd7c7cd020d0fd0a62e13778f4222a0d61c8a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04d12e2032878b23d1de80f0c651ef0808a70dc2d70cc3dcd20b98ac1a92d5d5022fd7907dde50f2787f5624ff87e7c30b1dabfd9205628a77205543aa27f4add6",
|
|
"wx" : "00d12e2032878b23d1de80f0c651ef0808a70dc2d70cc3dcd20b98ac1a92d5d502",
|
|
"wy" : "2fd7907dde50f2787f5624ff87e7c30b1dabfd9205628a77205543aa27f4add6"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d12e2032878b23d1de80f0c651ef0808a70dc2d70cc3dcd20b98ac1a92d5d5022fd7907dde50f2787f5624ff87e7c30b1dabfd9205628a77205543aa27f4add6",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0S4gMoeLI9HegPDGUe8ICKcNwtcM\nw9zSC5isGpLV1QIv15B93lDyeH9WJP+H58MLHav9kgViincgVUOqJ/St1g==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 381,
|
|
"comment" : "r and s are 128-bit integer",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30260211008a598e563a89f526c32ebec8de26367c02110084f633e2042630e99dd0f1e16f7a04bf",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04c426e874ea701e368f3b0bffb0342e6e439769cd5c0cbf412b2114318ae2bb0d8ef8853bebf73416641b4b3516c939364fe0e042a503ee5fe1e3f497371f920b",
|
|
"wx" : "00c426e874ea701e368f3b0bffb0342e6e439769cd5c0cbf412b2114318ae2bb0d",
|
|
"wy" : "008ef8853bebf73416641b4b3516c939364fe0e042a503ee5fe1e3f497371f920b"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004c426e874ea701e368f3b0bffb0342e6e439769cd5c0cbf412b2114318ae2bb0d8ef8853bebf73416641b4b3516c939364fe0e042a503ee5fe1e3f497371f920b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAExCbodOpwHjaPOwv/sDQubkOXac1c\nDL9BKyEUMYriuw2O+IU76/c0FmQbSzUWyTk2T+DgQqUD7l/h4/SXNx+SCw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 382,
|
|
"comment" : "r and s are 160-bit integer",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "302e021500aa6eeb5823f7fa31b466bb473797f0d0314c0bdf021500e2977c479e6d25703cebbc6bd561938cc9d1bfb9",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04ccd70d8730532b28c78c27dbd3043fdde3e96f10ede406582c9cba2618dc03c195d592c366bd189683fd581dde22fb91176b55d94e48dd81467234777d8c223a",
|
|
"wx" : "00ccd70d8730532b28c78c27dbd3043fdde3e96f10ede406582c9cba2618dc03c1",
|
|
"wy" : "0095d592c366bd189683fd581dde22fb91176b55d94e48dd81467234777d8c223a"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ccd70d8730532b28c78c27dbd3043fdde3e96f10ede406582c9cba2618dc03c195d592c366bd189683fd581dde22fb91176b55d94e48dd81467234777d8c223a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzNcNhzBTKyjHjCfb0wQ/3ePpbxDt\n5AZYLJy6JhjcA8GV1ZLDZr0YloP9WB3eIvuRF2tV2U5I3YFGcjR3fYwiOg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 383,
|
|
"comment" : "s == 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30250220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70020101",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 384,
|
|
"comment" : "s == 0",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30250220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70020100",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "041f8988dacc3cad2c1b0c8ffd0a658aea1a3087fc17ff0e6b8c18460d27b85c51ff457f9c9d0f0ec9a600f80fffdd61ef4796393412e7a20fde0681d3cf459207",
|
|
"wx" : "1f8988dacc3cad2c1b0c8ffd0a658aea1a3087fc17ff0e6b8c18460d27b85c51",
|
|
"wy" : "00ff457f9c9d0f0ec9a600f80fffdd61ef4796393412e7a20fde0681d3cf459207"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200041f8988dacc3cad2c1b0c8ffd0a658aea1a3087fc17ff0e6b8c18460d27b85c51ff457f9c9d0f0ec9a600f80fffdd61ef4796393412e7a20fde0681d3cf459207",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEH4mI2sw8rSwbDI/9CmWK6howh/wX\n/w5rjBhGDSe4XFH/RX+cnQ8OyaYA+A//3WHvR5Y5NBLnog/eBoHTz0WSBw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 385,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022002f676969f451a8ccafa4c4f09791810e6d632dbd60b1d5540f3284fbe1889b0",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04f4abc335796df25dd37438ffa95f10e95a7aa151772866d4d4552f4e57bc8534cd2ffd7ce1c68f1c76273907a63efff7b37d892056e1a92ecc92011f29123149",
|
|
"wx" : "00f4abc335796df25dd37438ffa95f10e95a7aa151772866d4d4552f4e57bc8534",
|
|
"wy" : "00cd2ffd7ce1c68f1c76273907a63efff7b37d892056e1a92ecc92011f29123149"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004f4abc335796df25dd37438ffa95f10e95a7aa151772866d4d4552f4e57bc8534cd2ffd7ce1c68f1c76273907a63efff7b37d892056e1a92ecc92011f29123149",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE9KvDNXlt8l3TdDj/qV8Q6Vp6oVF3\nKGbU1FUvTle8hTTNL/184caPHHYnOQemPv/3s32JIFbhqS7MkgEfKRIxSQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 386,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002204e260962e33362ef0046126d2d5a4edc6947ab20e19b8ec19cf79e5908b6e628",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04c14f3c54383dc417e1c5b5435e22970244ca7224b5f1de57e3504ba1d3c2917f1f918ffaf92826215ce07f5f154f85a8a53da1562b21956852b9e17f89a67a30",
|
|
"wx" : "00c14f3c54383dc417e1c5b5435e22970244ca7224b5f1de57e3504ba1d3c2917f",
|
|
"wy" : "1f918ffaf92826215ce07f5f154f85a8a53da1562b21956852b9e17f89a67a30"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004c14f3c54383dc417e1c5b5435e22970244ca7224b5f1de57e3504ba1d3c2917f1f918ffaf92826215ce07f5f154f85a8a53da1562b21956852b9e17f89a67a30",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwU88VDg9xBfhxbVDXiKXAkTKciS1\n8d5X41BLodPCkX8fkY/6+SgmIVzgf18VT4WopT2hVishlWhSueF/iaZ6MA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 387,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220077ed0d8f20f697d8fc591ac64dd5219c7932122b4f9b9ec6441e44a0092cf21",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "049b2c90cfdd7a8a863e7b6c87808084e9aa3139f28f4003a70f5f4eab7451acc21e9d89ce759ca1dacc053c891d62c3cfff7825ae90939eca14144dc412246518",
|
|
"wx" : "009b2c90cfdd7a8a863e7b6c87808084e9aa3139f28f4003a70f5f4eab7451acc2",
|
|
"wy" : "1e9d89ce759ca1dacc053c891d62c3cfff7825ae90939eca14144dc412246518"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200049b2c90cfdd7a8a863e7b6c87808084e9aa3139f28f4003a70f5f4eab7451acc21e9d89ce759ca1dacc053c891d62c3cfff7825ae90939eca14144dc412246518",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEmyyQz916ioY+e2yHgICE6aoxOfKP\nQAOnD19Oq3RRrMIenYnOdZyh2swFPIkdYsPP/3glrpCTnsoUFE3EEiRlGA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 388,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002203e0292a67e181c6c0105ee35e956e78e9bdd033c6e71ae57884039a245e4175f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04610f3e2d4c77a03ef50fa14f493f4339495a1ec17fa8f808a882a511609aa7cff3aa69595f06ad03ad66631776ab92f46bb3ba4076a6700aa8e2506c7c3465dc",
|
|
"wx" : "610f3e2d4c77a03ef50fa14f493f4339495a1ec17fa8f808a882a511609aa7cf",
|
|
"wy" : "00f3aa69595f06ad03ad66631776ab92f46bb3ba4076a6700aa8e2506c7c3465dc"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004610f3e2d4c77a03ef50fa14f493f4339495a1ec17fa8f808a882a511609aa7cff3aa69595f06ad03ad66631776ab92f46bb3ba4076a6700aa8e2506c7c3465dc",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYQ8+LUx3oD71D6FPST9DOUlaHsF/\nqPgIqIKlEWCap8/zqmlZXwatA61mYxd2q5L0a7O6QHamcAqo4lBsfDRl3A==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 389,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022013d22b06d6b8f5d97e0c64962b4a3bae30f668ca6217ef5b35d799f159e23ebe",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "041d4adb9b39e60961642009a7fcf652bdf2486a2a1d81d2053e0f74cf44ee25bcfc970fa80e9254aadeaf29953a70bcfec45036e80e9ffd2fcb613e0b77f3a79b",
|
|
"wx" : "1d4adb9b39e60961642009a7fcf652bdf2486a2a1d81d2053e0f74cf44ee25bc",
|
|
"wy" : "00fc970fa80e9254aadeaf29953a70bcfec45036e80e9ffd2fcb613e0b77f3a79b"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200041d4adb9b39e60961642009a7fcf652bdf2486a2a1d81d2053e0f74cf44ee25bcfc970fa80e9254aadeaf29953a70bcfec45036e80e9ffd2fcb613e0b77f3a79b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEHUrbmznmCWFkIAmn/PZSvfJIaiod\ngdIFPg90z0TuJbz8lw+oDpJUqt6vKZU6cLz+xFA26A6f/S/LYT4Ld/Onmw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 390,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002204523ce342e4994bb8968bf6613f60c06c86111f15a3a389309e72cd447d5dd99",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04e07cd7e84b60e1796d2bc60425d6d78d23d1fd8ac9307dc093f192091729098bfbddbe1f37d56cd70d724351ace73a9bafae86ff25b07f6bc5c3bb0dc9e6c5ea",
|
|
"wx" : "00e07cd7e84b60e1796d2bc60425d6d78d23d1fd8ac9307dc093f192091729098b",
|
|
"wy" : "00fbddbe1f37d56cd70d724351ace73a9bafae86ff25b07f6bc5c3bb0dc9e6c5ea"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e07cd7e84b60e1796d2bc60425d6d78d23d1fd8ac9307dc093f192091729098bfbddbe1f37d56cd70d724351ace73a9bafae86ff25b07f6bc5c3bb0dc9e6c5ea",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE4HzX6Etg4XltK8YEJdbXjSPR/YrJ\nMH3Ak/GSCRcpCYv73b4fN9Vs1w1yQ1Gs5zqbr66G/yWwf2vFw7sNyebF6g==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 391,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022037d765be3c9c78189ad30edb5097a4db670de11686d01420e37039d4677f4809",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0416721082930348f66413f7e2f857e8c274504ea66882968ae67dabd67eacf97547f56aeb5ea69ef5f148a534fc483f3aa1d81ac7fc4c2fb09528d80b7fceee8b",
|
|
"wx" : "16721082930348f66413f7e2f857e8c274504ea66882968ae67dabd67eacf975",
|
|
"wy" : "47f56aeb5ea69ef5f148a534fc483f3aa1d81ac7fc4c2fb09528d80b7fceee8b"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000416721082930348f66413f7e2f857e8c274504ea66882968ae67dabd67eacf97547f56aeb5ea69ef5f148a534fc483f3aa1d81ac7fc4c2fb09528d80b7fceee8b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEFnIQgpMDSPZkE/fi+FfownRQTqZo\ngpaK5n2r1n6s+XVH9WrrXqae9fFIpTT8SD86odgax/xML7CVKNgLf87uiw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 392,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022044237823b54e0c74c2bf5f759d9ac5f8cb897d537ffa92effd4f0bb6c9acd860",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04ed6a45063ce925581a2f1311175b803d52734b1d1eb228e2b7613fb035fceb176acf1c484f0a1b69edc4a57b7034071ffcf59bbfefbfc0e26bd782001ba64648",
|
|
"wx" : "00ed6a45063ce925581a2f1311175b803d52734b1d1eb228e2b7613fb035fceb17",
|
|
"wy" : "6acf1c484f0a1b69edc4a57b7034071ffcf59bbfefbfc0e26bd782001ba64648"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ed6a45063ce925581a2f1311175b803d52734b1d1eb228e2b7613fb035fceb176acf1c484f0a1b69edc4a57b7034071ffcf59bbfefbfc0e26bd782001ba64648",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE7WpFBjzpJVgaLxMRF1uAPVJzSx0e\nsijit2E/sDX86xdqzxxITwobae3EpXtwNAcf/PWbv++/wOJr14IAG6ZGSA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 393,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220266d30a485385906054ca86d46f5f2b17e7f4646a3092092ad92877126538111",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0473b53fb23c69bd8125654f20f4d06e0c5c95bcf8517f9ddb4b2ebfdaa8cf697728c7ee3f0f7d01f7c1786cca19c2e615e6ae6f5893621c3987497e82da8e48d8",
|
|
"wx" : "73b53fb23c69bd8125654f20f4d06e0c5c95bcf8517f9ddb4b2ebfdaa8cf6977",
|
|
"wy" : "28c7ee3f0f7d01f7c1786cca19c2e615e6ae6f5893621c3987497e82da8e48d8"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000473b53fb23c69bd8125654f20f4d06e0c5c95bcf8517f9ddb4b2ebfdaa8cf697728c7ee3f0f7d01f7c1786cca19c2e615e6ae6f5893621c3987497e82da8e48d8",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEc7U/sjxpvYElZU8g9NBuDFyVvPhR\nf53bSy6/2qjPaXcox+4/D30B98F4bMoZwuYV5q5vWJNiHDmHSX6C2o5I2A==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 394,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220538c7b3798e84d0ce90340165806348971ed44db8f0c674f5f215968390f92ee",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "042cce7a425b581db81b8d5cf49dc91b0fc87bfb68fd39441753b95c4553df9e3817c82c0f948a7f87d369342aebb69c7b4c31e7effaeebd47613f178440079b04",
|
|
"wx" : "2cce7a425b581db81b8d5cf49dc91b0fc87bfb68fd39441753b95c4553df9e38",
|
|
"wy" : "17c82c0f948a7f87d369342aebb69c7b4c31e7effaeebd47613f178440079b04"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042cce7a425b581db81b8d5cf49dc91b0fc87bfb68fd39441753b95c4553df9e3817c82c0f948a7f87d369342aebb69c7b4c31e7effaeebd47613f178440079b04",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELM56QltYHbgbjVz0nckbD8h7+2j9\nOUQXU7lcRVPfnjgXyCwPlIp/h9NpNCrrtpx7TDHn7/ruvUdhPxeEQAebBA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 395,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002206fef0ef15d1688e15e704c4e6bb8bb7f40d52d3af5c661bb78c4ed9b408699b3",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "042def9d0d74cce8abf9392d66d5a615376287960a77d9c4c11a58a263033f09e9666783f2b5fd528738f87da459a51f6ad6be34427366bba458d8f16260427409",
|
|
"wx" : "2def9d0d74cce8abf9392d66d5a615376287960a77d9c4c11a58a263033f09e9",
|
|
"wy" : "666783f2b5fd528738f87da459a51f6ad6be34427366bba458d8f16260427409"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042def9d0d74cce8abf9392d66d5a615376287960a77d9c4c11a58a263033f09e9666783f2b5fd528738f87da459a51f6ad6be34427366bba458d8f16260427409",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELe+dDXTM6Kv5OS1m1aYVN2KHlgp3\n2cTBGliiYwM/CelmZ4Pytf1Shzj4faRZpR9q1r40QnNmu6RY2PFiYEJ0CQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 396,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002206f44275e9aeb1331efcb8d58f35c0252791427e403ad84daad51d247cc2a64c6",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04e8d58db82caa3cbee903594e9a8d2f68b5dc005303e2272c315b5c9cd9e979c78dc83d900692ee88dd413e1a5ca79e31fcc0fb70da773be382fce154c0859d89",
|
|
"wx" : "00e8d58db82caa3cbee903594e9a8d2f68b5dc005303e2272c315b5c9cd9e979c7",
|
|
"wy" : "008dc83d900692ee88dd413e1a5ca79e31fcc0fb70da773be382fce154c0859d89"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e8d58db82caa3cbee903594e9a8d2f68b5dc005303e2272c315b5c9cd9e979c78dc83d900692ee88dd413e1a5ca79e31fcc0fb70da773be382fce154c0859d89",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE6NWNuCyqPL7pA1lOmo0vaLXcAFMD\n4icsMVtcnNnpeceNyD2QBpLuiN1BPhpcp54x/MD7cNp3O+OC/OFUwIWdiQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 397,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022021323755b103d2f9da6ab83eccab9ad8598bcf625652f10e7a3eeee3c3945fb3",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0471434412bb06b96a7acd4d89017aa877746fd38fc7aac6c65b52443b1af8a29f242e9bdf23984bf7232d6c37a47411c653c89a9093e140e321167b28fd21eb7b",
|
|
"wx" : "71434412bb06b96a7acd4d89017aa877746fd38fc7aac6c65b52443b1af8a29f",
|
|
"wy" : "242e9bdf23984bf7232d6c37a47411c653c89a9093e140e321167b28fd21eb7b"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000471434412bb06b96a7acd4d89017aa877746fd38fc7aac6c65b52443b1af8a29f242e9bdf23984bf7232d6c37a47411c653c89a9093e140e321167b28fd21eb7b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEcUNEErsGuWp6zU2JAXqod3Rv04/H\nqsbGW1JEOxr4op8kLpvfI5hL9yMtbDekdBHGU8iakJPhQOMhFnso/SHrew==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 398,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002206c50acfe76de1289e7a5edb240f1c2a7879db6873d5d931f3c6ac467a6eac171",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04ff9dd577f73a189a2505d428db8c3b298d2c0e4ad749608a5bd69d528ee9d3a1c96de2d4d55742a132b5ce72c79e43bdfd55c8054f6a095ba2c08166bd1ec583",
|
|
"wx" : "00ff9dd577f73a189a2505d428db8c3b298d2c0e4ad749608a5bd69d528ee9d3a1",
|
|
"wy" : "00c96de2d4d55742a132b5ce72c79e43bdfd55c8054f6a095ba2c08166bd1ec583"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ff9dd577f73a189a2505d428db8c3b298d2c0e4ad749608a5bd69d528ee9d3a1c96de2d4d55742a132b5ce72c79e43bdfd55c8054f6a095ba2c08166bd1ec583",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE/53Vd/c6GJolBdQo24w7KY0sDkrX\nSWCKW9adUo7p06HJbeLU1VdCoTK1znLHnkO9/VXIBU9qCVuiwIFmvR7Fgw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 399,
|
|
"comment" : "edge case modular inverse",
|
|
"flags" : [
|
|
"ModularInverse",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220755b7fffb0b17ad57dca50fcefb7fe297b029df25e5ccb5069e8e70c2742c2a6",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04fc13b37baba182ba13dfc8ca74f5896483378aa9bd6f0aa931877ddc5e77262f1bf8b9cfdcbbe0d62eed81e5874310bd51178d1c6d01b6929a345d94190fdf3b",
|
|
"wx" : "00fc13b37baba182ba13dfc8ca74f5896483378aa9bd6f0aa931877ddc5e77262f",
|
|
"wy" : "1bf8b9cfdcbbe0d62eed81e5874310bd51178d1c6d01b6929a345d94190fdf3b"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004fc13b37baba182ba13dfc8ca74f5896483378aa9bd6f0aa931877ddc5e77262f1bf8b9cfdcbbe0d62eed81e5874310bd51178d1c6d01b6929a345d94190fdf3b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE/BOze6uhgroT38jKdPWJZIM3iqm9\nbwqpMYd93F53Ji8b+LnP3Lvg1i7tgeWHQxC9UReNHG0BtpKaNF2UGQ/fOw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 400,
|
|
"comment" : "point at infinity during verify",
|
|
"flags" : [
|
|
"PointDuplication",
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a80220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0420adbb6cb9e09ce8ee4b6bdbc2e8047a0b9dc811eb415a2a258906efbd8a88cec16b2111b5991d98dc4c935da619b55f784c79f000830d514ffeb6ad3fcf0640",
|
|
"wx" : "20adbb6cb9e09ce8ee4b6bdbc2e8047a0b9dc811eb415a2a258906efbd8a88ce",
|
|
"wy" : "00c16b2111b5991d98dc4c935da619b55f784c79f000830d514ffeb6ad3fcf0640"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000420adbb6cb9e09ce8ee4b6bdbc2e8047a0b9dc811eb415a2a258906efbd8a88cec16b2111b5991d98dc4c935da619b55f784c79f000830d514ffeb6ad3fcf0640",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEIK27bLngnOjuS2vbwugEegudyBHr\nQVoqJYkG772KiM7BayERtZkdmNxMk12mGbVfeEx58ACDDVFP/ratP88GQA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 401,
|
|
"comment" : "edge case for signature malleability",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a902207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a8",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04f033aa211cf11ee61c247567974fb8667c78f13a35bc2e6bead4436c261f144d99b4d07b6ce8008fecf8a4c4af561b972b00e63443a2f20038ee84ed0c238a3c",
|
|
"wx" : "00f033aa211cf11ee61c247567974fb8667c78f13a35bc2e6bead4436c261f144d",
|
|
"wy" : "0099b4d07b6ce8008fecf8a4c4af561b972b00e63443a2f20038ee84ed0c238a3c"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004f033aa211cf11ee61c247567974fb8667c78f13a35bc2e6bead4436c261f144d99b4d07b6ce8008fecf8a4c4af561b972b00e63443a2f20038ee84ed0c238a3c",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE8DOqIRzxHuYcJHVnl0+4Znx48To1\nvC5r6tRDbCYfFE2ZtNB7bOgAj+z4pMSvVhuXKwDmNEOi8gA47oTtDCOKPA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 402,
|
|
"comment" : "edge case for signature malleability",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a902207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a9",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04bef2538da3d07158791556b2d0297ca9c1b306459c9323ce7d07a21282de1ace4e400c8e4eb57751faa0dde6bbebf96faaac9efc80e3de768fb4f5a37f95ead7",
|
|
"wx" : "00bef2538da3d07158791556b2d0297ca9c1b306459c9323ce7d07a21282de1ace",
|
|
"wy" : "4e400c8e4eb57751faa0dde6bbebf96faaac9efc80e3de768fb4f5a37f95ead7"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004bef2538da3d07158791556b2d0297ca9c1b306459c9323ce7d07a21282de1ace4e400c8e4eb57751faa0dde6bbebf96faaac9efc80e3de768fb4f5a37f95ead7",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEvvJTjaPQcVh5FVay0Cl8qcGzBkWc\nkyPOfQeiEoLeGs5OQAyOTrV3Ufqg3ea76/lvqqye/IDj3naPtPWjf5Xq1w==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 403,
|
|
"comment" : "u1 == 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002205731b7c4bd04cb9efb836935ff2e547bf2909f86824af4d8df78acf76d7b3d4e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04bf2570b58f38183fabca3ca72255bd4651cbb7e8292287809bd8e5c285d24a532f859b7f75c2f5e8d3791a5ccb60fa3888895c63237c9ea65e43f87523e104e5",
|
|
"wx" : "00bf2570b58f38183fabca3ca72255bd4651cbb7e8292287809bd8e5c285d24a53",
|
|
"wy" : "2f859b7f75c2f5e8d3791a5ccb60fa3888895c63237c9ea65e43f87523e104e5"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004bf2570b58f38183fabca3ca72255bd4651cbb7e8292287809bd8e5c285d24a532f859b7f75c2f5e8d3791a5ccb60fa3888895c63237c9ea65e43f87523e104e5",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEvyVwtY84GD+ryjynIlW9RlHLt+gp\nIoeAm9jlwoXSSlMvhZt/dcL16NN5GlzLYPo4iIlcYyN8nqZeQ/h1I+EE5Q==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 404,
|
|
"comment" : "u1 == n - 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022100a8ce483a42fb3462047c96ca00d1ab83ca565b2724cca9ac14411dcb8ee7e803",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "049ba8f147332270987e5baab2ab0a4ebc9968eb8682c2872266a22b43c2cf55f7728d552fc65b5a3c7cee18876f1d8b46ae60153aec3b8a2b2c2527979f4a7d29",
|
|
"wx" : "009ba8f147332270987e5baab2ab0a4ebc9968eb8682c2872266a22b43c2cf55f7",
|
|
"wy" : "728d552fc65b5a3c7cee18876f1d8b46ae60153aec3b8a2b2c2527979f4a7d29"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200049ba8f147332270987e5baab2ab0a4ebc9968eb8682c2872266a22b43c2cf55f7728d552fc65b5a3c7cee18876f1d8b46ae60153aec3b8a2b2c2527979f4a7d29",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEm6jxRzMicJh+W6qyqwpOvJlo64aC\nwociZqIrQ8LPVfdyjVUvxltaPHzuGIdvHYtGrmAVOuw7iissJSeXn0p9KQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 405,
|
|
"comment" : "u2 == 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04d9e64db2ea560162dad3ec67d6ebaab9e821a81da8d4584f00fb14813c7e96e153e9e96e17eb05228ff3c9cbc5318bbb87e88bec489dec2be7a20adce06cf8bd",
|
|
"wx" : "00d9e64db2ea560162dad3ec67d6ebaab9e821a81da8d4584f00fb14813c7e96e1",
|
|
"wy" : "53e9e96e17eb05228ff3c9cbc5318bbb87e88bec489dec2be7a20adce06cf8bd"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d9e64db2ea560162dad3ec67d6ebaab9e821a81da8d4584f00fb14813c7e96e153e9e96e17eb05228ff3c9cbc5318bbb87e88bec489dec2be7a20adce06cf8bd",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2eZNsupWAWLa0+xn1uuqueghqB2o\n1FhPAPsUgTx+luFT6eluF+sFIo/zycvFMYu7h+iL7Eid7Cvnogrc4Gz4vQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 406,
|
|
"comment" : "u2 == n - 1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30450220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022100aaaaaaaa00000000aaaaaaaaaaaaaaaa7def51c91a0fbf034d26872ca84218e1",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04857c58d9010d1f8386e279cdcc369b32a8960259a3a646f6d89ad5273252f3fc65d2384cabf6a2158b1cd1b2e2477d10b1b719125e9226e99ae90a7afaab499e",
|
|
"wx" : "00857c58d9010d1f8386e279cdcc369b32a8960259a3a646f6d89ad5273252f3fc",
|
|
"wy" : "65d2384cabf6a2158b1cd1b2e2477d10b1b719125e9226e99ae90a7afaab499e"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004857c58d9010d1f8386e279cdcc369b32a8960259a3a646f6d89ad5273252f3fc65d2384cabf6a2158b1cd1b2e2477d10b1b719125e9226e99ae90a7afaab499e",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhXxY2QENH4OG4nnNzDabMqiWAlmj\npkb22JrVJzJS8/xl0jhMq/aiFYsc0bLiR30QsbcZEl6SJuma6Qp6+qtJng==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 407,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02201d109296e9ac43dfa92bcdbcaa64c6d3fb858a822b6e519d9fd2e45279d3bf1a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0489d887b0645d2f96b407b080cf6db3685cc9d4454d35a5ac7983bb5ebbfd2e20de4fcd410c3b6e11f5e4cccb19327c181c43c2d216869309f22495d34ee2796f",
|
|
"wx" : "0089d887b0645d2f96b407b080cf6db3685cc9d4454d35a5ac7983bb5ebbfd2e20",
|
|
"wy" : "00de4fcd410c3b6e11f5e4cccb19327c181c43c2d216869309f22495d34ee2796f"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000489d887b0645d2f96b407b080cf6db3685cc9d4454d35a5ac7983bb5ebbfd2e20de4fcd410c3b6e11f5e4cccb19327c181c43c2d216869309f22495d34ee2796f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEidiHsGRdL5a0B7CAz22zaFzJ1EVN\nNaWseYO7Xrv9LiDeT81BDDtuEfXkzMsZMnwYHEPC0haGkwnyJJXTTuJ5bw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 408,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220027d377d04715e43754629961c6233961b921b3283c33fcb541cc27285092e8d",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04040924291aa7975fd04f8b2e923a1f9121836fdfbf2fea123cc1870f4f6cc0f2c510ee34a325e772d232b576052f96d3ec4a33b086508682fc53099c0cd48e45",
|
|
"wx" : "040924291aa7975fd04f8b2e923a1f9121836fdfbf2fea123cc1870f4f6cc0f2",
|
|
"wy" : "00c510ee34a325e772d232b576052f96d3ec4a33b086508682fc53099c0cd48e45"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004040924291aa7975fd04f8b2e923a1f9121836fdfbf2fea123cc1870f4f6cc0f2c510ee34a325e772d232b576052f96d3ec4a33b086508682fc53099c0cd48e45",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEBAkkKRqnl1/QT4sukjofkSGDb9+/\nL+oSPMGHD09swPLFEO40oyXnctIytXYFL5bT7EozsIZQhoL8UwmcDNSORQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 409,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100ce1602ee5a6d686c5b8d8a3f44f419aa6064f0d35323341d77a65a4bc9e1989b",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "043e7ed2fbb89f7b643d4ab44895ff9fb16e8be7a8649e4ac4ee2f59ec8f68fc634ca91cc26043a8242e2969c871d3ca9833148135b27d377198182ceaa7e70fd4",
|
|
"wx" : "3e7ed2fbb89f7b643d4ab44895ff9fb16e8be7a8649e4ac4ee2f59ec8f68fc63",
|
|
"wy" : "4ca91cc26043a8242e2969c871d3ca9833148135b27d377198182ceaa7e70fd4"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043e7ed2fbb89f7b643d4ab44895ff9fb16e8be7a8649e4ac4ee2f59ec8f68fc634ca91cc26043a8242e2969c871d3ca9833148135b27d377198182ceaa7e70fd4",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPn7S+7ife2Q9SrRIlf+fsW6L56hk\nnkrE7i9Z7I9o/GNMqRzCYEOoJC4pachx08qYMxSBNbJ9N3GYGCzqp+cP1A==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 410,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220328ab273ff681a79a9662dc174ee014ef73d597d32ef42b17f443a33f5e430fe",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04e67f559f552772b174d377b239e60750299d379b6bec6fc93adf040269d58c426c397f7984a149f07bf79fbba3b18c925a797cc6678e2eeabec47fb4ac461041",
|
|
"wx" : "00e67f559f552772b174d377b239e60750299d379b6bec6fc93adf040269d58c42",
|
|
"wy" : "6c397f7984a149f07bf79fbba3b18c925a797cc6678e2eeabec47fb4ac461041"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e67f559f552772b174d377b239e60750299d379b6bec6fc93adf040269d58c426c397f7984a149f07bf79fbba3b18c925a797cc6678e2eeabec47fb4ac461041",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE5n9Vn1UncrF003eyOeYHUCmdN5tr\n7G/JOt8EAmnVjEJsOX95hKFJ8Hv3n7ujsYySWnl8xmeOLuq+xH+0rEYQQQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 411,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100ab27431e81a7976e62dc174ee014f0479c909f17919ec453013b47f1aa221858",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0488b1d30e29fe0edeb93ab469d2698d0fbc2977f77f48293d0e87acc0856a51fc3d1b4f23fa3f6ef26f0e94cb7a63907b1923e30d08197115050b9da98a2b5f56",
|
|
"wx" : "0088b1d30e29fe0edeb93ab469d2698d0fbc2977f77f48293d0e87acc0856a51fc",
|
|
"wy" : "3d1b4f23fa3f6ef26f0e94cb7a63907b1923e30d08197115050b9da98a2b5f56"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000488b1d30e29fe0edeb93ab469d2698d0fbc2977f77f48293d0e87acc0856a51fc3d1b4f23fa3f6ef26f0e94cb7a63907b1923e30d08197115050b9da98a2b5f56",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEiLHTDin+Dt65OrRp0mmND7wpd/d/\nSCk9DoeswIVqUfw9G08j+j9u8m8OlMt6Y5B7GSPjDQgZcRUFC52piitfVg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 412,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220564e863e034f2edbc5b82e9dc029e08f7c3a43817c25ea210ebcc52057e10b5f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0423a6ed2b1064923104d08ee4392b44bb51555a395477dc52546af6c787cc65aa81105b8c72c357d75215b210286df781d6731c4f0b87e9fe7066489653dc35d3",
|
|
"wx" : "23a6ed2b1064923104d08ee4392b44bb51555a395477dc52546af6c787cc65aa",
|
|
"wy" : "0081105b8c72c357d75215b210286df781d6731c4f0b87e9fe7066489653dc35d3"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000423a6ed2b1064923104d08ee4392b44bb51555a395477dc52546af6c787cc65aa81105b8c72c357d75215b210286df781d6731c4f0b87e9fe7066489653dc35d3",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEI6btKxBkkjEE0I7kOStEu1FVWjlU\nd9xSVGr2x4fMZaqBEFuMcsNX11IVshAobfeB1nMcTwuH6f5wZkiWU9w10w==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 413,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022031f2cced76db7b4d74ee014f047c96c9f3ba3e21f11248bcf451526ac376c54c",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04592d27cd81fbb61ebbdd782eaa1d86d53b59eaef43496677c345adc9896c562e355b8ffda4f8683da98653f0d6067bd8134c5c3e22e3dcdee6a5cdbd826f4915",
|
|
"wx" : "592d27cd81fbb61ebbdd782eaa1d86d53b59eaef43496677c345adc9896c562e",
|
|
"wy" : "355b8ffda4f8683da98653f0d6067bd8134c5c3e22e3dcdee6a5cdbd826f4915"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004592d27cd81fbb61ebbdd782eaa1d86d53b59eaef43496677c345adc9896c562e355b8ffda4f8683da98653f0d6067bd8134c5c3e22e3dcdee6a5cdbd826f4915",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWS0nzYH7th673Xguqh2G1TtZ6u9D\nSWZ3w0WtyYlsVi41W4/9pPhoPamGU/DWBnvYE0xcPiLj3N7mpc29gm9JFQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 414,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220668fcfbedd4eed7eb6840c7f6cf1e3dde504afe5732ee0e1bcbeee15b94a2c64",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "048c4aa42ef47c4e2d7b60ca2b5a0b3038a9f8e7ee1de77d299286db3cd635b754f65438558a2271c9444b77405a1f97e84036c3146c425006e65be83f97e41191",
|
|
"wx" : "008c4aa42ef47c4e2d7b60ca2b5a0b3038a9f8e7ee1de77d299286db3cd635b754",
|
|
"wy" : "00f65438558a2271c9444b77405a1f97e84036c3146c425006e65be83f97e41191"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048c4aa42ef47c4e2d7b60ca2b5a0b3038a9f8e7ee1de77d299286db3cd635b754f65438558a2271c9444b77405a1f97e84036c3146c425006e65be83f97e41191",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEjEqkLvR8Ti17YMorWgswOKn45+4d\n530pkobbPNY1t1T2VDhViiJxyURLd0BaH5foQDbDFGxCUAbmW+g/l+QRkQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 415,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220637e57bd4f085f9d3be20506bbc2b8eab268a33871b19da56b1ba0ac25927bd1",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04f5618fb978b70f15b8e07a74edfbcea775dcb92055f9431b816cd4cb5d4fd63cbd1759fd35bae79bf5bb0394646b14fbcb1ed2614fdcc9a9f53663e09f8c6a09",
|
|
"wx" : "00f5618fb978b70f15b8e07a74edfbcea775dcb92055f9431b816cd4cb5d4fd63c",
|
|
"wy" : "00bd1759fd35bae79bf5bb0394646b14fbcb1ed2614fdcc9a9f53663e09f8c6a09"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004f5618fb978b70f15b8e07a74edfbcea775dcb92055f9431b816cd4cb5d4fd63cbd1759fd35bae79bf5bb0394646b14fbcb1ed2614fdcc9a9f53663e09f8c6a09",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE9WGPuXi3DxW44Hp07fvOp3XcuSBV\n+UMbgWzUy11P1jy9F1n9Nbrnm/W7A5RkaxT7yx7SYU/cyan1NmPgn4xqCQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 416,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100b0a105281711f1755bbfc1a0b6ea67add1085e84b73016989e20a90be3504d22",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0453c143435247e1e2144c4c32cb1c900b8e9cb160976bdcda1b24877ce7266a7441a21780d91554d349a4c7c61f799bda9ddc81a66323078245dcb3960417a660",
|
|
"wx" : "53c143435247e1e2144c4c32cb1c900b8e9cb160976bdcda1b24877ce7266a74",
|
|
"wy" : "41a21780d91554d349a4c7c61f799bda9ddc81a66323078245dcb3960417a660"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000453c143435247e1e2144c4c32cb1c900b8e9cb160976bdcda1b24877ce7266a7441a21780d91554d349a4c7c61f799bda9ddc81a66323078245dcb3960417a660",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEU8FDQ1JH4eIUTEwyyxyQC46csWCX\na9zaGySHfOcmanRBoheA2RVU00mkx8YfeZvandyBpmMjB4JF3LOWBBemYA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 417,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100f177b6b38b29de112b6a1921aacd9c95bf24356c916075b623d05899bf7945c4",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0493486f6653c2906152eb9d1c2b28e51c085f20ac54016a808f6e3c6b2cdcc02a35439b7b9ab9e86df0ca617737b49f28badf8f5636c9bbaa199bdd20063ec7ff",
|
|
"wx" : "0093486f6653c2906152eb9d1c2b28e51c085f20ac54016a808f6e3c6b2cdcc02a",
|
|
"wy" : "35439b7b9ab9e86df0ca617737b49f28badf8f5636c9bbaa199bdd20063ec7ff"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000493486f6653c2906152eb9d1c2b28e51c085f20ac54016a808f6e3c6b2cdcc02a35439b7b9ab9e86df0ca617737b49f28badf8f5636c9bbaa199bdd20063ec7ff",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEk0hvZlPCkGFS650cKyjlHAhfIKxU\nAWqAj248ayzcwCo1Q5t7mrnobfDKYXc3tJ8out+PVjbJu6oZm90gBj7H/w==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 418,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100e2ef6d681653bc2156d43243559b392bc161702b7ba94ce753e6e670828f6637",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "045f2e06f0ec92b6499eb7d249ff0147639253e7abe0e4497226336a5c94caa7774eb3c28acf5012ba023971416c600a10fb6d28a23f3a2c1f77fb0686d06cdf80",
|
|
"wx" : "5f2e06f0ec92b6499eb7d249ff0147639253e7abe0e4497226336a5c94caa777",
|
|
"wy" : "4eb3c28acf5012ba023971416c600a10fb6d28a23f3a2c1f77fb0686d06cdf80"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200045f2e06f0ec92b6499eb7d249ff0147639253e7abe0e4497226336a5c94caa7774eb3c28acf5012ba023971416c600a10fb6d28a23f3a2c1f77fb0686d06cdf80",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEXy4G8OyStkmet9JJ/wFHY5JT56vg\n5ElyJjNqXJTKp3dOs8KKz1ASugI5cUFsYAoQ+20ooj86LB93+waG0GzfgA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 419,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100d467241ca17d9a31823e4b650068d5c1c39eaaea65f2241883fd744745a586aa",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04c2af0b9da06d54b1a5ff93800b579cbce295d0b2719da307b028bee3c657424b28c4928f185f68312b47de31ad87fac134de90cf114cc85d45a8fefd9a3a2350",
|
|
"wx" : "00c2af0b9da06d54b1a5ff93800b579cbce295d0b2719da307b028bee3c657424b",
|
|
"wy" : "28c4928f185f68312b47de31ad87fac134de90cf114cc85d45a8fefd9a3a2350"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004c2af0b9da06d54b1a5ff93800b579cbce295d0b2719da307b028bee3c657424b28c4928f185f68312b47de31ad87fac134de90cf114cc85d45a8fefd9a3a2350",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwq8LnaBtVLGl/5OAC1ecvOKV0LJx\nnaMHsCi+48ZXQksoxJKPGF9oMStH3jGth/rBNN6QzxFMyF1FqP79mjojUA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 420,
|
|
"comment" : "edge case for u1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100e70b0176ad36b436adc6c51fa27a0cd50ea5f5c07d1d695135b0128763225ef6",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "042a3c0253d54dc8a2a72a31f815b0bb6c36d852f8db14edf1e1b71cd3a7389a494891bafa1767b85e36f7507fa5eebd3da0024208fcfef28d56cd49a980ba1465",
|
|
"wx" : "2a3c0253d54dc8a2a72a31f815b0bb6c36d852f8db14edf1e1b71cd3a7389a49",
|
|
"wy" : "4891bafa1767b85e36f7507fa5eebd3da0024208fcfef28d56cd49a980ba1465"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042a3c0253d54dc8a2a72a31f815b0bb6c36d852f8db14edf1e1b71cd3a7389a494891bafa1767b85e36f7507fa5eebd3da0024208fcfef28d56cd49a980ba1465",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKjwCU9VNyKKnKjH4FbC7bDbYUvjb\nFO3x4bcc06c4mklIkbr6F2e4Xjb3UH+l7r09oAJCCPz+8o1WzUmpgLoUZQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 421,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02207fffffffaaaaaaaaffffffffffffffffe9a2538f37b28a2c513dee40fecbb71a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "043dd345114090328ccc0bdeaf8269396593645720b0b326849d1fe81ec956f996ceee0a81d7f65e1205bb1b6963a8e0facfd2a6124701b1a152094d037a216f4e",
|
|
"wx" : "3dd345114090328ccc0bdeaf8269396593645720b0b326849d1fe81ec956f996",
|
|
"wy" : "00ceee0a81d7f65e1205bb1b6963a8e0facfd2a6124701b1a152094d037a216f4e"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043dd345114090328ccc0bdeaf8269396593645720b0b326849d1fe81ec956f996ceee0a81d7f65e1205bb1b6963a8e0facfd2a6124701b1a152094d037a216f4e",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPdNFEUCQMozMC96vgmk5ZZNkVyCw\nsyaEnR/oHslW+ZbO7gqB1/ZeEgW7G2ljqOD6z9KmEkcBsaFSCU0DeiFvTg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 422,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100b62f26b5f2a2b26f6de86d42ad8a13da3ab3cccd0459b201de009e526adf21f2",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04fc8207ca84c4af4229139de953da3bdebf694537c15406e172d631e98591f40c34a0d957e39e9686914e98ea467972cedec5a5c6bb55bec7916dc71f7a4c6f77",
|
|
"wx" : "00fc8207ca84c4af4229139de953da3bdebf694537c15406e172d631e98591f40c",
|
|
"wy" : "34a0d957e39e9686914e98ea467972cedec5a5c6bb55bec7916dc71f7a4c6f77"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004fc8207ca84c4af4229139de953da3bdebf694537c15406e172d631e98591f40c34a0d957e39e9686914e98ea467972cedec5a5c6bb55bec7916dc71f7a4c6f77",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE/IIHyoTEr0IpE53pU9o73r9pRTfB\nVAbhctYx6YWR9Aw0oNlX456WhpFOmOpGeXLO3sWlxrtVvseRbccfekxvdw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 423,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bb1d9ac949dd748cd02bbbe749bd351cd57b38bb61403d700686aa7b4c90851e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0460bf7beb808286d8abff60c20faed73997395124542e6b7672089d88c14bbed57f4af9606f9be0199e4145698a62ad2545123a49eb14e0c33317f6909e3915b5",
|
|
"wx" : "60bf7beb808286d8abff60c20faed73997395124542e6b7672089d88c14bbed5",
|
|
"wy" : "7f4af9606f9be0199e4145698a62ad2545123a49eb14e0c33317f6909e3915b5"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000460bf7beb808286d8abff60c20faed73997395124542e6b7672089d88c14bbed57f4af9606f9be0199e4145698a62ad2545123a49eb14e0c33317f6909e3915b5",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYL9764CChtir/2DCD67XOZc5USRU\nLmt2cgidiMFLvtV/Svlgb5vgGZ5BRWmKYq0lRRI6SesU4MMzF/aQnjkVtQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 424,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022066755a00638cdaec1c732513ca0234ece52545dac11f816e818f725b4f60aaf2",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "042dcd699362d3665b6c9260608b3faf989d45ac15b9da41fb348d5520ecdf4e0403e483670aadef4615c7a13fe1bf3bf927b4e47a667660b505ba47affee92ab6",
|
|
"wx" : "2dcd699362d3665b6c9260608b3faf989d45ac15b9da41fb348d5520ecdf4e04",
|
|
"wy" : "03e483670aadef4615c7a13fe1bf3bf927b4e47a667660b505ba47affee92ab6"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042dcd699362d3665b6c9260608b3faf989d45ac15b9da41fb348d5520ecdf4e0403e483670aadef4615c7a13fe1bf3bf927b4e47a667660b505ba47affee92ab6",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELc1pk2LTZltskmBgiz+vmJ1FrBW5\n2kH7NI1VIOzfTgQD5INnCq3vRhXHoT/hvzv5J7TkemZ2YLUFukev/ukqtg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 425,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022055a00c9fcdaebb6032513ca0234ecfffe98ebe492fdf02e48ca48e982beb3669",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04e6205f87fa837c474a2badac671578de77d6a077cd286aed45403508767114ffc18daaf2463dea80300c1f4d7e25b9f603eefb2e2cbf012f31a819c91cad7cf2",
|
|
"wx" : "00e6205f87fa837c474a2badac671578de77d6a077cd286aed45403508767114ff",
|
|
"wy" : "00c18daaf2463dea80300c1f4d7e25b9f603eefb2e2cbf012f31a819c91cad7cf2"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e6205f87fa837c474a2badac671578de77d6a077cd286aed45403508767114ffc18daaf2463dea80300c1f4d7e25b9f603eefb2e2cbf012f31a819c91cad7cf2",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE5iBfh/qDfEdKK62sZxV43nfWoHfN\nKGrtRUA1CHZxFP/BjaryRj3qgDAMH01+Jbn2A+77Liy/AS8xqBnJHK188g==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 426,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100ab40193f9b5d76c064a27940469d9fffd31d7c925fbe05c919491d3057d66cd2",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04357e7687a79243d5e030eb120a3652c2fb95fcb148813f3da95d044bdc31c8d5e3ed90ea73567cb36c0fccd021da4ccccffe40dfe1b603428969788bed4416db",
|
|
"wx" : "357e7687a79243d5e030eb120a3652c2fb95fcb148813f3da95d044bdc31c8d5",
|
|
"wy" : "00e3ed90ea73567cb36c0fccd021da4ccccffe40dfe1b603428969788bed4416db"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004357e7687a79243d5e030eb120a3652c2fb95fcb148813f3da95d044bdc31c8d5e3ed90ea73567cb36c0fccd021da4ccccffe40dfe1b603428969788bed4416db",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAENX52h6eSQ9XgMOsSCjZSwvuV/LFI\ngT89qV0ES9wxyNXj7ZDqc1Z8s2wPzNAh2kzMz/5A3+G2A0KJaXiL7UQW2w==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 427,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100ca0234ebb5fdcb13ca0234ecffffffffcb0dadbbc7f549f8a26b4408d0dc8600",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "043d9723a8ea5ebaffacab8bf87b1d63e42da7bdf94e6c2520a0786b7b534dacf33725db2fb27248274ac2e6212f9071495c90ae684d056b57ad18e72bce8f36b0",
|
|
"wx" : "3d9723a8ea5ebaffacab8bf87b1d63e42da7bdf94e6c2520a0786b7b534dacf3",
|
|
"wy" : "3725db2fb27248274ac2e6212f9071495c90ae684d056b57ad18e72bce8f36b0"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043d9723a8ea5ebaffacab8bf87b1d63e42da7bdf94e6c2520a0786b7b534dacf33725db2fb27248274ac2e6212f9071495c90ae684d056b57ad18e72bce8f36b0",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPZcjqOpeuv+sq4v4ex1j5C2nvflO\nbCUgoHhre1NNrPM3JdsvsnJIJ0rC5iEvkHFJXJCuaE0Fa1etGOcrzo82sA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 428,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bfffffff3ea3677e082b9310572620ae19933a9e65b285598711c77298815ad3",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "044bab5b68667090ed13e5658cfe68f1247031aee80a8ccb52ba0505752f7cd3f085c70129c1715d9610a41bf7a063b81c1bc7ec34bb6a1c95ccd08e09f1476343",
|
|
"wx" : "4bab5b68667090ed13e5658cfe68f1247031aee80a8ccb52ba0505752f7cd3f0",
|
|
"wy" : "0085c70129c1715d9610a41bf7a063b81c1bc7ec34bb6a1c95ccd08e09f1476343"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044bab5b68667090ed13e5658cfe68f1247031aee80a8ccb52ba0505752f7cd3f085c70129c1715d9610a41bf7a063b81c1bc7ec34bb6a1c95ccd08e09f1476343",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAES6tbaGZwkO0T5WWM/mjxJHAxrugK\njMtSugUFdS980/CFxwEpwXFdlhCkG/egY7gcG8fsNLtqHJXM0I4J8UdjQw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 429,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220266666663bbbbbbbe6666666666666665b37902e023fab7c8f055d86e5cc41f4",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "047801780aaab4aaf31b7c94069609a5ecf623a6dd7e97964061c6b3e4103bb84a59c111796624cccbba09394bca04af79a31cbd36176d2ec4ceaa700730d57300",
|
|
"wx" : "7801780aaab4aaf31b7c94069609a5ecf623a6dd7e97964061c6b3e4103bb84a",
|
|
"wy" : "59c111796624cccbba09394bca04af79a31cbd36176d2ec4ceaa700730d57300"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200047801780aaab4aaf31b7c94069609a5ecf623a6dd7e97964061c6b3e4103bb84a59c111796624cccbba09394bca04af79a31cbd36176d2ec4ceaa700730d57300",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEeAF4Cqq0qvMbfJQGlgml7PYjpt1+\nl5ZAYcaz5BA7uEpZwRF5ZiTMy7oJOUvKBK95oxy9NhdtLsTOqnAHMNVzAA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 430,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bfffffff36db6db7a492492492492492146c573f4c6dfc8d08a443e258970b09",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0455b0451d911e9c64516ac9e9da3da1703eaaa46a8b0a7025c8c5ed38b5474713f1fde0cdee830bf169da9ca3d70d56f4607989873fbdcfcbb740e9a42faf860a",
|
|
"wx" : "55b0451d911e9c64516ac9e9da3da1703eaaa46a8b0a7025c8c5ed38b5474713",
|
|
"wy" : "00f1fde0cdee830bf169da9ca3d70d56f4607989873fbdcfcbb740e9a42faf860a"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000455b0451d911e9c64516ac9e9da3da1703eaaa46a8b0a7025c8c5ed38b5474713f1fde0cdee830bf169da9ca3d70d56f4607989873fbdcfcbb740e9a42faf860a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEVbBFHZEenGRRasnp2j2hcD6qpGqL\nCnAlyMXtOLVHRxPx/eDN7oML8WnanKPXDVb0YHmJhz+9z8u3QOmkL6+GCg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 431,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bfffffff2aaaaaab7fffffffffffffffc815d0e60b3e596ecb1ad3a27cfd49c4",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "042e19ea3a973a4c155814f8a7b641e12477d288f958b74f6031326356f5061fa41acdd1be10c052eaeb9c22d3f04cfec6e91bd23d6d3996eca9cd485e50e85909",
|
|
"wx" : "2e19ea3a973a4c155814f8a7b641e12477d288f958b74f6031326356f5061fa4",
|
|
"wy" : "1acdd1be10c052eaeb9c22d3f04cfec6e91bd23d6d3996eca9cd485e50e85909"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042e19ea3a973a4c155814f8a7b641e12477d288f958b74f6031326356f5061fa41acdd1be10c052eaeb9c22d3f04cfec6e91bd23d6d3996eca9cd485e50e85909",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELhnqOpc6TBVYFPintkHhJHfSiPlY\nt09gMTJjVvUGH6QazdG+EMBS6uucItPwTP7G6RvSPW05luypzUheUOhZCQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 432,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02207fffffff55555555ffffffffffffffffd344a71e6f651458a27bdc81fd976e37",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "046eafbcb683e05e0bdb2aa0ac0686f60b34ce66761b7ecffccd3da8fe8799d6244547b4aeca8a8e56dba45750cd9fc4f0e3f1333dcb855566c29bd14457cf489b",
|
|
"wx" : "6eafbcb683e05e0bdb2aa0ac0686f60b34ce66761b7ecffccd3da8fe8799d624",
|
|
"wy" : "4547b4aeca8a8e56dba45750cd9fc4f0e3f1333dcb855566c29bd14457cf489b"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046eafbcb683e05e0bdb2aa0ac0686f60b34ce66761b7ecffccd3da8fe8799d6244547b4aeca8a8e56dba45750cd9fc4f0e3f1333dcb855566c29bd14457cf489b",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEbq+8toPgXgvbKqCsBob2CzTOZnYb\nfs/8zT2o/oeZ1iRFR7SuyoqOVtukV1DNn8Tw4/EzPcuFVWbCm9FEV89Imw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 433,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02203fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192aa",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0450f51ce959e24ac86b1054ea016c57d1da5f4cee008dd800757a817606234f78aa17f3ef6f7a6c51381c63d66697b1b5c196eb1da73d7b73c33f9115d7432d23",
|
|
"wx" : "50f51ce959e24ac86b1054ea016c57d1da5f4cee008dd800757a817606234f78",
|
|
"wy" : "00aa17f3ef6f7a6c51381c63d66697b1b5c196eb1da73d7b73c33f9115d7432d23"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000450f51ce959e24ac86b1054ea016c57d1da5f4cee008dd800757a817606234f78aa17f3ef6f7a6c51381c63d66697b1b5c196eb1da73d7b73c33f9115d7432d23",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUPUc6VniSshrEFTqAWxX0dpfTO4A\njdgAdXqBdgYjT3iqF/Pvb3psUTgcY9Zml7G1wZbrHac9e3PDP5EV10MtIw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 434,
|
|
"comment" : "edge case for u2",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02205d8ecd64a4eeba466815ddf3a4de9a8e6abd9c5db0a01eb80343553da648428f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "049c8ef36f19815572db154e8f47a8dc5cc807d551a7141fed8a2c15460fe7ee10660b936644e1ccad24578811dd45a325214e28a78e99a0ed2df7354fe9bca0ad",
|
|
"wx" : "009c8ef36f19815572db154e8f47a8dc5cc807d551a7141fed8a2c15460fe7ee10",
|
|
"wy" : "660b936644e1ccad24578811dd45a325214e28a78e99a0ed2df7354fe9bca0ad"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200049c8ef36f19815572db154e8f47a8dc5cc807d551a7141fed8a2c15460fe7ee10660b936644e1ccad24578811dd45a325214e28a78e99a0ed2df7354fe9bca0ad",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEnI7zbxmBVXLbFU6PR6jcXMgH1VGn\nFB/tiiwVRg/n7hBmC5NmROHMrSRXiBHdRaMlIU4op46ZoO0t9zVP6bygrQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 435,
|
|
"comment" : "point duplication during verification",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402206f2347cab7dd76858fe0555ac3bc99048c4aacafdfb6bcbe05ea6c42c4934569022056be8aaebb8627ef5e37057feb3448f726fb605312992466ee8d9ed7cd43c1b1",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "049c8ef36f19815572db154e8f47a8dc5cc807d551a7141fed8a2c15460fe7ee1099f46c98bb1e3353dba877ee22ba5cdadeb1d75971665f12d208cab016435f52",
|
|
"wx" : "009c8ef36f19815572db154e8f47a8dc5cc807d551a7141fed8a2c15460fe7ee10",
|
|
"wy" : "0099f46c98bb1e3353dba877ee22ba5cdadeb1d75971665f12d208cab016435f52"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200049c8ef36f19815572db154e8f47a8dc5cc807d551a7141fed8a2c15460fe7ee1099f46c98bb1e3353dba877ee22ba5cdadeb1d75971665f12d208cab016435f52",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEnI7zbxmBVXLbFU6PR6jcXMgH1VGn\nFB/tiiwVRg/n7hCZ9GyYux4zU9uod+4iulza3rHXWXFmXxLSCMqwFkNfUg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 436,
|
|
"comment" : "duplication bug",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402206f2347cab7dd76858fe0555ac3bc99048c4aacafdfb6bcbe05ea6c42c4934569022056be8aaebb8627ef5e37057feb3448f726fb605312992466ee8d9ed7cd43c1b1",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04f2a3ebc44fe94406cd6dc9bfc79a84600ae568cf533131e01505012649e39b8f0f886d549f83aa61ecd1eeb77ba7256e984f088c3b9183e84a16e96f93860e4f",
|
|
"wx" : "00f2a3ebc44fe94406cd6dc9bfc79a84600ae568cf533131e01505012649e39b8f",
|
|
"wy" : "0f886d549f83aa61ecd1eeb77ba7256e984f088c3b9183e84a16e96f93860e4f"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004f2a3ebc44fe94406cd6dc9bfc79a84600ae568cf533131e01505012649e39b8f0f886d549f83aa61ecd1eeb77ba7256e984f088c3b9183e84a16e96f93860e4f",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE8qPrxE/pRAbNbcm/x5qEYArlaM9T\nMTHgFQUBJknjm48PiG1Un4OqYezR7rd7pyVumE8IjDuRg+hKFulvk4YOTw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 437,
|
|
"comment" : "point with x-coordinate 0",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30250201010220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04e30751018c302c6916c21e2239baa41f0e69c5acfc371bb3e376ad364ea63802659cceeae0cabfee3ed33abacbc490e8716b5fbf11137647b524e4b855d7d659",
|
|
"wx" : "00e30751018c302c6916c21e2239baa41f0e69c5acfc371bb3e376ad364ea63802",
|
|
"wy" : "659cceeae0cabfee3ed33abacbc490e8716b5fbf11137647b524e4b855d7d659"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e30751018c302c6916c21e2239baa41f0e69c5acfc371bb3e376ad364ea63802659cceeae0cabfee3ed33abacbc490e8716b5fbf11137647b524e4b855d7d659",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE4wdRAYwwLGkWwh4iObqkHw5pxaz8\nNxuz43atNk6mOAJlnM7q4Mq/7j7TOrrLxJDocWtfvxETdke1JOS4VdfWWQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 438,
|
|
"comment" : "point with x-coordinate 0",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022101000000000000000000000000000000000000000000000000000000000000000002203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aa9",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04ef28340fb027dabc05a2bd3be99c6cc2730ab0c3d8289e6a242f2b76cfccf9a2405cd0530183db6640119a20ad9c1c24ec87d4d9d5de42bffab54fd6cb6f9ed6",
|
|
"wx" : "00ef28340fb027dabc05a2bd3be99c6cc2730ab0c3d8289e6a242f2b76cfccf9a2",
|
|
"wy" : "405cd0530183db6640119a20ad9c1c24ec87d4d9d5de42bffab54fd6cb6f9ed6"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ef28340fb027dabc05a2bd3be99c6cc2730ab0c3d8289e6a242f2b76cfccf9a2405cd0530183db6640119a20ad9c1c24ec87d4d9d5de42bffab54fd6cb6f9ed6",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE7yg0D7An2rwFor076ZxswnMKsMPY\nKJ5qJC8rds/M+aJAXNBTAYPbZkARmiCtnBwk7IfU2dXeQr/6tU/Wy2+e1g==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 439,
|
|
"comment" : "comparison with point at infinity ",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aa9",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0401b4e8eb0cf6f321006fc107246c1996f7034f56d82706cd8f14f05da0a7c514f158ad7ff3c6a08b2f057c6c28255f9513811f20ab18f7104df554d591913f78",
|
|
"wx" : "01b4e8eb0cf6f321006fc107246c1996f7034f56d82706cd8f14f05da0a7c514",
|
|
"wy" : "00f158ad7ff3c6a08b2f057c6c28255f9513811f20ab18f7104df554d591913f78"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000401b4e8eb0cf6f321006fc107246c1996f7034f56d82706cd8f14f05da0a7c514f158ad7ff3c6a08b2f057c6c28255f9513811f20ab18f7104df554d591913f78",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAbTo6wz28yEAb8EHJGwZlvcDT1bY\nJwbNjxTwXaCnxRTxWK1/88agiy8FfGwoJV+VE4EfIKsY9xBN9VTVkZE/eA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 440,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc476699780220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "040b1cc580bb6f71e4bffb731a1e74f929c04a10ff94ac2312359d3f13213c3b4c870213c2ad3665a3d243dcb55780e21c8601c5f9803f27e31ff22f8ce77e739e",
|
|
"wx" : "0b1cc580bb6f71e4bffb731a1e74f929c04a10ff94ac2312359d3f13213c3b4c",
|
|
"wy" : "00870213c2ad3665a3d243dcb55780e21c8601c5f9803f27e31ff22f8ce77e739e"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040b1cc580bb6f71e4bffb731a1e74f929c04a10ff94ac2312359d3f13213c3b4c870213c2ad3665a3d243dcb55780e21c8601c5f9803f27e31ff22f8ce77e739e",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECxzFgLtvceS/+3MaHnT5KcBKEP+U\nrCMSNZ0/EyE8O0yHAhPCrTZlo9JD3LVXgOIchgHF+YA/J+Mf8i+M535zng==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 441,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022100b6db6db6249249254924924924924924625bd7a09bec4ca81bcdd9f8fd6b63cc",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "042699736fdb603e90b1d9a04fcd90ed39756ed567214033ddb5ad579213089d2e96acfb0baeec9cfe2df150aa06b01ba58d03162b497c57a0d305adb4c5f7f375",
|
|
"wx" : "2699736fdb603e90b1d9a04fcd90ed39756ed567214033ddb5ad579213089d2e",
|
|
"wy" : "0096acfb0baeec9cfe2df150aa06b01ba58d03162b497c57a0d305adb4c5f7f375"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042699736fdb603e90b1d9a04fcd90ed39756ed567214033ddb5ad579213089d2e96acfb0baeec9cfe2df150aa06b01ba58d03162b497c57a0d305adb4c5f7f375",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJplzb9tgPpCx2aBPzZDtOXVu1Wch\nQDPdta1XkhMInS6WrPsLruyc/i3xUKoGsBuljQMWK0l8V6DTBa20xffzdQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 442,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022100cccccccc00000000cccccccccccccccc971f2ef152794b9d8fc7d568c9e8eaa7",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "042a3021069e8841f9d69ad4c2992b02dc7a2f5447afa55a4683c6451cdc4e728600ca4123520611085cb10ea80bdb851a0b09dd79703c420606ff658dba94c345",
|
|
"wx" : "2a3021069e8841f9d69ad4c2992b02dc7a2f5447afa55a4683c6451cdc4e7286",
|
|
"wy" : "00ca4123520611085cb10ea80bdb851a0b09dd79703c420606ff658dba94c345"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042a3021069e8841f9d69ad4c2992b02dc7a2f5447afa55a4683c6451cdc4e728600ca4123520611085cb10ea80bdb851a0b09dd79703c420606ff658dba94c345",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKjAhBp6IQfnWmtTCmSsC3HovVEev\npVpGg8ZFHNxOcoYAykEjUgYRCFyxDqgL24UaCwndeXA8QgYG/2WNupTDRQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 443,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc4766997802203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aaa",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04535212040d83b1802cd4a9c0b6ceb0a89de68b794ddf979c2ffb9a72e59eea007650166217eb39f4e03fecd48e9e7448032da261caa68d21df639ba68ee667a6",
|
|
"wx" : "535212040d83b1802cd4a9c0b6ceb0a89de68b794ddf979c2ffb9a72e59eea00",
|
|
"wy" : "7650166217eb39f4e03fecd48e9e7448032da261caa68d21df639ba68ee667a6"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004535212040d83b1802cd4a9c0b6ceb0a89de68b794ddf979c2ffb9a72e59eea007650166217eb39f4e03fecd48e9e7448032da261caa68d21df639ba68ee667a6",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEU1ISBA2DsYAs1KnAts6wqJ3mi3lN\n35ecL/uacuWe6gB2UBZiF+s59OA/7NSOnnRIAy2iYcqmjSHfY5umjuZnpg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 444,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022049249248db6db6dbb6db6db6db6db6db5a8b230d0b2b51dcd7ebf0c9fef7c185",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04884a86a89981e216732916569f9e3f203806359ef9b9ced61ebb82d5f8030045079ceef71b8f9e1deb29aeddaf3bcc780dff88f92b705c68f572ec481139b84a",
|
|
"wx" : "00884a86a89981e216732916569f9e3f203806359ef9b9ced61ebb82d5f8030045",
|
|
"wy" : "079ceef71b8f9e1deb29aeddaf3bcc780dff88f92b705c68f572ec481139b84a"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004884a86a89981e216732916569f9e3f203806359ef9b9ced61ebb82d5f8030045079ceef71b8f9e1deb29aeddaf3bcc780dff88f92b705c68f572ec481139b84a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEiEqGqJmB4hZzKRZWn54/IDgGNZ75\nuc7WHruC1fgDAEUHnO73G4+eHesprt2vO8x4Df+I+StwXGj1cuxIETm4Sg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 445,
|
|
"comment" : "extreme value for k",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022016a4502e2781e11ac82cbc9d1edd8c981584d13e18411e2f6e0478c34416e3bb",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04cdb031f0e0bc432f0b959bc270456f6a500635732c76764010a5ea20f54a71d85cf6ce18411cdcb5056e4280e449c3ad6df90f9ae2dea4abc08280d99749643d",
|
|
"wx" : "00cdb031f0e0bc432f0b959bc270456f6a500635732c76764010a5ea20f54a71d8",
|
|
"wy" : "5cf6ce18411cdcb5056e4280e449c3ad6df90f9ae2dea4abc08280d99749643d"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004cdb031f0e0bc432f0b959bc270456f6a500635732c76764010a5ea20f54a71d85cf6ce18411cdcb5056e4280e449c3ad6df90f9ae2dea4abc08280d99749643d",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzbAx8OC8Qy8LlZvCcEVvalAGNXMs\ndnZAEKXqIPVKcdhc9s4YQRzctQVuQoDkScOtbfkPmuLepKvAgoDZl0lkPQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 446,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2960220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "046309ffd3c559fe1b0967213461d884b58d1cd549dbc297101d9db5a7e3fcf3d388f5fa86bd31043ca6077cd1da4b283f4179a23e9d680f66a2081ac502732714",
|
|
"wx" : "6309ffd3c559fe1b0967213461d884b58d1cd549dbc297101d9db5a7e3fcf3d3",
|
|
"wy" : "0088f5fa86bd31043ca6077cd1da4b283f4179a23e9d680f66a2081ac502732714"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046309ffd3c559fe1b0967213461d884b58d1cd549dbc297101d9db5a7e3fcf3d388f5fa86bd31043ca6077cd1da4b283f4179a23e9d680f66a2081ac502732714",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYwn/08VZ/hsJZyE0YdiEtY0c1Unb\nwpcQHZ21p+P889OI9fqGvTEEPKYHfNHaSyg/QXmiPp1oD2aiCBrFAnMnFA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 447,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022100b6db6db6249249254924924924924924625bd7a09bec4ca81bcdd9f8fd6b63cc",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "046e564ff8412e92f5ee23fd299c92c57eb6ef0cbd17c28721b92625938d0eab1cff8941068815c9ad2d3b7f05845c41c4acebb92b3dc155aa7a51046948a4eed0",
|
|
"wx" : "6e564ff8412e92f5ee23fd299c92c57eb6ef0cbd17c28721b92625938d0eab1c",
|
|
"wy" : "00ff8941068815c9ad2d3b7f05845c41c4acebb92b3dc155aa7a51046948a4eed0"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046e564ff8412e92f5ee23fd299c92c57eb6ef0cbd17c28721b92625938d0eab1cff8941068815c9ad2d3b7f05845c41c4acebb92b3dc155aa7a51046948a4eed0",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEblZP+EEukvXuI/0pnJLFfrbvDL0X\nwochuSYlk40Oqxz/iUEGiBXJrS07fwWEXEHErOu5Kz3BVap6UQRpSKTu0A==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 448,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304502206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022100cccccccc00000000cccccccccccccccc971f2ef152794b9d8fc7d568c9e8eaa7",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0483fe782d906023da7ba700d097f8cc9618cb23f1cd89c213b98b8f9ae8fc023db15de38b856db24d4d6cc79b6d761fbd9ac94dad5f172883ba09278ba86d9955",
|
|
"wx" : "0083fe782d906023da7ba700d097f8cc9618cb23f1cd89c213b98b8f9ae8fc023d",
|
|
"wy" : "00b15de38b856db24d4d6cc79b6d761fbd9ac94dad5f172883ba09278ba86d9955"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000483fe782d906023da7ba700d097f8cc9618cb23f1cd89c213b98b8f9ae8fc023db15de38b856db24d4d6cc79b6d761fbd9ac94dad5f172883ba09278ba86d9955",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEg/54LZBgI9p7pwDQl/jMlhjLI/HN\nicITuYuPmuj8Aj2xXeOLhW2yTU1sx5ttdh+9mslNrV8XKIO6CSeLqG2ZVQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 449,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c29602203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aaa",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04d1dddc947aaf9e6930cc46072f2cf2b68eb5e32dcf4ee84ea0647a201b299fbc6b382061309943abefa5938e8465e2f6afd051eab974d261797cd483934097a4",
|
|
"wx" : "00d1dddc947aaf9e6930cc46072f2cf2b68eb5e32dcf4ee84ea0647a201b299fbc",
|
|
"wy" : "6b382061309943abefa5938e8465e2f6afd051eab974d261797cd483934097a4"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d1dddc947aaf9e6930cc46072f2cf2b68eb5e32dcf4ee84ea0647a201b299fbc6b382061309943abefa5938e8465e2f6afd051eab974d261797cd483934097a4",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0d3clHqvnmkwzEYHLyzyto614y3P\nTuhOoGR6IBspn7xrOCBhMJlDq++lk46EZeL2r9BR6rl00mF5fNSDk0CXpA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 450,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022049249248db6db6dbb6db6db6db6db6db5a8b230d0b2b51dcd7ebf0c9fef7c185",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04d17c1c5505bc710145ef74984864fe861e64302c16bb4a4bc69b47507b3f023541480e047b19bfe4bb885ec127cf254db1041ae1d5e8fd77e08294d398b62eb0",
|
|
"wx" : "00d17c1c5505bc710145ef74984864fe861e64302c16bb4a4bc69b47507b3f0235",
|
|
"wy" : "41480e047b19bfe4bb885ec127cf254db1041ae1d5e8fd77e08294d398b62eb0"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d17c1c5505bc710145ef74984864fe861e64302c16bb4a4bc69b47507b3f023541480e047b19bfe4bb885ec127cf254db1041ae1d5e8fd77e08294d398b62eb0",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0XwcVQW8cQFF73SYSGT+hh5kMCwW\nu0pLxptHUHs/AjVBSA4Eexm/5LuIXsEnzyVNsQQa4dXo/XfggpTTmLYusA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 451,
|
|
"comment" : "extreme value for k",
|
|
"flags" : [
|
|
"ArithmeticError"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022016a4502e2781e11ac82cbc9d1edd8c981584d13e18411e2f6e0478c34416e3bb",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5",
|
|
"wx" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296",
|
|
"wy" : "4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaxfR8uEsQkf4vOblY6RA8ncDfYEt\n6zOg9KE5RdiYwpZP40Li/hp/m47n60p8D54WK84zV2sxXs7LtkBoN79R9Q==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 452,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402205731b7c4bd04cb9efb836935ff2e547bf2909f86824af4d8df78acf76d7b3d4e0220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 453,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100a8ce483a42fb3462047c96ca00d1ab83ca565b2724cca9ac14411dcb8ee7e8030220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296b01cbd1c01e58065711814b583f061e9d431cca994cea1313449bf97c840ae0a",
|
|
"wx" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296",
|
|
"wy" : "00b01cbd1c01e58065711814b583f061e9d431cca994cea1313449bf97c840ae0a"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296b01cbd1c01e58065711814b583f061e9d431cca994cea1313449bf97c840ae0a",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaxfR8uEsQkf4vOblY6RA8ncDfYEt\n6zOg9KE5RdiYwpawHL0cAeWAZXEYFLWD8GHp1DHMqZTOoTE0Sb+XyECuCg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 454,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "304402205731b7c4bd04cb9efb836935ff2e547bf2909f86824af4d8df78acf76d7b3d4e0220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2",
|
|
"result" : "invalid"
|
|
},
|
|
{
|
|
"tcId" : 455,
|
|
"comment" : "public key shares x-coordinate with generator",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
],
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100a8ce483a42fb3462047c96ca00d1ab83ca565b2724cca9ac14411dcb8ee7e8030220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2",
|
|
"result" : "invalid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "044f337ccfd67726a805e4f1600ae2849df3807eca117380239fbd816900000000ed9dea124cc8c396416411e988c30f427eb504af43a3146cd5df7ea60666d685",
|
|
"wx" : "4f337ccfd67726a805e4f1600ae2849df3807eca117380239fbd816900000000",
|
|
"wy" : "00ed9dea124cc8c396416411e988c30f427eb504af43a3146cd5df7ea60666d685"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044f337ccfd67726a805e4f1600ae2849df3807eca117380239fbd816900000000ed9dea124cc8c396416411e988c30f427eb504af43a3146cd5df7ea60666d685",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAETzN8z9Z3JqgF5PFgCuKEnfOAfsoR\nc4Ajn72BaQAAAADtneoSTMjDlkFkEemIww9CfrUEr0OjFGzV336mBmbWhQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 456,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30440220207db605e42c96035d54352c5bc55cf27d5ded42cb6b42bdaee499ea64784db602207f83c09192aa04ce038e861699a0f27ca55bf32741dbc95bbf997dee57f538fc",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 457,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022067c259a2580089ed52780755c75ea8a26b9057cc1995e4b044c8176cefe3cc7b022100d48f63d31333054bbd7fab676d207bbdc4dea1cf1b4f71aceb037b8dc7f79555",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 458,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502205dc675a2beae6deeb1ef682e922c5fe47156e069acd08073a0f8d9184d6baa6c022100e33cad4ce48f22ff6e50b47ba5dd44046a78ed7873cfd3a2c8b2d4b49aad2580",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "043cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f49726500493584fa174d791c72bf2ce3880a8960dd2a7c7a1338a82f85a9e59cdbde80000000",
|
|
"wx" : "3cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f497265004935",
|
|
"wy" : "0084fa174d791c72bf2ce3880a8960dd2a7c7a1338a82f85a9e59cdbde80000000"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f49726500493584fa174d791c72bf2ce3880a8960dd2a7c7a1338a82f85a9e59cdbde80000000",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPPA9YU2JOc/UmaB4c/rCgWGPBrj/\nh+gBXD9JcmUASTWE+hdNeRxyvyzjiAqJYN0qfHoTOKgvhanlnNvegAAAAA==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 459,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502201a3b5c4b4a2fb0c2f9efb028a9efc78993f3151683cedf76214009ea418d3e5d022100e82e87332e7bd004cad9b13857939c01467fc1c3e4207efa45ef827985a82435",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 460,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30460221008c44ef660ab8936fe01571168435c1918d005bd24ec76f72cea8f0faeb9f777a022100d793dcb3a6d47e2451e7d62e1c284ae25bbfaa0820f58adab79c201ba8d34a3e",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 461,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402204227a3dbff7ac5353cd32c8b3456397a7ee7c0e6809615fcee466b1dcde3eb49022022ea6ad811b27f944abe70b47f490d255760f8c3562e6f7e2c1da3dbe45eb540",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "043cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f4972650049357b05e8b186e38d41d31c77f5769f22d58385ecc857d07a561a6324217fffffff",
|
|
"wx" : "3cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f497265004935",
|
|
"wy" : "7b05e8b186e38d41d31c77f5769f22d58385ecc857d07a561a6324217fffffff"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f4972650049357b05e8b186e38d41d31c77f5769f22d58385ecc857d07a561a6324217fffffff",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPPA9YU2JOc/UmaB4c/rCgWGPBrj/\nh+gBXD9JcmUASTV7BeixhuONQdMcd/V2nyLVg4XsyFfQelYaYyQhf////w==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 462,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022036636162db85e8d300ee45c51b9da00a7c2cffd9a6fb200761a647ccbf5d7e8e0221009d18374cf1f87a9051e563838e75728d3f2ff7a86c10292851b6ce885c5b0c76",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 463,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100a637fc972f3800705b8d5293096382d1c1ae7f670be45011b8bd29059f3049bd0221009c4abb6bbe06552d5d598b07728ccaed1738eac9fc985fd786fbc0a7347da828",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 464,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022076bfc74f3b488b34835aee96ee96067f53da021cff4020a10996d6933a27c03202202fd1658fe4e09b2e711b10117f5c37d9c3ea8b6f55cdf1e5a5ddae2c966d7e4e",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "042829c31faa2e400e344ed94bca3fcd0545956ebcfe8ad0f6dfa5ff8effffffffa01aafaf000e52585855afa7676ade284113099052df57e7eb3bd37ebeb9222e",
|
|
"wx" : "2829c31faa2e400e344ed94bca3fcd0545956ebcfe8ad0f6dfa5ff8effffffff",
|
|
"wy" : "00a01aafaf000e52585855afa7676ade284113099052df57e7eb3bd37ebeb9222e"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042829c31faa2e400e344ed94bca3fcd0545956ebcfe8ad0f6dfa5ff8effffffffa01aafaf000e52585855afa7676ade284113099052df57e7eb3bd37ebeb9222e",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKCnDH6ouQA40TtlLyj/NBUWVbrz+\nitD236X/jv////+gGq+vAA5SWFhVr6dnat4oQRMJkFLfV+frO9N+vrkiLg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 465,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450221008e0c35240e9e5b7bf2ab351afb13ac2655653baeabc247cab2c71cc40da44c000220079cbf8c9ba9b53608b219d6989875d960bdefcde224cf7ac6f8e791adaa4364",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 466,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022100f6ceb6c8f76c337f51f4ec3859eb16caec969fc02a61dec1a70fa4223bdfb254022010c0334298a98a6e5c12e9c0cad587dcab43199b43cdf3785bd9c36b30925ccf",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 467,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450220083000a8e6121939f4b83612727b2091d8abbbdf9c92bf9bdcace8366150ce6f022100ba693f4e0b96dcbeeaa78c0d744365761151740323c346a54d74b332568d939f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04fffffff948081e6a0458dd8f9e738f2665ff9059ad6aac0708318c4ca9a7a4f55a8abcba2dda8474311ee54149b973cae0c0fb89557ad0bf78e6529a1663bd73",
|
|
"wx" : "00fffffff948081e6a0458dd8f9e738f2665ff9059ad6aac0708318c4ca9a7a4f5",
|
|
"wy" : "5a8abcba2dda8474311ee54149b973cae0c0fb89557ad0bf78e6529a1663bd73"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004fffffff948081e6a0458dd8f9e738f2665ff9059ad6aac0708318c4ca9a7a4f55a8abcba2dda8474311ee54149b973cae0c0fb89557ad0bf78e6529a1663bd73",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE////+UgIHmoEWN2PnnOPJmX/kFmt\naqwHCDGMTKmnpPVairy6LdqEdDEe5UFJuXPK4MD7iVV60L945lKaFmO9cw==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 468,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30460221008a1bd6ef283948184b5a32d31860e97cc0c450931f024c30bb3b261f2552cdc7022100b7e50c0513a8ec730d112109e92761a21151e4bec68268e5c79ef804b757deaa",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 469,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502200c18337b701b6000d3ce3574664c5dc44ead6a1f2ee0c27a728ea0b0f37990b9022100c31db9b199b3e1709c44a44118d1d7cb75324ee82ada2318744eb89651e6f6c0",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 470,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502202133d6fc78b394d4c34e173120b1e48c7fed7b89a03e55cab90b1367155b438a0221009293e67ff4b981e50c48b0304f7b1e6b530416ee35188302b1dd2f21e5cb479a",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "0400000003fa15f963949d5f03a6f5c7f86f9e0015eeb23aebbff1173937ba748e1099872070e8e87c555fa13659cca5d7fadcfcb0023ea889548ca48af2ba7e71",
|
|
"wx" : "03fa15f963949d5f03a6f5c7f86f9e0015eeb23aebbff1173937ba748e",
|
|
"wy" : "1099872070e8e87c555fa13659cca5d7fadcfcb0023ea889548ca48af2ba7e71"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000400000003fa15f963949d5f03a6f5c7f86f9e0015eeb23aebbff1173937ba748e1099872070e8e87c555fa13659cca5d7fadcfcb0023ea889548ca48af2ba7e71",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAAAAA/oV+WOUnV8DpvXH+G+eABXu\nsjrrv/EXOTe6dI4QmYcgcOjofFVfoTZZzKXX+tz8sAI+qIlUjKSK8rp+cQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 471,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502203604a98e926b2f9d7585e341a5ecc73a4e811c5c8da82b65790ff8a117a75bda022100a0ff07774c9a0d4bf83db294b970f2696cc29a73637aa454d4d3b45eb964bb88",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 472,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502206bf7e8f8bc3a5a2e2249c92725cf0dffa9b72ead3cc56d05107a4d587563beb4022100a05332b5b424d97bfc080fe0353470610931cd538d2e4bcf78c6fc59b481d271",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 473,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502210097e099c73088fc37052180d0483987e50c155c993cba2e6c93dd9bea5798e2c302204a9ec5f05739efb4ea93790ea22c3fc423d0aeb109cd13fb1b44d87ea52ca71f",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015000000001352bb4a0fa2ea4cceb9ab63dd684ade5a1127bcf300a698a7193bc2",
|
|
"wx" : "00bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015",
|
|
"wy" : "1352bb4a0fa2ea4cceb9ab63dd684ade5a1127bcf300a698a7193bc2"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015000000001352bb4a0fa2ea4cceb9ab63dd684ade5a1127bcf300a698a7193bc2",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEvLspFMefBF6qbsu8YSgWs75dLWeW\ncH2BJen4UcGK8BUAAAAAE1K7Sg+i6kzOuatj3WhK3loRJ7zzAKaYpxk7wg==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 474,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502203988bce3195aaf7c9b008a9f1663a5e13a8bee7ddba33a1bc5d55aa49fd3903d022100c39f614828e2f71a4c66d86d1c3ec7e283f768033cff5ed09e93e3218d9df1c9",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 475,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100c3eb2e8f78a31f221d6003b949f8df6c7ec1e0c53803231e12438cb2b1b1d9ba022100b97cc1fcce1d8ddbb5e1bfa6d5300d7cac155494603c66f7eee8b8e9c9643431",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 476,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304602210089e0c23ccf61e68dc0cb9777f18b18c84b2b02b4360c79eaa40d46ebe7f3d9b1022100a5d0164e398764e7d12d696750fcb092211c22dfdd3941e59cd73bc48eb91496",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type" : "EcdsaVerify",
|
|
"publicKey" : {
|
|
"type" : "EcPublicKey",
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"uncompressed" : "04bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015fffffffeecad44b6f05d15b33146549c2297b522a5eed8430cff596758e6c43d",
|
|
"wx" : "00bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015",
|
|
"wy" : "00fffffffeecad44b6f05d15b33146549c2297b522a5eed8430cff596758e6c43d"
|
|
},
|
|
"publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015fffffffeecad44b6f05d15b33146549c2297b522a5eed8430cff596758e6c43d",
|
|
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEvLspFMefBF6qbsu8YSgWs75dLWeW\ncH2BJen4UcGK8BX////+7K1EtvBdFbMxRlScIpe1IqXu2EMM/1lnWObEPQ==\n-----END PUBLIC KEY-----\n",
|
|
"sha" : "SHA3-256",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 477,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022100bbc1bb4ffceb61a0dbe5a12d9638dc9f004e797cf72cdba8d879fdbcd84dec14022065a7c17d9a6892cf5455a1904fdd9b57ce2b41549b9b2ca5d7d182c305e9a202",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 478,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502202f093a33c69eeaf847e332b12bd0758be41dcf75d8131878f16e6f121cb3f4f102210093c304df074aef8cc2c8cddeaffda67eb2428ea7d3a113d51363e178d8068f71",
|
|
"result" : "valid"
|
|
},
|
|
{
|
|
"tcId" : 479,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"flags" : [
|
|
"EdgeCasePublicKey"
|
|
],
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100b686774db39201a9462b96842adbeea16ae6003789bb18214dab9e5a758bf6ef022100ffc6b396293b94c96fcb325fae127608ebfd118a46f715b49b918caafb602a34",
|
|
"result" : "valid"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|