ecdsa_secp256k1_sha256_bitcoin_test.json (299041B)
1 { 2 "algorithm" : "ECDSA", 3 "schema" : "ecdsa_bitcoin_verify_schema.json", 4 "generatorVersion" : "0.9rc5", 5 "numberOfTests" : 463, 6 "header" : [ 7 "Test vectors of type EcdsaBitcoinVerify are meant for the verification", 8 "of a ECDSA variant used for bitcoin, that add signature non-malleability." 9 ], 10 "notes" : { 11 "ArithmeticError" : { 12 "bugType" : "EDGE_CASE", 13 "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.", 14 "cves" : [ 15 "CVE-2017-18146" 16 ] 17 }, 18 "BerEncodedSignature" : { 19 "bugType" : "BER_ENCODING", 20 "description" : "ECDSA signatures are usually DER encoded. This signature contains valid values for r and s, but it uses alternative BER encoding.", 21 "effect" : "Accepting alternative BER encodings may be benign in some cases, or be an issue if protocol requires signature malleability.", 22 "cves" : [ 23 "CVE-2020-14966", 24 "CVE-2020-13822", 25 "CVE-2019-14859", 26 "CVE-2016-1000342" 27 ] 28 }, 29 "EdgeCasePublicKey" : { 30 "bugType" : "EDGE_CASE", 31 "description" : "The test vector uses a special case public key. " 32 }, 33 "EdgeCaseShamirMultiplication" : { 34 "bugType" : "EDGE_CASE", 35 "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." 36 }, 37 "IntegerOverflow" : { 38 "bugType" : "CAN_OF_WORMS", 39 "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.", 40 "effect" : "Without further analysis it is unclear if the modification can be used to forge signatures." 41 }, 42 "InvalidEncoding" : { 43 "bugType" : "CAN_OF_WORMS", 44 "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.", 45 "effect" : "Without further analysis it is unclear if the modification can be used to forge signatures." 46 }, 47 "InvalidSignature" : { 48 "bugType" : "AUTH_BYPASS", 49 "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.", 50 "effect" : "Accepting such signatures can have the effect that an adversary can forge signatures without even knowning the message to sign.", 51 "cves" : [ 52 "CVE-2022-21449", 53 "CVE-2021-43572", 54 "CVE-2022-24884" 55 ] 56 }, 57 "InvalidTypesInSignature" : { 58 "bugType" : "AUTH_BYPASS", 59 "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.", 60 "effect" : "Accepting such signatures can have the effect that an adversary can forge signatures without even knowning the message to sign.", 61 "cves" : [ 62 "CVE-2022-21449" 63 ] 64 }, 65 "ModifiedInteger" : { 66 "bugType" : "CAN_OF_WORMS", 67 "description" : "The test vector contains an r and s that has been modified. The goal is to check for arithmetic errors.", 68 "effect" : "Without further analysis it is unclear if the modification can be used to forge signatures." 69 }, 70 "ModifiedSignature" : { 71 "bugType" : "CAN_OF_WORMS", 72 "description" : "The test vector contains an invalid signature that was generated from a valid signature by modifying it.", 73 "effect" : "Without further analysis it is unclear if the modification can be used to forge signatures." 74 }, 75 "ModularInverse" : { 76 "bugType" : "EDGE_CASE", 77 "description" : "The test vectors contains a signature where computing the modular inverse of s hits an edge case.", 78 "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.", 79 "cves" : [ 80 "CVE-2019-0865" 81 ] 82 }, 83 "PointDuplication" : { 84 "bugType" : "EDGE_CASE", 85 "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.", 86 "cves" : [ 87 "2020-12607", 88 "CVE-2015-2730" 89 ] 90 }, 91 "RangeCheck" : { 92 "bugType" : "CAN_OF_WORMS", 93 "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.", 94 "effect" : "Without further analysis it is unclear if the modification can be used to forge signatures." 95 }, 96 "SignatureMalleabilityBitcoin" : { 97 "bugType" : "SIGNATURE_MALLEABILITY", 98 "description" : "\"BitCoins\"-curves are curves where signature malleability can be a serious issue. An implementation should only accept a signature s where s < n/2. If an implementation is not meant for uses cases that require signature malleability then this implemenation should be tested with another set of test vectors.", 99 "effect" : "In bitcoin exchanges, it may be used to make a double deposits or double withdrawals", 100 "links" : [ 101 "https://en.bitcoin.it/wiki/Transaction_malleability", 102 "https://en.bitcoinwiki.org/wiki/Transaction_Malleability" 103 ] 104 }, 105 "SmallRandS" : { 106 "bugType" : "EDGE_CASE", 107 "description" : "The test vectors contains a signature where both r and s are small integers. Some libraries cannot verify such signatures.", 108 "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.", 109 "cves" : [ 110 "2020-13895" 111 ] 112 }, 113 "SpecialCaseHash" : { 114 "bugType" : "EDGE_CASE", 115 "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." 116 }, 117 "ValidSignature" : { 118 "bugType" : "BASIC", 119 "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." 120 } 121 }, 122 "testGroups" : [ 123 { 124 "type" : "EcdsaBitcoinVerify", 125 "publicKey" : { 126 "type" : "EcPublicKey", 127 "curve" : "secp256k1", 128 "keySize" : 256, 129 "uncompressed" : "04b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6ff0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9", 130 "wx" : "00b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6f", 131 "wy" : "00f0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9" 132 }, 133 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6ff0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9", 134 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEuDj/ROW8F3vyEYnQdmCC/J2EMiaIf8l2\nA3EQC37iCm/wyddb+6ezGmvKGXRJbutW3jVwcZVdg8Sxutqgshgy6Q==\n-----END PUBLIC KEY-----\n", 135 "sha" : "SHA-256", 136 "tests" : [ 137 { 138 "tcId" : 1, 139 "comment" : "Signature malleability", 140 "flags" : [ 141 "SignatureMalleabilityBitcoin" 142 ], 143 "msg" : "313233343030", 144 "sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365022100900e75ad233fcc908509dbff5922647db37c21f4afd3203ae8dc4ae7794b0f87", 145 "result" : "invalid" 146 }, 147 { 148 "tcId" : 2, 149 "comment" : "valid", 150 "flags" : [ 151 "ValidSignature" 152 ], 153 "msg" : "313233343030", 154 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 155 "result" : "valid" 156 }, 157 { 158 "tcId" : 3, 159 "comment" : "length of sequence [r, s] uses long form encoding", 160 "flags" : [ 161 "BerEncodedSignature" 162 ], 163 "msg" : "313233343030", 164 "sig" : "308145022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 165 "result" : "invalid" 166 }, 167 { 168 "tcId" : 4, 169 "comment" : "length of sequence [r, s] contains a leading 0", 170 "flags" : [ 171 "BerEncodedSignature" 172 ], 173 "msg" : "313233343030", 174 "sig" : "30820045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 175 "result" : "invalid" 176 }, 177 { 178 "tcId" : 5, 179 "comment" : "length of sequence [r, s] uses 70 instead of 69", 180 "flags" : [ 181 "InvalidEncoding" 182 ], 183 "msg" : "313233343030", 184 "sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 185 "result" : "invalid" 186 }, 187 { 188 "tcId" : 6, 189 "comment" : "length of sequence [r, s] uses 68 instead of 69", 190 "flags" : [ 191 "InvalidEncoding" 192 ], 193 "msg" : "313233343030", 194 "sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 195 "result" : "invalid" 196 }, 197 { 198 "tcId" : 7, 199 "comment" : "uint32 overflow in length of sequence [r, s]", 200 "flags" : [ 201 "InvalidEncoding" 202 ], 203 "msg" : "313233343030", 204 "sig" : "30850100000045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 205 "result" : "invalid" 206 }, 207 { 208 "tcId" : 8, 209 "comment" : "uint64 overflow in length of sequence [r, s]", 210 "flags" : [ 211 "InvalidEncoding" 212 ], 213 "msg" : "313233343030", 214 "sig" : "3089010000000000000045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 215 "result" : "invalid" 216 }, 217 { 218 "tcId" : 9, 219 "comment" : "length of sequence [r, s] = 2**31 - 1", 220 "flags" : [ 221 "InvalidEncoding" 222 ], 223 "msg" : "313233343030", 224 "sig" : "30847fffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 225 "result" : "invalid" 226 }, 227 { 228 "tcId" : 10, 229 "comment" : "length of sequence [r, s] = 2**31", 230 "flags" : [ 231 "InvalidEncoding" 232 ], 233 "msg" : "313233343030", 234 "sig" : "308480000000022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 235 "result" : "invalid" 236 }, 237 { 238 "tcId" : 11, 239 "comment" : "length of sequence [r, s] = 2**32 - 1", 240 "flags" : [ 241 "InvalidEncoding" 242 ], 243 "msg" : "313233343030", 244 "sig" : "3084ffffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 245 "result" : "invalid" 246 }, 247 { 248 "tcId" : 12, 249 "comment" : "length of sequence [r, s] = 2**40 - 1", 250 "flags" : [ 251 "InvalidEncoding" 252 ], 253 "msg" : "313233343030", 254 "sig" : "3085ffffffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 255 "result" : "invalid" 256 }, 257 { 258 "tcId" : 13, 259 "comment" : "length of sequence [r, s] = 2**64 - 1", 260 "flags" : [ 261 "InvalidEncoding" 262 ], 263 "msg" : "313233343030", 264 "sig" : "3088ffffffffffffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 265 "result" : "invalid" 266 }, 267 { 268 "tcId" : 14, 269 "comment" : "incorrect length of sequence [r, s]", 270 "flags" : [ 271 "InvalidEncoding" 272 ], 273 "msg" : "313233343030", 274 "sig" : "30ff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 275 "result" : "invalid" 276 }, 277 { 278 "tcId" : 15, 279 "comment" : "replaced sequence [r, s] by an indefinite length tag without termination", 280 "flags" : [ 281 "InvalidEncoding" 282 ], 283 "msg" : "313233343030", 284 "sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 285 "result" : "invalid" 286 }, 287 { 288 "tcId" : 16, 289 "comment" : "removing sequence [r, s]", 290 "flags" : [ 291 "InvalidEncoding" 292 ], 293 "msg" : "313233343030", 294 "sig" : "", 295 "result" : "invalid" 296 }, 297 { 298 "tcId" : 17, 299 "comment" : "lonely sequence tag", 300 "flags" : [ 301 "InvalidEncoding" 302 ], 303 "msg" : "313233343030", 304 "sig" : "30", 305 "result" : "invalid" 306 }, 307 { 308 "tcId" : 18, 309 "comment" : "appending 0's to sequence [r, s]", 310 "flags" : [ 311 "ModifiedSignature" 312 ], 313 "msg" : "313233343030", 314 "sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", 315 "result" : "invalid" 316 }, 317 { 318 "tcId" : 19, 319 "comment" : "prepending 0's to sequence [r, s]", 320 "flags" : [ 321 "ModifiedSignature" 322 ], 323 "msg" : "313233343030", 324 "sig" : "30470000022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 325 "result" : "invalid" 326 }, 327 { 328 "tcId" : 20, 329 "comment" : "appending unused 0's to sequence [r, s]", 330 "flags" : [ 331 "InvalidEncoding" 332 ], 333 "msg" : "313233343030", 334 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", 335 "result" : "invalid" 336 }, 337 { 338 "tcId" : 21, 339 "comment" : "appending null value to sequence [r, s]", 340 "flags" : [ 341 "ModifiedSignature" 342 ], 343 "msg" : "313233343030", 344 "sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0500", 345 "result" : "invalid" 346 }, 347 { 348 "tcId" : 22, 349 "comment" : "prepending garbage to sequence [r, s]", 350 "flags" : [ 351 "InvalidEncoding" 352 ], 353 "msg" : "313233343030", 354 "sig" : "304a4981773045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 355 "result" : "invalid" 356 }, 357 { 358 "tcId" : 23, 359 "comment" : "prepending garbage to sequence [r, s]", 360 "flags" : [ 361 "InvalidEncoding" 362 ], 363 "msg" : "313233343030", 364 "sig" : "304925003045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 365 "result" : "invalid" 366 }, 367 { 368 "tcId" : 24, 369 "comment" : "appending garbage to sequence [r, s]", 370 "flags" : [ 371 "InvalidEncoding" 372 ], 373 "msg" : "313233343030", 374 "sig" : "30473045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0004deadbeef", 375 "result" : "invalid" 376 }, 377 { 378 "tcId" : 25, 379 "comment" : "including undefined tags", 380 "flags" : [ 381 "ModifiedSignature" 382 ], 383 "msg" : "313233343030", 384 "sig" : "304daa00bb00cd003045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 385 "result" : "invalid" 386 }, 387 { 388 "tcId" : 26, 389 "comment" : "including undefined tags", 390 "flags" : [ 391 "InvalidEncoding" 392 ], 393 "msg" : "313233343030", 394 "sig" : "304d2229aa00bb00cd00022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 395 "result" : "invalid" 396 }, 397 { 398 "tcId" : 27, 399 "comment" : "including undefined tags", 400 "flags" : [ 401 "InvalidEncoding" 402 ], 403 "msg" : "313233343030", 404 "sig" : "304d022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323652228aa00bb00cd0002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 405 "result" : "invalid" 406 }, 407 { 408 "tcId" : 28, 409 "comment" : "truncated length of sequence [r, s]", 410 "flags" : [ 411 "InvalidEncoding" 412 ], 413 "msg" : "313233343030", 414 "sig" : "3081", 415 "result" : "invalid" 416 }, 417 { 418 "tcId" : 29, 419 "comment" : "including undefined tags to sequence [r, s]", 420 "flags" : [ 421 "ModifiedSignature" 422 ], 423 "msg" : "313233343030", 424 "sig" : "304baa02aabb3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 425 "result" : "invalid" 426 }, 427 { 428 "tcId" : 30, 429 "comment" : "using composition with indefinite length for sequence [r, s]", 430 "flags" : [ 431 "ModifiedSignature" 432 ], 433 "msg" : "313233343030", 434 "sig" : "30803045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", 435 "result" : "invalid" 436 }, 437 { 438 "tcId" : 31, 439 "comment" : "using composition with wrong tag for sequence [r, s]", 440 "flags" : [ 441 "ModifiedSignature" 442 ], 443 "msg" : "313233343030", 444 "sig" : "30803145022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", 445 "result" : "invalid" 446 }, 447 { 448 "tcId" : 32, 449 "comment" : "Replacing sequence [r, s] with NULL", 450 "flags" : [ 451 "ModifiedSignature" 452 ], 453 "msg" : "313233343030", 454 "sig" : "0500", 455 "result" : "invalid" 456 }, 457 { 458 "tcId" : 33, 459 "comment" : "changing tag value of sequence [r, s]", 460 "flags" : [ 461 "InvalidEncoding" 462 ], 463 "msg" : "313233343030", 464 "sig" : "2e45022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 465 "result" : "invalid" 466 }, 467 { 468 "tcId" : 34, 469 "comment" : "changing tag value of sequence [r, s]", 470 "flags" : [ 471 "InvalidEncoding" 472 ], 473 "msg" : "313233343030", 474 "sig" : "2f45022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 475 "result" : "invalid" 476 }, 477 { 478 "tcId" : 35, 479 "comment" : "changing tag value of sequence [r, s]", 480 "flags" : [ 481 "ModifiedSignature" 482 ], 483 "msg" : "313233343030", 484 "sig" : "3145022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 485 "result" : "invalid" 486 }, 487 { 488 "tcId" : 36, 489 "comment" : "changing tag value of sequence [r, s]", 490 "flags" : [ 491 "InvalidEncoding" 492 ], 493 "msg" : "313233343030", 494 "sig" : "3245022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 495 "result" : "invalid" 496 }, 497 { 498 "tcId" : 37, 499 "comment" : "changing tag value of sequence [r, s]", 500 "flags" : [ 501 "InvalidEncoding" 502 ], 503 "msg" : "313233343030", 504 "sig" : "ff45022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 505 "result" : "invalid" 506 }, 507 { 508 "tcId" : 38, 509 "comment" : "dropping value of sequence [r, s]", 510 "flags" : [ 511 "ModifiedSignature" 512 ], 513 "msg" : "313233343030", 514 "sig" : "3000", 515 "result" : "invalid" 516 }, 517 { 518 "tcId" : 39, 519 "comment" : "using composition for sequence [r, s]", 520 "flags" : [ 521 "InvalidEncoding" 522 ], 523 "msg" : "313233343030", 524 "sig" : "304930010230442100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 525 "result" : "invalid" 526 }, 527 { 528 "tcId" : 40, 529 "comment" : "truncated sequence [r, s]", 530 "flags" : [ 531 "InvalidEncoding" 532 ], 533 "msg" : "313233343030", 534 "sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31", 535 "result" : "invalid" 536 }, 537 { 538 "tcId" : 41, 539 "comment" : "truncated sequence [r, s]", 540 "flags" : [ 541 "InvalidEncoding" 542 ], 543 "msg" : "313233343030", 544 "sig" : "30442100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 545 "result" : "invalid" 546 }, 547 { 548 "tcId" : 42, 549 "comment" : "sequence [r, s] of size 4166 to check for overflows", 550 "flags" : [ 551 "InvalidEncoding" 552 ], 553 "msg" : "313233343030", 554 "sig" : "30821046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 555 "result" : "invalid" 556 }, 557 { 558 "tcId" : 43, 559 "comment" : "indefinite length", 560 "flags" : [ 561 "BerEncodedSignature" 562 ], 563 "msg" : "313233343030", 564 "sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", 565 "result" : "invalid" 566 }, 567 { 568 "tcId" : 44, 569 "comment" : "indefinite length with truncated delimiter", 570 "flags" : [ 571 "InvalidEncoding" 572 ], 573 "msg" : "313233343030", 574 "sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba00", 575 "result" : "invalid" 576 }, 577 { 578 "tcId" : 45, 579 "comment" : "indefinite length with additional element", 580 "flags" : [ 581 "ModifiedSignature" 582 ], 583 "msg" : "313233343030", 584 "sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba05000000", 585 "result" : "invalid" 586 }, 587 { 588 "tcId" : 46, 589 "comment" : "indefinite length with truncated element", 590 "flags" : [ 591 "InvalidEncoding" 592 ], 593 "msg" : "313233343030", 594 "sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba060811220000", 595 "result" : "invalid" 596 }, 597 { 598 "tcId" : 47, 599 "comment" : "indefinite length with garbage", 600 "flags" : [ 601 "InvalidEncoding" 602 ], 603 "msg" : "313233343030", 604 "sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000fe02beef", 605 "result" : "invalid" 606 }, 607 { 608 "tcId" : 48, 609 "comment" : "indefinite length with nonempty EOC", 610 "flags" : [ 611 "InvalidEncoding" 612 ], 613 "msg" : "313233343030", 614 "sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0002beef", 615 "result" : "invalid" 616 }, 617 { 618 "tcId" : 49, 619 "comment" : "prepend empty sequence", 620 "flags" : [ 621 "ModifiedSignature" 622 ], 623 "msg" : "313233343030", 624 "sig" : "30473000022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 625 "result" : "invalid" 626 }, 627 { 628 "tcId" : 50, 629 "comment" : "append empty sequence", 630 "flags" : [ 631 "ModifiedSignature" 632 ], 633 "msg" : "313233343030", 634 "sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba3000", 635 "result" : "invalid" 636 }, 637 { 638 "tcId" : 51, 639 "comment" : "append zero", 640 "flags" : [ 641 "ModifiedSignature" 642 ], 643 "msg" : "313233343030", 644 "sig" : "3048022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba020100", 645 "result" : "invalid" 646 }, 647 { 648 "tcId" : 52, 649 "comment" : "append garbage with high tag number", 650 "flags" : [ 651 "ModifiedSignature" 652 ], 653 "msg" : "313233343030", 654 "sig" : "3048022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31babf7f00", 655 "result" : "invalid" 656 }, 657 { 658 "tcId" : 53, 659 "comment" : "append null with explicit tag", 660 "flags" : [ 661 "ModifiedSignature" 662 ], 663 "msg" : "313233343030", 664 "sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31baa0020500", 665 "result" : "invalid" 666 }, 667 { 668 "tcId" : 54, 669 "comment" : "append null with implicit tag", 670 "flags" : [ 671 "ModifiedSignature" 672 ], 673 "msg" : "313233343030", 674 "sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31baa000", 675 "result" : "invalid" 676 }, 677 { 678 "tcId" : 55, 679 "comment" : "sequence of sequence", 680 "flags" : [ 681 "ModifiedSignature" 682 ], 683 "msg" : "313233343030", 684 "sig" : "30473045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 685 "result" : "invalid" 686 }, 687 { 688 "tcId" : 56, 689 "comment" : "truncated sequence: removed last 1 elements", 690 "flags" : [ 691 "ModifiedSignature" 692 ], 693 "msg" : "313233343030", 694 "sig" : "3023022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365", 695 "result" : "invalid" 696 }, 697 { 698 "tcId" : 57, 699 "comment" : "repeating element in sequence", 700 "flags" : [ 701 "ModifiedSignature" 702 ], 703 "msg" : "313233343030", 704 "sig" : "3067022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 705 "result" : "invalid" 706 }, 707 { 708 "tcId" : 58, 709 "comment" : "flipped bit 0 in r", 710 "flags" : [ 711 "InvalidEncoding" 712 ], 713 "msg" : "313233343030", 714 "sig" : "304300813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236402206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 715 "result" : "invalid" 716 }, 717 { 718 "tcId" : 59, 719 "comment" : "flipped bit 32 in r", 720 "flags" : [ 721 "InvalidEncoding" 722 ], 723 "msg" : "313233343030", 724 "sig" : "304300813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccac983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 725 "result" : "invalid" 726 }, 727 { 728 "tcId" : 60, 729 "comment" : "flipped bit 48 in r", 730 "flags" : [ 731 "InvalidEncoding" 732 ], 733 "msg" : "313233343030", 734 "sig" : "304300813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5133ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 735 "result" : "invalid" 736 }, 737 { 738 "tcId" : 61, 739 "comment" : "flipped bit 64 in r", 740 "flags" : [ 741 "InvalidEncoding" 742 ], 743 "msg" : "313233343030", 744 "sig" : "304300813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc08b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 745 "result" : "invalid" 746 }, 747 { 748 "tcId" : 62, 749 "comment" : "length of r uses long form encoding", 750 "flags" : [ 751 "BerEncodedSignature" 752 ], 753 "msg" : "313233343030", 754 "sig" : "304602812100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 755 "result" : "invalid" 756 }, 757 { 758 "tcId" : 63, 759 "comment" : "length of r contains a leading 0", 760 "flags" : [ 761 "BerEncodedSignature" 762 ], 763 "msg" : "313233343030", 764 "sig" : "30470282002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 765 "result" : "invalid" 766 }, 767 { 768 "tcId" : 64, 769 "comment" : "length of r uses 34 instead of 33", 770 "flags" : [ 771 "InvalidEncoding" 772 ], 773 "msg" : "313233343030", 774 "sig" : "3045022200813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 775 "result" : "invalid" 776 }, 777 { 778 "tcId" : 65, 779 "comment" : "length of r uses 32 instead of 33", 780 "flags" : [ 781 "InvalidEncoding" 782 ], 783 "msg" : "313233343030", 784 "sig" : "3045022000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 785 "result" : "invalid" 786 }, 787 { 788 "tcId" : 66, 789 "comment" : "uint32 overflow in length of r", 790 "flags" : [ 791 "InvalidEncoding" 792 ], 793 "msg" : "313233343030", 794 "sig" : "304a0285010000002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 795 "result" : "invalid" 796 }, 797 { 798 "tcId" : 67, 799 "comment" : "uint64 overflow in length of r", 800 "flags" : [ 801 "InvalidEncoding" 802 ], 803 "msg" : "313233343030", 804 "sig" : "304e028901000000000000002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 805 "result" : "invalid" 806 }, 807 { 808 "tcId" : 68, 809 "comment" : "length of r = 2**31 - 1", 810 "flags" : [ 811 "InvalidEncoding" 812 ], 813 "msg" : "313233343030", 814 "sig" : "304902847fffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 815 "result" : "invalid" 816 }, 817 { 818 "tcId" : 69, 819 "comment" : "length of r = 2**31", 820 "flags" : [ 821 "InvalidEncoding" 822 ], 823 "msg" : "313233343030", 824 "sig" : "304902848000000000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 825 "result" : "invalid" 826 }, 827 { 828 "tcId" : 70, 829 "comment" : "length of r = 2**32 - 1", 830 "flags" : [ 831 "InvalidEncoding" 832 ], 833 "msg" : "313233343030", 834 "sig" : "30490284ffffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 835 "result" : "invalid" 836 }, 837 { 838 "tcId" : 71, 839 "comment" : "length of r = 2**40 - 1", 840 "flags" : [ 841 "InvalidEncoding" 842 ], 843 "msg" : "313233343030", 844 "sig" : "304a0285ffffffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 845 "result" : "invalid" 846 }, 847 { 848 "tcId" : 72, 849 "comment" : "length of r = 2**64 - 1", 850 "flags" : [ 851 "InvalidEncoding" 852 ], 853 "msg" : "313233343030", 854 "sig" : "304d0288ffffffffffffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 855 "result" : "invalid" 856 }, 857 { 858 "tcId" : 73, 859 "comment" : "incorrect length of r", 860 "flags" : [ 861 "InvalidEncoding" 862 ], 863 "msg" : "313233343030", 864 "sig" : "304502ff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 865 "result" : "invalid" 866 }, 867 { 868 "tcId" : 74, 869 "comment" : "replaced r by an indefinite length tag without termination", 870 "flags" : [ 871 "InvalidEncoding" 872 ], 873 "msg" : "313233343030", 874 "sig" : "3045028000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 875 "result" : "invalid" 876 }, 877 { 878 "tcId" : 75, 879 "comment" : "removing r", 880 "flags" : [ 881 "ModifiedSignature" 882 ], 883 "msg" : "313233343030", 884 "sig" : "302202206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 885 "result" : "invalid" 886 }, 887 { 888 "tcId" : 76, 889 "comment" : "lonely integer tag", 890 "flags" : [ 891 "InvalidEncoding" 892 ], 893 "msg" : "313233343030", 894 "sig" : "30230202206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 895 "result" : "invalid" 896 }, 897 { 898 "tcId" : 77, 899 "comment" : "lonely integer tag", 900 "flags" : [ 901 "InvalidEncoding" 902 ], 903 "msg" : "313233343030", 904 "sig" : "3024022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502", 905 "result" : "invalid" 906 }, 907 { 908 "tcId" : 78, 909 "comment" : "appending 0's to r", 910 "flags" : [ 911 "ModifiedSignature" 912 ], 913 "msg" : "313233343030", 914 "sig" : "3047022300813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 915 "result" : "invalid" 916 }, 917 { 918 "tcId" : 79, 919 "comment" : "prepending 0's to r", 920 "flags" : [ 921 "InvalidEncoding" 922 ], 923 "msg" : "313233343030", 924 "sig" : "30470223000000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 925 "result" : "invalid" 926 }, 927 { 928 "tcId" : 80, 929 "comment" : "appending unused 0's to r", 930 "flags" : [ 931 "ModifiedSignature" 932 ], 933 "msg" : "313233343030", 934 "sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 935 "result" : "invalid" 936 }, 937 { 938 "tcId" : 81, 939 "comment" : "appending null value to r", 940 "flags" : [ 941 "ModifiedSignature" 942 ], 943 "msg" : "313233343030", 944 "sig" : "3047022300813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365050002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 945 "result" : "invalid" 946 }, 947 { 948 "tcId" : 82, 949 "comment" : "prepending garbage to r", 950 "flags" : [ 951 "InvalidEncoding" 952 ], 953 "msg" : "313233343030", 954 "sig" : "304a2226498177022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 955 "result" : "invalid" 956 }, 957 { 958 "tcId" : 83, 959 "comment" : "prepending garbage to r", 960 "flags" : [ 961 "InvalidEncoding" 962 ], 963 "msg" : "313233343030", 964 "sig" : "304922252500022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 965 "result" : "invalid" 966 }, 967 { 968 "tcId" : 84, 969 "comment" : "appending garbage to r", 970 "flags" : [ 971 "InvalidEncoding" 972 ], 973 "msg" : "313233343030", 974 "sig" : "304d2223022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650004deadbeef02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 975 "result" : "invalid" 976 }, 977 { 978 "tcId" : 85, 979 "comment" : "truncated length of r", 980 "flags" : [ 981 "InvalidEncoding" 982 ], 983 "msg" : "313233343030", 984 "sig" : "3024028102206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 985 "result" : "invalid" 986 }, 987 { 988 "tcId" : 86, 989 "comment" : "including undefined tags to r", 990 "flags" : [ 991 "InvalidEncoding" 992 ], 993 "msg" : "313233343030", 994 "sig" : "304b2227aa02aabb022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 995 "result" : "invalid" 996 }, 997 { 998 "tcId" : 87, 999 "comment" : "using composition with indefinite length for r", 1000 "flags" : [ 1001 "InvalidEncoding" 1002 ], 1003 "msg" : "313233343030", 1004 "sig" : "30492280022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1005 "result" : "invalid" 1006 }, 1007 { 1008 "tcId" : 88, 1009 "comment" : "using composition with wrong tag for r", 1010 "flags" : [ 1011 "InvalidEncoding" 1012 ], 1013 "msg" : "313233343030", 1014 "sig" : "30492280032100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1015 "result" : "invalid" 1016 }, 1017 { 1018 "tcId" : 89, 1019 "comment" : "Replacing r with NULL", 1020 "flags" : [ 1021 "ModifiedSignature" 1022 ], 1023 "msg" : "313233343030", 1024 "sig" : "3024050002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1025 "result" : "invalid" 1026 }, 1027 { 1028 "tcId" : 90, 1029 "comment" : "changing tag value of r", 1030 "flags" : [ 1031 "ModifiedSignature" 1032 ], 1033 "msg" : "313233343030", 1034 "sig" : "3045002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1035 "result" : "invalid" 1036 }, 1037 { 1038 "tcId" : 91, 1039 "comment" : "changing tag value of r", 1040 "flags" : [ 1041 "InvalidEncoding" 1042 ], 1043 "msg" : "313233343030", 1044 "sig" : "3045012100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1045 "result" : "invalid" 1046 }, 1047 { 1048 "tcId" : 92, 1049 "comment" : "changing tag value of r", 1050 "flags" : [ 1051 "ModifiedSignature" 1052 ], 1053 "msg" : "313233343030", 1054 "sig" : "3045032100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1055 "result" : "invalid" 1056 }, 1057 { 1058 "tcId" : 93, 1059 "comment" : "changing tag value of r", 1060 "flags" : [ 1061 "ModifiedSignature" 1062 ], 1063 "msg" : "313233343030", 1064 "sig" : "3045042100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1065 "result" : "invalid" 1066 }, 1067 { 1068 "tcId" : 94, 1069 "comment" : "changing tag value of r", 1070 "flags" : [ 1071 "InvalidEncoding" 1072 ], 1073 "msg" : "313233343030", 1074 "sig" : "3045ff2100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1075 "result" : "invalid" 1076 }, 1077 { 1078 "tcId" : 95, 1079 "comment" : "dropping value of r", 1080 "flags" : [ 1081 "InvalidEncoding" 1082 ], 1083 "msg" : "313233343030", 1084 "sig" : "3024020002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1085 "result" : "invalid" 1086 }, 1087 { 1088 "tcId" : 96, 1089 "comment" : "using composition for r", 1090 "flags" : [ 1091 "InvalidEncoding" 1092 ], 1093 "msg" : "313233343030", 1094 "sig" : "304922250201000220813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1095 "result" : "invalid" 1096 }, 1097 { 1098 "tcId" : 97, 1099 "comment" : "modifying first byte of r", 1100 "flags" : [ 1101 "ModifiedSignature" 1102 ], 1103 "msg" : "313233343030", 1104 "sig" : "3045022102813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1105 "result" : "invalid" 1106 }, 1107 { 1108 "tcId" : 98, 1109 "comment" : "modifying last byte of r", 1110 "flags" : [ 1111 "ModifiedSignature" 1112 ], 1113 "msg" : "313233343030", 1114 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323e502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1115 "result" : "invalid" 1116 }, 1117 { 1118 "tcId" : 99, 1119 "comment" : "truncated r", 1120 "flags" : [ 1121 "ModifiedSignature" 1122 ], 1123 "msg" : "313233343030", 1124 "sig" : "3044022000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832302206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1125 "result" : "invalid" 1126 }, 1127 { 1128 "tcId" : 100, 1129 "comment" : "truncated r", 1130 "flags" : [ 1131 "ModifiedSignature" 1132 ], 1133 "msg" : "313233343030", 1134 "sig" : "30440220813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1135 "result" : "invalid" 1136 }, 1137 { 1138 "tcId" : 101, 1139 "comment" : "r of size 4130 to check for overflows", 1140 "flags" : [ 1141 "ModifiedSignature" 1142 ], 1143 "msg" : "313233343030", 1144 "sig" : "308210480282102200813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1145 "result" : "invalid" 1146 }, 1147 { 1148 "tcId" : 102, 1149 "comment" : "leading ff in r", 1150 "flags" : [ 1151 "ModifiedSignature" 1152 ], 1153 "msg" : "313233343030", 1154 "sig" : "30460222ff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1155 "result" : "invalid" 1156 }, 1157 { 1158 "tcId" : 103, 1159 "comment" : "replaced r by infinity", 1160 "flags" : [ 1161 "ModifiedSignature" 1162 ], 1163 "msg" : "313233343030", 1164 "sig" : "302509018002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1165 "result" : "invalid" 1166 }, 1167 { 1168 "tcId" : 104, 1169 "comment" : "replacing r with zero", 1170 "flags" : [ 1171 "ModifiedSignature" 1172 ], 1173 "msg" : "313233343030", 1174 "sig" : "302502010002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1175 "result" : "invalid" 1176 }, 1177 { 1178 "tcId" : 105, 1179 "comment" : "flipped bit 0 in s", 1180 "flags" : [ 1181 "InvalidEncoding" 1182 ], 1183 "msg" : "313233343030", 1184 "sig" : "3043022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323656ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31bb", 1185 "result" : "invalid" 1186 }, 1187 { 1188 "tcId" : 106, 1189 "comment" : "flipped bit 32 in s", 1190 "flags" : [ 1191 "InvalidEncoding" 1192 ], 1193 "msg" : "313233343030", 1194 "sig" : "3043022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323656ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a456eb31ba", 1195 "result" : "invalid" 1196 }, 1197 { 1198 "tcId" : 107, 1199 "comment" : "flipped bit 48 in s", 1200 "flags" : [ 1201 "InvalidEncoding" 1202 ], 1203 "msg" : "313233343030", 1204 "sig" : "3043022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323656ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f713a556eb31ba", 1205 "result" : "invalid" 1206 }, 1207 { 1208 "tcId" : 108, 1209 "comment" : "flipped bit 64 in s", 1210 "flags" : [ 1211 "InvalidEncoding" 1212 ], 1213 "msg" : "313233343030", 1214 "sig" : "3043022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323656ff18a52dcc0336f7af62400a6dd9b810732baf1ff758001d6f613a556eb31ba", 1215 "result" : "invalid" 1216 }, 1217 { 1218 "tcId" : 109, 1219 "comment" : "length of s uses long form encoding", 1220 "flags" : [ 1221 "BerEncodedSignature" 1222 ], 1223 "msg" : "313233343030", 1224 "sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650281206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1225 "result" : "invalid" 1226 }, 1227 { 1228 "tcId" : 110, 1229 "comment" : "length of s contains a leading 0", 1230 "flags" : [ 1231 "BerEncodedSignature" 1232 ], 1233 "msg" : "313233343030", 1234 "sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365028200206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1235 "result" : "invalid" 1236 }, 1237 { 1238 "tcId" : 111, 1239 "comment" : "length of s uses 33 instead of 32", 1240 "flags" : [ 1241 "InvalidEncoding" 1242 ], 1243 "msg" : "313233343030", 1244 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502216ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1245 "result" : "invalid" 1246 }, 1247 { 1248 "tcId" : 112, 1249 "comment" : "length of s uses 31 instead of 32", 1250 "flags" : [ 1251 "InvalidEncoding" 1252 ], 1253 "msg" : "313233343030", 1254 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365021f6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1255 "result" : "invalid" 1256 }, 1257 { 1258 "tcId" : 113, 1259 "comment" : "uint32 overflow in length of s", 1260 "flags" : [ 1261 "InvalidEncoding" 1262 ], 1263 "msg" : "313233343030", 1264 "sig" : "304a022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365028501000000206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1265 "result" : "invalid" 1266 }, 1267 { 1268 "tcId" : 114, 1269 "comment" : "uint64 overflow in length of s", 1270 "flags" : [ 1271 "InvalidEncoding" 1272 ], 1273 "msg" : "313233343030", 1274 "sig" : "304e022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502890100000000000000206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1275 "result" : "invalid" 1276 }, 1277 { 1278 "tcId" : 115, 1279 "comment" : "length of s = 2**31 - 1", 1280 "flags" : [ 1281 "InvalidEncoding" 1282 ], 1283 "msg" : "313233343030", 1284 "sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502847fffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1285 "result" : "invalid" 1286 }, 1287 { 1288 "tcId" : 116, 1289 "comment" : "length of s = 2**31", 1290 "flags" : [ 1291 "InvalidEncoding" 1292 ], 1293 "msg" : "313233343030", 1294 "sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650284800000006ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1295 "result" : "invalid" 1296 }, 1297 { 1298 "tcId" : 117, 1299 "comment" : "length of s = 2**32 - 1", 1300 "flags" : [ 1301 "InvalidEncoding" 1302 ], 1303 "msg" : "313233343030", 1304 "sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650284ffffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1305 "result" : "invalid" 1306 }, 1307 { 1308 "tcId" : 118, 1309 "comment" : "length of s = 2**40 - 1", 1310 "flags" : [ 1311 "InvalidEncoding" 1312 ], 1313 "msg" : "313233343030", 1314 "sig" : "304a022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650285ffffffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1315 "result" : "invalid" 1316 }, 1317 { 1318 "tcId" : 119, 1319 "comment" : "length of s = 2**64 - 1", 1320 "flags" : [ 1321 "InvalidEncoding" 1322 ], 1323 "msg" : "313233343030", 1324 "sig" : "304d022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650288ffffffffffffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1325 "result" : "invalid" 1326 }, 1327 { 1328 "tcId" : 120, 1329 "comment" : "incorrect length of s", 1330 "flags" : [ 1331 "InvalidEncoding" 1332 ], 1333 "msg" : "313233343030", 1334 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502ff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1335 "result" : "invalid" 1336 }, 1337 { 1338 "tcId" : 121, 1339 "comment" : "replaced s by an indefinite length tag without termination", 1340 "flags" : [ 1341 "InvalidEncoding" 1342 ], 1343 "msg" : "313233343030", 1344 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502806ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1345 "result" : "invalid" 1346 }, 1347 { 1348 "tcId" : 122, 1349 "comment" : "appending 0's to s", 1350 "flags" : [ 1351 "ModifiedSignature" 1352 ], 1353 "msg" : "313233343030", 1354 "sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502226ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", 1355 "result" : "invalid" 1356 }, 1357 { 1358 "tcId" : 123, 1359 "comment" : "prepending 0's to s", 1360 "flags" : [ 1361 "InvalidEncoding" 1362 ], 1363 "msg" : "313233343030", 1364 "sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365022200006ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1365 "result" : "invalid" 1366 }, 1367 { 1368 "tcId" : 124, 1369 "comment" : "appending null value to s", 1370 "flags" : [ 1371 "ModifiedSignature" 1372 ], 1373 "msg" : "313233343030", 1374 "sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502226ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0500", 1375 "result" : "invalid" 1376 }, 1377 { 1378 "tcId" : 125, 1379 "comment" : "prepending garbage to s", 1380 "flags" : [ 1381 "InvalidEncoding" 1382 ], 1383 "msg" : "313233343030", 1384 "sig" : "304a022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365222549817702206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1385 "result" : "invalid" 1386 }, 1387 { 1388 "tcId" : 126, 1389 "comment" : "prepending garbage to s", 1390 "flags" : [ 1391 "InvalidEncoding" 1392 ], 1393 "msg" : "313233343030", 1394 "sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323652224250002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1395 "result" : "invalid" 1396 }, 1397 { 1398 "tcId" : 127, 1399 "comment" : "appending garbage to s", 1400 "flags" : [ 1401 "InvalidEncoding" 1402 ], 1403 "msg" : "313233343030", 1404 "sig" : "304d022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365222202206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0004deadbeef", 1405 "result" : "invalid" 1406 }, 1407 { 1408 "tcId" : 128, 1409 "comment" : "truncated length of s", 1410 "flags" : [ 1411 "InvalidEncoding" 1412 ], 1413 "msg" : "313233343030", 1414 "sig" : "3025022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650281", 1415 "result" : "invalid" 1416 }, 1417 { 1418 "tcId" : 129, 1419 "comment" : "including undefined tags to s", 1420 "flags" : [ 1421 "InvalidEncoding" 1422 ], 1423 "msg" : "313233343030", 1424 "sig" : "304b022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323652226aa02aabb02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1425 "result" : "invalid" 1426 }, 1427 { 1428 "tcId" : 130, 1429 "comment" : "using composition with indefinite length for s", 1430 "flags" : [ 1431 "InvalidEncoding" 1432 ], 1433 "msg" : "313233343030", 1434 "sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365228002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", 1435 "result" : "invalid" 1436 }, 1437 { 1438 "tcId" : 131, 1439 "comment" : "using composition with wrong tag for s", 1440 "flags" : [ 1441 "InvalidEncoding" 1442 ], 1443 "msg" : "313233343030", 1444 "sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365228003206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", 1445 "result" : "invalid" 1446 }, 1447 { 1448 "tcId" : 132, 1449 "comment" : "Replacing s with NULL", 1450 "flags" : [ 1451 "ModifiedSignature" 1452 ], 1453 "msg" : "313233343030", 1454 "sig" : "3025022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650500", 1455 "result" : "invalid" 1456 }, 1457 { 1458 "tcId" : 133, 1459 "comment" : "changing tag value of s", 1460 "flags" : [ 1461 "ModifiedSignature" 1462 ], 1463 "msg" : "313233343030", 1464 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236500206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1465 "result" : "invalid" 1466 }, 1467 { 1468 "tcId" : 134, 1469 "comment" : "changing tag value of s", 1470 "flags" : [ 1471 "InvalidEncoding" 1472 ], 1473 "msg" : "313233343030", 1474 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236501206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1475 "result" : "invalid" 1476 }, 1477 { 1478 "tcId" : 135, 1479 "comment" : "changing tag value of s", 1480 "flags" : [ 1481 "InvalidEncoding" 1482 ], 1483 "msg" : "313233343030", 1484 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236503206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1485 "result" : "invalid" 1486 }, 1487 { 1488 "tcId" : 136, 1489 "comment" : "changing tag value of s", 1490 "flags" : [ 1491 "ModifiedSignature" 1492 ], 1493 "msg" : "313233343030", 1494 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236504206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1495 "result" : "invalid" 1496 }, 1497 { 1498 "tcId" : 137, 1499 "comment" : "changing tag value of s", 1500 "flags" : [ 1501 "InvalidEncoding" 1502 ], 1503 "msg" : "313233343030", 1504 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365ff206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1505 "result" : "invalid" 1506 }, 1507 { 1508 "tcId" : 138, 1509 "comment" : "dropping value of s", 1510 "flags" : [ 1511 "InvalidEncoding" 1512 ], 1513 "msg" : "313233343030", 1514 "sig" : "3025022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650200", 1515 "result" : "invalid" 1516 }, 1517 { 1518 "tcId" : 139, 1519 "comment" : "using composition for s", 1520 "flags" : [ 1521 "InvalidEncoding" 1522 ], 1523 "msg" : "313233343030", 1524 "sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365222402016f021ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1525 "result" : "invalid" 1526 }, 1527 { 1528 "tcId" : 140, 1529 "comment" : "modifying first byte of s", 1530 "flags" : [ 1531 "ModifiedSignature" 1532 ], 1533 "msg" : "313233343030", 1534 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206df18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1535 "result" : "invalid" 1536 }, 1537 { 1538 "tcId" : 141, 1539 "comment" : "modifying last byte of s", 1540 "flags" : [ 1541 "ModifiedSignature" 1542 ], 1543 "msg" : "313233343030", 1544 "sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb313a", 1545 "result" : "invalid" 1546 }, 1547 { 1548 "tcId" : 142, 1549 "comment" : "truncated s", 1550 "flags" : [ 1551 "ModifiedSignature" 1552 ], 1553 "msg" : "313233343030", 1554 "sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365021f6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31", 1555 "result" : "invalid" 1556 }, 1557 { 1558 "tcId" : 143, 1559 "comment" : "truncated s", 1560 "flags" : [ 1561 "ModifiedSignature" 1562 ], 1563 "msg" : "313233343030", 1564 "sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365021ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1565 "result" : "invalid" 1566 }, 1567 { 1568 "tcId" : 144, 1569 "comment" : "s of size 4129 to check for overflows", 1570 "flags" : [ 1571 "ModifiedSignature" 1572 ], 1573 "msg" : "313233343030", 1574 "sig" : "30821048022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365028210216ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 1575 "result" : "invalid" 1576 }, 1577 { 1578 "tcId" : 145, 1579 "comment" : "leading ff in s", 1580 "flags" : [ 1581 "ModifiedSignature" 1582 ], 1583 "msg" : "313233343030", 1584 "sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221ff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1585 "result" : "invalid" 1586 }, 1587 { 1588 "tcId" : 146, 1589 "comment" : "replaced s by infinity", 1590 "flags" : [ 1591 "ModifiedSignature" 1592 ], 1593 "msg" : "313233343030", 1594 "sig" : "3026022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365090180", 1595 "result" : "invalid" 1596 }, 1597 { 1598 "tcId" : 147, 1599 "comment" : "replacing s with zero", 1600 "flags" : [ 1601 "ModifiedSignature" 1602 ], 1603 "msg" : "313233343030", 1604 "sig" : "3026022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365020100", 1605 "result" : "invalid" 1606 }, 1607 { 1608 "tcId" : 148, 1609 "comment" : "replaced r by r + n", 1610 "flags" : [ 1611 "RangeCheck" 1612 ], 1613 "msg" : "313233343030", 1614 "sig" : "3045022101813ef79ccefa9a56f7ba805f0e478583b90deabca4b05c4574e49b5899b964a602206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1615 "result" : "invalid" 1616 }, 1617 { 1618 "tcId" : 149, 1619 "comment" : "replaced r by r - n", 1620 "flags" : [ 1621 "RangeCheck" 1622 ], 1623 "msg" : "313233343030", 1624 "sig" : "30440220813ef79ccefa9a56f7ba805f0e47858643b030ef461f1bcdf53fde3ef94ce22402206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1625 "result" : "invalid" 1626 }, 1627 { 1628 "tcId" : 150, 1629 "comment" : "replaced r by r + 256 * n", 1630 "flags" : [ 1631 "RangeCheck" 1632 ], 1633 "msg" : "313233343030", 1634 "sig" : "304602220100813ef79ccefa9a56f7ba805f0e47843fad3bf4853e07f7c98770c99bffc4646502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1635 "result" : "invalid" 1636 }, 1637 { 1638 "tcId" : 151, 1639 "comment" : "replaced r by -r", 1640 "flags" : [ 1641 "ModifiedInteger" 1642 ], 1643 "msg" : "313233343030", 1644 "sig" : "30450221ff7ec10863310565a908457fa0f1b87a7b01a0f22a0a9843f64aedc334367cdc9b02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1645 "result" : "invalid" 1646 }, 1647 { 1648 "tcId" : 152, 1649 "comment" : "replaced r by n - r", 1650 "flags" : [ 1651 "ModifiedInteger" 1652 ], 1653 "msg" : "313233343030", 1654 "sig" : "304402207ec10863310565a908457fa0f1b87a79bc4fcf10b9e0e4320ac021c106b31ddc02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1655 "result" : "invalid" 1656 }, 1657 { 1658 "tcId" : 153, 1659 "comment" : "replaced r by -n - r", 1660 "flags" : [ 1661 "ModifiedInteger" 1662 ], 1663 "msg" : "313233343030", 1664 "sig" : "30450221fe7ec10863310565a908457fa0f1b87a7c46f215435b4fa3ba8b1b64a766469b5a02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1665 "result" : "invalid" 1666 }, 1667 { 1668 "tcId" : 154, 1669 "comment" : "replaced r by r + 2**256", 1670 "flags" : [ 1671 "IntegerOverflow" 1672 ], 1673 "msg" : "313233343030", 1674 "sig" : "3045022101813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1675 "result" : "invalid" 1676 }, 1677 { 1678 "tcId" : 155, 1679 "comment" : "replaced r by r + 2**320", 1680 "flags" : [ 1681 "IntegerOverflow" 1682 ], 1683 "msg" : "313233343030", 1684 "sig" : "304d0229010000000000000000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1685 "result" : "invalid" 1686 }, 1687 { 1688 "tcId" : 156, 1689 "comment" : "replaced s by s + n", 1690 "flags" : [ 1691 "RangeCheck" 1692 ], 1693 "msg" : "313233343030", 1694 "sig" : "30450221016ff18a52dcc0336f7af62400a6dd9b7fc1e197d8aebe203c96c87232272172fb02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1695 "result" : "invalid" 1696 }, 1697 { 1698 "tcId" : 157, 1699 "comment" : "replaced s by s - n", 1700 "flags" : [ 1701 "RangeCheck" 1702 ], 1703 "msg" : "313233343030", 1704 "sig" : "30450221ff6ff18a52dcc0336f7af62400a6dd9b824c83de0b502cdfc51723b51886b4f07902206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1705 "result" : "invalid" 1706 }, 1707 { 1708 "tcId" : 158, 1709 "comment" : "replaced s by s + 256 * n", 1710 "flags" : [ 1711 "RangeCheck" 1712 ], 1713 "msg" : "313233343030", 1714 "sig" : "3046022201006ff18a52dcc0336f7af62400a6dd9a3bb60fa1a14815bbc0a954a0758d2c72ba02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1715 "result" : "invalid" 1716 }, 1717 { 1718 "tcId" : 159, 1719 "comment" : "replaced s by -s", 1720 "flags" : [ 1721 "ModifiedInteger" 1722 ], 1723 "msg" : "313233343030", 1724 "sig" : "30440220900e75ad233fcc908509dbff5922647ef8cd450e008a7fff2909ec5aa914ce4602206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1725 "result" : "invalid" 1726 }, 1727 { 1728 "tcId" : 160, 1729 "comment" : "replaced s by -n - s", 1730 "flags" : [ 1731 "ModifiedInteger" 1732 ], 1733 "msg" : "313233343030", 1734 "sig" : "30450221fe900e75ad233fcc908509dbff592264803e1e68275141dfc369378dcdd8de8d0502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1735 "result" : "invalid" 1736 }, 1737 { 1738 "tcId" : 161, 1739 "comment" : "replaced s by s + 2**256", 1740 "flags" : [ 1741 "IntegerOverflow" 1742 ], 1743 "msg" : "313233343030", 1744 "sig" : "30450221016ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1745 "result" : "invalid" 1746 }, 1747 { 1748 "tcId" : 162, 1749 "comment" : "replaced s by s - 2**256", 1750 "flags" : [ 1751 "IntegerOverflow" 1752 ], 1753 "msg" : "313233343030", 1754 "sig" : "30450221ff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1755 "result" : "invalid" 1756 }, 1757 { 1758 "tcId" : 163, 1759 "comment" : "replaced s by s + 2**320", 1760 "flags" : [ 1761 "IntegerOverflow" 1762 ], 1763 "msg" : "313233343030", 1764 "sig" : "304d02290100000000000000006ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", 1765 "result" : "invalid" 1766 }, 1767 { 1768 "tcId" : 164, 1769 "comment" : "Signature with special case values r=0 and s=0", 1770 "flags" : [ 1771 "InvalidSignature" 1772 ], 1773 "msg" : "313233343030", 1774 "sig" : "3006020100020100", 1775 "result" : "invalid" 1776 }, 1777 { 1778 "tcId" : 165, 1779 "comment" : "Signature with special case values r=0 and s=1", 1780 "flags" : [ 1781 "InvalidSignature" 1782 ], 1783 "msg" : "313233343030", 1784 "sig" : "3006020100020101", 1785 "result" : "invalid" 1786 }, 1787 { 1788 "tcId" : 166, 1789 "comment" : "Signature with special case values r=0 and s=-1", 1790 "flags" : [ 1791 "InvalidSignature" 1792 ], 1793 "msg" : "313233343030", 1794 "sig" : "30060201000201ff", 1795 "result" : "invalid" 1796 }, 1797 { 1798 "tcId" : 167, 1799 "comment" : "Signature with special case values r=0 and s=n", 1800 "flags" : [ 1801 "InvalidSignature" 1802 ], 1803 "msg" : "313233343030", 1804 "sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", 1805 "result" : "invalid" 1806 }, 1807 { 1808 "tcId" : 168, 1809 "comment" : "Signature with special case values r=0 and s=n - 1", 1810 "flags" : [ 1811 "InvalidSignature" 1812 ], 1813 "msg" : "313233343030", 1814 "sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", 1815 "result" : "invalid" 1816 }, 1817 { 1818 "tcId" : 169, 1819 "comment" : "Signature with special case values r=0 and s=n + 1", 1820 "flags" : [ 1821 "InvalidSignature" 1822 ], 1823 "msg" : "313233343030", 1824 "sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", 1825 "result" : "invalid" 1826 }, 1827 { 1828 "tcId" : 170, 1829 "comment" : "Signature with special case values r=0 and s=p", 1830 "flags" : [ 1831 "InvalidSignature" 1832 ], 1833 "msg" : "313233343030", 1834 "sig" : "3026020100022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", 1835 "result" : "invalid" 1836 }, 1837 { 1838 "tcId" : 171, 1839 "comment" : "Signature with special case values r=0 and s=p + 1", 1840 "flags" : [ 1841 "InvalidSignature" 1842 ], 1843 "msg" : "313233343030", 1844 "sig" : "3026020100022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", 1845 "result" : "invalid" 1846 }, 1847 { 1848 "tcId" : 172, 1849 "comment" : "Signature with special case values r=1 and s=0", 1850 "flags" : [ 1851 "InvalidSignature" 1852 ], 1853 "msg" : "313233343030", 1854 "sig" : "3006020101020100", 1855 "result" : "invalid" 1856 }, 1857 { 1858 "tcId" : 173, 1859 "comment" : "Signature with special case values r=1 and s=1", 1860 "flags" : [ 1861 "InvalidSignature" 1862 ], 1863 "msg" : "313233343030", 1864 "sig" : "3006020101020101", 1865 "result" : "invalid" 1866 }, 1867 { 1868 "tcId" : 174, 1869 "comment" : "Signature with special case values r=1 and s=-1", 1870 "flags" : [ 1871 "InvalidSignature" 1872 ], 1873 "msg" : "313233343030", 1874 "sig" : "30060201010201ff", 1875 "result" : "invalid" 1876 }, 1877 { 1878 "tcId" : 175, 1879 "comment" : "Signature with special case values r=1 and s=n", 1880 "flags" : [ 1881 "InvalidSignature" 1882 ], 1883 "msg" : "313233343030", 1884 "sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", 1885 "result" : "invalid" 1886 }, 1887 { 1888 "tcId" : 176, 1889 "comment" : "Signature with special case values r=1 and s=n - 1", 1890 "flags" : [ 1891 "InvalidSignature" 1892 ], 1893 "msg" : "313233343030", 1894 "sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", 1895 "result" : "invalid" 1896 }, 1897 { 1898 "tcId" : 177, 1899 "comment" : "Signature with special case values r=1 and s=n + 1", 1900 "flags" : [ 1901 "InvalidSignature" 1902 ], 1903 "msg" : "313233343030", 1904 "sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", 1905 "result" : "invalid" 1906 }, 1907 { 1908 "tcId" : 178, 1909 "comment" : "Signature with special case values r=1 and s=p", 1910 "flags" : [ 1911 "InvalidSignature" 1912 ], 1913 "msg" : "313233343030", 1914 "sig" : "3026020101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", 1915 "result" : "invalid" 1916 }, 1917 { 1918 "tcId" : 179, 1919 "comment" : "Signature with special case values r=1 and s=p + 1", 1920 "flags" : [ 1921 "InvalidSignature" 1922 ], 1923 "msg" : "313233343030", 1924 "sig" : "3026020101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", 1925 "result" : "invalid" 1926 }, 1927 { 1928 "tcId" : 180, 1929 "comment" : "Signature with special case values r=-1 and s=0", 1930 "flags" : [ 1931 "InvalidSignature" 1932 ], 1933 "msg" : "313233343030", 1934 "sig" : "30060201ff020100", 1935 "result" : "invalid" 1936 }, 1937 { 1938 "tcId" : 181, 1939 "comment" : "Signature with special case values r=-1 and s=1", 1940 "flags" : [ 1941 "InvalidSignature" 1942 ], 1943 "msg" : "313233343030", 1944 "sig" : "30060201ff020101", 1945 "result" : "invalid" 1946 }, 1947 { 1948 "tcId" : 182, 1949 "comment" : "Signature with special case values r=-1 and s=-1", 1950 "flags" : [ 1951 "InvalidSignature" 1952 ], 1953 "msg" : "313233343030", 1954 "sig" : "30060201ff0201ff", 1955 "result" : "invalid" 1956 }, 1957 { 1958 "tcId" : 183, 1959 "comment" : "Signature with special case values r=-1 and s=n", 1960 "flags" : [ 1961 "InvalidSignature" 1962 ], 1963 "msg" : "313233343030", 1964 "sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", 1965 "result" : "invalid" 1966 }, 1967 { 1968 "tcId" : 184, 1969 "comment" : "Signature with special case values r=-1 and s=n - 1", 1970 "flags" : [ 1971 "InvalidSignature" 1972 ], 1973 "msg" : "313233343030", 1974 "sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", 1975 "result" : "invalid" 1976 }, 1977 { 1978 "tcId" : 185, 1979 "comment" : "Signature with special case values r=-1 and s=n + 1", 1980 "flags" : [ 1981 "InvalidSignature" 1982 ], 1983 "msg" : "313233343030", 1984 "sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", 1985 "result" : "invalid" 1986 }, 1987 { 1988 "tcId" : 186, 1989 "comment" : "Signature with special case values r=-1 and s=p", 1990 "flags" : [ 1991 "InvalidSignature" 1992 ], 1993 "msg" : "313233343030", 1994 "sig" : "30260201ff022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", 1995 "result" : "invalid" 1996 }, 1997 { 1998 "tcId" : 187, 1999 "comment" : "Signature with special case values r=-1 and s=p + 1", 2000 "flags" : [ 2001 "InvalidSignature" 2002 ], 2003 "msg" : "313233343030", 2004 "sig" : "30260201ff022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", 2005 "result" : "invalid" 2006 }, 2007 { 2008 "tcId" : 188, 2009 "comment" : "Signature with special case values r=n and s=0", 2010 "flags" : [ 2011 "InvalidSignature" 2012 ], 2013 "msg" : "313233343030", 2014 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020100", 2015 "result" : "invalid" 2016 }, 2017 { 2018 "tcId" : 189, 2019 "comment" : "Signature with special case values r=n and s=1", 2020 "flags" : [ 2021 "InvalidSignature" 2022 ], 2023 "msg" : "313233343030", 2024 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101", 2025 "result" : "invalid" 2026 }, 2027 { 2028 "tcId" : 190, 2029 "comment" : "Signature with special case values r=n and s=-1", 2030 "flags" : [ 2031 "InvalidSignature" 2032 ], 2033 "msg" : "313233343030", 2034 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410201ff", 2035 "result" : "invalid" 2036 }, 2037 { 2038 "tcId" : 191, 2039 "comment" : "Signature with special case values r=n and s=n", 2040 "flags" : [ 2041 "InvalidSignature" 2042 ], 2043 "msg" : "313233343030", 2044 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", 2045 "result" : "invalid" 2046 }, 2047 { 2048 "tcId" : 192, 2049 "comment" : "Signature with special case values r=n and s=n - 1", 2050 "flags" : [ 2051 "InvalidSignature" 2052 ], 2053 "msg" : "313233343030", 2054 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", 2055 "result" : "invalid" 2056 }, 2057 { 2058 "tcId" : 193, 2059 "comment" : "Signature with special case values r=n and s=n + 1", 2060 "flags" : [ 2061 "InvalidSignature" 2062 ], 2063 "msg" : "313233343030", 2064 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", 2065 "result" : "invalid" 2066 }, 2067 { 2068 "tcId" : 194, 2069 "comment" : "Signature with special case values r=n and s=p", 2070 "flags" : [ 2071 "InvalidSignature" 2072 ], 2073 "msg" : "313233343030", 2074 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", 2075 "result" : "invalid" 2076 }, 2077 { 2078 "tcId" : 195, 2079 "comment" : "Signature with special case values r=n and s=p + 1", 2080 "flags" : [ 2081 "InvalidSignature" 2082 ], 2083 "msg" : "313233343030", 2084 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", 2085 "result" : "invalid" 2086 }, 2087 { 2088 "tcId" : 196, 2089 "comment" : "Signature with special case values r=n - 1 and s=0", 2090 "flags" : [ 2091 "InvalidSignature" 2092 ], 2093 "msg" : "313233343030", 2094 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140020100", 2095 "result" : "invalid" 2096 }, 2097 { 2098 "tcId" : 197, 2099 "comment" : "Signature with special case values r=n - 1 and s=1", 2100 "flags" : [ 2101 "InvalidSignature" 2102 ], 2103 "msg" : "313233343030", 2104 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140020101", 2105 "result" : "invalid" 2106 }, 2107 { 2108 "tcId" : 198, 2109 "comment" : "Signature with special case values r=n - 1 and s=-1", 2110 "flags" : [ 2111 "InvalidSignature" 2112 ], 2113 "msg" : "313233343030", 2114 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641400201ff", 2115 "result" : "invalid" 2116 }, 2117 { 2118 "tcId" : 199, 2119 "comment" : "Signature with special case values r=n - 1 and s=n", 2120 "flags" : [ 2121 "InvalidSignature" 2122 ], 2123 "msg" : "313233343030", 2124 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", 2125 "result" : "invalid" 2126 }, 2127 { 2128 "tcId" : 200, 2129 "comment" : "Signature with special case values r=n - 1 and s=n - 1", 2130 "flags" : [ 2131 "InvalidSignature" 2132 ], 2133 "msg" : "313233343030", 2134 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", 2135 "result" : "invalid" 2136 }, 2137 { 2138 "tcId" : 201, 2139 "comment" : "Signature with special case values r=n - 1 and s=n + 1", 2140 "flags" : [ 2141 "InvalidSignature" 2142 ], 2143 "msg" : "313233343030", 2144 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", 2145 "result" : "invalid" 2146 }, 2147 { 2148 "tcId" : 202, 2149 "comment" : "Signature with special case values r=n - 1 and s=p", 2150 "flags" : [ 2151 "InvalidSignature" 2152 ], 2153 "msg" : "313233343030", 2154 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", 2155 "result" : "invalid" 2156 }, 2157 { 2158 "tcId" : 203, 2159 "comment" : "Signature with special case values r=n - 1 and s=p + 1", 2160 "flags" : [ 2161 "InvalidSignature" 2162 ], 2163 "msg" : "313233343030", 2164 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", 2165 "result" : "invalid" 2166 }, 2167 { 2168 "tcId" : 204, 2169 "comment" : "Signature with special case values r=n + 1 and s=0", 2170 "flags" : [ 2171 "InvalidSignature" 2172 ], 2173 "msg" : "313233343030", 2174 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020100", 2175 "result" : "invalid" 2176 }, 2177 { 2178 "tcId" : 205, 2179 "comment" : "Signature with special case values r=n + 1 and s=1", 2180 "flags" : [ 2181 "InvalidSignature" 2182 ], 2183 "msg" : "313233343030", 2184 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020101", 2185 "result" : "invalid" 2186 }, 2187 { 2188 "tcId" : 206, 2189 "comment" : "Signature with special case values r=n + 1 and s=-1", 2190 "flags" : [ 2191 "InvalidSignature" 2192 ], 2193 "msg" : "313233343030", 2194 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641420201ff", 2195 "result" : "invalid" 2196 }, 2197 { 2198 "tcId" : 207, 2199 "comment" : "Signature with special case values r=n + 1 and s=n", 2200 "flags" : [ 2201 "InvalidSignature" 2202 ], 2203 "msg" : "313233343030", 2204 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", 2205 "result" : "invalid" 2206 }, 2207 { 2208 "tcId" : 208, 2209 "comment" : "Signature with special case values r=n + 1 and s=n - 1", 2210 "flags" : [ 2211 "InvalidSignature" 2212 ], 2213 "msg" : "313233343030", 2214 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", 2215 "result" : "invalid" 2216 }, 2217 { 2218 "tcId" : 209, 2219 "comment" : "Signature with special case values r=n + 1 and s=n + 1", 2220 "flags" : [ 2221 "InvalidSignature" 2222 ], 2223 "msg" : "313233343030", 2224 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", 2225 "result" : "invalid" 2226 }, 2227 { 2228 "tcId" : 210, 2229 "comment" : "Signature with special case values r=n + 1 and s=p", 2230 "flags" : [ 2231 "InvalidSignature" 2232 ], 2233 "msg" : "313233343030", 2234 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", 2235 "result" : "invalid" 2236 }, 2237 { 2238 "tcId" : 211, 2239 "comment" : "Signature with special case values r=n + 1 and s=p + 1", 2240 "flags" : [ 2241 "InvalidSignature" 2242 ], 2243 "msg" : "313233343030", 2244 "sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", 2245 "result" : "invalid" 2246 }, 2247 { 2248 "tcId" : 212, 2249 "comment" : "Signature with special case values r=p and s=0", 2250 "flags" : [ 2251 "InvalidSignature" 2252 ], 2253 "msg" : "313233343030", 2254 "sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f020100", 2255 "result" : "invalid" 2256 }, 2257 { 2258 "tcId" : 213, 2259 "comment" : "Signature with special case values r=p and s=1", 2260 "flags" : [ 2261 "InvalidSignature" 2262 ], 2263 "msg" : "313233343030", 2264 "sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f020101", 2265 "result" : "invalid" 2266 }, 2267 { 2268 "tcId" : 214, 2269 "comment" : "Signature with special case values r=p and s=-1", 2270 "flags" : [ 2271 "InvalidSignature" 2272 ], 2273 "msg" : "313233343030", 2274 "sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0201ff", 2275 "result" : "invalid" 2276 }, 2277 { 2278 "tcId" : 215, 2279 "comment" : "Signature with special case values r=p and s=n", 2280 "flags" : [ 2281 "InvalidSignature" 2282 ], 2283 "msg" : "313233343030", 2284 "sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", 2285 "result" : "invalid" 2286 }, 2287 { 2288 "tcId" : 216, 2289 "comment" : "Signature with special case values r=p and s=n - 1", 2290 "flags" : [ 2291 "InvalidSignature" 2292 ], 2293 "msg" : "313233343030", 2294 "sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", 2295 "result" : "invalid" 2296 }, 2297 { 2298 "tcId" : 217, 2299 "comment" : "Signature with special case values r=p and s=n + 1", 2300 "flags" : [ 2301 "InvalidSignature" 2302 ], 2303 "msg" : "313233343030", 2304 "sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", 2305 "result" : "invalid" 2306 }, 2307 { 2308 "tcId" : 218, 2309 "comment" : "Signature with special case values r=p and s=p", 2310 "flags" : [ 2311 "InvalidSignature" 2312 ], 2313 "msg" : "313233343030", 2314 "sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", 2315 "result" : "invalid" 2316 }, 2317 { 2318 "tcId" : 219, 2319 "comment" : "Signature with special case values r=p and s=p + 1", 2320 "flags" : [ 2321 "InvalidSignature" 2322 ], 2323 "msg" : "313233343030", 2324 "sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", 2325 "result" : "invalid" 2326 }, 2327 { 2328 "tcId" : 220, 2329 "comment" : "Signature with special case values r=p + 1 and s=0", 2330 "flags" : [ 2331 "InvalidSignature" 2332 ], 2333 "msg" : "313233343030", 2334 "sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30020100", 2335 "result" : "invalid" 2336 }, 2337 { 2338 "tcId" : 221, 2339 "comment" : "Signature with special case values r=p + 1 and s=1", 2340 "flags" : [ 2341 "InvalidSignature" 2342 ], 2343 "msg" : "313233343030", 2344 "sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30020101", 2345 "result" : "invalid" 2346 }, 2347 { 2348 "tcId" : 222, 2349 "comment" : "Signature with special case values r=p + 1 and s=-1", 2350 "flags" : [ 2351 "InvalidSignature" 2352 ], 2353 "msg" : "313233343030", 2354 "sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc300201ff", 2355 "result" : "invalid" 2356 }, 2357 { 2358 "tcId" : 223, 2359 "comment" : "Signature with special case values r=p + 1 and s=n", 2360 "flags" : [ 2361 "InvalidSignature" 2362 ], 2363 "msg" : "313233343030", 2364 "sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", 2365 "result" : "invalid" 2366 }, 2367 { 2368 "tcId" : 224, 2369 "comment" : "Signature with special case values r=p + 1 and s=n - 1", 2370 "flags" : [ 2371 "InvalidSignature" 2372 ], 2373 "msg" : "313233343030", 2374 "sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", 2375 "result" : "invalid" 2376 }, 2377 { 2378 "tcId" : 225, 2379 "comment" : "Signature with special case values r=p + 1 and s=n + 1", 2380 "flags" : [ 2381 "InvalidSignature" 2382 ], 2383 "msg" : "313233343030", 2384 "sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", 2385 "result" : "invalid" 2386 }, 2387 { 2388 "tcId" : 226, 2389 "comment" : "Signature with special case values r=p + 1 and s=p", 2390 "flags" : [ 2391 "InvalidSignature" 2392 ], 2393 "msg" : "313233343030", 2394 "sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", 2395 "result" : "invalid" 2396 }, 2397 { 2398 "tcId" : 227, 2399 "comment" : "Signature with special case values r=p + 1 and s=p + 1", 2400 "flags" : [ 2401 "InvalidSignature" 2402 ], 2403 "msg" : "313233343030", 2404 "sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", 2405 "result" : "invalid" 2406 }, 2407 { 2408 "tcId" : 228, 2409 "comment" : "Signature encoding contains incorrect types: r=0, s=0.25", 2410 "flags" : [ 2411 "InvalidTypesInSignature" 2412 ], 2413 "msg" : "313233343030", 2414 "sig" : "3008020100090380fe01", 2415 "result" : "invalid" 2416 }, 2417 { 2418 "tcId" : 229, 2419 "comment" : "Signature encoding contains incorrect types: r=0, s=nan", 2420 "flags" : [ 2421 "InvalidTypesInSignature" 2422 ], 2423 "msg" : "313233343030", 2424 "sig" : "3006020100090142", 2425 "result" : "invalid" 2426 }, 2427 { 2428 "tcId" : 230, 2429 "comment" : "Signature encoding contains incorrect types: r=0, s=True", 2430 "flags" : [ 2431 "InvalidTypesInSignature" 2432 ], 2433 "msg" : "313233343030", 2434 "sig" : "3006020100010101", 2435 "result" : "invalid" 2436 }, 2437 { 2438 "tcId" : 231, 2439 "comment" : "Signature encoding contains incorrect types: r=0, s=False", 2440 "flags" : [ 2441 "InvalidTypesInSignature" 2442 ], 2443 "msg" : "313233343030", 2444 "sig" : "3006020100010100", 2445 "result" : "invalid" 2446 }, 2447 { 2448 "tcId" : 232, 2449 "comment" : "Signature encoding contains incorrect types: r=0, s=Null", 2450 "flags" : [ 2451 "InvalidTypesInSignature" 2452 ], 2453 "msg" : "313233343030", 2454 "sig" : "30050201000500", 2455 "result" : "invalid" 2456 }, 2457 { 2458 "tcId" : 233, 2459 "comment" : "Signature encoding contains incorrect types: r=0, s=empyt UTF-8 string", 2460 "flags" : [ 2461 "InvalidTypesInSignature" 2462 ], 2463 "msg" : "313233343030", 2464 "sig" : "30050201000c00", 2465 "result" : "invalid" 2466 }, 2467 { 2468 "tcId" : 234, 2469 "comment" : "Signature encoding contains incorrect types: r=0, s=\"0\"", 2470 "flags" : [ 2471 "InvalidTypesInSignature" 2472 ], 2473 "msg" : "313233343030", 2474 "sig" : "30060201000c0130", 2475 "result" : "invalid" 2476 }, 2477 { 2478 "tcId" : 235, 2479 "comment" : "Signature encoding contains incorrect types: r=0, s=empty list", 2480 "flags" : [ 2481 "InvalidTypesInSignature" 2482 ], 2483 "msg" : "313233343030", 2484 "sig" : "30050201003000", 2485 "result" : "invalid" 2486 }, 2487 { 2488 "tcId" : 236, 2489 "comment" : "Signature encoding contains incorrect types: r=0, s=list containing 0", 2490 "flags" : [ 2491 "InvalidTypesInSignature" 2492 ], 2493 "msg" : "313233343030", 2494 "sig" : "30080201003003020100", 2495 "result" : "invalid" 2496 }, 2497 { 2498 "tcId" : 237, 2499 "comment" : "Signature encoding contains incorrect types: r=1, s=0.25", 2500 "flags" : [ 2501 "InvalidTypesInSignature" 2502 ], 2503 "msg" : "313233343030", 2504 "sig" : "3008020101090380fe01", 2505 "result" : "invalid" 2506 }, 2507 { 2508 "tcId" : 238, 2509 "comment" : "Signature encoding contains incorrect types: r=1, s=nan", 2510 "flags" : [ 2511 "InvalidTypesInSignature" 2512 ], 2513 "msg" : "313233343030", 2514 "sig" : "3006020101090142", 2515 "result" : "invalid" 2516 }, 2517 { 2518 "tcId" : 239, 2519 "comment" : "Signature encoding contains incorrect types: r=1, s=True", 2520 "flags" : [ 2521 "InvalidTypesInSignature" 2522 ], 2523 "msg" : "313233343030", 2524 "sig" : "3006020101010101", 2525 "result" : "invalid" 2526 }, 2527 { 2528 "tcId" : 240, 2529 "comment" : "Signature encoding contains incorrect types: r=1, s=False", 2530 "flags" : [ 2531 "InvalidTypesInSignature" 2532 ], 2533 "msg" : "313233343030", 2534 "sig" : "3006020101010100", 2535 "result" : "invalid" 2536 }, 2537 { 2538 "tcId" : 241, 2539 "comment" : "Signature encoding contains incorrect types: r=1, s=Null", 2540 "flags" : [ 2541 "InvalidTypesInSignature" 2542 ], 2543 "msg" : "313233343030", 2544 "sig" : "30050201010500", 2545 "result" : "invalid" 2546 }, 2547 { 2548 "tcId" : 242, 2549 "comment" : "Signature encoding contains incorrect types: r=1, s=empyt UTF-8 string", 2550 "flags" : [ 2551 "InvalidTypesInSignature" 2552 ], 2553 "msg" : "313233343030", 2554 "sig" : "30050201010c00", 2555 "result" : "invalid" 2556 }, 2557 { 2558 "tcId" : 243, 2559 "comment" : "Signature encoding contains incorrect types: r=1, s=\"0\"", 2560 "flags" : [ 2561 "InvalidTypesInSignature" 2562 ], 2563 "msg" : "313233343030", 2564 "sig" : "30060201010c0130", 2565 "result" : "invalid" 2566 }, 2567 { 2568 "tcId" : 244, 2569 "comment" : "Signature encoding contains incorrect types: r=1, s=empty list", 2570 "flags" : [ 2571 "InvalidTypesInSignature" 2572 ], 2573 "msg" : "313233343030", 2574 "sig" : "30050201013000", 2575 "result" : "invalid" 2576 }, 2577 { 2578 "tcId" : 245, 2579 "comment" : "Signature encoding contains incorrect types: r=1, s=list containing 0", 2580 "flags" : [ 2581 "InvalidTypesInSignature" 2582 ], 2583 "msg" : "313233343030", 2584 "sig" : "30080201013003020100", 2585 "result" : "invalid" 2586 }, 2587 { 2588 "tcId" : 246, 2589 "comment" : "Signature encoding contains incorrect types: r=-1, s=0.25", 2590 "flags" : [ 2591 "InvalidTypesInSignature" 2592 ], 2593 "msg" : "313233343030", 2594 "sig" : "30080201ff090380fe01", 2595 "result" : "invalid" 2596 }, 2597 { 2598 "tcId" : 247, 2599 "comment" : "Signature encoding contains incorrect types: r=-1, s=nan", 2600 "flags" : [ 2601 "InvalidTypesInSignature" 2602 ], 2603 "msg" : "313233343030", 2604 "sig" : "30060201ff090142", 2605 "result" : "invalid" 2606 }, 2607 { 2608 "tcId" : 248, 2609 "comment" : "Signature encoding contains incorrect types: r=-1, s=True", 2610 "flags" : [ 2611 "InvalidTypesInSignature" 2612 ], 2613 "msg" : "313233343030", 2614 "sig" : "30060201ff010101", 2615 "result" : "invalid" 2616 }, 2617 { 2618 "tcId" : 249, 2619 "comment" : "Signature encoding contains incorrect types: r=-1, s=False", 2620 "flags" : [ 2621 "InvalidTypesInSignature" 2622 ], 2623 "msg" : "313233343030", 2624 "sig" : "30060201ff010100", 2625 "result" : "invalid" 2626 }, 2627 { 2628 "tcId" : 250, 2629 "comment" : "Signature encoding contains incorrect types: r=-1, s=Null", 2630 "flags" : [ 2631 "InvalidTypesInSignature" 2632 ], 2633 "msg" : "313233343030", 2634 "sig" : "30050201ff0500", 2635 "result" : "invalid" 2636 }, 2637 { 2638 "tcId" : 251, 2639 "comment" : "Signature encoding contains incorrect types: r=-1, s=empyt UTF-8 string", 2640 "flags" : [ 2641 "InvalidTypesInSignature" 2642 ], 2643 "msg" : "313233343030", 2644 "sig" : "30050201ff0c00", 2645 "result" : "invalid" 2646 }, 2647 { 2648 "tcId" : 252, 2649 "comment" : "Signature encoding contains incorrect types: r=-1, s=\"0\"", 2650 "flags" : [ 2651 "InvalidTypesInSignature" 2652 ], 2653 "msg" : "313233343030", 2654 "sig" : "30060201ff0c0130", 2655 "result" : "invalid" 2656 }, 2657 { 2658 "tcId" : 253, 2659 "comment" : "Signature encoding contains incorrect types: r=-1, s=empty list", 2660 "flags" : [ 2661 "InvalidTypesInSignature" 2662 ], 2663 "msg" : "313233343030", 2664 "sig" : "30050201ff3000", 2665 "result" : "invalid" 2666 }, 2667 { 2668 "tcId" : 254, 2669 "comment" : "Signature encoding contains incorrect types: r=-1, s=list containing 0", 2670 "flags" : [ 2671 "InvalidTypesInSignature" 2672 ], 2673 "msg" : "313233343030", 2674 "sig" : "30080201ff3003020100", 2675 "result" : "invalid" 2676 }, 2677 { 2678 "tcId" : 255, 2679 "comment" : "Signature encoding contains incorrect types: r=n, s=0.25", 2680 "flags" : [ 2681 "InvalidTypesInSignature" 2682 ], 2683 "msg" : "313233343030", 2684 "sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141090380fe01", 2685 "result" : "invalid" 2686 }, 2687 { 2688 "tcId" : 256, 2689 "comment" : "Signature encoding contains incorrect types: r=n, s=nan", 2690 "flags" : [ 2691 "InvalidTypesInSignature" 2692 ], 2693 "msg" : "313233343030", 2694 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141090142", 2695 "result" : "invalid" 2696 }, 2697 { 2698 "tcId" : 257, 2699 "comment" : "Signature encoding contains incorrect types: r=n, s=True", 2700 "flags" : [ 2701 "InvalidTypesInSignature" 2702 ], 2703 "msg" : "313233343030", 2704 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141010101", 2705 "result" : "invalid" 2706 }, 2707 { 2708 "tcId" : 258, 2709 "comment" : "Signature encoding contains incorrect types: r=n, s=False", 2710 "flags" : [ 2711 "InvalidTypesInSignature" 2712 ], 2713 "msg" : "313233343030", 2714 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141010100", 2715 "result" : "invalid" 2716 }, 2717 { 2718 "tcId" : 259, 2719 "comment" : "Signature encoding contains incorrect types: r=n, s=Null", 2720 "flags" : [ 2721 "InvalidTypesInSignature" 2722 ], 2723 "msg" : "313233343030", 2724 "sig" : "3025022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410500", 2725 "result" : "invalid" 2726 }, 2727 { 2728 "tcId" : 260, 2729 "comment" : "Signature encoding contains incorrect types: r=n, s=empyt UTF-8 string", 2730 "flags" : [ 2731 "InvalidTypesInSignature" 2732 ], 2733 "msg" : "313233343030", 2734 "sig" : "3025022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410c00", 2735 "result" : "invalid" 2736 }, 2737 { 2738 "tcId" : 261, 2739 "comment" : "Signature encoding contains incorrect types: r=n, s=\"0\"", 2740 "flags" : [ 2741 "InvalidTypesInSignature" 2742 ], 2743 "msg" : "313233343030", 2744 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410c0130", 2745 "result" : "invalid" 2746 }, 2747 { 2748 "tcId" : 262, 2749 "comment" : "Signature encoding contains incorrect types: r=n, s=empty list", 2750 "flags" : [ 2751 "InvalidTypesInSignature" 2752 ], 2753 "msg" : "313233343030", 2754 "sig" : "3025022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641413000", 2755 "result" : "invalid" 2756 }, 2757 { 2758 "tcId" : 263, 2759 "comment" : "Signature encoding contains incorrect types: r=n, s=list containing 0", 2760 "flags" : [ 2761 "InvalidTypesInSignature" 2762 ], 2763 "msg" : "313233343030", 2764 "sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641413003020100", 2765 "result" : "invalid" 2766 }, 2767 { 2768 "tcId" : 264, 2769 "comment" : "Signature encoding contains incorrect types: r=p, s=0.25", 2770 "flags" : [ 2771 "InvalidTypesInSignature" 2772 ], 2773 "msg" : "313233343030", 2774 "sig" : "3028022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f090380fe01", 2775 "result" : "invalid" 2776 }, 2777 { 2778 "tcId" : 265, 2779 "comment" : "Signature encoding contains incorrect types: r=p, s=nan", 2780 "flags" : [ 2781 "InvalidTypesInSignature" 2782 ], 2783 "msg" : "313233343030", 2784 "sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f090142", 2785 "result" : "invalid" 2786 }, 2787 { 2788 "tcId" : 266, 2789 "comment" : "Signature encoding contains incorrect types: r=p, s=True", 2790 "flags" : [ 2791 "InvalidTypesInSignature" 2792 ], 2793 "msg" : "313233343030", 2794 "sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f010101", 2795 "result" : "invalid" 2796 }, 2797 { 2798 "tcId" : 267, 2799 "comment" : "Signature encoding contains incorrect types: r=p, s=False", 2800 "flags" : [ 2801 "InvalidTypesInSignature" 2802 ], 2803 "msg" : "313233343030", 2804 "sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f010100", 2805 "result" : "invalid" 2806 }, 2807 { 2808 "tcId" : 268, 2809 "comment" : "Signature encoding contains incorrect types: r=p, s=Null", 2810 "flags" : [ 2811 "InvalidTypesInSignature" 2812 ], 2813 "msg" : "313233343030", 2814 "sig" : "3025022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0500", 2815 "result" : "invalid" 2816 }, 2817 { 2818 "tcId" : 269, 2819 "comment" : "Signature encoding contains incorrect types: r=p, s=empyt UTF-8 string", 2820 "flags" : [ 2821 "InvalidTypesInSignature" 2822 ], 2823 "msg" : "313233343030", 2824 "sig" : "3025022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0c00", 2825 "result" : "invalid" 2826 }, 2827 { 2828 "tcId" : 270, 2829 "comment" : "Signature encoding contains incorrect types: r=p, s=\"0\"", 2830 "flags" : [ 2831 "InvalidTypesInSignature" 2832 ], 2833 "msg" : "313233343030", 2834 "sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0c0130", 2835 "result" : "invalid" 2836 }, 2837 { 2838 "tcId" : 271, 2839 "comment" : "Signature encoding contains incorrect types: r=p, s=empty list", 2840 "flags" : [ 2841 "InvalidTypesInSignature" 2842 ], 2843 "msg" : "313233343030", 2844 "sig" : "3025022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f3000", 2845 "result" : "invalid" 2846 }, 2847 { 2848 "tcId" : 272, 2849 "comment" : "Signature encoding contains incorrect types: r=p, s=list containing 0", 2850 "flags" : [ 2851 "InvalidTypesInSignature" 2852 ], 2853 "msg" : "313233343030", 2854 "sig" : "3028022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f3003020100", 2855 "result" : "invalid" 2856 }, 2857 { 2858 "tcId" : 273, 2859 "comment" : "Signature encoding contains incorrect types: r=0.25, s=0.25", 2860 "flags" : [ 2861 "InvalidTypesInSignature" 2862 ], 2863 "msg" : "313233343030", 2864 "sig" : "300a090380fe01090380fe01", 2865 "result" : "invalid" 2866 }, 2867 { 2868 "tcId" : 274, 2869 "comment" : "Signature encoding contains incorrect types: r=nan, s=nan", 2870 "flags" : [ 2871 "InvalidTypesInSignature" 2872 ], 2873 "msg" : "313233343030", 2874 "sig" : "3006090142090142", 2875 "result" : "invalid" 2876 }, 2877 { 2878 "tcId" : 275, 2879 "comment" : "Signature encoding contains incorrect types: r=True, s=True", 2880 "flags" : [ 2881 "InvalidTypesInSignature" 2882 ], 2883 "msg" : "313233343030", 2884 "sig" : "3006010101010101", 2885 "result" : "invalid" 2886 }, 2887 { 2888 "tcId" : 276, 2889 "comment" : "Signature encoding contains incorrect types: r=False, s=False", 2890 "flags" : [ 2891 "InvalidTypesInSignature" 2892 ], 2893 "msg" : "313233343030", 2894 "sig" : "3006010100010100", 2895 "result" : "invalid" 2896 }, 2897 { 2898 "tcId" : 277, 2899 "comment" : "Signature encoding contains incorrect types: r=Null, s=Null", 2900 "flags" : [ 2901 "InvalidTypesInSignature" 2902 ], 2903 "msg" : "313233343030", 2904 "sig" : "300405000500", 2905 "result" : "invalid" 2906 }, 2907 { 2908 "tcId" : 278, 2909 "comment" : "Signature encoding contains incorrect types: r=empyt UTF-8 string, s=empyt UTF-8 string", 2910 "flags" : [ 2911 "InvalidTypesInSignature" 2912 ], 2913 "msg" : "313233343030", 2914 "sig" : "30040c000c00", 2915 "result" : "invalid" 2916 }, 2917 { 2918 "tcId" : 279, 2919 "comment" : "Signature encoding contains incorrect types: r=\"0\", s=\"0\"", 2920 "flags" : [ 2921 "InvalidTypesInSignature" 2922 ], 2923 "msg" : "313233343030", 2924 "sig" : "30060c01300c0130", 2925 "result" : "invalid" 2926 }, 2927 { 2928 "tcId" : 280, 2929 "comment" : "Signature encoding contains incorrect types: r=empty list, s=empty list", 2930 "flags" : [ 2931 "InvalidTypesInSignature" 2932 ], 2933 "msg" : "313233343030", 2934 "sig" : "300430003000", 2935 "result" : "invalid" 2936 }, 2937 { 2938 "tcId" : 281, 2939 "comment" : "Signature encoding contains incorrect types: r=list containing 0, s=list containing 0", 2940 "flags" : [ 2941 "InvalidTypesInSignature" 2942 ], 2943 "msg" : "313233343030", 2944 "sig" : "300a30030201003003020100", 2945 "result" : "invalid" 2946 }, 2947 { 2948 "tcId" : 282, 2949 "comment" : "Signature encoding contains incorrect types: r=0.25, s=0", 2950 "flags" : [ 2951 "InvalidTypesInSignature" 2952 ], 2953 "msg" : "313233343030", 2954 "sig" : "3008090380fe01020100", 2955 "result" : "invalid" 2956 }, 2957 { 2958 "tcId" : 283, 2959 "comment" : "Signature encoding contains incorrect types: r=nan, s=0", 2960 "flags" : [ 2961 "InvalidTypesInSignature" 2962 ], 2963 "msg" : "313233343030", 2964 "sig" : "3006090142020100", 2965 "result" : "invalid" 2966 }, 2967 { 2968 "tcId" : 284, 2969 "comment" : "Signature encoding contains incorrect types: r=True, s=0", 2970 "flags" : [ 2971 "InvalidTypesInSignature" 2972 ], 2973 "msg" : "313233343030", 2974 "sig" : "3006010101020100", 2975 "result" : "invalid" 2976 }, 2977 { 2978 "tcId" : 285, 2979 "comment" : "Signature encoding contains incorrect types: r=False, s=0", 2980 "flags" : [ 2981 "InvalidTypesInSignature" 2982 ], 2983 "msg" : "313233343030", 2984 "sig" : "3006010100020100", 2985 "result" : "invalid" 2986 }, 2987 { 2988 "tcId" : 286, 2989 "comment" : "Signature encoding contains incorrect types: r=Null, s=0", 2990 "flags" : [ 2991 "InvalidTypesInSignature" 2992 ], 2993 "msg" : "313233343030", 2994 "sig" : "30050500020100", 2995 "result" : "invalid" 2996 }, 2997 { 2998 "tcId" : 287, 2999 "comment" : "Signature encoding contains incorrect types: r=empyt UTF-8 string, s=0", 3000 "flags" : [ 3001 "InvalidTypesInSignature" 3002 ], 3003 "msg" : "313233343030", 3004 "sig" : "30050c00020100", 3005 "result" : "invalid" 3006 }, 3007 { 3008 "tcId" : 288, 3009 "comment" : "Signature encoding contains incorrect types: r=\"0\", s=0", 3010 "flags" : [ 3011 "InvalidTypesInSignature" 3012 ], 3013 "msg" : "313233343030", 3014 "sig" : "30060c0130020100", 3015 "result" : "invalid" 3016 }, 3017 { 3018 "tcId" : 289, 3019 "comment" : "Signature encoding contains incorrect types: r=empty list, s=0", 3020 "flags" : [ 3021 "InvalidTypesInSignature" 3022 ], 3023 "msg" : "313233343030", 3024 "sig" : "30053000020100", 3025 "result" : "invalid" 3026 }, 3027 { 3028 "tcId" : 290, 3029 "comment" : "Signature encoding contains incorrect types: r=list containing 0, s=0", 3030 "flags" : [ 3031 "InvalidTypesInSignature" 3032 ], 3033 "msg" : "313233343030", 3034 "sig" : "30083003020100020100", 3035 "result" : "invalid" 3036 }, 3037 { 3038 "tcId" : 291, 3039 "comment" : "Edge case for Shamir multiplication", 3040 "flags" : [ 3041 "EdgeCaseShamirMultiplication" 3042 ], 3043 "msg" : "3235353835", 3044 "sig" : "3045022100dd1b7d09a7bd8218961034a39a87fecf5314f00c4d25eb58a07ac85e85eab516022035138c401ef8d3493d65c9002fe62b43aee568731b744548358996d9cc427e06", 3045 "result" : "valid" 3046 }, 3047 { 3048 "tcId" : 292, 3049 "comment" : "special case hash", 3050 "flags" : [ 3051 "SpecialCaseHash" 3052 ], 3053 "msg" : "343236343739373234", 3054 "sig" : "304502210095c29267d972a043d955224546222bba343fc1d4db0fec262a33ac61305696ae02206edfe96713aed56f8a28a6653f57e0b829712e5eddc67f34682b24f0676b2640", 3055 "result" : "valid" 3056 }, 3057 { 3058 "tcId" : 293, 3059 "comment" : "special case hash", 3060 "flags" : [ 3061 "SpecialCaseHash" 3062 ], 3063 "msg" : "37313338363834383931", 3064 "sig" : "3044022028f94a894e92024699e345fe66971e3edcd050023386135ab3939d550898fb25022032963e5bd41fa5911ed8f37deb86dae0a762bb6121c894615083c5d95ea01db3", 3065 "result" : "valid" 3066 }, 3067 { 3068 "tcId" : 294, 3069 "comment" : "special case hash", 3070 "flags" : [ 3071 "SpecialCaseHash" 3072 ], 3073 "msg" : "3130333539333331363638", 3074 "sig" : "3045022100be26b18f9549f89f411a9b52536b15aa270b84548d0e859a1952a27af1a77ac6022070c1d4fa9cd03cc8eaa8d506edb97eed7b8358b453c88aefbb880a3f0e8d472f", 3075 "result" : "valid" 3076 }, 3077 { 3078 "tcId" : 295, 3079 "comment" : "special case hash", 3080 "flags" : [ 3081 "SpecialCaseHash" 3082 ], 3083 "msg" : "33393439343031323135", 3084 "sig" : "3045022100b1a4b1478e65cc3eafdf225d1298b43f2da19e4bcff7eacc0a2e98cd4b74b1140220179aa31e304cc142cf5073171751b28f3f5e0fa88c994e7c55f1bc07b8d56c16", 3085 "result" : "valid" 3086 }, 3087 { 3088 "tcId" : 296, 3089 "comment" : "special case hash", 3090 "flags" : [ 3091 "SpecialCaseHash" 3092 ], 3093 "msg" : "31333434323933303739", 3094 "sig" : "30440220325332021261f1bd18f2712aa1e2252da23796da8a4b1ff6ea18cafec7e171f2022040b4f5e287ee61fc3c804186982360891eaa35c75f05a43ecd48b35d984a6648", 3095 "result" : "valid" 3096 }, 3097 { 3098 "tcId" : 297, 3099 "comment" : "special case hash", 3100 "flags" : [ 3101 "SpecialCaseHash" 3102 ], 3103 "msg" : "33373036323131373132", 3104 "sig" : "3045022100a23ad18d8fc66d81af0903890cbd453a554cb04cdc1a8ca7f7f78e5367ed88a0022023e3eb2ce1c04ea748c389bd97374aa9413b9268851c04dcd9f88e78813fee56", 3105 "result" : "valid" 3106 }, 3107 { 3108 "tcId" : 298, 3109 "comment" : "special case hash", 3110 "flags" : [ 3111 "SpecialCaseHash" 3112 ], 3113 "msg" : "333433363838373132", 3114 "sig" : "304402202bdea41cda63a2d14bf47353bd20880a690901de7cd6e3cc6d8ed5ba0cdb109102203cea66bccfc9f9bf8c7ca4e1c1457cc9145e13e936d90b3d9c7786b8b26cf4c7", 3115 "result" : "valid" 3116 }, 3117 { 3118 "tcId" : 299, 3119 "comment" : "special case hash", 3120 "flags" : [ 3121 "SpecialCaseHash" 3122 ], 3123 "msg" : "31333531353330333730", 3124 "sig" : "3045022100d7cd76ec01c1b1079eba9e2aa2a397243c4758c98a1ba0b7404a340b9b00ced602203575001e19d922e6de8b3d6c84ea43b5c3338106cf29990134e7669a826f78e6", 3125 "result" : "valid" 3126 }, 3127 { 3128 "tcId" : 300, 3129 "comment" : "special case hash", 3130 "flags" : [ 3131 "SpecialCaseHash" 3132 ], 3133 "msg" : "36353533323033313236", 3134 "sig" : "3045022100a872c744d936db21a10c361dd5c9063355f84902219652f6fc56dc95a7139d960220400df7575d9756210e9ccc77162c6b593c7746cfb48ac263c42750b421ef4bb9", 3135 "result" : "valid" 3136 }, 3137 { 3138 "tcId" : 301, 3139 "comment" : "special case hash", 3140 "flags" : [ 3141 "SpecialCaseHash" 3142 ], 3143 "msg" : "31353634333436363033", 3144 "sig" : "30450221009fa9afe07752da10b36d3afcd0fe44bfc40244d75203599cf8f5047fa3453854022050e0a7c013bfbf51819736972d44b4b56bc2a2b2c180df6ec672df171410d77a", 3145 "result" : "valid" 3146 }, 3147 { 3148 "tcId" : 302, 3149 "comment" : "special case hash", 3150 "flags" : [ 3151 "SpecialCaseHash" 3152 ], 3153 "msg" : "34343239353339313137", 3154 "sig" : "3045022100885640384d0d910efb177b46be6c3dc5cac81f0b88c3190bb6b5f99c2641f2050220738ed9bff116306d9caa0f8fc608be243e0b567779d8dab03e8e19d553f1dc8e", 3155 "result" : "valid" 3156 }, 3157 { 3158 "tcId" : 303, 3159 "comment" : "special case hash", 3160 "flags" : [ 3161 "SpecialCaseHash" 3162 ], 3163 "msg" : "3130393533323631333531", 3164 "sig" : "304402202d051f91c5a9d440c5676985710483bc4f1a6c611b10c95a2ff0363d90c2a45802206ddf94e6fba5be586833d0c53cf216ad3948f37953c26c1cf4968e9a9e8243dc", 3165 "result" : "valid" 3166 }, 3167 { 3168 "tcId" : 304, 3169 "comment" : "special case hash", 3170 "flags" : [ 3171 "SpecialCaseHash" 3172 ], 3173 "msg" : "35393837333530303431", 3174 "sig" : "3045022100f3ac2523967482f53d508522712d583f4379cd824101ff635ea0935117baa54f022027f10812227397e02cea96fb0e680761636dab2b080d1fc5d11685cbe8500cfe", 3175 "result" : "valid" 3176 }, 3177 { 3178 "tcId" : 305, 3179 "comment" : "special case hash", 3180 "flags" : [ 3181 "SpecialCaseHash" 3182 ], 3183 "msg" : "33343633303036383738", 3184 "sig" : "304502210096447cf68c3ab7266ed7447de3ac52fed7cc08cbdfea391c18a9b8ab370bc91302200f5e7874d3ac0e918f01c885a1639177c923f8660d1ceba1ca1f301bc675cdbc", 3185 "result" : "valid" 3186 }, 3187 { 3188 "tcId" : 306, 3189 "comment" : "special case hash", 3190 "flags" : [ 3191 "SpecialCaseHash" 3192 ], 3193 "msg" : "39383137333230323837", 3194 "sig" : "30440220530a0832b691da0b5619a0b11de6877f3c0971baaa68ed122758c29caaf46b7202206c89e44f5eb33060ea4b46318c39138eaedec72de42ba576579a6a4690e339f3", 3195 "result" : "valid" 3196 }, 3197 { 3198 "tcId" : 307, 3199 "comment" : "special case hash", 3200 "flags" : [ 3201 "SpecialCaseHash" 3202 ], 3203 "msg" : "33323232303431303436", 3204 "sig" : "30450221009c54c25500bde0b92d72d6ec483dc2482f3654294ca74de796b681255ed58a770220677453c6b56f527631c9f67b3f3eb621fd88582b4aff156d2f1567d6211a2a33", 3205 "result" : "valid" 3206 }, 3207 { 3208 "tcId" : 308, 3209 "comment" : "special case hash", 3210 "flags" : [ 3211 "SpecialCaseHash" 3212 ], 3213 "msg" : "36363636333037313034", 3214 "sig" : "3045022100e7909d41439e2f6af29136c7348ca2641a2b070d5b64f91ea9da7070c7a2618b022042d782f132fa1d36c2c88ba27c3d678d80184a5d1eccac7501f0b47e3d205008", 3215 "result" : "valid" 3216 }, 3217 { 3218 "tcId" : 309, 3219 "comment" : "special case hash", 3220 "flags" : [ 3221 "SpecialCaseHash" 3222 ], 3223 "msg" : "31303335393531383938", 3224 "sig" : "304402205924873209593135a4c3da7bb381227f8a4b6aa9f34fe5bb7f8fbc131a039ffe02201f1bb11b441c8feaa40f44213d9a405ed792d59fb49d5bcdd9a4285ae5693022", 3225 "result" : "valid" 3226 }, 3227 { 3228 "tcId" : 310, 3229 "comment" : "special case hash", 3230 "flags" : [ 3231 "SpecialCaseHash" 3232 ], 3233 "msg" : "31383436353937313935", 3234 "sig" : "3045022100eeb692c9b262969b231c38b5a7f60649e0c875cd64df88f33aa571fa3d29ab0e0220218b3a1eb06379c2c18cf51b06430786d1c64cd2d24c9b232b23e5bac7989acd", 3235 "result" : "valid" 3236 }, 3237 { 3238 "tcId" : 311, 3239 "comment" : "special case hash", 3240 "flags" : [ 3241 "SpecialCaseHash" 3242 ], 3243 "msg" : "33313336303436313839", 3244 "sig" : "3045022100a40034177f36091c2b653684a0e3eb5d4bff18e4d09f664c2800e7cafda1daf802203a3ec29853704e52031c58927a800a968353adc3d973beba9172cbbeab4dd149", 3245 "result" : "valid" 3246 }, 3247 { 3248 "tcId" : 312, 3249 "comment" : "special case hash", 3250 "flags" : [ 3251 "SpecialCaseHash" 3252 ], 3253 "msg" : "32363633373834323534", 3254 "sig" : "3045022100b5d795cc75cea5c434fa4185180cd6bd21223f3d5a86da6670d71d95680dadbf022054e4d8810a001ecbb9f7ca1c2ebfdb9d009e9031a431aca3c20ab4e0d1374ec1", 3255 "result" : "valid" 3256 }, 3257 { 3258 "tcId" : 313, 3259 "comment" : "special case hash", 3260 "flags" : [ 3261 "SpecialCaseHash" 3262 ], 3263 "msg" : "31363532313030353234", 3264 "sig" : "3044022007dc2478d43c1232a4595608c64426c35510051a631ae6a5a6eb1161e57e42e102204a59ea0fdb72d12165cea3bf1ca86ba97517bd188db3dbd21a5a157850021984", 3265 "result" : "valid" 3266 }, 3267 { 3268 "tcId" : 314, 3269 "comment" : "special case hash", 3270 "flags" : [ 3271 "SpecialCaseHash" 3272 ], 3273 "msg" : "35373438303831363936", 3274 "sig" : "3045022100ddd20c4a05596ca868b558839fce9f6511ddd83d1ccb53f82e5269d559a0155202205b91734729d93093ff22123c4a25819d7feb66a250663fc780cb66fc7b6e6d17", 3275 "result" : "valid" 3276 }, 3277 { 3278 "tcId" : 315, 3279 "comment" : "special case hash", 3280 "flags" : [ 3281 "SpecialCaseHash" 3282 ], 3283 "msg" : "36333433393133343638", 3284 "sig" : "30450221009cde6e0ede0a003f02fda0a01b59facfe5dec063318f279ce2de7a9b1062f7b702202886a5b8c679bdf8224c66f908fd6205492cb70b0068d46ae4f33a4149b12a52", 3285 "result" : "valid" 3286 }, 3287 { 3288 "tcId" : 316, 3289 "comment" : "special case hash", 3290 "flags" : [ 3291 "SpecialCaseHash" 3292 ], 3293 "msg" : "31353431313033353938", 3294 "sig" : "3045022100c5771016d0dd6357143c89f684cd740423502554c0c59aa8c99584f1ff38f609022054b405f4477546686e464c5463b4fd4190572e58d0f7e7357f6e61947d20715c", 3295 "result" : "valid" 3296 }, 3297 { 3298 "tcId" : 317, 3299 "comment" : "special case hash", 3300 "flags" : [ 3301 "SpecialCaseHash" 3302 ], 3303 "msg" : "3130343738353830313238", 3304 "sig" : "3045022100a24ebc0ec224bd67ae397cbe6fa37b3125adbd34891abe2d7c7356921916dfe6022034f6eb6374731bbbafc4924fb8b0bdcdda49456d724cdae6178d87014cb53d8c", 3305 "result" : "valid" 3306 }, 3307 { 3308 "tcId" : 318, 3309 "comment" : "special case hash", 3310 "flags" : [ 3311 "SpecialCaseHash" 3312 ], 3313 "msg" : "3130353336323835353638", 3314 "sig" : "304402202557d64a7aee2e0931c012e4fea1cd3a2c334edae68cdeb7158caf21b68e5a2402207f06cdbb6a90023a973882ed97b080fe6b05af3ec93db6f1a4399a69edf7670d", 3315 "result" : "valid" 3316 }, 3317 { 3318 "tcId" : 319, 3319 "comment" : "special case hash", 3320 "flags" : [ 3321 "SpecialCaseHash" 3322 ], 3323 "msg" : "393533393034313035", 3324 "sig" : "3045022100c4f2eccbb6a24350c8466450b9d61b207ee359e037b3dcedb42a3f2e6dd6aeb502203263c6b59a2f55cdd1c6e14894d5e5963b28bc3e2469ac9ba1197991ca7ff9c7", 3325 "result" : "valid" 3326 }, 3327 { 3328 "tcId" : 320, 3329 "comment" : "special case hash", 3330 "flags" : [ 3331 "SpecialCaseHash" 3332 ], 3333 "msg" : "393738383438303339", 3334 "sig" : "3045022100eff04781c9cbcd162d0a25a6e2ebcca43506c523385cb515d49ea38a1b12fcad022015acd73194c91a95478534f23015b672ebed213e45424dd2c8e26ac8b3eb34a5", 3335 "result" : "valid" 3336 }, 3337 { 3338 "tcId" : 321, 3339 "comment" : "special case hash", 3340 "flags" : [ 3341 "SpecialCaseHash" 3342 ], 3343 "msg" : "33363130363732343432", 3344 "sig" : "3045022100f58b4e3110a64bf1b5db97639ee0e5a9c8dfa49dc59b679891f520fdf0584c8702202cd8fe51888aee9db3e075440fd4db73b5c732fb87b510e97093d66415f62af7", 3345 "result" : "valid" 3346 }, 3347 { 3348 "tcId" : 322, 3349 "comment" : "special case hash", 3350 "flags" : [ 3351 "SpecialCaseHash" 3352 ], 3353 "msg" : "31303534323430373035", 3354 "sig" : "3045022100f8abecaa4f0c502de4bf5903d48417f786bf92e8ad72fec0bd7fcb7800c0bbe302204c7f9e231076a30b7ae36b0cebe69ccef1cd194f7cce93a5588fd6814f437c0e", 3355 "result" : "valid" 3356 }, 3357 { 3358 "tcId" : 323, 3359 "comment" : "special case hash", 3360 "flags" : [ 3361 "SpecialCaseHash" 3362 ], 3363 "msg" : "35313734343438313937", 3364 "sig" : "304402205d5b38bd37ad498b2227a633268a8cca879a5c7c94a4e416bd0a614d09e606d2022012b8d664ea9991062ecbb834e58400e25c46007af84f6007d7f1685443269afe", 3365 "result" : "valid" 3366 }, 3367 { 3368 "tcId" : 324, 3369 "comment" : "special case hash", 3370 "flags" : [ 3371 "SpecialCaseHash" 3372 ], 3373 "msg" : "31393637353631323531", 3374 "sig" : "304402200c1cd9fe4034f086a2b52d65b9d3834d72aebe7f33dfe8f976da82648177d8e3022013105782e3d0cfe85c2778dec1a848b27ac0ae071aa6da341a9553a946b41e59", 3375 "result" : "valid" 3376 }, 3377 { 3378 "tcId" : 325, 3379 "comment" : "special case hash", 3380 "flags" : [ 3381 "SpecialCaseHash" 3382 ], 3383 "msg" : "33343437323533333433", 3384 "sig" : "3045022100ae7935fb96ff246b7b5d5662870d1ba587b03d6e1360baf47988b5c02ccc1a5b02205f00c323272083782d4a59f2dfd65e49de0693627016900ef7e61428056664b3", 3385 "result" : "valid" 3386 }, 3387 { 3388 "tcId" : 326, 3389 "comment" : "special case hash", 3390 "flags" : [ 3391 "SpecialCaseHash" 3392 ], 3393 "msg" : "333638323634333138", 3394 "sig" : "3044022000a134b5c6ccbcefd4c882b945baeb4933444172795fa6796aae1490675470980220566e46105d24d890151e3eea3ebf88f5b92b3f5ec93a217765a6dcbd94f2c55b", 3395 "result" : "valid" 3396 }, 3397 { 3398 "tcId" : 327, 3399 "comment" : "special case hash", 3400 "flags" : [ 3401 "SpecialCaseHash" 3402 ], 3403 "msg" : "33323631313938363038", 3404 "sig" : "304402202e4721363ad3992c139e5a1c26395d2c2d777824aa24fde075e0d7381171309d0220740f7c494418e1300dd4512f782a58800bff6a7abdfdd20fbbd4f05515ca1a4f", 3405 "result" : "valid" 3406 }, 3407 { 3408 "tcId" : 328, 3409 "comment" : "special case hash", 3410 "flags" : [ 3411 "SpecialCaseHash" 3412 ], 3413 "msg" : "39363738373831303934", 3414 "sig" : "304402206852e9d3cd9fe373c2d504877967d365ab1456707b6817a042864694e1960ccf0220064b27ea142b30887b84c86adccb2fa39a6911ad21fc7e819f593be52bc4f3bd", 3415 "result" : "valid" 3416 }, 3417 { 3418 "tcId" : 329, 3419 "comment" : "special case hash", 3420 "flags" : [ 3421 "SpecialCaseHash" 3422 ], 3423 "msg" : "34393538383233383233", 3424 "sig" : "30440220188a8c5648dc79eace158cf886c62b5468f05fd95f03a7635c5b4c31f09af4c5022036361a0b571a00c6cd5e686ccbfcfa703c4f97e48938346d0c103fdc76dc5867", 3425 "result" : "valid" 3426 }, 3427 { 3428 "tcId" : 330, 3429 "comment" : "special case hash", 3430 "flags" : [ 3431 "SpecialCaseHash" 3432 ], 3433 "msg" : "383234363337383337", 3434 "sig" : "3045022100a74f1fb9a8263f62fc4416a5b7d584f4206f3996bb91f6fc8e73b9e92bad0e1302206815032e8c7d76c3ab06a86f33249ce9940148cb36d1f417c2e992e801afa3fa", 3435 "result" : "valid" 3436 }, 3437 { 3438 "tcId" : 331, 3439 "comment" : "special case hash", 3440 "flags" : [ 3441 "SpecialCaseHash" 3442 ], 3443 "msg" : "3131303230383333373736", 3444 "sig" : "3044022007244865b72ff37e62e3146f0dc14682badd7197799135f0b00ade7671742bfe02200d80c2238edb4e4a7a86a8c57ca9af1711f406f7f5da0299aa04e2932d960754", 3445 "result" : "valid" 3446 }, 3447 { 3448 "tcId" : 332, 3449 "comment" : "special case hash", 3450 "flags" : [ 3451 "SpecialCaseHash" 3452 ], 3453 "msg" : "313333383731363438", 3454 "sig" : "3045022100da7fdd05b5badabd619d805c4ee7d9a84f84ddd5cf9c5bf4d4338140d689ef08022028f1cf4fa1c3c5862cfa149c0013cf5fe6cf5076cae000511063e7de25bb38e5", 3455 "result" : "valid" 3456 }, 3457 { 3458 "tcId" : 333, 3459 "comment" : "special case hash", 3460 "flags" : [ 3461 "SpecialCaseHash" 3462 ], 3463 "msg" : "333232313434313632", 3464 "sig" : "3045022100d3027c656f6d4fdfd8ede22093e3c303b0133c340d615e7756f6253aea927238022009aef060c8e4cef972974011558df144fed25ca69ae8d0b2eaf1a8feefbec417", 3465 "result" : "valid" 3466 }, 3467 { 3468 "tcId" : 334, 3469 "comment" : "special case hash", 3470 "flags" : [ 3471 "SpecialCaseHash" 3472 ], 3473 "msg" : "3130363836363535353436", 3474 "sig" : "304402200bf6c0188dc9571cd0e21eecac5fbb19d2434988e9cc10244593ef3a98099f6902204864a562661f9221ec88e3dd0bc2f6e27ac128c30cc1a80f79ec670a22b042ee", 3475 "result" : "valid" 3476 }, 3477 { 3478 "tcId" : 335, 3479 "comment" : "special case hash", 3480 "flags" : [ 3481 "SpecialCaseHash" 3482 ], 3483 "msg" : "3632313535323436", 3484 "sig" : "3045022100ae459640d5d1179be47a47fa538e16d94ddea5585e7a244804a51742c686443a02206c8e30e530a634fae80b3ceb062978b39edbe19777e0a24553b68886181fd897", 3485 "result" : "valid" 3486 }, 3487 { 3488 "tcId" : 336, 3489 "comment" : "special case hash", 3490 "flags" : [ 3491 "SpecialCaseHash" 3492 ], 3493 "msg" : "37303330383138373734", 3494 "sig" : "304402201cf3517ba3bf2ab8b9ead4ebb6e866cb88a1deacb6a785d3b63b483ca02ac4950220249a798b73606f55f5f1c70de67cb1a0cff95d7dc50b3a617df861bad3c6b1c9", 3495 "result" : "valid" 3496 }, 3497 { 3498 "tcId" : 337, 3499 "comment" : "special case hash", 3500 "flags" : [ 3501 "SpecialCaseHash" 3502 ], 3503 "msg" : "35393234353233373434", 3504 "sig" : "3045022100e69b5238265ea35d77e4dd172288d8cea19810a10292617d5976519dc5757cb802204b03c5bc47e826bdb27328abd38d3056d77476b2130f3df6ec4891af08ba1e29", 3505 "result" : "valid" 3506 }, 3507 { 3508 "tcId" : 338, 3509 "comment" : "special case hash", 3510 "flags" : [ 3511 "SpecialCaseHash" 3512 ], 3513 "msg" : "31343935353836363231", 3514 "sig" : "304402205f9d7d7c870d085fc1d49fff69e4a275812800d2cf8973e7325866cb40fa2b6f02206d1f5491d9f717a597a15fd540406486d76a44697b3f0d9d6dcef6669f8a0a56", 3515 "result" : "valid" 3516 }, 3517 { 3518 "tcId" : 339, 3519 "comment" : "special case hash", 3520 "flags" : [ 3521 "SpecialCaseHash" 3522 ], 3523 "msg" : "34303035333134343036", 3524 "sig" : "304402200a7d5b1959f71df9f817146ee49bd5c89b431e7993e2fdecab6858957da685ae02200f8aad2d254690bdc13f34a4fec44a02fd745a422df05ccbb54635a8b86b9609", 3525 "result" : "valid" 3526 }, 3527 { 3528 "tcId" : 340, 3529 "comment" : "special case hash", 3530 "flags" : [ 3531 "SpecialCaseHash" 3532 ], 3533 "msg" : "33303936343537353132", 3534 "sig" : "3044022079e88bf576b74bc07ca142395fda28f03d3d5e640b0b4ff0752c6d94cd553408022032cea05bd2d706c8f6036a507e2ab7766004f0904e2e5c5862749c0073245d6a", 3535 "result" : "valid" 3536 }, 3537 { 3538 "tcId" : 341, 3539 "comment" : "special case hash", 3540 "flags" : [ 3541 "SpecialCaseHash" 3542 ], 3543 "msg" : "32373834303235363230", 3544 "sig" : "30450221009d54e037a00212b377bc8874798b8da080564bbdf7e07591b861285809d01488022018b4e557667a82bd95965f0706f81a29243fbdd86968a7ebeb43069db3b18c7f", 3545 "result" : "valid" 3546 }, 3547 { 3548 "tcId" : 342, 3549 "comment" : "special case hash", 3550 "flags" : [ 3551 "SpecialCaseHash" 3552 ], 3553 "msg" : "32363138373837343138", 3554 "sig" : "304402202664f1ffa982fedbcc7cab1b8bc6e2cb420218d2a6077ad08e591ba9feab33bd022049f5c7cb515e83872a3d41b4cdb85f242ad9d61a5bfc01debfbb52c6c84ba728", 3555 "result" : "valid" 3556 }, 3557 { 3558 "tcId" : 343, 3559 "comment" : "special case hash", 3560 "flags" : [ 3561 "SpecialCaseHash" 3562 ], 3563 "msg" : "31363432363235323632", 3564 "sig" : "304402205827518344844fd6a7de73cbb0a6befdea7b13d2dee4475317f0f18ffc81524b02204f5ccb4e0b488b5a5d760aacddb2d791970fe43da61eb30e2e90208a817e46db", 3565 "result" : "valid" 3566 }, 3567 { 3568 "tcId" : 344, 3569 "comment" : "special case hash", 3570 "flags" : [ 3571 "SpecialCaseHash" 3572 ], 3573 "msg" : "36383234313839343336", 3574 "sig" : "304502210097ab19bd139cac319325869218b1bce111875d63fb12098a04b0cd59b6fdd3a30220431d9cea3a243847303cebda56476431d034339f31d785ee8852db4f040d4921", 3575 "result" : "valid" 3576 }, 3577 { 3578 "tcId" : 345, 3579 "comment" : "special case hash", 3580 "flags" : [ 3581 "SpecialCaseHash" 3582 ], 3583 "msg" : "343834323435343235", 3584 "sig" : "3044022052c683144e44119ae2013749d4964ef67509278f6d38ba869adcfa69970e123d02203479910167408f45bda420a626ec9c4ec711c1274be092198b4187c018b562ca", 3585 "result" : "valid" 3586 } 3587 ] 3588 }, 3589 { 3590 "type" : "EcdsaBitcoinVerify", 3591 "publicKey" : { 3592 "type" : "EcPublicKey", 3593 "curve" : "secp256k1", 3594 "keySize" : 256, 3595 "uncompressed" : "0407310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc36226a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0", 3596 "wx" : "07310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc362", 3597 "wy" : "26a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0" 3598 }, 3599 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000407310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc36226a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0", 3600 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEBzEPkKnq4UmghAL1QZSg97SsQnv42b1s\ndoEHHcR9w2ImptN6xG1h/WAMC/G/+HaJ7RF92msOWTGK4BChl6JsoA==\n-----END PUBLIC KEY-----\n", 3601 "sha" : "SHA-256", 3602 "tests" : [ 3603 { 3604 "tcId" : 346, 3605 "comment" : "k*G has a large x-coordinate", 3606 "flags" : [ 3607 "ArithmeticError" 3608 ], 3609 "msg" : "313233343030", 3610 "sig" : "30160211014551231950b75fc4402da1722fc9baeb020103", 3611 "result" : "valid" 3612 }, 3613 { 3614 "tcId" : 347, 3615 "comment" : "r too large", 3616 "flags" : [ 3617 "ArithmeticError" 3618 ], 3619 "msg" : "313233343030", 3620 "sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2c020103", 3621 "result" : "invalid" 3622 } 3623 ] 3624 }, 3625 { 3626 "type" : "EcdsaBitcoinVerify", 3627 "publicKey" : { 3628 "type" : "EcPublicKey", 3629 "curve" : "secp256k1", 3630 "keySize" : 256, 3631 "uncompressed" : "04bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5", 3632 "wx" : "00bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22", 3633 "wy" : "705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5" 3634 }, 3635 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5", 3636 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEvJfnWF7srUjhZoO8QJFwjhqTDGg/xHAB\n1LODWU8sTiJwWYnPadrq3U5OS4FR7YiN/sIPsBco2J1Ws/OPKunIxQ==\n-----END PUBLIC KEY-----\n", 3637 "sha" : "SHA-256", 3638 "tests" : [ 3639 { 3640 "tcId" : 348, 3641 "comment" : "r,s are large", 3642 "flags" : [ 3643 "ArithmeticError" 3644 ], 3645 "msg" : "313233343030", 3646 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413f020103", 3647 "result" : "valid" 3648 } 3649 ] 3650 }, 3651 { 3652 "type" : "EcdsaBitcoinVerify", 3653 "publicKey" : { 3654 "type" : "EcPublicKey", 3655 "curve" : "secp256k1", 3656 "keySize" : 256, 3657 "uncompressed" : "0444ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463", 3658 "wx" : "44ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252", 3659 "wy" : "00b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463" 3660 }, 3661 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000444ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463", 3662 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERK0zmvvCHpq/e2AqXKU16jeBNbbRDYEx\nC92Ck9HfMlK2P/fQd0dw+P4dFyL6g6zQL0NOT8EQoMyPbd3TfVbEYw==\n-----END PUBLIC KEY-----\n", 3663 "sha" : "SHA-256", 3664 "tests" : [ 3665 { 3666 "tcId" : 349, 3667 "comment" : "r and s^-1 have a large Hamming weight", 3668 "flags" : [ 3669 "ArithmeticError" 3670 ], 3671 "msg" : "313233343030", 3672 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203e9a7582886089c62fb840cf3b83061cd1cff3ae4341808bb5bdee6191174177", 3673 "result" : "valid" 3674 } 3675 ] 3676 }, 3677 { 3678 "type" : "EcdsaBitcoinVerify", 3679 "publicKey" : { 3680 "type" : "EcPublicKey", 3681 "curve" : "secp256k1", 3682 "keySize" : 256, 3683 "uncompressed" : "041260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0", 3684 "wx" : "1260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c", 3685 "wy" : "5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0" 3686 }, 3687 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200041260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0", 3688 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEEmDCEiyeJE4a9RUb7eDDriO1TXxZaIHT\n7rrSHzfdh4xcmgwamt52c3qIEb1qf5KHyXjuOWqonBHkcinSzLVS8A==\n-----END PUBLIC KEY-----\n", 3689 "sha" : "SHA-256", 3690 "tests" : [ 3691 { 3692 "tcId" : 350, 3693 "comment" : "r and s^-1 have a large Hamming weight", 3694 "flags" : [ 3695 "ArithmeticError" 3696 ], 3697 "msg" : "313233343030", 3698 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022024238e70b431b1a64efdf9032669939d4b77f249503fc6905feb7540dea3e6d2", 3699 "result" : "valid" 3700 } 3701 ] 3702 }, 3703 { 3704 "type" : "EcdsaBitcoinVerify", 3705 "publicKey" : { 3706 "type" : "EcPublicKey", 3707 "curve" : "secp256k1", 3708 "keySize" : 256, 3709 "uncompressed" : "041877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159", 3710 "wx" : "1877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce", 3711 "wy" : "00821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159" 3712 }, 3713 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200041877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159", 3714 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGHcEW+JdNKHQYA+dXADQZFoqVDebbO76\n0ua/XCozUs6CGlMswXUe4dNtQcPWq06bFD5E7EbXNHjqanmlwOVBWQ==\n-----END PUBLIC KEY-----\n", 3715 "sha" : "SHA-256", 3716 "tests" : [ 3717 { 3718 "tcId" : 351, 3719 "comment" : "small r and s", 3720 "flags" : [ 3721 "SmallRandS", 3722 "ArithmeticError" 3723 ], 3724 "msg" : "313233343030", 3725 "sig" : "3006020101020101", 3726 "result" : "valid" 3727 } 3728 ] 3729 }, 3730 { 3731 "type" : "EcdsaBitcoinVerify", 3732 "publicKey" : { 3733 "type" : "EcPublicKey", 3734 "curve" : "secp256k1", 3735 "keySize" : 256, 3736 "uncompressed" : "04455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77", 3737 "wx" : "455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50", 3738 "wy" : "00aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77" 3739 }, 3740 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77", 3741 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERVQ5/MPS3uzt3q7OYOe9FzBPNuu2Aq31\noi4Ljx20alCuw4+yuvIh6ajRiHx79iIt0YNGNOdyYzFa9tI2CdBPdw==\n-----END PUBLIC KEY-----\n", 3742 "sha" : "SHA-256", 3743 "tests" : [ 3744 { 3745 "tcId" : 352, 3746 "comment" : "small r and s", 3747 "flags" : [ 3748 "SmallRandS", 3749 "ArithmeticError" 3750 ], 3751 "msg" : "313233343030", 3752 "sig" : "3006020101020102", 3753 "result" : "valid" 3754 } 3755 ] 3756 }, 3757 { 3758 "type" : "EcdsaBitcoinVerify", 3759 "publicKey" : { 3760 "type" : "EcPublicKey", 3761 "curve" : "secp256k1", 3762 "keySize" : 256, 3763 "uncompressed" : "042e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece7180449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d", 3764 "wx" : "2e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece718", 3765 "wy" : "0449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d" 3766 }, 3767 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200042e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece7180449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d", 3768 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAELh9GawJMDDrOJDfeCRJ/7QS3BvlLGaIb\nscKs81zs5xgESa41I9clNOlklyz9OzivC93ZYZ5a8iPk0aQPNM+fHQ==\n-----END PUBLIC KEY-----\n", 3769 "sha" : "SHA-256", 3770 "tests" : [ 3771 { 3772 "tcId" : 353, 3773 "comment" : "small r and s", 3774 "flags" : [ 3775 "SmallRandS", 3776 "ArithmeticError" 3777 ], 3778 "msg" : "313233343030", 3779 "sig" : "3006020101020103", 3780 "result" : "valid" 3781 } 3782 ] 3783 }, 3784 { 3785 "type" : "EcdsaBitcoinVerify", 3786 "publicKey" : { 3787 "type" : "EcPublicKey", 3788 "curve" : "secp256k1", 3789 "keySize" : 256, 3790 "uncompressed" : "048e7abdbbd18de7452374c1879a1c3b01d13261e7d4571c3b47a1c76c55a2337326ed897cd517a4f5349db809780f6d2f2b9f6299d8b5a89077f1119a718fd7b3", 3791 "wx" : "008e7abdbbd18de7452374c1879a1c3b01d13261e7d4571c3b47a1c76c55a23373", 3792 "wy" : "26ed897cd517a4f5349db809780f6d2f2b9f6299d8b5a89077f1119a718fd7b3" 3793 }, 3794 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200048e7abdbbd18de7452374c1879a1c3b01d13261e7d4571c3b47a1c76c55a2337326ed897cd517a4f5349db809780f6d2f2b9f6299d8b5a89077f1119a718fd7b3", 3795 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEjnq9u9GN50UjdMGHmhw7AdEyYefUVxw7\nR6HHbFWiM3Mm7Yl81Rek9TSduAl4D20vK59imdi1qJB38RGacY/Xsw==\n-----END PUBLIC KEY-----\n", 3796 "sha" : "SHA-256", 3797 "tests" : [ 3798 { 3799 "tcId" : 354, 3800 "comment" : "small r and s", 3801 "flags" : [ 3802 "SmallRandS", 3803 "ArithmeticError" 3804 ], 3805 "msg" : "313233343030", 3806 "sig" : "3006020102020101", 3807 "result" : "valid" 3808 } 3809 ] 3810 }, 3811 { 3812 "type" : "EcdsaBitcoinVerify", 3813 "publicKey" : { 3814 "type" : "EcPublicKey", 3815 "curve" : "secp256k1", 3816 "keySize" : 256, 3817 "uncompressed" : "047b333d4340d3d718dd3e6aff7de7bbf8b72bfd616c8420056052842376b9af1942117c5afeac755d6f376fc6329a7d76051b87123a4a5d0bc4a539380f03de7b", 3818 "wx" : "7b333d4340d3d718dd3e6aff7de7bbf8b72bfd616c8420056052842376b9af19", 3819 "wy" : "42117c5afeac755d6f376fc6329a7d76051b87123a4a5d0bc4a539380f03de7b" 3820 }, 3821 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200047b333d4340d3d718dd3e6aff7de7bbf8b72bfd616c8420056052842376b9af1942117c5afeac755d6f376fc6329a7d76051b87123a4a5d0bc4a539380f03de7b", 3822 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEezM9Q0DT1xjdPmr/fee7+Lcr/WFshCAF\nYFKEI3a5rxlCEXxa/qx1XW83b8Yymn12BRuHEjpKXQvEpTk4DwPeew==\n-----END PUBLIC KEY-----\n", 3823 "sha" : "SHA-256", 3824 "tests" : [ 3825 { 3826 "tcId" : 355, 3827 "comment" : "small r and s", 3828 "flags" : [ 3829 "SmallRandS", 3830 "ArithmeticError" 3831 ], 3832 "msg" : "313233343030", 3833 "sig" : "3006020102020102", 3834 "result" : "valid" 3835 } 3836 ] 3837 }, 3838 { 3839 "type" : "EcdsaBitcoinVerify", 3840 "publicKey" : { 3841 "type" : "EcPublicKey", 3842 "curve" : "secp256k1", 3843 "keySize" : 256, 3844 "uncompressed" : "04d30ca4a0ddb6616c851d30ced682c40f83c62758a1f2759988d6763a88f1c0e503a80d5415650d41239784e8e2fb1235e9fe991d112ebb81186cbf0da2de3aff", 3845 "wx" : "00d30ca4a0ddb6616c851d30ced682c40f83c62758a1f2759988d6763a88f1c0e5", 3846 "wy" : "03a80d5415650d41239784e8e2fb1235e9fe991d112ebb81186cbf0da2de3aff" 3847 }, 3848 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d30ca4a0ddb6616c851d30ced682c40f83c62758a1f2759988d6763a88f1c0e503a80d5415650d41239784e8e2fb1235e9fe991d112ebb81186cbf0da2de3aff", 3849 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE0wykoN22YWyFHTDO1oLED4PGJ1ih8nWZ\niNZ2OojxwOUDqA1UFWUNQSOXhOji+xI16f6ZHREuu4EYbL8Not46/w==\n-----END PUBLIC KEY-----\n", 3850 "sha" : "SHA-256", 3851 "tests" : [ 3852 { 3853 "tcId" : 356, 3854 "comment" : "small r and s", 3855 "flags" : [ 3856 "SmallRandS", 3857 "ArithmeticError" 3858 ], 3859 "msg" : "313233343030", 3860 "sig" : "3006020102020103", 3861 "result" : "valid" 3862 }, 3863 { 3864 "tcId" : 357, 3865 "comment" : "r is larger than n", 3866 "flags" : [ 3867 "ArithmeticError" 3868 ], 3869 "msg" : "313233343030", 3870 "sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364143020103", 3871 "result" : "invalid" 3872 } 3873 ] 3874 }, 3875 { 3876 "type" : "EcdsaBitcoinVerify", 3877 "publicKey" : { 3878 "type" : "EcPublicKey", 3879 "curve" : "secp256k1", 3880 "keySize" : 256, 3881 "uncompressed" : "0448969b39991297b332a652d3ee6e01e909b39904e71fa2354a7830c7750baf24b4012d1b830d199ccb1fc972b32bfded55f09cd62d257e5e844e27e57a1594ec", 3882 "wx" : "48969b39991297b332a652d3ee6e01e909b39904e71fa2354a7830c7750baf24", 3883 "wy" : "00b4012d1b830d199ccb1fc972b32bfded55f09cd62d257e5e844e27e57a1594ec" 3884 }, 3885 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000448969b39991297b332a652d3ee6e01e909b39904e71fa2354a7830c7750baf24b4012d1b830d199ccb1fc972b32bfded55f09cd62d257e5e844e27e57a1594ec", 3886 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAESJabOZkSl7MyplLT7m4B6QmzmQTnH6I1\nSngwx3ULryS0AS0bgw0ZnMsfyXKzK/3tVfCc1i0lfl6ETiflehWU7A==\n-----END PUBLIC KEY-----\n", 3887 "sha" : "SHA-256", 3888 "tests" : [ 3889 { 3890 "tcId" : 358, 3891 "comment" : "s is larger than n", 3892 "flags" : [ 3893 "ArithmeticError" 3894 ], 3895 "msg" : "313233343030", 3896 "sig" : "30080201020203ed2979", 3897 "result" : "invalid" 3898 } 3899 ] 3900 }, 3901 { 3902 "type" : "EcdsaBitcoinVerify", 3903 "publicKey" : { 3904 "type" : "EcPublicKey", 3905 "curve" : "secp256k1", 3906 "keySize" : 256, 3907 "uncompressed" : "0402ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee777eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866", 3908 "wx" : "02ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee77", 3909 "wy" : "7eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866" 3910 }, 3911 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000402ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee777eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866", 3912 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAu9NbWz9WpTx13hCJuPipsCkNsVYOWGf\nOPtEcrX57nd+tKzU7r2lzXKHX/0qLyYinC3GtGUAkZpDLIZznzroZg==\n-----END PUBLIC KEY-----\n", 3913 "sha" : "SHA-256", 3914 "tests" : [ 3915 { 3916 "tcId" : 359, 3917 "comment" : "small r and s^-1", 3918 "flags" : [ 3919 "ArithmeticError" 3920 ], 3921 "msg" : "313233343030", 3922 "sig" : "30260202010102203a74e9d3a74e9d3a74e9d3a74e9d3a749f8ab3732a0a89604a09bce5b2916da4", 3923 "result" : "valid" 3924 } 3925 ] 3926 }, 3927 { 3928 "type" : "EcdsaBitcoinVerify", 3929 "publicKey" : { 3930 "type" : "EcPublicKey", 3931 "curve" : "secp256k1", 3932 "keySize" : 256, 3933 "uncompressed" : "04464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08", 3934 "wx" : "464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584", 3935 "wy" : "00b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08" 3936 }, 3937 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08", 3938 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERk9P9xVynK5Qcso72AHTGVtnrsZemwGq\n0gopQ9y8tYSxr9KdMaOaEdVwqhWXQ5s7LRlxvy8avxVDLQIHsQ0dCA==\n-----END PUBLIC KEY-----\n", 3939 "sha" : "SHA-256", 3940 "tests" : [ 3941 { 3942 "tcId" : 360, 3943 "comment" : "smallish r and s^-1", 3944 "flags" : [ 3945 "ArithmeticError" 3946 ], 3947 "msg" : "313233343030", 3948 "sig" : "302b02072d9b4d347952cc02200343aefc2f25d98b882e86eb9e30d55a6eb508b516510b34024ae4b6362330b3", 3949 "result" : "valid" 3950 } 3951 ] 3952 }, 3953 { 3954 "type" : "EcdsaBitcoinVerify", 3955 "publicKey" : { 3956 "type" : "EcPublicKey", 3957 "curve" : "secp256k1", 3958 "keySize" : 256, 3959 "uncompressed" : "04157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4cdeadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f", 3960 "wx" : "157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4c", 3961 "wy" : "00deadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f" 3962 }, 3963 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4cdeadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f", 3964 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEFX+P3fNz619Jz88Q2LhTz5HLzX1mXDUi\nun3XON23mkzerfGlxEjqPJ9BkaiZmr/MdXrG1kVn7wcsR/7GE0Q7jw==\n-----END PUBLIC KEY-----\n", 3965 "sha" : "SHA-256", 3966 "tests" : [ 3967 { 3968 "tcId" : 361, 3969 "comment" : "100-bit r and small s^-1", 3970 "flags" : [ 3971 "ArithmeticError" 3972 ], 3973 "msg" : "313233343030", 3974 "sig" : "3031020d1033e67e37b32b445580bf4efc02206f906f906f906f906f906f906f906f8fe1cab5eefdb214061dce3b22789f1d6f", 3975 "result" : "valid" 3976 } 3977 ] 3978 }, 3979 { 3980 "type" : "EcdsaBitcoinVerify", 3981 "publicKey" : { 3982 "type" : "EcPublicKey", 3983 "curve" : "secp256k1", 3984 "keySize" : 256, 3985 "uncompressed" : "040934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa", 3986 "wx" : "0934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0", 3987 "wy" : "00d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa" 3988 }, 3989 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200040934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa", 3990 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAECTSlN0ZsB0MOLEj+uZC7Gft4zsyc7kJO\npNEwKRqiN/DU+S0jtGKAS1toxSVYwByZltv3J/zKu+7bliGkAFNa+g==\n-----END PUBLIC KEY-----\n", 3991 "sha" : "SHA-256", 3992 "tests" : [ 3993 { 3994 "tcId" : 362, 3995 "comment" : "small r and 100 bit s^-1", 3996 "flags" : [ 3997 "ArithmeticError" 3998 ], 3999 "msg" : "313233343030", 4000 "sig" : "3026020201010220783266e90f43dafe5cd9b3b0be86de22f9de83677d0f50713a468ec72fcf5d57", 4001 "result" : "valid" 4002 } 4003 ] 4004 }, 4005 { 4006 "type" : "EcdsaBitcoinVerify", 4007 "publicKey" : { 4008 "type" : "EcPublicKey", 4009 "curve" : "secp256k1", 4010 "keySize" : 256, 4011 "uncompressed" : "04d6ef20be66c893f741a9bf90d9b74675d1c2a31296397acb3ef174fd0b300c654a0c95478ca00399162d7f0f2dc89efdc2b28a30fbabe285857295a4b0c4e265", 4012 "wx" : "00d6ef20be66c893f741a9bf90d9b74675d1c2a31296397acb3ef174fd0b300c65", 4013 "wy" : "4a0c95478ca00399162d7f0f2dc89efdc2b28a30fbabe285857295a4b0c4e265" 4014 }, 4015 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d6ef20be66c893f741a9bf90d9b74675d1c2a31296397acb3ef174fd0b300c654a0c95478ca00399162d7f0f2dc89efdc2b28a30fbabe285857295a4b0c4e265", 4016 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE1u8gvmbIk/dBqb+Q2bdGddHCoxKWOXrL\nPvF0/QswDGVKDJVHjKADmRYtfw8tyJ79wrKKMPur4oWFcpWksMTiZQ==\n-----END PUBLIC KEY-----\n", 4017 "sha" : "SHA-256", 4018 "tests" : [ 4019 { 4020 "tcId" : 363, 4021 "comment" : "100-bit r and s^-1", 4022 "flags" : [ 4023 "ArithmeticError" 4024 ], 4025 "msg" : "313233343030", 4026 "sig" : "3031020d062522bbd3ecbe7c39e93e7c260220783266e90f43dafe5cd9b3b0be86de22f9de83677d0f50713a468ec72fcf5d57", 4027 "result" : "valid" 4028 } 4029 ] 4030 }, 4031 { 4032 "type" : "EcdsaBitcoinVerify", 4033 "publicKey" : { 4034 "type" : "EcPublicKey", 4035 "curve" : "secp256k1", 4036 "keySize" : 256, 4037 "uncompressed" : "04b7291d1404e0c0c07dab9372189f4bd58d2ceaa8d15ede544d9514545ba9ee0629c9a63d5e308769cc30ec276a410e6464a27eeafd9e599db10f053a4fe4a829", 4038 "wx" : "00b7291d1404e0c0c07dab9372189f4bd58d2ceaa8d15ede544d9514545ba9ee06", 4039 "wy" : "29c9a63d5e308769cc30ec276a410e6464a27eeafd9e599db10f053a4fe4a829" 4040 }, 4041 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b7291d1404e0c0c07dab9372189f4bd58d2ceaa8d15ede544d9514545ba9ee0629c9a63d5e308769cc30ec276a410e6464a27eeafd9e599db10f053a4fe4a829", 4042 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEtykdFATgwMB9q5NyGJ9L1Y0s6qjRXt5U\nTZUUVFup7gYpyaY9XjCHacww7CdqQQ5kZKJ+6v2eWZ2xDwU6T+SoKQ==\n-----END PUBLIC KEY-----\n", 4043 "sha" : "SHA-256", 4044 "tests" : [ 4045 { 4046 "tcId" : 364, 4047 "comment" : "r and s^-1 are close to n", 4048 "flags" : [ 4049 "ArithmeticError" 4050 ], 4051 "msg" : "313233343030", 4052 "sig" : "3045022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03640c1022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0", 4053 "result" : "valid" 4054 } 4055 ] 4056 }, 4057 { 4058 "type" : "EcdsaBitcoinVerify", 4059 "publicKey" : { 4060 "type" : "EcPublicKey", 4061 "curve" : "secp256k1", 4062 "keySize" : 256, 4063 "uncompressed" : "046e28303305d642ccb923b722ea86b2a0bc8e3735ecb26e849b19c9f76b2fdbb8186e80d64d8cab164f5238f5318461bf89d4d96ee6544c816c7566947774e0f6", 4064 "wx" : "6e28303305d642ccb923b722ea86b2a0bc8e3735ecb26e849b19c9f76b2fdbb8", 4065 "wy" : "186e80d64d8cab164f5238f5318461bf89d4d96ee6544c816c7566947774e0f6" 4066 }, 4067 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200046e28303305d642ccb923b722ea86b2a0bc8e3735ecb26e849b19c9f76b2fdbb8186e80d64d8cab164f5238f5318461bf89d4d96ee6544c816c7566947774e0f6", 4068 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEbigwMwXWQsy5I7ci6oayoLyONzXssm6E\nmxnJ92sv27gYboDWTYyrFk9SOPUxhGG/idTZbuZUTIFsdWaUd3Tg9g==\n-----END PUBLIC KEY-----\n", 4069 "sha" : "SHA-256", 4070 "tests" : [ 4071 { 4072 "tcId" : 365, 4073 "comment" : "r and s are 64-bit integer", 4074 "flags" : [ 4075 "ArithmeticError" 4076 ], 4077 "msg" : "313233343030", 4078 "sig" : "30160209009c44febf31c3594d020900839ed28247c2b06b", 4079 "result" : "valid" 4080 } 4081 ] 4082 }, 4083 { 4084 "type" : "EcdsaBitcoinVerify", 4085 "publicKey" : { 4086 "type" : "EcPublicKey", 4087 "curve" : "secp256k1", 4088 "keySize" : 256, 4089 "uncompressed" : "04375bda93f6af92fb5f8f4b1b5f0534e3bafab34cb7ad9fb9d0b722e4a5c302a9a00b9f387a5a396097aa2162fc5bbcf4a5263372f681c94da51e9799120990fd", 4090 "wx" : "375bda93f6af92fb5f8f4b1b5f0534e3bafab34cb7ad9fb9d0b722e4a5c302a9", 4091 "wy" : "00a00b9f387a5a396097aa2162fc5bbcf4a5263372f681c94da51e9799120990fd" 4092 }, 4093 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004375bda93f6af92fb5f8f4b1b5f0534e3bafab34cb7ad9fb9d0b722e4a5c302a9a00b9f387a5a396097aa2162fc5bbcf4a5263372f681c94da51e9799120990fd", 4094 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEN1vak/avkvtfj0sbXwU047r6s0y3rZ+5\n0Lci5KXDAqmgC584elo5YJeqIWL8W7z0pSYzcvaByU2lHpeZEgmQ/Q==\n-----END PUBLIC KEY-----\n", 4095 "sha" : "SHA-256", 4096 "tests" : [ 4097 { 4098 "tcId" : 366, 4099 "comment" : "r and s are 100-bit integer", 4100 "flags" : [ 4101 "ArithmeticError" 4102 ], 4103 "msg" : "313233343030", 4104 "sig" : "301e020d09df8b682430beef6f5fd7c7cf020d0fd0a62e13778f4222a0d61c8a", 4105 "result" : "valid" 4106 } 4107 ] 4108 }, 4109 { 4110 "type" : "EcdsaBitcoinVerify", 4111 "publicKey" : { 4112 "type" : "EcPublicKey", 4113 "curve" : "secp256k1", 4114 "keySize" : 256, 4115 "uncompressed" : "04d75b68216babe03ae257e94b4e3bf1c52f44e3df266d1524ff8c5ea69da73197da4bff9ed1c53f44917a67d7b978598e89df359e3d5913eaea24f3ae259abc44", 4116 "wx" : "00d75b68216babe03ae257e94b4e3bf1c52f44e3df266d1524ff8c5ea69da73197", 4117 "wy" : "00da4bff9ed1c53f44917a67d7b978598e89df359e3d5913eaea24f3ae259abc44" 4118 }, 4119 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d75b68216babe03ae257e94b4e3bf1c52f44e3df266d1524ff8c5ea69da73197da4bff9ed1c53f44917a67d7b978598e89df359e3d5913eaea24f3ae259abc44", 4120 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE11toIWur4DriV+lLTjvxxS9E498mbRUk\n/4xepp2nMZfaS/+e0cU/RJF6Z9e5eFmOid81nj1ZE+rqJPOuJZq8RA==\n-----END PUBLIC KEY-----\n", 4121 "sha" : "SHA-256", 4122 "tests" : [ 4123 { 4124 "tcId" : 367, 4125 "comment" : "r and s are 128-bit integer", 4126 "flags" : [ 4127 "ArithmeticError" 4128 ], 4129 "msg" : "313233343030", 4130 "sig" : "30260211008a598e563a89f526c32ebec8de26367a02110084f633e2042630e99dd0f1e16f7a04bf", 4131 "result" : "valid" 4132 } 4133 ] 4134 }, 4135 { 4136 "type" : "EcdsaBitcoinVerify", 4137 "publicKey" : { 4138 "type" : "EcPublicKey", 4139 "curve" : "secp256k1", 4140 "keySize" : 256, 4141 "uncompressed" : "0478bcda140aed23d430cb23c3dc0d01f423db134ee94a3a8cb483f2deac2ac653118114f6f33045d4e9ed9107085007bfbddf8f58fe7a1a2445d66a990045476e", 4142 "wx" : "78bcda140aed23d430cb23c3dc0d01f423db134ee94a3a8cb483f2deac2ac653", 4143 "wy" : "118114f6f33045d4e9ed9107085007bfbddf8f58fe7a1a2445d66a990045476e" 4144 }, 4145 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000478bcda140aed23d430cb23c3dc0d01f423db134ee94a3a8cb483f2deac2ac653118114f6f33045d4e9ed9107085007bfbddf8f58fe7a1a2445d66a990045476e", 4146 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeLzaFArtI9QwyyPD3A0B9CPbE07pSjqM\ntIPy3qwqxlMRgRT28zBF1OntkQcIUAe/vd+PWP56GiRF1mqZAEVHbg==\n-----END PUBLIC KEY-----\n", 4147 "sha" : "SHA-256", 4148 "tests" : [ 4149 { 4150 "tcId" : 368, 4151 "comment" : "r and s are 160-bit integer", 4152 "flags" : [ 4153 "ArithmeticError" 4154 ], 4155 "msg" : "313233343030", 4156 "sig" : "302e021500aa6eeb5823f7fa31b466bb473797f0d0314c0bdf021500e2977c479e6d25703cebbc6bd561938cc9d1bfb9", 4157 "result" : "valid" 4158 } 4159 ] 4160 }, 4161 { 4162 "type" : "EcdsaBitcoinVerify", 4163 "publicKey" : { 4164 "type" : "EcPublicKey", 4165 "curve" : "secp256k1", 4166 "keySize" : 256, 4167 "uncompressed" : "04bb79f61857f743bfa1b6e7111ce4094377256969e4e15159123d9548acc3be6c1f9d9f8860dcffd3eb36dd6c31ff2e7226c2009c4c94d8d7d2b5686bf7abd677", 4168 "wx" : "00bb79f61857f743bfa1b6e7111ce4094377256969e4e15159123d9548acc3be6c", 4169 "wy" : "1f9d9f8860dcffd3eb36dd6c31ff2e7226c2009c4c94d8d7d2b5686bf7abd677" 4170 }, 4171 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bb79f61857f743bfa1b6e7111ce4094377256969e4e15159123d9548acc3be6c1f9d9f8860dcffd3eb36dd6c31ff2e7226c2009c4c94d8d7d2b5686bf7abd677", 4172 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEu3n2GFf3Q7+htucRHOQJQ3claWnk4VFZ\nEj2VSKzDvmwfnZ+IYNz/0+s23Wwx/y5yJsIAnEyU2NfStWhr96vWdw==\n-----END PUBLIC KEY-----\n", 4173 "sha" : "SHA-256", 4174 "tests" : [ 4175 { 4176 "tcId" : 369, 4177 "comment" : "s == 1", 4178 "flags" : [ 4179 "ArithmeticError" 4180 ], 4181 "msg" : "313233343030", 4182 "sig" : "3025022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1020101", 4183 "result" : "valid" 4184 }, 4185 { 4186 "tcId" : 370, 4187 "comment" : "s == 0", 4188 "flags" : [ 4189 "ArithmeticError" 4190 ], 4191 "msg" : "313233343030", 4192 "sig" : "3025022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1020100", 4193 "result" : "invalid" 4194 } 4195 ] 4196 }, 4197 { 4198 "type" : "EcdsaBitcoinVerify", 4199 "publicKey" : { 4200 "type" : "EcPublicKey", 4201 "curve" : "secp256k1", 4202 "keySize" : 256, 4203 "uncompressed" : "0493591827d9e6713b4e9faea62c72b28dfefa68e0c05160b5d6aae88fd2e36c36073f5545ad5af410af26afff68654cf72d45e493489311203247347a890f4518", 4204 "wx" : "0093591827d9e6713b4e9faea62c72b28dfefa68e0c05160b5d6aae88fd2e36c36", 4205 "wy" : "073f5545ad5af410af26afff68654cf72d45e493489311203247347a890f4518" 4206 }, 4207 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000493591827d9e6713b4e9faea62c72b28dfefa68e0c05160b5d6aae88fd2e36c36073f5545ad5af410af26afff68654cf72d45e493489311203247347a890f4518", 4208 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEk1kYJ9nmcTtOn66mLHKyjf76aODAUWC1\n1qroj9LjbDYHP1VFrVr0EK8mr/9oZUz3LUXkk0iTESAyRzR6iQ9FGA==\n-----END PUBLIC KEY-----\n", 4209 "sha" : "SHA-256", 4210 "tests" : [ 4211 { 4212 "tcId" : 371, 4213 "comment" : "edge case modular inverse", 4214 "flags" : [ 4215 "ModularInverse", 4216 "ArithmeticError" 4217 ], 4218 "msg" : "313233343030", 4219 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c10220419d981c515af8cc82545aac0c85e9e308fbb2eab6acd7ed497e0b4145a18fd9", 4220 "result" : "valid" 4221 } 4222 ] 4223 }, 4224 { 4225 "type" : "EcdsaBitcoinVerify", 4226 "publicKey" : { 4227 "type" : "EcPublicKey", 4228 "curve" : "secp256k1", 4229 "keySize" : 256, 4230 "uncompressed" : "0431ed3081aefe001eb6402069ee2ccc1862937b85995144dba9503943587bf0dada01b8cc4df34f5ab3b1a359615208946e5ee35f98ee775b8ccecd86ccc1650f", 4231 "wx" : "31ed3081aefe001eb6402069ee2ccc1862937b85995144dba9503943587bf0da", 4232 "wy" : "00da01b8cc4df34f5ab3b1a359615208946e5ee35f98ee775b8ccecd86ccc1650f" 4233 }, 4234 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000431ed3081aefe001eb6402069ee2ccc1862937b85995144dba9503943587bf0dada01b8cc4df34f5ab3b1a359615208946e5ee35f98ee775b8ccecd86ccc1650f", 4235 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEMe0wga7+AB62QCBp7izMGGKTe4WZUUTb\nqVA5Q1h78NraAbjMTfNPWrOxo1lhUgiUbl7jX5jud1uMzs2GzMFlDw==\n-----END PUBLIC KEY-----\n", 4236 "sha" : "SHA-256", 4237 "tests" : [ 4238 { 4239 "tcId" : 372, 4240 "comment" : "edge case modular inverse", 4241 "flags" : [ 4242 "ModularInverse", 4243 "ArithmeticError" 4244 ], 4245 "msg" : "313233343030", 4246 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102201b21717ad71d23bbac60a9ad0baf75b063c9fdf52a00ebf99d022172910993c9", 4247 "result" : "valid" 4248 } 4249 ] 4250 }, 4251 { 4252 "type" : "EcdsaBitcoinVerify", 4253 "publicKey" : { 4254 "type" : "EcPublicKey", 4255 "curve" : "secp256k1", 4256 "keySize" : 256, 4257 "uncompressed" : "047dff66fa98509ff3e2e51045f4390523dccda43a3bc2885e58c248090990eea854c76c2b9adeb6bb571823e07fd7c65c8639cf9d905260064c8e7675ce6d98b4", 4258 "wx" : "7dff66fa98509ff3e2e51045f4390523dccda43a3bc2885e58c248090990eea8", 4259 "wy" : "54c76c2b9adeb6bb571823e07fd7c65c8639cf9d905260064c8e7675ce6d98b4" 4260 }, 4261 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200047dff66fa98509ff3e2e51045f4390523dccda43a3bc2885e58c248090990eea854c76c2b9adeb6bb571823e07fd7c65c8639cf9d905260064c8e7675ce6d98b4", 4262 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEff9m+phQn/Pi5RBF9DkFI9zNpDo7wohe\nWMJICQmQ7qhUx2wrmt62u1cYI+B/18ZchjnPnZBSYAZMjnZ1zm2YtA==\n-----END PUBLIC KEY-----\n", 4263 "sha" : "SHA-256", 4264 "tests" : [ 4265 { 4266 "tcId" : 373, 4267 "comment" : "edge case modular inverse", 4268 "flags" : [ 4269 "ModularInverse", 4270 "ArithmeticError" 4271 ], 4272 "msg" : "313233343030", 4273 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102202f588f66018f3dd14db3e28e77996487e32486b521ed8e5a20f06591951777e9", 4274 "result" : "valid" 4275 } 4276 ] 4277 }, 4278 { 4279 "type" : "EcdsaBitcoinVerify", 4280 "publicKey" : { 4281 "type" : "EcPublicKey", 4282 "curve" : "secp256k1", 4283 "keySize" : 256, 4284 "uncompressed" : "044280509aab64edfc0b4a2967e4cbce849cb544e4a77313c8e6ece579fbd7420a2e89fe5cc1927d554e6a3bb14033ea7c922cd75cba2c7415fdab52f20b1860f1", 4285 "wx" : "4280509aab64edfc0b4a2967e4cbce849cb544e4a77313c8e6ece579fbd7420a", 4286 "wy" : "2e89fe5cc1927d554e6a3bb14033ea7c922cd75cba2c7415fdab52f20b1860f1" 4287 }, 4288 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200044280509aab64edfc0b4a2967e4cbce849cb544e4a77313c8e6ece579fbd7420a2e89fe5cc1927d554e6a3bb14033ea7c922cd75cba2c7415fdab52f20b1860f1", 4289 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEQoBQmqtk7fwLSiln5MvOhJy1ROSncxPI\n5uzlefvXQgouif5cwZJ9VU5qO7FAM+p8kizXXLosdBX9q1LyCxhg8Q==\n-----END PUBLIC KEY-----\n", 4290 "sha" : "SHA-256", 4291 "tests" : [ 4292 { 4293 "tcId" : 374, 4294 "comment" : "edge case modular inverse", 4295 "flags" : [ 4296 "ModularInverse", 4297 "ArithmeticError" 4298 ], 4299 "msg" : "313233343030", 4300 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c10220091a08870ff4daf9123b30c20e8c4fc8505758dcf4074fcaff2170c9bfcf74f4", 4301 "result" : "valid" 4302 } 4303 ] 4304 }, 4305 { 4306 "type" : "EcdsaBitcoinVerify", 4307 "publicKey" : { 4308 "type" : "EcPublicKey", 4309 "curve" : "secp256k1", 4310 "keySize" : 256, 4311 "uncompressed" : "044f8df145194e3c4fc3eea26d43ce75b402d6b17472ddcbb254b8a79b0bf3d9cb2aa20d82844cb266344e71ca78f2ad27a75a09e5bc0fa57e4efd9d465a0888db", 4312 "wx" : "4f8df145194e3c4fc3eea26d43ce75b402d6b17472ddcbb254b8a79b0bf3d9cb", 4313 "wy" : "2aa20d82844cb266344e71ca78f2ad27a75a09e5bc0fa57e4efd9d465a0888db" 4314 }, 4315 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200044f8df145194e3c4fc3eea26d43ce75b402d6b17472ddcbb254b8a79b0bf3d9cb2aa20d82844cb266344e71ca78f2ad27a75a09e5bc0fa57e4efd9d465a0888db", 4316 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAET43xRRlOPE/D7qJtQ851tALWsXRy3cuy\nVLinmwvz2csqog2ChEyyZjROccp48q0np1oJ5bwPpX5O/Z1GWgiI2w==\n-----END PUBLIC KEY-----\n", 4317 "sha" : "SHA-256", 4318 "tests" : [ 4319 { 4320 "tcId" : 375, 4321 "comment" : "edge case modular inverse", 4322 "flags" : [ 4323 "ModularInverse", 4324 "ArithmeticError" 4325 ], 4326 "msg" : "313233343030", 4327 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102207c370dc0ce8c59a8b273cba44a7c1191fc3186dc03cab96b0567312df0d0b250", 4328 "result" : "valid" 4329 } 4330 ] 4331 }, 4332 { 4333 "type" : "EcdsaBitcoinVerify", 4334 "publicKey" : { 4335 "type" : "EcPublicKey", 4336 "curve" : "secp256k1", 4337 "keySize" : 256, 4338 "uncompressed" : "049598a57dd67ec3e16b587a338aa3a10a3a3913b41a3af32e3ed3ff01358c6b14122819edf8074bbc521f7d4cdce82fef7a516706affba1d93d9dea9ccae1a207", 4339 "wx" : "009598a57dd67ec3e16b587a338aa3a10a3a3913b41a3af32e3ed3ff01358c6b14", 4340 "wy" : "122819edf8074bbc521f7d4cdce82fef7a516706affba1d93d9dea9ccae1a207" 4341 }, 4342 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200049598a57dd67ec3e16b587a338aa3a10a3a3913b41a3af32e3ed3ff01358c6b14122819edf8074bbc521f7d4cdce82fef7a516706affba1d93d9dea9ccae1a207", 4343 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAElZilfdZ+w+FrWHoziqOhCjo5E7QaOvMu\nPtP/ATWMaxQSKBnt+AdLvFIffUzc6C/velFnBq/7odk9neqcyuGiBw==\n-----END PUBLIC KEY-----\n", 4344 "sha" : "SHA-256", 4345 "tests" : [ 4346 { 4347 "tcId" : 376, 4348 "comment" : "edge case modular inverse", 4349 "flags" : [ 4350 "ModularInverse", 4351 "ArithmeticError" 4352 ], 4353 "msg" : "313233343030", 4354 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1022070b59a7d1ee77a2f9e0491c2a7cfcd0ed04df4a35192f6132dcc668c79a6160e", 4355 "result" : "valid" 4356 } 4357 ] 4358 }, 4359 { 4360 "type" : "EcdsaBitcoinVerify", 4361 "publicKey" : { 4362 "type" : "EcPublicKey", 4363 "curve" : "secp256k1", 4364 "keySize" : 256, 4365 "uncompressed" : "049171fec3ca20806bc084f12f0760911b60990bd80e5b2a71ca03a048b20f837e634fd17863761b2958d2be4e149f8d3d7abbdc18be03f451ab6c17fa0a1f8330", 4366 "wx" : "009171fec3ca20806bc084f12f0760911b60990bd80e5b2a71ca03a048b20f837e", 4367 "wy" : "634fd17863761b2958d2be4e149f8d3d7abbdc18be03f451ab6c17fa0a1f8330" 4368 }, 4369 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200049171fec3ca20806bc084f12f0760911b60990bd80e5b2a71ca03a048b20f837e634fd17863761b2958d2be4e149f8d3d7abbdc18be03f451ab6c17fa0a1f8330", 4370 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEkXH+w8oggGvAhPEvB2CRG2CZC9gOWypx\nygOgSLIPg35jT9F4Y3YbKVjSvk4Un409ervcGL4D9FGrbBf6Ch+DMA==\n-----END PUBLIC KEY-----\n", 4371 "sha" : "SHA-256", 4372 "tests" : [ 4373 { 4374 "tcId" : 377, 4375 "comment" : "edge case modular inverse", 4376 "flags" : [ 4377 "ModularInverse", 4378 "ArithmeticError" 4379 ], 4380 "msg" : "313233343030", 4381 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102202736d76e412246e097148e2bf62915614eb7c428913a58eb5e9cd4674a9423de", 4382 "result" : "valid" 4383 } 4384 ] 4385 }, 4386 { 4387 "type" : "EcdsaBitcoinVerify", 4388 "publicKey" : { 4389 "type" : "EcPublicKey", 4390 "curve" : "secp256k1", 4391 "keySize" : 256, 4392 "uncompressed" : "04777c8930b6e1d271100fe68ce93f163fa37612c5fff67f4a62fc3bafaf3d17a9ed73d86f60a51b5ed91353a3b054edc0aa92c9ebcbd0b75d188fdc882791d68d", 4393 "wx" : "777c8930b6e1d271100fe68ce93f163fa37612c5fff67f4a62fc3bafaf3d17a9", 4394 "wy" : "00ed73d86f60a51b5ed91353a3b054edc0aa92c9ebcbd0b75d188fdc882791d68d" 4395 }, 4396 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004777c8930b6e1d271100fe68ce93f163fa37612c5fff67f4a62fc3bafaf3d17a9ed73d86f60a51b5ed91353a3b054edc0aa92c9ebcbd0b75d188fdc882791d68d", 4397 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEd3yJMLbh0nEQD+aM6T8WP6N2EsX/9n9K\nYvw7r689F6ntc9hvYKUbXtkTU6OwVO3AqpLJ68vQt10Yj9yIJ5HWjQ==\n-----END PUBLIC KEY-----\n", 4398 "sha" : "SHA-256", 4399 "tests" : [ 4400 { 4401 "tcId" : 378, 4402 "comment" : "edge case modular inverse", 4403 "flags" : [ 4404 "ModularInverse", 4405 "ArithmeticError" 4406 ], 4407 "msg" : "313233343030", 4408 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102204a1e12831fbe93627b02d6e7f24bccdd6ef4b2d0f46739eaf3b1eaf0ca117770", 4409 "result" : "valid" 4410 } 4411 ] 4412 }, 4413 { 4414 "type" : "EcdsaBitcoinVerify", 4415 "publicKey" : { 4416 "type" : "EcPublicKey", 4417 "curve" : "secp256k1", 4418 "keySize" : 256, 4419 "uncompressed" : "04eabc248f626e0a63e1eb81c43d461a39a1dba881eb6ee2152b07c32d71bcf4700603caa8b9d33db13af44c6efbec8a198ed6124ac9eb17eaafd2824a545ec000", 4420 "wx" : "00eabc248f626e0a63e1eb81c43d461a39a1dba881eb6ee2152b07c32d71bcf470", 4421 "wy" : "0603caa8b9d33db13af44c6efbec8a198ed6124ac9eb17eaafd2824a545ec000" 4422 }, 4423 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004eabc248f626e0a63e1eb81c43d461a39a1dba881eb6ee2152b07c32d71bcf4700603caa8b9d33db13af44c6efbec8a198ed6124ac9eb17eaafd2824a545ec000", 4424 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE6rwkj2JuCmPh64HEPUYaOaHbqIHrbuIV\nKwfDLXG89HAGA8qoudM9sTr0TG777IoZjtYSSsnrF+qv0oJKVF7AAA==\n-----END PUBLIC KEY-----\n", 4425 "sha" : "SHA-256", 4426 "tests" : [ 4427 { 4428 "tcId" : 379, 4429 "comment" : "edge case modular inverse", 4430 "flags" : [ 4431 "ModularInverse", 4432 "ArithmeticError" 4433 ], 4434 "msg" : "313233343030", 4435 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1022006c778d4dfff7dee06ed88bc4e0ed34fc553aad67caf796f2a1c6487c1b2e877", 4436 "result" : "valid" 4437 } 4438 ] 4439 }, 4440 { 4441 "type" : "EcdsaBitcoinVerify", 4442 "publicKey" : { 4443 "type" : "EcPublicKey", 4444 "curve" : "secp256k1", 4445 "keySize" : 256, 4446 "uncompressed" : "049f7a13ada158a55f9ddf1a45f044f073d9b80030efdcfc9f9f58418fbceaf001f8ada0175090f80d47227d6713b6740f9a0091d88a837d0a1cd77b58a8f28d73", 4447 "wx" : "009f7a13ada158a55f9ddf1a45f044f073d9b80030efdcfc9f9f58418fbceaf001", 4448 "wy" : "00f8ada0175090f80d47227d6713b6740f9a0091d88a837d0a1cd77b58a8f28d73" 4449 }, 4450 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200049f7a13ada158a55f9ddf1a45f044f073d9b80030efdcfc9f9f58418fbceaf001f8ada0175090f80d47227d6713b6740f9a0091d88a837d0a1cd77b58a8f28d73", 4451 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEn3oTraFYpV+d3xpF8ETwc9m4ADDv3Pyf\nn1hBj7zq8AH4raAXUJD4DUcifWcTtnQPmgCR2IqDfQoc13tYqPKNcw==\n-----END PUBLIC KEY-----\n", 4452 "sha" : "SHA-256", 4453 "tests" : [ 4454 { 4455 "tcId" : 380, 4456 "comment" : "edge case modular inverse", 4457 "flags" : [ 4458 "ModularInverse", 4459 "ArithmeticError" 4460 ], 4461 "msg" : "313233343030", 4462 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102204de459ef9159afa057feb3ec40fef01c45b809f4ab296ea48c206d4249a2b451", 4463 "result" : "valid" 4464 } 4465 ] 4466 }, 4467 { 4468 "type" : "EcdsaBitcoinVerify", 4469 "publicKey" : { 4470 "type" : "EcPublicKey", 4471 "curve" : "secp256k1", 4472 "keySize" : 256, 4473 "uncompressed" : "0411c4f3e461cd019b5c06ea0cea4c4090c3cc3e3c5d9f3c6d65b436826da9b4dbbbeb7a77e4cbfda207097c43423705f72c80476da3dac40a483b0ab0f2ead1cb", 4474 "wx" : "11c4f3e461cd019b5c06ea0cea4c4090c3cc3e3c5d9f3c6d65b436826da9b4db", 4475 "wy" : "00bbeb7a77e4cbfda207097c43423705f72c80476da3dac40a483b0ab0f2ead1cb" 4476 }, 4477 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000411c4f3e461cd019b5c06ea0cea4c4090c3cc3e3c5d9f3c6d65b436826da9b4dbbbeb7a77e4cbfda207097c43423705f72c80476da3dac40a483b0ab0f2ead1cb", 4478 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEEcTz5GHNAZtcBuoM6kxAkMPMPjxdnzxt\nZbQ2gm2ptNu763p35Mv9ogcJfENCNwX3LIBHbaPaxApIOwqw8urRyw==\n-----END PUBLIC KEY-----\n", 4479 "sha" : "SHA-256", 4480 "tests" : [ 4481 { 4482 "tcId" : 381, 4483 "comment" : "edge case modular inverse", 4484 "flags" : [ 4485 "ModularInverse", 4486 "ArithmeticError" 4487 ], 4488 "msg" : "313233343030", 4489 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c10220745d294978007302033502e1acc48b63ae6500be43adbea1b258d6b423dbb416", 4490 "result" : "valid" 4491 } 4492 ] 4493 }, 4494 { 4495 "type" : "EcdsaBitcoinVerify", 4496 "publicKey" : { 4497 "type" : "EcPublicKey", 4498 "curve" : "secp256k1", 4499 "keySize" : 256, 4500 "uncompressed" : "04e2e18682d53123aa01a6c5d00b0c623d671b462ea80bddd65227fd5105988aa4161907b3fd25044a949ea41c8e2ea8459dc6f1654856b8b61b31543bb1b45bdb", 4501 "wx" : "00e2e18682d53123aa01a6c5d00b0c623d671b462ea80bddd65227fd5105988aa4", 4502 "wy" : "161907b3fd25044a949ea41c8e2ea8459dc6f1654856b8b61b31543bb1b45bdb" 4503 }, 4504 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004e2e18682d53123aa01a6c5d00b0c623d671b462ea80bddd65227fd5105988aa4161907b3fd25044a949ea41c8e2ea8459dc6f1654856b8b61b31543bb1b45bdb", 4505 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE4uGGgtUxI6oBpsXQCwxiPWcbRi6oC93W\nUif9UQWYiqQWGQez/SUESpSepByOLqhFncbxZUhWuLYbMVQ7sbRb2w==\n-----END PUBLIC KEY-----\n", 4506 "sha" : "SHA-256", 4507 "tests" : [ 4508 { 4509 "tcId" : 382, 4510 "comment" : "edge case modular inverse", 4511 "flags" : [ 4512 "ModularInverse", 4513 "ArithmeticError" 4514 ], 4515 "msg" : "313233343030", 4516 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102207b2a785e3896f59b2d69da57648e80ad3c133a750a2847fd2098ccd902042b6c", 4517 "result" : "valid" 4518 } 4519 ] 4520 }, 4521 { 4522 "type" : "EcdsaBitcoinVerify", 4523 "publicKey" : { 4524 "type" : "EcPublicKey", 4525 "curve" : "secp256k1", 4526 "keySize" : 256, 4527 "uncompressed" : "0490f8d4ca73de08a6564aaf005247b6f0ffe978504dce52605f46b7c3e56197dafadbe528eb70d9ee7ea0e70702db54f721514c7b8604ac2cb214f1decb7e383d", 4528 "wx" : "0090f8d4ca73de08a6564aaf005247b6f0ffe978504dce52605f46b7c3e56197da", 4529 "wy" : "00fadbe528eb70d9ee7ea0e70702db54f721514c7b8604ac2cb214f1decb7e383d" 4530 }, 4531 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000490f8d4ca73de08a6564aaf005247b6f0ffe978504dce52605f46b7c3e56197dafadbe528eb70d9ee7ea0e70702db54f721514c7b8604ac2cb214f1decb7e383d", 4532 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEkPjUynPeCKZWSq8AUke28P/peFBNzlJg\nX0a3w+Vhl9r62+Uo63DZ7n6g5wcC21T3IVFMe4YErCyyFPHey344PQ==\n-----END PUBLIC KEY-----\n", 4533 "sha" : "SHA-256", 4534 "tests" : [ 4535 { 4536 "tcId" : 383, 4537 "comment" : "edge case modular inverse", 4538 "flags" : [ 4539 "ModularInverse", 4540 "ArithmeticError" 4541 ], 4542 "msg" : "313233343030", 4543 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1022071ae94a72ca896875e7aa4a4c3d29afdb4b35b6996273e63c47ac519256c5eb1", 4544 "result" : "valid" 4545 } 4546 ] 4547 }, 4548 { 4549 "type" : "EcdsaBitcoinVerify", 4550 "publicKey" : { 4551 "type" : "EcPublicKey", 4552 "curve" : "secp256k1", 4553 "keySize" : 256, 4554 "uncompressed" : "04824c195c73cffdf038d101bce1687b5c3b6146f395c885976f7753b2376b948e3cdefa6fc347d13e4dcbc63a0b03a165180cd2be1431a0cf74ce1ea25082d2bc", 4555 "wx" : "00824c195c73cffdf038d101bce1687b5c3b6146f395c885976f7753b2376b948e", 4556 "wy" : "3cdefa6fc347d13e4dcbc63a0b03a165180cd2be1431a0cf74ce1ea25082d2bc" 4557 }, 4558 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004824c195c73cffdf038d101bce1687b5c3b6146f395c885976f7753b2376b948e3cdefa6fc347d13e4dcbc63a0b03a165180cd2be1431a0cf74ce1ea25082d2bc", 4559 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEgkwZXHPP/fA40QG84Wh7XDthRvOVyIWX\nb3dTsjdrlI483vpvw0fRPk3LxjoLA6FlGAzSvhQxoM90zh6iUILSvA==\n-----END PUBLIC KEY-----\n", 4560 "sha" : "SHA-256", 4561 "tests" : [ 4562 { 4563 "tcId" : 384, 4564 "comment" : "edge case modular inverse", 4565 "flags" : [ 4566 "ModularInverse", 4567 "ArithmeticError" 4568 ], 4569 "msg" : "313233343030", 4570 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102200fa527fa7343c0bc9ec35a6278bfbff4d83301b154fc4bd14aee7eb93445b5f9", 4571 "result" : "valid" 4572 } 4573 ] 4574 }, 4575 { 4576 "type" : "EcdsaBitcoinVerify", 4577 "publicKey" : { 4578 "type" : "EcPublicKey", 4579 "curve" : "secp256k1", 4580 "keySize" : 256, 4581 "uncompressed" : "042788a52f078eb3f202c4fa73e0d3386faf3df6be856003636f599922d4f5268f30b4f207c919bbdf5e67a8be4265a8174754b3aba8f16e575b77ff4d5a7eb64f", 4582 "wx" : "2788a52f078eb3f202c4fa73e0d3386faf3df6be856003636f599922d4f5268f", 4583 "wy" : "30b4f207c919bbdf5e67a8be4265a8174754b3aba8f16e575b77ff4d5a7eb64f" 4584 }, 4585 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200042788a52f078eb3f202c4fa73e0d3386faf3df6be856003636f599922d4f5268f30b4f207c919bbdf5e67a8be4265a8174754b3aba8f16e575b77ff4d5a7eb64f", 4586 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEJ4ilLweOs/ICxPpz4NM4b6899r6FYANj\nb1mZItT1Jo8wtPIHyRm7315nqL5CZagXR1Szq6jxbldbd/9NWn62Tw==\n-----END PUBLIC KEY-----\n", 4587 "sha" : "SHA-256", 4588 "tests" : [ 4589 { 4590 "tcId" : 385, 4591 "comment" : "edge case modular inverse", 4592 "flags" : [ 4593 "ModularInverse", 4594 "ArithmeticError" 4595 ], 4596 "msg" : "313233343030", 4597 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c102206539c0adadd0525ff42622164ce9314348bd0863b4c80e936b23ca0414264671", 4598 "result" : "valid" 4599 } 4600 ] 4601 }, 4602 { 4603 "type" : "EcdsaBitcoinVerify", 4604 "publicKey" : { 4605 "type" : "EcPublicKey", 4606 "curve" : "secp256k1", 4607 "keySize" : 256, 4608 "uncompressed" : "04d533b789a4af890fa7a82a1fae58c404f9a62a50b49adafab349c513b415087401b4171b803e76b34a9861e10f7bc289a066fd01bd29f84c987a10a5fb18c2d4", 4609 "wx" : "00d533b789a4af890fa7a82a1fae58c404f9a62a50b49adafab349c513b4150874", 4610 "wy" : "01b4171b803e76b34a9861e10f7bc289a066fd01bd29f84c987a10a5fb18c2d4" 4611 }, 4612 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d533b789a4af890fa7a82a1fae58c404f9a62a50b49adafab349c513b415087401b4171b803e76b34a9861e10f7bc289a066fd01bd29f84c987a10a5fb18c2d4", 4613 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE1TO3iaSviQ+nqCofrljEBPmmKlC0mtr6\ns0nFE7QVCHQBtBcbgD52s0qYYeEPe8KJoGb9Ab0p+EyYehCl+xjC1A==\n-----END PUBLIC KEY-----\n", 4614 "sha" : "SHA-256", 4615 "tests" : [ 4616 { 4617 "tcId" : 386, 4618 "comment" : "point at infinity during verify", 4619 "flags" : [ 4620 "PointDuplication", 4621 "ArithmeticError" 4622 ], 4623 "msg" : "313233343030", 4624 "sig" : "304402207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0", 4625 "result" : "invalid" 4626 } 4627 ] 4628 }, 4629 { 4630 "type" : "EcdsaBitcoinVerify", 4631 "publicKey" : { 4632 "type" : "EcPublicKey", 4633 "curve" : "secp256k1", 4634 "keySize" : 256, 4635 "uncompressed" : "043a3150798c8af69d1e6e981f3a45402ba1d732f4be8330c5164f49e10ec555b4221bd842bc5e4d97eff37165f60e3998a424d72a450cf95ea477c78287d0343a", 4636 "wx" : "3a3150798c8af69d1e6e981f3a45402ba1d732f4be8330c5164f49e10ec555b4", 4637 "wy" : "221bd842bc5e4d97eff37165f60e3998a424d72a450cf95ea477c78287d0343a" 4638 }, 4639 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200043a3150798c8af69d1e6e981f3a45402ba1d732f4be8330c5164f49e10ec555b4221bd842bc5e4d97eff37165f60e3998a424d72a450cf95ea477c78287d0343a", 4640 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEOjFQeYyK9p0ebpgfOkVAK6HXMvS+gzDF\nFk9J4Q7FVbQiG9hCvF5Nl+/zcWX2DjmYpCTXKkUM+V6kd8eCh9A0Og==\n-----END PUBLIC KEY-----\n", 4641 "sha" : "SHA-256", 4642 "tests" : [ 4643 { 4644 "tcId" : 387, 4645 "comment" : "edge case for signature malleability", 4646 "flags" : [ 4647 "ArithmeticError" 4648 ], 4649 "msg" : "313233343030", 4650 "sig" : "304402207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a002207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0", 4651 "result" : "valid" 4652 } 4653 ] 4654 }, 4655 { 4656 "type" : "EcdsaBitcoinVerify", 4657 "publicKey" : { 4658 "type" : "EcPublicKey", 4659 "curve" : "secp256k1", 4660 "keySize" : 256, 4661 "uncompressed" : "043b37df5fb347c69a0f17d85c0c7ca83736883a825e13143d0fcfc8101e851e800de3c090b6ca21ba543517330c04b12f948c6badf14a63abffdf4ef8c7537026", 4662 "wx" : "3b37df5fb347c69a0f17d85c0c7ca83736883a825e13143d0fcfc8101e851e80", 4663 "wy" : "0de3c090b6ca21ba543517330c04b12f948c6badf14a63abffdf4ef8c7537026" 4664 }, 4665 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200043b37df5fb347c69a0f17d85c0c7ca83736883a825e13143d0fcfc8101e851e800de3c090b6ca21ba543517330c04b12f948c6badf14a63abffdf4ef8c7537026", 4666 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEOzffX7NHxpoPF9hcDHyoNzaIOoJeExQ9\nD8/IEB6FHoAN48CQtsohulQ1FzMMBLEvlIxrrfFKY6v/3074x1NwJg==\n-----END PUBLIC KEY-----\n", 4667 "sha" : "SHA-256", 4668 "tests" : [ 4669 { 4670 "tcId" : 388, 4671 "comment" : "edge case for signature malleability", 4672 "flags" : [ 4673 "ArithmeticError" 4674 ], 4675 "msg" : "313233343030", 4676 "sig" : "304402207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a002207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1", 4677 "result" : "invalid" 4678 } 4679 ] 4680 }, 4681 { 4682 "type" : "EcdsaBitcoinVerify", 4683 "publicKey" : { 4684 "type" : "EcPublicKey", 4685 "curve" : "secp256k1", 4686 "keySize" : 256, 4687 "uncompressed" : "04feb5163b0ece30ff3e03c7d55c4380fa2fa81ee2c0354942ff6f08c99d0cd82ce87de05ee1bda089d3e4e248fa0f721102acfffdf50e654be281433999df897e", 4688 "wx" : "00feb5163b0ece30ff3e03c7d55c4380fa2fa81ee2c0354942ff6f08c99d0cd82c", 4689 "wy" : "00e87de05ee1bda089d3e4e248fa0f721102acfffdf50e654be281433999df897e" 4690 }, 4691 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004feb5163b0ece30ff3e03c7d55c4380fa2fa81ee2c0354942ff6f08c99d0cd82ce87de05ee1bda089d3e4e248fa0f721102acfffdf50e654be281433999df897e", 4692 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE/rUWOw7OMP8+A8fVXEOA+i+oHuLANUlC\n/28IyZ0M2CzofeBe4b2gidPk4kj6D3IRAqz//fUOZUvigUM5md+Jfg==\n-----END PUBLIC KEY-----\n", 4693 "sha" : "SHA-256", 4694 "tests" : [ 4695 { 4696 "tcId" : 389, 4697 "comment" : "u1 == 1", 4698 "flags" : [ 4699 "ArithmeticError" 4700 ], 4701 "msg" : "313233343030", 4702 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022044a5ad0bd0636d9e12bc9e0a6bdd5e1bba77f523842193b3b82e448e05d5f11e", 4703 "result" : "valid" 4704 } 4705 ] 4706 }, 4707 { 4708 "type" : "EcdsaBitcoinVerify", 4709 "publicKey" : { 4710 "type" : "EcPublicKey", 4711 "curve" : "secp256k1", 4712 "keySize" : 256, 4713 "uncompressed" : "04238ced001cf22b8853e02edc89cbeca5050ba7e042a7a77f9382cd414922897640683d3094643840f295890aa4c18aa39b41d77dd0fb3bb2700e4f9ec284ffc2", 4714 "wx" : "238ced001cf22b8853e02edc89cbeca5050ba7e042a7a77f9382cd4149228976", 4715 "wy" : "40683d3094643840f295890aa4c18aa39b41d77dd0fb3bb2700e4f9ec284ffc2" 4716 }, 4717 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004238ced001cf22b8853e02edc89cbeca5050ba7e042a7a77f9382cd414922897640683d3094643840f295890aa4c18aa39b41d77dd0fb3bb2700e4f9ec284ffc2", 4718 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEI4ztABzyK4hT4C7cicvspQULp+BCp6d/\nk4LNQUkiiXZAaD0wlGQ4QPKViQqkwYqjm0HXfdD7O7JwDk+ewoT/wg==\n-----END PUBLIC KEY-----\n", 4719 "sha" : "SHA-256", 4720 "tests" : [ 4721 { 4722 "tcId" : 390, 4723 "comment" : "u1 == n - 1", 4724 "flags" : [ 4725 "ArithmeticError" 4726 ], 4727 "msg" : "313233343030", 4728 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022044a5ad0bd0636d9e12bc9e0a6bdd5e1bba77f523842193b3b82e448e05d5f11e", 4729 "result" : "valid" 4730 } 4731 ] 4732 }, 4733 { 4734 "type" : "EcdsaBitcoinVerify", 4735 "publicKey" : { 4736 "type" : "EcPublicKey", 4737 "curve" : "secp256k1", 4738 "keySize" : 256, 4739 "uncompressed" : "04961cf64817c06c0e51b3c2736c922fde18bd8c4906fcd7f5ef66c4678508f35ed2c5d18168cfbe70f2f123bd7419232bb92dd69113e2941061889481c5a027bf", 4740 "wx" : "00961cf64817c06c0e51b3c2736c922fde18bd8c4906fcd7f5ef66c4678508f35e", 4741 "wy" : "00d2c5d18168cfbe70f2f123bd7419232bb92dd69113e2941061889481c5a027bf" 4742 }, 4743 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004961cf64817c06c0e51b3c2736c922fde18bd8c4906fcd7f5ef66c4678508f35ed2c5d18168cfbe70f2f123bd7419232bb92dd69113e2941061889481c5a027bf", 4744 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAElhz2SBfAbA5Rs8JzbJIv3hi9jEkG/Nf1\n72bEZ4UI817SxdGBaM++cPLxI710GSMruS3WkRPilBBhiJSBxaAnvw==\n-----END PUBLIC KEY-----\n", 4745 "sha" : "SHA-256", 4746 "tests" : [ 4747 { 4748 "tcId" : 391, 4749 "comment" : "u2 == 1", 4750 "flags" : [ 4751 "ArithmeticError" 4752 ], 4753 "msg" : "313233343030", 4754 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8", 4755 "result" : "valid" 4756 } 4757 ] 4758 }, 4759 { 4760 "type" : "EcdsaBitcoinVerify", 4761 "publicKey" : { 4762 "type" : "EcPublicKey", 4763 "curve" : "secp256k1", 4764 "keySize" : 256, 4765 "uncompressed" : "0413681eae168cd4ea7cf2e2a45d052742d10a9f64e796867dbdcb829fe0b1028816528760d177376c09df79de39557c329cc1753517acffe8fa2ec298026b8384", 4766 "wx" : "13681eae168cd4ea7cf2e2a45d052742d10a9f64e796867dbdcb829fe0b10288", 4767 "wy" : "16528760d177376c09df79de39557c329cc1753517acffe8fa2ec298026b8384" 4768 }, 4769 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000413681eae168cd4ea7cf2e2a45d052742d10a9f64e796867dbdcb829fe0b1028816528760d177376c09df79de39557c329cc1753517acffe8fa2ec298026b8384", 4770 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEE2gerhaM1Op88uKkXQUnQtEKn2TnloZ9\nvcuCn+CxAogWUodg0Xc3bAnfed45VXwynMF1NRes/+j6LsKYAmuDhA==\n-----END PUBLIC KEY-----\n", 4771 "sha" : "SHA-256", 4772 "tests" : [ 4773 { 4774 "tcId" : 392, 4775 "comment" : "u2 == n - 1", 4776 "flags" : [ 4777 "ArithmeticError" 4778 ], 4779 "msg" : "313233343030", 4780 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8", 4781 "result" : "valid" 4782 } 4783 ] 4784 }, 4785 { 4786 "type" : "EcdsaBitcoinVerify", 4787 "publicKey" : { 4788 "type" : "EcPublicKey", 4789 "curve" : "secp256k1", 4790 "keySize" : 256, 4791 "uncompressed" : "045aa7abfdb6b4086d543325e5d79c6e95ce42f866d2bb84909633a04bb1aa31c291c80088794905e1da33336d874e2f91ccf45cc59185bede5dd6f3f7acaae18b", 4792 "wx" : "5aa7abfdb6b4086d543325e5d79c6e95ce42f866d2bb84909633a04bb1aa31c2", 4793 "wy" : "0091c80088794905e1da33336d874e2f91ccf45cc59185bede5dd6f3f7acaae18b" 4794 }, 4795 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200045aa7abfdb6b4086d543325e5d79c6e95ce42f866d2bb84909633a04bb1aa31c291c80088794905e1da33336d874e2f91ccf45cc59185bede5dd6f3f7acaae18b", 4796 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEWqer/ba0CG1UMyXl15xulc5C+GbSu4SQ\nljOgS7GqMcKRyACIeUkF4dozM22HTi+RzPRcxZGFvt5d1vP3rKrhiw==\n-----END PUBLIC KEY-----\n", 4797 "sha" : "SHA-256", 4798 "tests" : [ 4799 { 4800 "tcId" : 393, 4801 "comment" : "edge case for u1", 4802 "flags" : [ 4803 "ArithmeticError" 4804 ], 4805 "msg" : "313233343030", 4806 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022016e1e459457679df5b9434ae23f474b3e8d2a70bd6b5dbe692ba16da01f1fb0a", 4807 "result" : "valid" 4808 } 4809 ] 4810 }, 4811 { 4812 "type" : "EcdsaBitcoinVerify", 4813 "publicKey" : { 4814 "type" : "EcPublicKey", 4815 "curve" : "secp256k1", 4816 "keySize" : 256, 4817 "uncompressed" : "0400277791b305a45b2b39590b2f05d3392a6c8182cef4eb540120e0f5c206c3e464108233fb0b8c3ac892d79ef8e0fbf92ed133addb4554270132584dc52eef41", 4818 "wx" : "277791b305a45b2b39590b2f05d3392a6c8182cef4eb540120e0f5c206c3e4", 4819 "wy" : "64108233fb0b8c3ac892d79ef8e0fbf92ed133addb4554270132584dc52eef41" 4820 }, 4821 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000400277791b305a45b2b39590b2f05d3392a6c8182cef4eb540120e0f5c206c3e464108233fb0b8c3ac892d79ef8e0fbf92ed133addb4554270132584dc52eef41", 4822 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEACd3kbMFpFsrOVkLLwXTOSpsgYLO9OtU\nASDg9cIGw+RkEIIz+wuMOsiS15744Pv5LtEzrdtFVCcBMlhNxS7vQQ==\n-----END PUBLIC KEY-----\n", 4823 "sha" : "SHA-256", 4824 "tests" : [ 4825 { 4826 "tcId" : 394, 4827 "comment" : "edge case for u1", 4828 "flags" : [ 4829 "ArithmeticError" 4830 ], 4831 "msg" : "313233343030", 4832 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02201c940f313f92647be257eccd7ed08b0baef3f0478f25871b53635302c5f6314a", 4833 "result" : "valid" 4834 } 4835 ] 4836 }, 4837 { 4838 "type" : "EcdsaBitcoinVerify", 4839 "publicKey" : { 4840 "type" : "EcPublicKey", 4841 "curve" : "secp256k1", 4842 "keySize" : 256, 4843 "uncompressed" : "046efa092b68de9460f0bcc919005a5f6e80e19de98968be3cd2c770a9949bfb1ac75e6e5087d6550d5f9beb1e79e5029307bc255235e2d5dc99241ac3ab886c49", 4844 "wx" : "6efa092b68de9460f0bcc919005a5f6e80e19de98968be3cd2c770a9949bfb1a", 4845 "wy" : "00c75e6e5087d6550d5f9beb1e79e5029307bc255235e2d5dc99241ac3ab886c49" 4846 }, 4847 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200046efa092b68de9460f0bcc919005a5f6e80e19de98968be3cd2c770a9949bfb1ac75e6e5087d6550d5f9beb1e79e5029307bc255235e2d5dc99241ac3ab886c49", 4848 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEbvoJK2jelGDwvMkZAFpfboDhnemJaL48\n0sdwqZSb+xrHXm5Qh9ZVDV+b6x555QKTB7wlUjXi1dyZJBrDq4hsSQ==\n-----END PUBLIC KEY-----\n", 4849 "sha" : "SHA-256", 4850 "tests" : [ 4851 { 4852 "tcId" : 395, 4853 "comment" : "edge case for u1", 4854 "flags" : [ 4855 "ArithmeticError" 4856 ], 4857 "msg" : "313233343030", 4858 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022015d94a85077b493f91cb7101ec63e1b01be58b594e855f45050a8c14062d689b", 4859 "result" : "valid" 4860 } 4861 ] 4862 }, 4863 { 4864 "type" : "EcdsaBitcoinVerify", 4865 "publicKey" : { 4866 "type" : "EcPublicKey", 4867 "curve" : "secp256k1", 4868 "keySize" : 256, 4869 "uncompressed" : "0472d4a19c4f9d2cf5848ea40445b70d4696b5f02d632c0c654cc7d7eeb0c6d058e8c4cd9943e459174c7ac01fa742198e47e6c19a6bdb0c4f6c237831c1b3f942", 4870 "wx" : "72d4a19c4f9d2cf5848ea40445b70d4696b5f02d632c0c654cc7d7eeb0c6d058", 4871 "wy" : "00e8c4cd9943e459174c7ac01fa742198e47e6c19a6bdb0c4f6c237831c1b3f942" 4872 }, 4873 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000472d4a19c4f9d2cf5848ea40445b70d4696b5f02d632c0c654cc7d7eeb0c6d058e8c4cd9943e459174c7ac01fa742198e47e6c19a6bdb0c4f6c237831c1b3f942", 4874 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEctShnE+dLPWEjqQERbcNRpa18C1jLAxl\nTMfX7rDG0FjoxM2ZQ+RZF0x6wB+nQhmOR+bBmmvbDE9sI3gxwbP5Qg==\n-----END PUBLIC KEY-----\n", 4875 "sha" : "SHA-256", 4876 "tests" : [ 4877 { 4878 "tcId" : 396, 4879 "comment" : "edge case for u1", 4880 "flags" : [ 4881 "ArithmeticError" 4882 ], 4883 "msg" : "313233343030", 4884 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02205b1d27a7694c146244a5ad0bd0636d9d9ef3b9fb58385418d9c982105077d1b7", 4885 "result" : "valid" 4886 } 4887 ] 4888 }, 4889 { 4890 "type" : "EcdsaBitcoinVerify", 4891 "publicKey" : { 4892 "type" : "EcPublicKey", 4893 "curve" : "secp256k1", 4894 "keySize" : 256, 4895 "uncompressed" : "042a8ea2f50dcced0c217575bdfa7cd47d1c6f100041ec0e35512794c1be7e740258f8c17122ed303fda7143eb58bede70295b653266013b0b0ebd3f053137f6ec", 4896 "wx" : "2a8ea2f50dcced0c217575bdfa7cd47d1c6f100041ec0e35512794c1be7e7402", 4897 "wy" : "58f8c17122ed303fda7143eb58bede70295b653266013b0b0ebd3f053137f6ec" 4898 }, 4899 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200042a8ea2f50dcced0c217575bdfa7cd47d1c6f100041ec0e35512794c1be7e740258f8c17122ed303fda7143eb58bede70295b653266013b0b0ebd3f053137f6ec", 4900 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEKo6i9Q3M7QwhdXW9+nzUfRxvEABB7A41\nUSeUwb5+dAJY+MFxIu0wP9pxQ+tYvt5wKVtlMmYBOwsOvT8FMTf27A==\n-----END PUBLIC KEY-----\n", 4901 "sha" : "SHA-256", 4902 "tests" : [ 4903 { 4904 "tcId" : 397, 4905 "comment" : "edge case for u1", 4906 "flags" : [ 4907 "ArithmeticError" 4908 ], 4909 "msg" : "313233343030", 4910 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202d85896b3eb9dbb5a52f42f9c9261ed3fc46644ec65f06ade3fd78f257e43432", 4911 "result" : "valid" 4912 } 4913 ] 4914 }, 4915 { 4916 "type" : "EcdsaBitcoinVerify", 4917 "publicKey" : { 4918 "type" : "EcPublicKey", 4919 "curve" : "secp256k1", 4920 "keySize" : 256, 4921 "uncompressed" : "0488de689ce9af1e94be6a2089c8a8b1253ffdbb6c8e9c86249ba220001a4ad3b80c4998e54842f413b9edb1825acbb6335e81e4d184b2b01c8bebdc85d1f28946", 4922 "wx" : "0088de689ce9af1e94be6a2089c8a8b1253ffdbb6c8e9c86249ba220001a4ad3b8", 4923 "wy" : "0c4998e54842f413b9edb1825acbb6335e81e4d184b2b01c8bebdc85d1f28946" 4924 }, 4925 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000488de689ce9af1e94be6a2089c8a8b1253ffdbb6c8e9c86249ba220001a4ad3b80c4998e54842f413b9edb1825acbb6335e81e4d184b2b01c8bebdc85d1f28946", 4926 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEiN5onOmvHpS+aiCJyKixJT/9u2yOnIYk\nm6IgABpK07gMSZjlSEL0E7ntsYJay7YzXoHk0YSysByL69yF0fKJRg==\n-----END PUBLIC KEY-----\n", 4927 "sha" : "SHA-256", 4928 "tests" : [ 4929 { 4930 "tcId" : 398, 4931 "comment" : "edge case for u1", 4932 "flags" : [ 4933 "ArithmeticError" 4934 ], 4935 "msg" : "313233343030", 4936 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02205b0b12d67d73b76b4a5e85f3924c3da7f88cc89d8cbe0d5bc7faf1e4afc86864", 4937 "result" : "valid" 4938 } 4939 ] 4940 }, 4941 { 4942 "type" : "EcdsaBitcoinVerify", 4943 "publicKey" : { 4944 "type" : "EcPublicKey", 4945 "curve" : "secp256k1", 4946 "keySize" : 256, 4947 "uncompressed" : "04fea2d31f70f90d5fb3e00e186ac42ab3c1615cee714e0b4e1131b3d4d8225bf7b037a18df2ac15343f30f74067ddf29e817d5f77f8dce05714da59c094f0cda9", 4948 "wx" : "00fea2d31f70f90d5fb3e00e186ac42ab3c1615cee714e0b4e1131b3d4d8225bf7", 4949 "wy" : "00b037a18df2ac15343f30f74067ddf29e817d5f77f8dce05714da59c094f0cda9" 4950 }, 4951 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004fea2d31f70f90d5fb3e00e186ac42ab3c1615cee714e0b4e1131b3d4d8225bf7b037a18df2ac15343f30f74067ddf29e817d5f77f8dce05714da59c094f0cda9", 4952 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE/qLTH3D5DV+z4A4YasQqs8FhXO5xTgtO\nETGz1NgiW/ewN6GN8qwVND8w90Bn3fKegX1fd/jc4FcU2lnAlPDNqQ==\n-----END PUBLIC KEY-----\n", 4953 "sha" : "SHA-256", 4954 "tests" : [ 4955 { 4956 "tcId" : 399, 4957 "comment" : "edge case for u1", 4958 "flags" : [ 4959 "ArithmeticError" 4960 ], 4961 "msg" : "313233343030", 4962 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0220694c146244a5ad0bd0636d9e12bc9e09e60e68b90d0b5e6c5dddd0cb694d8799", 4963 "result" : "valid" 4964 } 4965 ] 4966 }, 4967 { 4968 "type" : "EcdsaBitcoinVerify", 4969 "publicKey" : { 4970 "type" : "EcPublicKey", 4971 "curve" : "secp256k1", 4972 "keySize" : 256, 4973 "uncompressed" : "047258911e3d423349166479dbe0b8341af7fbd03d0a7e10edccb36b6ceea5a3db17ac2b8992791128fa3b96dc2fbd4ca3bfa782ef2832fc6656943db18e7346b0", 4974 "wx" : "7258911e3d423349166479dbe0b8341af7fbd03d0a7e10edccb36b6ceea5a3db", 4975 "wy" : "17ac2b8992791128fa3b96dc2fbd4ca3bfa782ef2832fc6656943db18e7346b0" 4976 }, 4977 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200047258911e3d423349166479dbe0b8341af7fbd03d0a7e10edccb36b6ceea5a3db17ac2b8992791128fa3b96dc2fbd4ca3bfa782ef2832fc6656943db18e7346b0", 4978 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEcliRHj1CM0kWZHnb4Lg0Gvf70D0KfhDt\nzLNrbO6lo9sXrCuJknkRKPo7ltwvvUyjv6eC7ygy/GZWlD2xjnNGsA==\n-----END PUBLIC KEY-----\n", 4979 "sha" : "SHA-256", 4980 "tests" : [ 4981 { 4982 "tcId" : 400, 4983 "comment" : "edge case for u1", 4984 "flags" : [ 4985 "ArithmeticError" 4986 ], 4987 "msg" : "313233343030", 4988 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203d7f487c07bfc5f30846938a3dcef696444707cf9677254a92b06c63ab867d22", 4989 "result" : "valid" 4990 } 4991 ] 4992 }, 4993 { 4994 "type" : "EcdsaBitcoinVerify", 4995 "publicKey" : { 4996 "type" : "EcPublicKey", 4997 "curve" : "secp256k1", 4998 "keySize" : 256, 4999 "uncompressed" : "044f28461dea64474d6bb34d1499c97d37b9e95633df1ceeeaacd45016c98b3914c8818810b8cc06ddb40e8a1261c528faa589455d5a6df93b77bc5e0e493c7470", 5000 "wx" : "4f28461dea64474d6bb34d1499c97d37b9e95633df1ceeeaacd45016c98b3914", 5001 "wy" : "00c8818810b8cc06ddb40e8a1261c528faa589455d5a6df93b77bc5e0e493c7470" 5002 }, 5003 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200044f28461dea64474d6bb34d1499c97d37b9e95633df1ceeeaacd45016c98b3914c8818810b8cc06ddb40e8a1261c528faa589455d5a6df93b77bc5e0e493c7470", 5004 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAETyhGHepkR01rs00Umcl9N7npVjPfHO7q\nrNRQFsmLORTIgYgQuMwG3bQOihJhxSj6pYlFXVpt+Tt3vF4OSTx0cA==\n-----END PUBLIC KEY-----\n", 5005 "sha" : "SHA-256", 5006 "tests" : [ 5007 { 5008 "tcId" : 401, 5009 "comment" : "edge case for u1", 5010 "flags" : [ 5011 "ArithmeticError" 5012 ], 5013 "msg" : "313233343030", 5014 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02206c7648fc0fbf8a06adb8b839f97b4ff7a800f11b1e37c593b261394599792ba4", 5015 "result" : "valid" 5016 } 5017 ] 5018 }, 5019 { 5020 "type" : "EcdsaBitcoinVerify", 5021 "publicKey" : { 5022 "type" : "EcPublicKey", 5023 "curve" : "secp256k1", 5024 "keySize" : 256, 5025 "uncompressed" : "0474f2a814fb5d8eca91a69b5e60712732b3937de32829be974ed7b68c5c2f5d66eff0f07c56f987a657f42196205f588c0f1d96fd8a63a5f238b48f478788fe3b", 5026 "wx" : "74f2a814fb5d8eca91a69b5e60712732b3937de32829be974ed7b68c5c2f5d66", 5027 "wy" : "00eff0f07c56f987a657f42196205f588c0f1d96fd8a63a5f238b48f478788fe3b" 5028 }, 5029 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000474f2a814fb5d8eca91a69b5e60712732b3937de32829be974ed7b68c5c2f5d66eff0f07c56f987a657f42196205f588c0f1d96fd8a63a5f238b48f478788fe3b", 5030 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEdPKoFPtdjsqRppteYHEnMrOTfeMoKb6X\nTte2jFwvXWbv8PB8VvmHplf0IZYgX1iMDx2W/YpjpfI4tI9Hh4j+Ow==\n-----END PUBLIC KEY-----\n", 5031 "sha" : "SHA-256", 5032 "tests" : [ 5033 { 5034 "tcId" : 402, 5035 "comment" : "edge case for u1", 5036 "flags" : [ 5037 "ArithmeticError" 5038 ], 5039 "msg" : "313233343030", 5040 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0220641c9c5d790dc09cdd3dfabb62cdf453e69747a7e3d7aa1a714189ef53171a99", 5041 "result" : "valid" 5042 } 5043 ] 5044 }, 5045 { 5046 "type" : "EcdsaBitcoinVerify", 5047 "publicKey" : { 5048 "type" : "EcPublicKey", 5049 "curve" : "secp256k1", 5050 "keySize" : 256, 5051 "uncompressed" : "04195b51a7cc4a21b8274a70a90de779814c3c8ca358328208c09a29f336b82d6ab2416b7c92fffdc29c3b1282dd2a77a4d04df7f7452047393d849989c5cee9ad", 5052 "wx" : "195b51a7cc4a21b8274a70a90de779814c3c8ca358328208c09a29f336b82d6a", 5053 "wy" : "00b2416b7c92fffdc29c3b1282dd2a77a4d04df7f7452047393d849989c5cee9ad" 5054 }, 5055 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004195b51a7cc4a21b8274a70a90de779814c3c8ca358328208c09a29f336b82d6ab2416b7c92fffdc29c3b1282dd2a77a4d04df7f7452047393d849989c5cee9ad", 5056 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGVtRp8xKIbgnSnCpDed5gUw8jKNYMoII\nwJop8za4LWqyQWt8kv/9wpw7EoLdKnek0E3390UgRzk9hJmJxc7prQ==\n-----END PUBLIC KEY-----\n", 5057 "sha" : "SHA-256", 5058 "tests" : [ 5059 { 5060 "tcId" : 403, 5061 "comment" : "edge case for u1", 5062 "flags" : [ 5063 "ArithmeticError" 5064 ], 5065 "msg" : "313233343030", 5066 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022029798c5c45bdf58b4a7b2fdc2c46ab4af1218c7eeb9f0f27a88f1267674de3b0", 5067 "result" : "valid" 5068 } 5069 ] 5070 }, 5071 { 5072 "type" : "EcdsaBitcoinVerify", 5073 "publicKey" : { 5074 "type" : "EcPublicKey", 5075 "curve" : "secp256k1", 5076 "keySize" : 256, 5077 "uncompressed" : "04622fc74732034bec2ddf3bc16d34b3d1f7a327dd2a8c19bab4bb4fe3a24b58aa736b2f2fae76f4dfaecc9096333b01328d51eb3fda9c9227e90d0b449983c4f0", 5078 "wx" : "622fc74732034bec2ddf3bc16d34b3d1f7a327dd2a8c19bab4bb4fe3a24b58aa", 5079 "wy" : "736b2f2fae76f4dfaecc9096333b01328d51eb3fda9c9227e90d0b449983c4f0" 5080 }, 5081 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004622fc74732034bec2ddf3bc16d34b3d1f7a327dd2a8c19bab4bb4fe3a24b58aa736b2f2fae76f4dfaecc9096333b01328d51eb3fda9c9227e90d0b449983c4f0", 5082 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEYi/HRzIDS+wt3zvBbTSz0fejJ90qjBm6\ntLtP46JLWKpzay8vrnb0367MkJYzOwEyjVHrP9qckifpDQtEmYPE8A==\n-----END PUBLIC KEY-----\n", 5083 "sha" : "SHA-256", 5084 "tests" : [ 5085 { 5086 "tcId" : 404, 5087 "comment" : "edge case for u1", 5088 "flags" : [ 5089 "ArithmeticError" 5090 ], 5091 "msg" : "313233343030", 5092 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02200b70f22ca2bb3cefadca1a5711fa3a59f4695385eb5aedf3495d0b6d00f8fd85", 5093 "result" : "valid" 5094 } 5095 ] 5096 }, 5097 { 5098 "type" : "EcdsaBitcoinVerify", 5099 "publicKey" : { 5100 "type" : "EcPublicKey", 5101 "curve" : "secp256k1", 5102 "keySize" : 256, 5103 "uncompressed" : "041f7f85caf2d7550e7af9b65023ebb4dce3450311692309db269969b834b611c70827f45b78020ecbbaf484fdd5bfaae6870f1184c21581baf6ef82bd7b530f93", 5104 "wx" : "1f7f85caf2d7550e7af9b65023ebb4dce3450311692309db269969b834b611c7", 5105 "wy" : "0827f45b78020ecbbaf484fdd5bfaae6870f1184c21581baf6ef82bd7b530f93" 5106 }, 5107 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200041f7f85caf2d7550e7af9b65023ebb4dce3450311692309db269969b834b611c70827f45b78020ecbbaf484fdd5bfaae6870f1184c21581baf6ef82bd7b530f93", 5108 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEH3+FyvLXVQ56+bZQI+u03ONFAxFpIwnb\nJplpuDS2EccIJ/RbeAIOy7r0hP3Vv6rmhw8RhMIVgbr274K9e1MPkw==\n-----END PUBLIC KEY-----\n", 5109 "sha" : "SHA-256", 5110 "tests" : [ 5111 { 5112 "tcId" : 405, 5113 "comment" : "edge case for u1", 5114 "flags" : [ 5115 "ArithmeticError" 5116 ], 5117 "msg" : "313233343030", 5118 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022016e1e459457679df5b9434ae23f474b3e8d2a70bd6b5dbe692ba16da01f1fb0a", 5119 "result" : "valid" 5120 } 5121 ] 5122 }, 5123 { 5124 "type" : "EcdsaBitcoinVerify", 5125 "publicKey" : { 5126 "type" : "EcPublicKey", 5127 "curve" : "secp256k1", 5128 "keySize" : 256, 5129 "uncompressed" : "0449c197dc80ad1da47a4342b93893e8e1fb0bb94fc33a83e783c00b24c781377aefc20da92bac762951f72474becc734d4cc22ba81b895e282fdac4df7af0f37d", 5130 "wx" : "49c197dc80ad1da47a4342b93893e8e1fb0bb94fc33a83e783c00b24c781377a", 5131 "wy" : "00efc20da92bac762951f72474becc734d4cc22ba81b895e282fdac4df7af0f37d" 5132 }, 5133 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000449c197dc80ad1da47a4342b93893e8e1fb0bb94fc33a83e783c00b24c781377aefc20da92bac762951f72474becc734d4cc22ba81b895e282fdac4df7af0f37d", 5134 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEScGX3ICtHaR6Q0K5OJPo4fsLuU/DOoPn\ng8ALJMeBN3rvwg2pK6x2KVH3JHS+zHNNTMIrqBuJXigv2sTfevDzfQ==\n-----END PUBLIC KEY-----\n", 5135 "sha" : "SHA-256", 5136 "tests" : [ 5137 { 5138 "tcId" : 406, 5139 "comment" : "edge case for u1", 5140 "flags" : [ 5141 "ArithmeticError" 5142 ], 5143 "msg" : "313233343030", 5144 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202252d685e831b6cf095e4f0535eeaf0ddd3bfa91c210c9d9dc17224702eaf88f", 5145 "result" : "valid" 5146 } 5147 ] 5148 }, 5149 { 5150 "type" : "EcdsaBitcoinVerify", 5151 "publicKey" : { 5152 "type" : "EcPublicKey", 5153 "curve" : "secp256k1", 5154 "keySize" : 256, 5155 "uncompressed" : "04d8cb68517b616a56400aa3868635e54b6f699598a2f6167757654980baf6acbe7ec8cf449c849aa03461a30efada41453c57c6e6fbc93bbc6fa49ada6dc0555c", 5156 "wx" : "00d8cb68517b616a56400aa3868635e54b6f699598a2f6167757654980baf6acbe", 5157 "wy" : "7ec8cf449c849aa03461a30efada41453c57c6e6fbc93bbc6fa49ada6dc0555c" 5158 }, 5159 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d8cb68517b616a56400aa3868635e54b6f699598a2f6167757654980baf6acbe7ec8cf449c849aa03461a30efada41453c57c6e6fbc93bbc6fa49ada6dc0555c", 5160 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE2MtoUXthalZACqOGhjXlS29plZii9hZ3\nV2VJgLr2rL5+yM9EnISaoDRhow762kFFPFfG5vvJO7xvpJrabcBVXA==\n-----END PUBLIC KEY-----\n", 5161 "sha" : "SHA-256", 5162 "tests" : [ 5163 { 5164 "tcId" : 407, 5165 "comment" : "edge case for u1", 5166 "flags" : [ 5167 "ArithmeticError" 5168 ], 5169 "msg" : "313233343030", 5170 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022075135abd7c425b60371a477f09ce0f274f64a8c6b061a07b5d63e93c65046c53", 5171 "result" : "valid" 5172 } 5173 ] 5174 }, 5175 { 5176 "type" : "EcdsaBitcoinVerify", 5177 "publicKey" : { 5178 "type" : "EcPublicKey", 5179 "curve" : "secp256k1", 5180 "keySize" : 256, 5181 "uncompressed" : "04030713fb63f2aa6fe2cadf1b20efc259c77445dafa87dac398b84065ca347df3b227818de1a39b589cb071d83e5317cccdc2338e51e312fe31d8dc34a4801750", 5182 "wx" : "030713fb63f2aa6fe2cadf1b20efc259c77445dafa87dac398b84065ca347df3", 5183 "wy" : "00b227818de1a39b589cb071d83e5317cccdc2338e51e312fe31d8dc34a4801750" 5184 }, 5185 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004030713fb63f2aa6fe2cadf1b20efc259c77445dafa87dac398b84065ca347df3b227818de1a39b589cb071d83e5317cccdc2338e51e312fe31d8dc34a4801750", 5186 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAwcT+2Pyqm/iyt8bIO/CWcd0Rdr6h9rD\nmLhAZco0ffOyJ4GN4aObWJywcdg+UxfMzcIzjlHjEv4x2Nw0pIAXUA==\n-----END PUBLIC KEY-----\n", 5187 "sha" : "SHA-256", 5188 "tests" : [ 5189 { 5190 "tcId" : 408, 5191 "comment" : "edge case for u2", 5192 "flags" : [ 5193 "ArithmeticError" 5194 ], 5195 "msg" : "313233343030", 5196 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa3e3a49a23a6d8abe95461f8445676b17", 5197 "result" : "valid" 5198 } 5199 ] 5200 }, 5201 { 5202 "type" : "EcdsaBitcoinVerify", 5203 "publicKey" : { 5204 "type" : "EcPublicKey", 5205 "curve" : "secp256k1", 5206 "keySize" : 256, 5207 "uncompressed" : "04babb3677b0955802d8e929a41355640eaf1ea1353f8a771331c4946e3480afa7252f196c87ed3d2a59d3b1b559137fed0013fecefc19fb5a92682b9bca51b950", 5208 "wx" : "00babb3677b0955802d8e929a41355640eaf1ea1353f8a771331c4946e3480afa7", 5209 "wy" : "252f196c87ed3d2a59d3b1b559137fed0013fecefc19fb5a92682b9bca51b950" 5210 }, 5211 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004babb3677b0955802d8e929a41355640eaf1ea1353f8a771331c4946e3480afa7252f196c87ed3d2a59d3b1b559137fed0013fecefc19fb5a92682b9bca51b950", 5212 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEurs2d7CVWALY6SmkE1VkDq8eoTU/incT\nMcSUbjSAr6clLxlsh+09KlnTsbVZE3/tABP+zvwZ+1qSaCubylG5UA==\n-----END PUBLIC KEY-----\n", 5213 "sha" : "SHA-256", 5214 "tests" : [ 5215 { 5216 "tcId" : 409, 5217 "comment" : "edge case for u2", 5218 "flags" : [ 5219 "ArithmeticError" 5220 ], 5221 "msg" : "313233343030", 5222 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203e888377ac6c71ac9dec3fdb9b56c9feaf0cfaca9f827fc5eb65fc3eac811210", 5223 "result" : "valid" 5224 } 5225 ] 5226 }, 5227 { 5228 "type" : "EcdsaBitcoinVerify", 5229 "publicKey" : { 5230 "type" : "EcPublicKey", 5231 "curve" : "secp256k1", 5232 "keySize" : 256, 5233 "uncompressed" : "041aab2018793471111a8a0e9b143fde02fc95920796d3a63de329b424396fba60bbe4130705174792441b318d3aa31dfe8577821e9b446ec573d272e036c4ebe9", 5234 "wx" : "1aab2018793471111a8a0e9b143fde02fc95920796d3a63de329b424396fba60", 5235 "wy" : "00bbe4130705174792441b318d3aa31dfe8577821e9b446ec573d272e036c4ebe9" 5236 }, 5237 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200041aab2018793471111a8a0e9b143fde02fc95920796d3a63de329b424396fba60bbe4130705174792441b318d3aa31dfe8577821e9b446ec573d272e036c4ebe9", 5238 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGqsgGHk0cREaig6bFD/eAvyVkgeW06Y9\n4ym0JDlvumC75BMHBRdHkkQbMY06ox3+hXeCHptEbsVz0nLgNsTr6Q==\n-----END PUBLIC KEY-----\n", 5239 "sha" : "SHA-256", 5240 "tests" : [ 5241 { 5242 "tcId" : 410, 5243 "comment" : "edge case for u2", 5244 "flags" : [ 5245 "ArithmeticError" 5246 ], 5247 "msg" : "313233343030", 5248 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022030bbb794db588363b40679f6c182a50d3ce9679acdd3ffbe36d7813dacbdc818", 5249 "result" : "valid" 5250 } 5251 ] 5252 }, 5253 { 5254 "type" : "EcdsaBitcoinVerify", 5255 "publicKey" : { 5256 "type" : "EcPublicKey", 5257 "curve" : "secp256k1", 5258 "keySize" : 256, 5259 "uncompressed" : "048cb0b909499c83ea806cd885b1dd467a0119f06a88a0276eb0cfda274535a8ff47b5428833bc3f2c8bf9d9041158cf33718a69961cd01729bc0011d1e586ab75", 5260 "wx" : "008cb0b909499c83ea806cd885b1dd467a0119f06a88a0276eb0cfda274535a8ff", 5261 "wy" : "47b5428833bc3f2c8bf9d9041158cf33718a69961cd01729bc0011d1e586ab75" 5262 }, 5263 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200048cb0b909499c83ea806cd885b1dd467a0119f06a88a0276eb0cfda274535a8ff47b5428833bc3f2c8bf9d9041158cf33718a69961cd01729bc0011d1e586ab75", 5264 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEjLC5CUmcg+qAbNiFsd1GegEZ8GqIoCdu\nsM/aJ0U1qP9HtUKIM7w/LIv52QQRWM8zcYpplhzQFym8ABHR5YardQ==\n-----END PUBLIC KEY-----\n", 5265 "sha" : "SHA-256", 5266 "tests" : [ 5267 { 5268 "tcId" : 411, 5269 "comment" : "edge case for u2", 5270 "flags" : [ 5271 "ArithmeticError" 5272 ], 5273 "msg" : "313233343030", 5274 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202c37fd995622c4fb7fffffffffffffffc7cee745110cb45ab558ed7c90c15a2f", 5275 "result" : "valid" 5276 } 5277 ] 5278 }, 5279 { 5280 "type" : "EcdsaBitcoinVerify", 5281 "publicKey" : { 5282 "type" : "EcPublicKey", 5283 "curve" : "secp256k1", 5284 "keySize" : 256, 5285 "uncompressed" : "048f03cf1a42272bb1532723093f72e6feeac85e1700e9fbe9a6a2dd642d74bf5d3b89a7189dad8cf75fc22f6f158aa27f9c2ca00daca785be3358f2bda3862ca0", 5286 "wx" : "008f03cf1a42272bb1532723093f72e6feeac85e1700e9fbe9a6a2dd642d74bf5d", 5287 "wy" : "3b89a7189dad8cf75fc22f6f158aa27f9c2ca00daca785be3358f2bda3862ca0" 5288 }, 5289 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200048f03cf1a42272bb1532723093f72e6feeac85e1700e9fbe9a6a2dd642d74bf5d3b89a7189dad8cf75fc22f6f158aa27f9c2ca00daca785be3358f2bda3862ca0", 5290 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEjwPPGkInK7FTJyMJP3Lm/urIXhcA6fvp\npqLdZC10v107iacYna2M91/CL28ViqJ/nCygDaynhb4zWPK9o4YsoA==\n-----END PUBLIC KEY-----\n", 5291 "sha" : "SHA-256", 5292 "tests" : [ 5293 { 5294 "tcId" : 412, 5295 "comment" : "edge case for u2", 5296 "flags" : [ 5297 "ArithmeticError" 5298 ], 5299 "msg" : "313233343030", 5300 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02207fd995622c4fb7ffffffffffffffffff5d883ffab5b32652ccdcaa290fccb97d", 5301 "result" : "valid" 5302 } 5303 ] 5304 }, 5305 { 5306 "type" : "EcdsaBitcoinVerify", 5307 "publicKey" : { 5308 "type" : "EcPublicKey", 5309 "curve" : "secp256k1", 5310 "keySize" : 256, 5311 "uncompressed" : "0444de3b9c7a57a8c9e820952753421e7d987bb3d79f71f013805c897e018f8acea2460758c8f98d3fdce121a943659e372c326fff2e5fc2ae7fa3f79daae13c12", 5312 "wx" : "44de3b9c7a57a8c9e820952753421e7d987bb3d79f71f013805c897e018f8ace", 5313 "wy" : "00a2460758c8f98d3fdce121a943659e372c326fff2e5fc2ae7fa3f79daae13c12" 5314 }, 5315 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000444de3b9c7a57a8c9e820952753421e7d987bb3d79f71f013805c897e018f8acea2460758c8f98d3fdce121a943659e372c326fff2e5fc2ae7fa3f79daae13c12", 5316 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERN47nHpXqMnoIJUnU0IefZh7s9efcfAT\ngFyJfgGPis6iRgdYyPmNP9zhIalDZZ43LDJv/y5fwq5/o/edquE8Eg==\n-----END PUBLIC KEY-----\n", 5317 "sha" : "SHA-256", 5318 "tests" : [ 5319 { 5320 "tcId" : 413, 5321 "comment" : "edge case for u2", 5322 "flags" : [ 5323 "ArithmeticError" 5324 ], 5325 "msg" : "313233343030", 5326 "sig" : "304302207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc021f4cd53ba7608fffffffffffffffffffff9e5cf143e2539626190a3ab09cce47", 5327 "result" : "valid" 5328 } 5329 ] 5330 }, 5331 { 5332 "type" : "EcdsaBitcoinVerify", 5333 "publicKey" : { 5334 "type" : "EcPublicKey", 5335 "curve" : "secp256k1", 5336 "keySize" : 256, 5337 "uncompressed" : "046fb8b2b48e33031268ad6a517484dc8839ea90f6669ea0c7ac3233e2ac31394a0ac8bbe7f73c2ff4df9978727ac1dfc2fd58647d20f31f99105316b64671f204", 5338 "wx" : "6fb8b2b48e33031268ad6a517484dc8839ea90f6669ea0c7ac3233e2ac31394a", 5339 "wy" : "0ac8bbe7f73c2ff4df9978727ac1dfc2fd58647d20f31f99105316b64671f204" 5340 }, 5341 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200046fb8b2b48e33031268ad6a517484dc8839ea90f6669ea0c7ac3233e2ac31394a0ac8bbe7f73c2ff4df9978727ac1dfc2fd58647d20f31f99105316b64671f204", 5342 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEb7iytI4zAxJorWpRdITciDnqkPZmnqDH\nrDIz4qwxOUoKyLvn9zwv9N+ZeHJ6wd/C/VhkfSDzH5kQUxa2RnHyBA==\n-----END PUBLIC KEY-----\n", 5343 "sha" : "SHA-256", 5344 "tests" : [ 5345 { 5346 "tcId" : 414, 5347 "comment" : "edge case for u2", 5348 "flags" : [ 5349 "ArithmeticError" 5350 ], 5351 "msg" : "313233343030", 5352 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02205622c4fb7fffffffffffffffffffffff928a8f1c7ac7bec1808b9f61c01ec327", 5353 "result" : "valid" 5354 } 5355 ] 5356 }, 5357 { 5358 "type" : "EcdsaBitcoinVerify", 5359 "publicKey" : { 5360 "type" : "EcPublicKey", 5361 "curve" : "secp256k1", 5362 "keySize" : 256, 5363 "uncompressed" : "04bea71122a048693e905ff602b3cf9dd18af69b9fc9d8431d2b1dd26b942c95e6f43c7b8b95eb62082c12db9dbda7fe38e45cbe4a4886907fb81bdb0c5ea9246c", 5364 "wx" : "00bea71122a048693e905ff602b3cf9dd18af69b9fc9d8431d2b1dd26b942c95e6", 5365 "wy" : "00f43c7b8b95eb62082c12db9dbda7fe38e45cbe4a4886907fb81bdb0c5ea9246c" 5366 }, 5367 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bea71122a048693e905ff602b3cf9dd18af69b9fc9d8431d2b1dd26b942c95e6f43c7b8b95eb62082c12db9dbda7fe38e45cbe4a4886907fb81bdb0c5ea9246c", 5368 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEvqcRIqBIaT6QX/YCs8+d0Yr2m5/J2EMd\nKx3Sa5Qsleb0PHuLletiCCwS2529p/445Fy+SkiGkH+4G9sMXqkkbA==\n-----END PUBLIC KEY-----\n", 5369 "sha" : "SHA-256", 5370 "tests" : [ 5371 { 5372 "tcId" : 415, 5373 "comment" : "edge case for u2", 5374 "flags" : [ 5375 "ArithmeticError" 5376 ], 5377 "msg" : "313233343030", 5378 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022044104104104104104104104104104103b87853fd3b7d3f8e175125b4382f25ed", 5379 "result" : "valid" 5380 } 5381 ] 5382 }, 5383 { 5384 "type" : "EcdsaBitcoinVerify", 5385 "publicKey" : { 5386 "type" : "EcPublicKey", 5387 "curve" : "secp256k1", 5388 "keySize" : 256, 5389 "uncompressed" : "04da918c731ba06a20cb94ef33b778e981a404a305f1941fe33666b45b03353156e2bb2694f575b45183be78e5c9b5210bf3bf488fd4c8294516d89572ca4f5391", 5390 "wx" : "00da918c731ba06a20cb94ef33b778e981a404a305f1941fe33666b45b03353156", 5391 "wy" : "00e2bb2694f575b45183be78e5c9b5210bf3bf488fd4c8294516d89572ca4f5391" 5392 }, 5393 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004da918c731ba06a20cb94ef33b778e981a404a305f1941fe33666b45b03353156e2bb2694f575b45183be78e5c9b5210bf3bf488fd4c8294516d89572ca4f5391", 5394 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE2pGMcxugaiDLlO8zt3jpgaQEowXxlB/j\nNma0WwM1MVbiuyaU9XW0UYO+eOXJtSEL879Ij9TIKUUW2JVyyk9TkQ==\n-----END PUBLIC KEY-----\n", 5395 "sha" : "SHA-256", 5396 "tests" : [ 5397 { 5398 "tcId" : 416, 5399 "comment" : "edge case for u2", 5400 "flags" : [ 5401 "ArithmeticError" 5402 ], 5403 "msg" : "313233343030", 5404 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202739ce739ce739ce739ce739ce739ce705560298d1f2f08dc419ac273a5b54d9", 5405 "result" : "valid" 5406 } 5407 ] 5408 }, 5409 { 5410 "type" : "EcdsaBitcoinVerify", 5411 "publicKey" : { 5412 "type" : "EcPublicKey", 5413 "curve" : "secp256k1", 5414 "keySize" : 256, 5415 "uncompressed" : "043007e92c3937dade7964dfa35b0eff031f7eb02aed0a0314411106cdeb70fe3d5a7546fc0552997b20e3d6f413e75e2cb66e116322697114b79bac734bfc4dc5", 5416 "wx" : "3007e92c3937dade7964dfa35b0eff031f7eb02aed0a0314411106cdeb70fe3d", 5417 "wy" : "5a7546fc0552997b20e3d6f413e75e2cb66e116322697114b79bac734bfc4dc5" 5418 }, 5419 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200043007e92c3937dade7964dfa35b0eff031f7eb02aed0a0314411106cdeb70fe3d5a7546fc0552997b20e3d6f413e75e2cb66e116322697114b79bac734bfc4dc5", 5420 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEMAfpLDk32t55ZN+jWw7/Ax9+sCrtCgMU\nQREGzetw/j1adUb8BVKZeyDj1vQT514stm4RYyJpcRS3m6xzS/xNxQ==\n-----END PUBLIC KEY-----\n", 5421 "sha" : "SHA-256", 5422 "tests" : [ 5423 { 5424 "tcId" : 417, 5425 "comment" : "edge case for u2", 5426 "flags" : [ 5427 "ArithmeticError" 5428 ], 5429 "msg" : "313233343030", 5430 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02204888888888888888888888888888888831c83ae82ebe0898776b4c69d11f88de", 5431 "result" : "valid" 5432 } 5433 ] 5434 }, 5435 { 5436 "type" : "EcdsaBitcoinVerify", 5437 "publicKey" : { 5438 "type" : "EcPublicKey", 5439 "curve" : "secp256k1", 5440 "keySize" : 256, 5441 "uncompressed" : "0460e734ef5624d3cbf0ddd375011bd663d6d6aebc644eb599fdf98dbdcd18ce9bd2d90b3ac31f139af832cccf6ccbbb2c6ea11fa97370dc9906da474d7d8a7567", 5442 "wx" : "60e734ef5624d3cbf0ddd375011bd663d6d6aebc644eb599fdf98dbdcd18ce9b", 5443 "wy" : "00d2d90b3ac31f139af832cccf6ccbbb2c6ea11fa97370dc9906da474d7d8a7567" 5444 }, 5445 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000460e734ef5624d3cbf0ddd375011bd663d6d6aebc644eb599fdf98dbdcd18ce9bd2d90b3ac31f139af832cccf6ccbbb2c6ea11fa97370dc9906da474d7d8a7567", 5446 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEYOc071Yk08vw3dN1ARvWY9bWrrxkTrWZ\n/fmNvc0YzpvS2Qs6wx8TmvgyzM9sy7ssbqEfqXNw3JkG2kdNfYp1Zw==\n-----END PUBLIC KEY-----\n", 5447 "sha" : "SHA-256", 5448 "tests" : [ 5449 { 5450 "tcId" : 418, 5451 "comment" : "edge case for u2", 5452 "flags" : [ 5453 "ArithmeticError" 5454 ], 5455 "msg" : "313233343030", 5456 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02206492492492492492492492492492492406dd3a19b8d5fb875235963c593bd2d3", 5457 "result" : "valid" 5458 } 5459 ] 5460 }, 5461 { 5462 "type" : "EcdsaBitcoinVerify", 5463 "publicKey" : { 5464 "type" : "EcPublicKey", 5465 "curve" : "secp256k1", 5466 "keySize" : 256, 5467 "uncompressed" : "0485a900e97858f693c0b7dfa261e380dad6ea046d1f65ddeeedd5f7d8af0ba33769744d15add4f6c0bc3b0da2aec93b34cb8c65f9340ddf74e7b0009eeeccce3c", 5468 "wx" : "0085a900e97858f693c0b7dfa261e380dad6ea046d1f65ddeeedd5f7d8af0ba337", 5469 "wy" : "69744d15add4f6c0bc3b0da2aec93b34cb8c65f9340ddf74e7b0009eeeccce3c" 5470 }, 5471 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000485a900e97858f693c0b7dfa261e380dad6ea046d1f65ddeeedd5f7d8af0ba33769744d15add4f6c0bc3b0da2aec93b34cb8c65f9340ddf74e7b0009eeeccce3c", 5472 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEhakA6XhY9pPAt9+iYeOA2tbqBG0fZd3u\n7dX32K8LozdpdE0VrdT2wLw7DaKuyTs0y4xl+TQN33TnsACe7szOPA==\n-----END PUBLIC KEY-----\n", 5473 "sha" : "SHA-256", 5474 "tests" : [ 5475 { 5476 "tcId" : 419, 5477 "comment" : "edge case for u2", 5478 "flags" : [ 5479 "ArithmeticError" 5480 ], 5481 "msg" : "313233343030", 5482 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02206aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa3e3a49a23a6d8abe95461f8445676b15", 5483 "result" : "valid" 5484 } 5485 ] 5486 }, 5487 { 5488 "type" : "EcdsaBitcoinVerify", 5489 "publicKey" : { 5490 "type" : "EcPublicKey", 5491 "curve" : "secp256k1", 5492 "keySize" : 256, 5493 "uncompressed" : "0438066f75d88efc4c93de36f49e037b234cc18b1de5608750a62cab0345401046a3e84bed8cfcb819ef4d550444f2ce4b651766b69e2e2901f88836ff90034fed", 5494 "wx" : "38066f75d88efc4c93de36f49e037b234cc18b1de5608750a62cab0345401046", 5495 "wy" : "00a3e84bed8cfcb819ef4d550444f2ce4b651766b69e2e2901f88836ff90034fed" 5496 }, 5497 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000438066f75d88efc4c93de36f49e037b234cc18b1de5608750a62cab0345401046a3e84bed8cfcb819ef4d550444f2ce4b651766b69e2e2901f88836ff90034fed", 5498 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEOAZvddiO/EyT3jb0ngN7I0zBix3lYIdQ\npiyrA0VAEEaj6EvtjPy4Ge9NVQRE8s5LZRdmtp4uKQH4iDb/kANP7Q==\n-----END PUBLIC KEY-----\n", 5499 "sha" : "SHA-256", 5500 "tests" : [ 5501 { 5502 "tcId" : 420, 5503 "comment" : "edge case for u2", 5504 "flags" : [ 5505 "ArithmeticError" 5506 ], 5507 "msg" : "313233343030", 5508 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa3e3a49a23a6d8abe95461f8445676b17", 5509 "result" : "valid" 5510 } 5511 ] 5512 }, 5513 { 5514 "type" : "EcdsaBitcoinVerify", 5515 "publicKey" : { 5516 "type" : "EcPublicKey", 5517 "curve" : "secp256k1", 5518 "keySize" : 256, 5519 "uncompressed" : "0498f68177dc95c1b4cbfa5245488ca523a7d5629470d035d621a443c72f39aabfa33d29546fa1c648f2c7d5ccf70cf1ce4ab79b5db1ac059dbecd068dbdff1b89", 5520 "wx" : "0098f68177dc95c1b4cbfa5245488ca523a7d5629470d035d621a443c72f39aabf", 5521 "wy" : "00a33d29546fa1c648f2c7d5ccf70cf1ce4ab79b5db1ac059dbecd068dbdff1b89" 5522 }, 5523 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000498f68177dc95c1b4cbfa5245488ca523a7d5629470d035d621a443c72f39aabfa33d29546fa1c648f2c7d5ccf70cf1ce4ab79b5db1ac059dbecd068dbdff1b89", 5524 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEmPaBd9yVwbTL+lJFSIylI6fVYpRw0DXW\nIaRDxy85qr+jPSlUb6HGSPLH1cz3DPHOSrebXbGsBZ2+zQaNvf8biQ==\n-----END PUBLIC KEY-----\n", 5525 "sha" : "SHA-256", 5526 "tests" : [ 5527 { 5528 "tcId" : 421, 5529 "comment" : "edge case for u2", 5530 "flags" : [ 5531 "ArithmeticError" 5532 ], 5533 "msg" : "313233343030", 5534 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe", 5535 "result" : "valid" 5536 } 5537 ] 5538 }, 5539 { 5540 "type" : "EcdsaBitcoinVerify", 5541 "publicKey" : { 5542 "type" : "EcPublicKey", 5543 "curve" : "secp256k1", 5544 "keySize" : 256, 5545 "uncompressed" : "045c2bbfa23c9b9ad07f038aa89b4930bf267d9401e4255de9e8da0a5078ec8277e3e882a31d5e6a379e0793983ccded39b95c4353ab2ff01ea5369ba47b0c3191", 5546 "wx" : "5c2bbfa23c9b9ad07f038aa89b4930bf267d9401e4255de9e8da0a5078ec8277", 5547 "wy" : "00e3e882a31d5e6a379e0793983ccded39b95c4353ab2ff01ea5369ba47b0c3191" 5548 }, 5549 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200045c2bbfa23c9b9ad07f038aa89b4930bf267d9401e4255de9e8da0a5078ec8277e3e882a31d5e6a379e0793983ccded39b95c4353ab2ff01ea5369ba47b0c3191", 5550 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEXCu/ojybmtB/A4qom0kwvyZ9lAHkJV3p\n6NoKUHjsgnfj6IKjHV5qN54Hk5g8ze05uVxDU6sv8B6lNpukewwxkQ==\n-----END PUBLIC KEY-----\n", 5551 "sha" : "SHA-256", 5552 "tests" : [ 5553 { 5554 "tcId" : 422, 5555 "comment" : "edge case for u2", 5556 "flags" : [ 5557 "ArithmeticError" 5558 ], 5559 "msg" : "313233343030", 5560 "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0220185ddbca6dac41b1da033cfb60c152869e74b3cd66e9ffdf1b6bc09ed65ee40c", 5561 "result" : "valid" 5562 } 5563 ] 5564 }, 5565 { 5566 "type" : "EcdsaBitcoinVerify", 5567 "publicKey" : { 5568 "type" : "EcPublicKey", 5569 "curve" : "secp256k1", 5570 "keySize" : 256, 5571 "uncompressed" : "042ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a3853547808298448edb5e701ade84cd5fb1ac9567ba5e8fb68a6b933ec4b5cc84cc", 5572 "wx" : "2ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a385", 5573 "wy" : "3547808298448edb5e701ade84cd5fb1ac9567ba5e8fb68a6b933ec4b5cc84cc" 5574 }, 5575 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200042ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a3853547808298448edb5e701ade84cd5fb1ac9567ba5e8fb68a6b933ec4b5cc84cc", 5576 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAELqcTNDIznGnSf5smcoG9Ld1fGdYzjUAK\nBc02R7FXo4U1R4CCmESO215wGt6EzV+xrJVnul6Ptoprkz7EtcyEzA==\n-----END PUBLIC KEY-----\n", 5577 "sha" : "SHA-256", 5578 "tests" : [ 5579 { 5580 "tcId" : 423, 5581 "comment" : "point duplication during verification", 5582 "flags" : [ 5583 "PointDuplication" 5584 ], 5585 "msg" : "313233343030", 5586 "sig" : "3044022032b0d10d8d0e04bc8d4d064d270699e87cffc9b49c5c20730e1c26f6105ddcda022029ed3d67b3d505be95580d77d5b792b436881179b2b6b2e04c5fe592d38d82d9", 5587 "result" : "valid" 5588 } 5589 ] 5590 }, 5591 { 5592 "type" : "EcdsaBitcoinVerify", 5593 "publicKey" : { 5594 "type" : "EcPublicKey", 5595 "curve" : "secp256k1", 5596 "keySize" : 256, 5597 "uncompressed" : "042ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a385cab87f7d67bb7124a18fe5217b32a04e536a9845a1704975946cc13a4a337763", 5598 "wx" : "2ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a385", 5599 "wy" : "00cab87f7d67bb7124a18fe5217b32a04e536a9845a1704975946cc13a4a337763" 5600 }, 5601 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200042ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a385cab87f7d67bb7124a18fe5217b32a04e536a9845a1704975946cc13a4a337763", 5602 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAELqcTNDIznGnSf5smcoG9Ld1fGdYzjUAK\nBc02R7FXo4XKuH99Z7txJKGP5SF7MqBOU2qYRaFwSXWUbME6SjN3Yw==\n-----END PUBLIC KEY-----\n", 5603 "sha" : "SHA-256", 5604 "tests" : [ 5605 { 5606 "tcId" : 424, 5607 "comment" : "duplication bug", 5608 "flags" : [ 5609 "PointDuplication" 5610 ], 5611 "msg" : "313233343030", 5612 "sig" : "3044022032b0d10d8d0e04bc8d4d064d270699e87cffc9b49c5c20730e1c26f6105ddcda022029ed3d67b3d505be95580d77d5b792b436881179b2b6b2e04c5fe592d38d82d9", 5613 "result" : "invalid" 5614 } 5615 ] 5616 }, 5617 { 5618 "type" : "EcdsaBitcoinVerify", 5619 "publicKey" : { 5620 "type" : "EcPublicKey", 5621 "curve" : "secp256k1", 5622 "keySize" : 256, 5623 "uncompressed" : "048aa2c64fa9c6437563abfbcbd00b2048d48c18c152a2a6f49036de7647ebe82e1ce64387995c68a060fa3bc0399b05cc06eec7d598f75041a4917e692b7f51ff", 5624 "wx" : "008aa2c64fa9c6437563abfbcbd00b2048d48c18c152a2a6f49036de7647ebe82e", 5625 "wy" : "1ce64387995c68a060fa3bc0399b05cc06eec7d598f75041a4917e692b7f51ff" 5626 }, 5627 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200048aa2c64fa9c6437563abfbcbd00b2048d48c18c152a2a6f49036de7647ebe82e1ce64387995c68a060fa3bc0399b05cc06eec7d598f75041a4917e692b7f51ff", 5628 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEiqLGT6nGQ3Vjq/vL0AsgSNSMGMFSoqb0\nkDbedkfr6C4c5kOHmVxooGD6O8A5mwXMBu7H1Zj3UEGkkX5pK39R/w==\n-----END PUBLIC KEY-----\n", 5629 "sha" : "SHA-256", 5630 "tests" : [ 5631 { 5632 "tcId" : 425, 5633 "comment" : "comparison with point at infinity ", 5634 "flags" : [ 5635 "ArithmeticError" 5636 ], 5637 "msg" : "313233343030", 5638 "sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0022033333333333333333333333333333332f222f8faefdb533f265d461c29a47373", 5639 "result" : "invalid" 5640 } 5641 ] 5642 }, 5643 { 5644 "type" : "EcdsaBitcoinVerify", 5645 "publicKey" : { 5646 "type" : "EcPublicKey", 5647 "curve" : "secp256k1", 5648 "keySize" : 256, 5649 "uncompressed" : "04391427ff7ee78013c14aec7d96a8a062209298a783835e94fd6549d502fff71fdd6624ec343ad9fcf4d9872181e59f842f9ba4cccae09a6c0972fb6ac6b4c6bd", 5650 "wx" : "391427ff7ee78013c14aec7d96a8a062209298a783835e94fd6549d502fff71f", 5651 "wy" : "00dd6624ec343ad9fcf4d9872181e59f842f9ba4cccae09a6c0972fb6ac6b4c6bd" 5652 }, 5653 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004391427ff7ee78013c14aec7d96a8a062209298a783835e94fd6549d502fff71fdd6624ec343ad9fcf4d9872181e59f842f9ba4cccae09a6c0972fb6ac6b4c6bd", 5654 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEORQn/37ngBPBSux9lqigYiCSmKeDg16U\n/WVJ1QL/9x/dZiTsNDrZ/PTZhyGB5Z+EL5ukzMrgmmwJcvtqxrTGvQ==\n-----END PUBLIC KEY-----\n", 5655 "sha" : "SHA-256", 5656 "tests" : [ 5657 { 5658 "tcId" : 426, 5659 "comment" : "extreme value for k and edgecase s", 5660 "flags" : [ 5661 "ArithmeticError" 5662 ], 5663 "msg" : "313233343030", 5664 "sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0", 5665 "result" : "valid" 5666 } 5667 ] 5668 }, 5669 { 5670 "type" : "EcdsaBitcoinVerify", 5671 "publicKey" : { 5672 "type" : "EcPublicKey", 5673 "curve" : "secp256k1", 5674 "keySize" : 256, 5675 "uncompressed" : "04e762b8a219b4f180219cc7a9059245e4961bd191c03899789c7a34b89e8c138ec1533ef0419bb7376e0bfde9319d10a06968791d9ea0eed9c1ce6345aed9759e", 5676 "wx" : "00e762b8a219b4f180219cc7a9059245e4961bd191c03899789c7a34b89e8c138e", 5677 "wy" : "00c1533ef0419bb7376e0bfde9319d10a06968791d9ea0eed9c1ce6345aed9759e" 5678 }, 5679 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004e762b8a219b4f180219cc7a9059245e4961bd191c03899789c7a34b89e8c138ec1533ef0419bb7376e0bfde9319d10a06968791d9ea0eed9c1ce6345aed9759e", 5680 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE52K4ohm08YAhnMepBZJF5JYb0ZHAOJl4\nnHo0uJ6ME47BUz7wQZu3N24L/ekxnRCgaWh5HZ6g7tnBzmNFrtl1ng==\n-----END PUBLIC KEY-----\n", 5681 "sha" : "SHA-256", 5682 "tests" : [ 5683 { 5684 "tcId" : 427, 5685 "comment" : "extreme value for k and s^-1", 5686 "flags" : [ 5687 "ArithmeticError" 5688 ], 5689 "msg" : "313233343030", 5690 "sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022049249249249249249249249249249248c79facd43214c011123c1b03a93412a5", 5691 "result" : "valid" 5692 } 5693 ] 5694 }, 5695 { 5696 "type" : "EcdsaBitcoinVerify", 5697 "publicKey" : { 5698 "type" : "EcPublicKey", 5699 "curve" : "secp256k1", 5700 "keySize" : 256, 5701 "uncompressed" : "049aedb0d281db164e130000c5697fae0f305ef848be6fffb43ac593fbb950e952fa6f633359bdcd82b56b0b9f965b037789d46b9a8141b791b2aefa713f96c175", 5702 "wx" : "009aedb0d281db164e130000c5697fae0f305ef848be6fffb43ac593fbb950e952", 5703 "wy" : "00fa6f633359bdcd82b56b0b9f965b037789d46b9a8141b791b2aefa713f96c175" 5704 }, 5705 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200049aedb0d281db164e130000c5697fae0f305ef848be6fffb43ac593fbb950e952fa6f633359bdcd82b56b0b9f965b037789d46b9a8141b791b2aefa713f96c175", 5706 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEmu2w0oHbFk4TAADFaX+uDzBe+Ei+b/+0\nOsWT+7lQ6VL6b2MzWb3NgrVrC5+WWwN3idRrmoFBt5GyrvpxP5bBdQ==\n-----END PUBLIC KEY-----\n", 5707 "sha" : "SHA-256", 5708 "tests" : [ 5709 { 5710 "tcId" : 428, 5711 "comment" : "extreme value for k and s^-1", 5712 "flags" : [ 5713 "ArithmeticError" 5714 ], 5715 "msg" : "313233343030", 5716 "sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022066666666666666666666666666666665e445f1f5dfb6a67e4cba8c385348e6e7", 5717 "result" : "valid" 5718 } 5719 ] 5720 }, 5721 { 5722 "type" : "EcdsaBitcoinVerify", 5723 "publicKey" : { 5724 "type" : "EcPublicKey", 5725 "curve" : "secp256k1", 5726 "keySize" : 256, 5727 "uncompressed" : "048ad445db62816260e4e687fd1884e48b9fc0636d031547d63315e792e19bfaee1de64f99d5f1cd8b6ec9cb0f787a654ae86993ba3db1008ef43cff0684cb22bd", 5728 "wx" : "008ad445db62816260e4e687fd1884e48b9fc0636d031547d63315e792e19bfaee", 5729 "wy" : "1de64f99d5f1cd8b6ec9cb0f787a654ae86993ba3db1008ef43cff0684cb22bd" 5730 }, 5731 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200048ad445db62816260e4e687fd1884e48b9fc0636d031547d63315e792e19bfaee1de64f99d5f1cd8b6ec9cb0f787a654ae86993ba3db1008ef43cff0684cb22bd", 5732 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEitRF22KBYmDk5of9GITki5/AY20DFUfW\nMxXnkuGb+u4d5k+Z1fHNi27Jyw94emVK6GmTuj2xAI70PP8GhMsivQ==\n-----END PUBLIC KEY-----\n", 5733 "sha" : "SHA-256", 5734 "tests" : [ 5735 { 5736 "tcId" : 429, 5737 "comment" : "extreme value for k and s^-1", 5738 "flags" : [ 5739 "ArithmeticError" 5740 ], 5741 "msg" : "313233343030", 5742 "sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022066666666666666666666666666666665e445f1f5dfb6a67e4cba8c385348e6e7", 5743 "result" : "valid" 5744 } 5745 ] 5746 }, 5747 { 5748 "type" : "EcdsaBitcoinVerify", 5749 "publicKey" : { 5750 "type" : "EcPublicKey", 5751 "curve" : "secp256k1", 5752 "keySize" : 256, 5753 "uncompressed" : "041f5799c95be89063b24f26e40cb928c1a868a76fb0094607e8043db409c91c32e75724e813a4191e3a839007f08e2e897388b06d4a00de6de60e536d91fab566", 5754 "wx" : "1f5799c95be89063b24f26e40cb928c1a868a76fb0094607e8043db409c91c32", 5755 "wy" : "00e75724e813a4191e3a839007f08e2e897388b06d4a00de6de60e536d91fab566" 5756 }, 5757 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200041f5799c95be89063b24f26e40cb928c1a868a76fb0094607e8043db409c91c32e75724e813a4191e3a839007f08e2e897388b06d4a00de6de60e536d91fab566", 5758 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEH1eZyVvokGOyTybkDLkowahop2+wCUYH\n6AQ9tAnJHDLnVyToE6QZHjqDkAfwji6Jc4iwbUoA3m3mDlNtkfq1Zg==\n-----END PUBLIC KEY-----\n", 5759 "sha" : "SHA-256", 5760 "tests" : [ 5761 { 5762 "tcId" : 430, 5763 "comment" : "extreme value for k and s^-1", 5764 "flags" : [ 5765 "ArithmeticError" 5766 ], 5767 "msg" : "313233343030", 5768 "sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022049249249249249249249249249249248c79facd43214c011123c1b03a93412a5", 5769 "result" : "valid" 5770 } 5771 ] 5772 }, 5773 { 5774 "type" : "EcdsaBitcoinVerify", 5775 "publicKey" : { 5776 "type" : "EcPublicKey", 5777 "curve" : "secp256k1", 5778 "keySize" : 256, 5779 "uncompressed" : "04a3331a4e1b4223ec2c027edd482c928a14ed358d93f1d4217d39abf69fcb5ccc28d684d2aaabcd6383775caa6239de26d4c6937bb603ecb4196082f4cffd509d", 5780 "wx" : "00a3331a4e1b4223ec2c027edd482c928a14ed358d93f1d4217d39abf69fcb5ccc", 5781 "wy" : "28d684d2aaabcd6383775caa6239de26d4c6937bb603ecb4196082f4cffd509d" 5782 }, 5783 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004a3331a4e1b4223ec2c027edd482c928a14ed358d93f1d4217d39abf69fcb5ccc28d684d2aaabcd6383775caa6239de26d4c6937bb603ecb4196082f4cffd509d", 5784 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEozMaThtCI+wsAn7dSCySihTtNY2T8dQh\nfTmr9p/LXMwo1oTSqqvNY4N3XKpiOd4m1MaTe7YD7LQZYIL0z/1QnQ==\n-----END PUBLIC KEY-----\n", 5785 "sha" : "SHA-256", 5786 "tests" : [ 5787 { 5788 "tcId" : 431, 5789 "comment" : "extreme value for k", 5790 "flags" : [ 5791 "ArithmeticError" 5792 ], 5793 "msg" : "313233343030", 5794 "sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee502200eb10e5ab95f2f275348d82ad2e4d7949c8193800d8c9c75df58e343f0ebba7b", 5795 "result" : "valid" 5796 } 5797 ] 5798 }, 5799 { 5800 "type" : "EcdsaBitcoinVerify", 5801 "publicKey" : { 5802 "type" : "EcPublicKey", 5803 "curve" : "secp256k1", 5804 "keySize" : 256, 5805 "uncompressed" : "043f3952199774c7cf39b38b66cb1042a6260d8680803845e4d433adba3bb248185ea495b68cbc7ed4173ee63c9042dc502625c7eb7e21fb02ca9a9114e0a3a18d", 5806 "wx" : "3f3952199774c7cf39b38b66cb1042a6260d8680803845e4d433adba3bb24818", 5807 "wy" : "5ea495b68cbc7ed4173ee63c9042dc502625c7eb7e21fb02ca9a9114e0a3a18d" 5808 }, 5809 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200043f3952199774c7cf39b38b66cb1042a6260d8680803845e4d433adba3bb248185ea495b68cbc7ed4173ee63c9042dc502625c7eb7e21fb02ca9a9114e0a3a18d", 5810 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEPzlSGZd0x885s4tmyxBCpiYNhoCAOEXk\n1DOtujuySBhepJW2jLx+1Bc+5jyQQtxQJiXH634h+wLKmpEU4KOhjQ==\n-----END PUBLIC KEY-----\n", 5811 "sha" : "SHA-256", 5812 "tests" : [ 5813 { 5814 "tcId" : 432, 5815 "comment" : "extreme value for k and edgecase s", 5816 "flags" : [ 5817 "ArithmeticError" 5818 ], 5819 "msg" : "313233343030", 5820 "sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0", 5821 "result" : "valid" 5822 } 5823 ] 5824 }, 5825 { 5826 "type" : "EcdsaBitcoinVerify", 5827 "publicKey" : { 5828 "type" : "EcPublicKey", 5829 "curve" : "secp256k1", 5830 "keySize" : 256, 5831 "uncompressed" : "04cdfb8c0f422e144e137c2412c86c171f5fe3fa3f5bbb544e9076288f3ced786e054fd0721b77c11c79beacb3c94211b0a19bda08652efeaf92513a3b0a163698", 5832 "wx" : "00cdfb8c0f422e144e137c2412c86c171f5fe3fa3f5bbb544e9076288f3ced786e", 5833 "wy" : "054fd0721b77c11c79beacb3c94211b0a19bda08652efeaf92513a3b0a163698" 5834 }, 5835 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004cdfb8c0f422e144e137c2412c86c171f5fe3fa3f5bbb544e9076288f3ced786e054fd0721b77c11c79beacb3c94211b0a19bda08652efeaf92513a3b0a163698", 5836 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEzfuMD0IuFE4TfCQSyGwXH1/j+j9bu1RO\nkHYojzzteG4FT9ByG3fBHHm+rLPJQhGwoZvaCGUu/q+SUTo7ChY2mA==\n-----END PUBLIC KEY-----\n", 5837 "sha" : "SHA-256", 5838 "tests" : [ 5839 { 5840 "tcId" : 433, 5841 "comment" : "extreme value for k and s^-1", 5842 "flags" : [ 5843 "ArithmeticError" 5844 ], 5845 "msg" : "313233343030", 5846 "sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022049249249249249249249249249249248c79facd43214c011123c1b03a93412a5", 5847 "result" : "valid" 5848 } 5849 ] 5850 }, 5851 { 5852 "type" : "EcdsaBitcoinVerify", 5853 "publicKey" : { 5854 "type" : "EcPublicKey", 5855 "curve" : "secp256k1", 5856 "keySize" : 256, 5857 "uncompressed" : "0473598a6a1c68278fa6bfd0ce4064e68235bc1c0f6b20a928108be336730f87e3cbae612519b5032ecc85aed811271a95fe7939d5d3460140ba318f4d14aba31d", 5858 "wx" : "73598a6a1c68278fa6bfd0ce4064e68235bc1c0f6b20a928108be336730f87e3", 5859 "wy" : "00cbae612519b5032ecc85aed811271a95fe7939d5d3460140ba318f4d14aba31d" 5860 }, 5861 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000473598a6a1c68278fa6bfd0ce4064e68235bc1c0f6b20a928108be336730f87e3cbae612519b5032ecc85aed811271a95fe7939d5d3460140ba318f4d14aba31d", 5862 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEc1mKahxoJ4+mv9DOQGTmgjW8HA9rIKko\nEIvjNnMPh+PLrmElGbUDLsyFrtgRJxqV/nk51dNGAUC6MY9NFKujHQ==\n-----END PUBLIC KEY-----\n", 5863 "sha" : "SHA-256", 5864 "tests" : [ 5865 { 5866 "tcId" : 434, 5867 "comment" : "extreme value for k and s^-1", 5868 "flags" : [ 5869 "ArithmeticError" 5870 ], 5871 "msg" : "313233343030", 5872 "sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022066666666666666666666666666666665e445f1f5dfb6a67e4cba8c385348e6e7", 5873 "result" : "valid" 5874 } 5875 ] 5876 }, 5877 { 5878 "type" : "EcdsaBitcoinVerify", 5879 "publicKey" : { 5880 "type" : "EcPublicKey", 5881 "curve" : "secp256k1", 5882 "keySize" : 256, 5883 "uncompressed" : "0458debd9a7ee2c9d59132478a5440ae4d5d7ed437308369f92ea86c82183f10a16773e76f5edbf4da0e4f1bdffac0f57257e1dfa465842931309a24245fda6a5d", 5884 "wx" : "58debd9a7ee2c9d59132478a5440ae4d5d7ed437308369f92ea86c82183f10a1", 5885 "wy" : "6773e76f5edbf4da0e4f1bdffac0f57257e1dfa465842931309a24245fda6a5d" 5886 }, 5887 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000458debd9a7ee2c9d59132478a5440ae4d5d7ed437308369f92ea86c82183f10a16773e76f5edbf4da0e4f1bdffac0f57257e1dfa465842931309a24245fda6a5d", 5888 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEWN69mn7iydWRMkeKVECuTV1+1Dcwg2n5\nLqhsghg/EKFnc+dvXtv02g5PG9/6wPVyV+HfpGWEKTEwmiQkX9pqXQ==\n-----END PUBLIC KEY-----\n", 5889 "sha" : "SHA-256", 5890 "tests" : [ 5891 { 5892 "tcId" : 435, 5893 "comment" : "extreme value for k and s^-1", 5894 "flags" : [ 5895 "ArithmeticError" 5896 ], 5897 "msg" : "313233343030", 5898 "sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022066666666666666666666666666666665e445f1f5dfb6a67e4cba8c385348e6e7", 5899 "result" : "valid" 5900 } 5901 ] 5902 }, 5903 { 5904 "type" : "EcdsaBitcoinVerify", 5905 "publicKey" : { 5906 "type" : "EcPublicKey", 5907 "curve" : "secp256k1", 5908 "keySize" : 256, 5909 "uncompressed" : "048b904de47967340c5f8c3572a720924ef7578637feab1949acb241a5a6ac3f5b950904496f9824b1d63f3313bae21b89fae89afdfc811b5ece03fd5aa301864f", 5910 "wx" : "008b904de47967340c5f8c3572a720924ef7578637feab1949acb241a5a6ac3f5b", 5911 "wy" : "00950904496f9824b1d63f3313bae21b89fae89afdfc811b5ece03fd5aa301864f" 5912 }, 5913 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200048b904de47967340c5f8c3572a720924ef7578637feab1949acb241a5a6ac3f5b950904496f9824b1d63f3313bae21b89fae89afdfc811b5ece03fd5aa301864f", 5914 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEi5BN5HlnNAxfjDVypyCSTvdXhjf+qxlJ\nrLJBpaasP1uVCQRJb5gksdY/MxO64huJ+uia/fyBG17OA/1aowGGTw==\n-----END PUBLIC KEY-----\n", 5915 "sha" : "SHA-256", 5916 "tests" : [ 5917 { 5918 "tcId" : 436, 5919 "comment" : "extreme value for k and s^-1", 5920 "flags" : [ 5921 "ArithmeticError" 5922 ], 5923 "msg" : "313233343030", 5924 "sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022049249249249249249249249249249248c79facd43214c011123c1b03a93412a5", 5925 "result" : "valid" 5926 } 5927 ] 5928 }, 5929 { 5930 "type" : "EcdsaBitcoinVerify", 5931 "publicKey" : { 5932 "type" : "EcPublicKey", 5933 "curve" : "secp256k1", 5934 "keySize" : 256, 5935 "uncompressed" : "04f4892b6d525c771e035f2a252708f3784e48238604b4f94dc56eaa1e546d941a346b1aa0bce68b1c50e5b52f509fb5522e5c25e028bc8f863402edb7bcad8b1b", 5936 "wx" : "00f4892b6d525c771e035f2a252708f3784e48238604b4f94dc56eaa1e546d941a", 5937 "wy" : "346b1aa0bce68b1c50e5b52f509fb5522e5c25e028bc8f863402edb7bcad8b1b" 5938 }, 5939 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004f4892b6d525c771e035f2a252708f3784e48238604b4f94dc56eaa1e546d941a346b1aa0bce68b1c50e5b52f509fb5522e5c25e028bc8f863402edb7bcad8b1b", 5940 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE9IkrbVJcdx4DXyolJwjzeE5II4YEtPlN\nxW6qHlRtlBo0axqgvOaLHFDltS9Qn7VSLlwl4Ci8j4Y0Au23vK2LGw==\n-----END PUBLIC KEY-----\n", 5941 "sha" : "SHA-256", 5942 "tests" : [ 5943 { 5944 "tcId" : 437, 5945 "comment" : "extreme value for k", 5946 "flags" : [ 5947 "ArithmeticError" 5948 ], 5949 "msg" : "313233343030", 5950 "sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f8179802200eb10e5ab95f2f275348d82ad2e4d7949c8193800d8c9c75df58e343f0ebba7b", 5951 "result" : "valid" 5952 } 5953 ] 5954 }, 5955 { 5956 "type" : "EcdsaBitcoinVerify", 5957 "publicKey" : { 5958 "type" : "EcPublicKey", 5959 "curve" : "secp256k1", 5960 "keySize" : 256, 5961 "uncompressed" : "0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8", 5962 "wx" : "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", 5963 "wy" : "483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8" 5964 }, 5965 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8", 5966 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeb5mfvncu6xVoGKVzocLBwKb/NstzijZ\nWfKBWxb4F5hIOtp3JqPEZV2k+/wOEQio/Re0SKaFVBmcR9CP+xDUuA==\n-----END PUBLIC KEY-----\n", 5967 "sha" : "SHA-256", 5968 "tests" : [ 5969 { 5970 "tcId" : 438, 5971 "comment" : "public key shares x-coordinate with generator", 5972 "flags" : [ 5973 "PointDuplication" 5974 ], 5975 "msg" : "313233343030", 5976 "sig" : "3045022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca60502302202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952", 5977 "result" : "invalid" 5978 }, 5979 { 5980 "tcId" : 439, 5981 "comment" : "public key shares x-coordinate with generator", 5982 "flags" : [ 5983 "PointDuplication" 5984 ], 5985 "msg" : "313233343030", 5986 "sig" : "3044022044a5ad0bd0636d9e12bc9e0a6bdd5e1bba77f523842193b3b82e448e05d5f11e02202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952", 5987 "result" : "invalid" 5988 } 5989 ] 5990 }, 5991 { 5992 "type" : "EcdsaBitcoinVerify", 5993 "publicKey" : { 5994 "type" : "EcPublicKey", 5995 "curve" : "secp256k1", 5996 "keySize" : 256, 5997 "uncompressed" : "0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798b7c52588d95c3b9aa25b0403f1eef75702e84bb7597aabe663b82f6f04ef2777", 5998 "wx" : "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", 5999 "wy" : "00b7c52588d95c3b9aa25b0403f1eef75702e84bb7597aabe663b82f6f04ef2777" 6000 }, 6001 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798b7c52588d95c3b9aa25b0403f1eef75702e84bb7597aabe663b82f6f04ef2777", 6002 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeb5mfvncu6xVoGKVzocLBwKb/NstzijZ\nWfKBWxb4F5i3xSWI2Vw7mqJbBAPx7vdXAuhLt1l6q+ZjuC9vBO8ndw==\n-----END PUBLIC KEY-----\n", 6003 "sha" : "SHA-256", 6004 "tests" : [ 6005 { 6006 "tcId" : 440, 6007 "comment" : "public key shares x-coordinate with generator", 6008 "flags" : [ 6009 "PointDuplication" 6010 ], 6011 "msg" : "313233343030", 6012 "sig" : "3045022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca60502302202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952", 6013 "result" : "invalid" 6014 }, 6015 { 6016 "tcId" : 441, 6017 "comment" : "public key shares x-coordinate with generator", 6018 "flags" : [ 6019 "PointDuplication" 6020 ], 6021 "msg" : "313233343030", 6022 "sig" : "3044022044a5ad0bd0636d9e12bc9e0a6bdd5e1bba77f523842193b3b82e448e05d5f11e02202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952", 6023 "result" : "invalid" 6024 } 6025 ] 6026 }, 6027 { 6028 "type" : "EcdsaBitcoinVerify", 6029 "publicKey" : { 6030 "type" : "EcPublicKey", 6031 "curve" : "secp256k1", 6032 "keySize" : 256, 6033 "uncompressed" : "04782c8ed17e3b2a783b5464f33b09652a71c678e05ec51e84e2bcfc663a3de963af9acb4280b8c7f7c42f4ef9aba6245ec1ec1712fd38a0fa96418d8cd6aa6152", 6034 "wx" : "782c8ed17e3b2a783b5464f33b09652a71c678e05ec51e84e2bcfc663a3de963", 6035 "wy" : "00af9acb4280b8c7f7c42f4ef9aba6245ec1ec1712fd38a0fa96418d8cd6aa6152" 6036 }, 6037 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004782c8ed17e3b2a783b5464f33b09652a71c678e05ec51e84e2bcfc663a3de963af9acb4280b8c7f7c42f4ef9aba6245ec1ec1712fd38a0fa96418d8cd6aa6152", 6038 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeCyO0X47Kng7VGTzOwllKnHGeOBexR6E\n4rz8Zjo96WOvmstCgLjH98QvTvmrpiRewewXEv04oPqWQY2M1qphUg==\n-----END PUBLIC KEY-----\n", 6039 "sha" : "SHA-256", 6040 "tests" : [ 6041 { 6042 "tcId" : 442, 6043 "comment" : "pseudorandom signature", 6044 "flags" : [ 6045 "ValidSignature" 6046 ], 6047 "msg" : "", 6048 "sig" : "3045022100f80ae4f96cdbc9d853f83d47aae225bf407d51c56b7776cd67d0dc195d99a9dc02204cfc1d941e08cb9aceadde0f4ccead76b30d332fc442115d50e673e28686b70b", 6049 "result" : "valid" 6050 }, 6051 { 6052 "tcId" : 443, 6053 "comment" : "pseudorandom signature", 6054 "flags" : [ 6055 "ValidSignature" 6056 ], 6057 "msg" : "4d7367", 6058 "sig" : "30440220109cd8ae0374358984a8249c0a843628f2835ffad1df1a9a69aa2fe72355545c02205390ff250ac4274e1cb25cd6ca6491f6b91281e32f5b264d87977aed4a94e77b", 6059 "result" : "valid" 6060 }, 6061 { 6062 "tcId" : 444, 6063 "comment" : "pseudorandom signature", 6064 "flags" : [ 6065 "ValidSignature" 6066 ], 6067 "msg" : "313233343030", 6068 "sig" : "3045022100d035ee1f17fdb0b2681b163e33c359932659990af77dca632012b30b27a057b302201939d9f3b2858bc13e3474cb50e6a82be44faa71940f876c1cba4c3e989202b6", 6069 "result" : "valid" 6070 }, 6071 { 6072 "tcId" : 445, 6073 "comment" : "pseudorandom signature", 6074 "flags" : [ 6075 "ValidSignature" 6076 ], 6077 "msg" : "0000000000000000000000000000000000000000", 6078 "sig" : "304402204f053f563ad34b74fd8c9934ce59e79c2eb8e6eca0fef5b323ca67d5ac7ed23802204d4b05daa0719e773d8617dce5631c5fd6f59c9bdc748e4b55c970040af01be5", 6079 "result" : "valid" 6080 } 6081 ] 6082 }, 6083 { 6084 "type" : "EcdsaBitcoinVerify", 6085 "publicKey" : { 6086 "type" : "EcPublicKey", 6087 "curve" : "secp256k1", 6088 "keySize" : 256, 6089 "uncompressed" : "046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff00000001060492d5a5673e0f25d8d50fb7e58c49d86d46d4216955e0aa3d40e1", 6090 "wx" : "6e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff", 6091 "wy" : "01060492d5a5673e0f25d8d50fb7e58c49d86d46d4216955e0aa3d40e1" 6092 }, 6093 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff00000001060492d5a5673e0f25d8d50fb7e58c49d86d46d4216955e0aa3d40e1", 6094 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEboI1VUUpFAmRgsaywdbwtdKNUMzQBa8s\n4bulQapAyv8AAAABBgSS1aVnPg8l2NUPt+WMSdhtRtQhaVXgqj1A4Q==\n-----END PUBLIC KEY-----\n", 6095 "sha" : "SHA-256", 6096 "tests" : [ 6097 { 6098 "tcId" : 446, 6099 "comment" : "y-coordinate of the public key is small", 6100 "flags" : [ 6101 "EdgeCasePublicKey" 6102 ], 6103 "msg" : "4d657373616765", 6104 "sig" : "304402206d6a4f556ccce154e7fb9f19e76c3deca13d59cc2aeb4ecad968aab2ded45965022053b9fa74803ede0fc4441bf683d56c564d3e274e09ccf47390badd1471c05fb7", 6105 "result" : "valid" 6106 }, 6107 { 6108 "tcId" : 447, 6109 "comment" : "y-coordinate of the public key is small", 6110 "flags" : [ 6111 "EdgeCasePublicKey" 6112 ], 6113 "msg" : "4d657373616765", 6114 "sig" : "3044022100aad503de9b9fd66b948e9acf596f0a0e65e700b28b26ec56e6e45e846489b3c4021f0ddc3a2f89abb817bb85c062ce02f823c63fc26b269e0bc9b84d81a5aa123d", 6115 "result" : "valid" 6116 }, 6117 { 6118 "tcId" : 448, 6119 "comment" : "y-coordinate of the public key is small", 6120 "flags" : [ 6121 "EdgeCasePublicKey" 6122 ], 6123 "msg" : "4d657373616765", 6124 "sig" : "30450221009182cebd3bb8ab572e167174397209ef4b1d439af3b200cdf003620089e43225022054477c982ea019d2e1000497fc25fcee1bccae55f2ac27530ae53b29c4b356a4", 6125 "result" : "valid" 6126 } 6127 ] 6128 }, 6129 { 6130 "type" : "EcdsaBitcoinVerify", 6131 "publicKey" : { 6132 "type" : "EcPublicKey", 6133 "curve" : "secp256k1", 6134 "keySize" : 256, 6135 "uncompressed" : "046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40cafffffffffef9fb6d2a5a98c1f0da272af0481a73b62792b92bde96aa1e55c2bb4e", 6136 "wx" : "6e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff", 6137 "wy" : "00fffffffef9fb6d2a5a98c1f0da272af0481a73b62792b92bde96aa1e55c2bb4e" 6138 }, 6139 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40cafffffffffef9fb6d2a5a98c1f0da272af0481a73b62792b92bde96aa1e55c2bb4e", 6140 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEboI1VUUpFAmRgsaywdbwtdKNUMzQBa8s\n4bulQapAyv/////++fttKlqYwfDaJyrwSBpztieSuSvelqoeVcK7Tg==\n-----END PUBLIC KEY-----\n", 6141 "sha" : "SHA-256", 6142 "tests" : [ 6143 { 6144 "tcId" : 449, 6145 "comment" : "y-coordinate of the public key is large", 6146 "flags" : [ 6147 "EdgeCasePublicKey" 6148 ], 6149 "msg" : "4d657373616765", 6150 "sig" : "304402203854a3998aebdf2dbc28adac4181462ccac7873907ab7f212c42db0e69b56ed802203ed3f6b8a388d02f3e4df9f2ae9c1bd2c3916a686460dffcd42909cd7f82058e", 6151 "result" : "valid" 6152 }, 6153 { 6154 "tcId" : 450, 6155 "comment" : "y-coordinate of the public key is large", 6156 "flags" : [ 6157 "EdgeCasePublicKey" 6158 ], 6159 "msg" : "4d657373616765", 6160 "sig" : "3045022100e94dbdc38795fe5c904d8f16d969d3b587f0a25d2de90b6d8c5c53ff887e360702207a947369c164972521bb8af406813b2d9f94d2aeaa53d4c215aaa0a2578a2c5d", 6161 "result" : "valid" 6162 }, 6163 { 6164 "tcId" : 451, 6165 "comment" : "y-coordinate of the public key is large", 6166 "flags" : [ 6167 "EdgeCasePublicKey" 6168 ], 6169 "msg" : "4d657373616765", 6170 "sig" : "3044022049fc102a08ca47b60e0858cd0284d22cddd7233f94aaffbb2db1dd2cf08425e102205b16fca5a12cdb39701697ad8e39ffd6bdec0024298afaa2326aea09200b14d6", 6171 "result" : "valid" 6172 } 6173 ] 6174 }, 6175 { 6176 "type" : "EcdsaBitcoinVerify", 6177 "publicKey" : { 6178 "type" : "EcPublicKey", 6179 "curve" : "secp256k1", 6180 "keySize" : 256, 6181 "uncompressed" : "04000000013fd22248d64d95f73c29b48ab48631850be503fd00f8468b5f0f70e0f6ee7aa43bc2c6fd25b1d8269241cbdd9dbb0dac96dc96231f430705f838717d", 6182 "wx" : "013fd22248d64d95f73c29b48ab48631850be503fd00f8468b5f0f70e0", 6183 "wy" : "00f6ee7aa43bc2c6fd25b1d8269241cbdd9dbb0dac96dc96231f430705f838717d" 6184 }, 6185 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004000000013fd22248d64d95f73c29b48ab48631850be503fd00f8468b5f0f70e0f6ee7aa43bc2c6fd25b1d8269241cbdd9dbb0dac96dc96231f430705f838717d", 6186 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAAAAAT/SIkjWTZX3PCm0irSGMYUL5QP9\nAPhGi18PcOD27nqkO8LG/SWx2CaSQcvdnbsNrJbcliMfQwcF+DhxfQ==\n-----END PUBLIC KEY-----\n", 6187 "sha" : "SHA-256", 6188 "tests" : [ 6189 { 6190 "tcId" : 452, 6191 "comment" : "x-coordinate of the public key is small", 6192 "flags" : [ 6193 "EdgeCasePublicKey" 6194 ], 6195 "msg" : "4d657373616765", 6196 "sig" : "3044022041efa7d3f05a0010675fcb918a45c693da4b348df21a59d6f9cd73e0d831d67a02204454ada693e5e26b7bd693236d340f80545c834577b6f73d378c7bcc534244da", 6197 "result" : "valid" 6198 }, 6199 { 6200 "tcId" : 453, 6201 "comment" : "x-coordinate of the public key is small", 6202 "flags" : [ 6203 "EdgeCasePublicKey" 6204 ], 6205 "msg" : "4d657373616765", 6206 "sig" : "3045022100b615698c358b35920dd883eca625a6c5f7563970cdfc378f8fe0cee17092144c022025f47b326b5be1fb610b885153ea84d41eb4716be66a994e8779989df1c863d4", 6207 "result" : "valid" 6208 }, 6209 { 6210 "tcId" : 454, 6211 "comment" : "x-coordinate of the public key is small", 6212 "flags" : [ 6213 "EdgeCasePublicKey" 6214 ], 6215 "msg" : "4d657373616765", 6216 "sig" : "304502210087cf8c0eb82d44f69c60a2ff5457d3aaa322e7ec61ae5aecfd678ae1c1932b0e02203add3b115815047d6eb340a3e008989eaa0f8708d1794814729094d08d2460d3", 6217 "result" : "valid" 6218 } 6219 ] 6220 }, 6221 { 6222 "type" : "EcdsaBitcoinVerify", 6223 "publicKey" : { 6224 "type" : "EcPublicKey", 6225 "curve" : "secp256k1", 6226 "keySize" : 256, 6227 "uncompressed" : "0425afd689acabaed67c1f296de59406f8c550f57146a0b4ec2c97876dfffffffffa46a76e520322dfbc491ec4f0cc197420fc4ea5883d8f6dd53c354bc4f67c35", 6228 "wx" : "25afd689acabaed67c1f296de59406f8c550f57146a0b4ec2c97876dffffffff", 6229 "wy" : "00fa46a76e520322dfbc491ec4f0cc197420fc4ea5883d8f6dd53c354bc4f67c35" 6230 }, 6231 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a0342000425afd689acabaed67c1f296de59406f8c550f57146a0b4ec2c97876dfffffffffa46a76e520322dfbc491ec4f0cc197420fc4ea5883d8f6dd53c354bc4f67c35", 6232 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEJa/WiayrrtZ8Hylt5ZQG+MVQ9XFGoLTs\nLJeHbf/////6RqduUgMi37xJHsTwzBl0IPxOpYg9j23VPDVLxPZ8NQ==\n-----END PUBLIC KEY-----\n", 6233 "sha" : "SHA-256", 6234 "tests" : [ 6235 { 6236 "tcId" : 455, 6237 "comment" : "x-coordinate of the public key has many trailing 1's", 6238 "flags" : [ 6239 "EdgeCasePublicKey" 6240 ], 6241 "msg" : "4d657373616765", 6242 "sig" : "3044022062f48ef71ace27bf5a01834de1f7e3f948b9dce1ca1e911d5e13d3b104471d8202205ea8f33f0c778972c4582080deda9b341857dd64514f0849a05f6964c2e34022", 6243 "result" : "valid" 6244 }, 6245 { 6246 "tcId" : 456, 6247 "comment" : "x-coordinate of the public key has many trailing 1's", 6248 "flags" : [ 6249 "EdgeCasePublicKey" 6250 ], 6251 "msg" : "4d657373616765", 6252 "sig" : "3045022100f6b0e2f6fe020cf7c0c20137434344ed7add6c4be51861e2d14cbda472a6ffb402206416c8dd3e5c5282b306e8dc8ff34ab64cc99549232d678d714402eb6ca7aa0f", 6253 "result" : "valid" 6254 }, 6255 { 6256 "tcId" : 457, 6257 "comment" : "x-coordinate of the public key has many trailing 1's", 6258 "flags" : [ 6259 "EdgeCasePublicKey" 6260 ], 6261 "msg" : "4d657373616765", 6262 "sig" : "3045022100db09d8460f05eff23bc7e436b67da563fa4b4edb58ac24ce201fa8a358125057022046da116754602940c8999c8d665f786c50f5772c0a3cdbda075e77eabc64df16", 6263 "result" : "valid" 6264 } 6265 ] 6266 }, 6267 { 6268 "type" : "EcdsaBitcoinVerify", 6269 "publicKey" : { 6270 "type" : "EcPublicKey", 6271 "curve" : "secp256k1", 6272 "keySize" : 256, 6273 "uncompressed" : "04d12e6c66b67734c3c84d2601cf5d35dc097e27637f0aca4a4fdb74b6aadd3bb93f5bdff88bd5736df898e699006ed750f11cf07c5866cd7ad70c7121ffffffff", 6274 "wx" : "00d12e6c66b67734c3c84d2601cf5d35dc097e27637f0aca4a4fdb74b6aadd3bb9", 6275 "wy" : "3f5bdff88bd5736df898e699006ed750f11cf07c5866cd7ad70c7121ffffffff" 6276 }, 6277 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d12e6c66b67734c3c84d2601cf5d35dc097e27637f0aca4a4fdb74b6aadd3bb93f5bdff88bd5736df898e699006ed750f11cf07c5866cd7ad70c7121ffffffff", 6278 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE0S5sZrZ3NMPITSYBz1013Al+J2N/CspK\nT9t0tqrdO7k/W9/4i9VzbfiY5pkAbtdQ8RzwfFhmzXrXDHEh/////w==\n-----END PUBLIC KEY-----\n", 6279 "sha" : "SHA-256", 6280 "tests" : [ 6281 { 6282 "tcId" : 458, 6283 "comment" : "y-coordinate of the public key has many trailing 1's", 6284 "flags" : [ 6285 "EdgeCasePublicKey" 6286 ], 6287 "msg" : "4d657373616765", 6288 "sig" : "30440220592c41e16517f12fcabd98267674f974b588e9f35d35406c1a7bb2ed1d19b7b802203e65a06bd9f83caaeb7b00f2368d7e0dece6b12221269a9b5b765198f840a3a1", 6289 "result" : "valid" 6290 }, 6291 { 6292 "tcId" : 459, 6293 "comment" : "y-coordinate of the public key has many trailing 1's", 6294 "flags" : [ 6295 "EdgeCasePublicKey" 6296 ], 6297 "msg" : "4d657373616765", 6298 "sig" : "3045022100be0d70887d5e40821a61b68047de4ea03debfdf51cdf4d4b195558b959a032b202207d994b2d8f1dbbeb13534eb3f6e5dccd85f5c4133c27d9e64271b1826ce1f67d", 6299 "result" : "valid" 6300 }, 6301 { 6302 "tcId" : 460, 6303 "comment" : "y-coordinate of the public key has many trailing 1's", 6304 "flags" : [ 6305 "EdgeCasePublicKey" 6306 ], 6307 "msg" : "4d657373616765", 6308 "sig" : "3045022100fae92dfcb2ee392d270af3a5739faa26d4f97bfd39ed3cbee4d29e26af3b206a02206c9ba37f9faa6a1fd3f65f23b4e853d4692a7274240a12db7ba3884830630d16", 6309 "result" : "valid" 6310 } 6311 ] 6312 }, 6313 { 6314 "type" : "EcdsaBitcoinVerify", 6315 "publicKey" : { 6316 "type" : "EcPublicKey", 6317 "curve" : "secp256k1", 6318 "keySize" : 256, 6319 "uncompressed" : "046d4a7f60d4774a4f0aa8bbdedb953c7eea7909407e3164755664bc2800000000e659d34e4df38d9e8c9eaadfba36612c769195be86c77aac3f36e78b538680fb", 6320 "wx" : "6d4a7f60d4774a4f0aa8bbdedb953c7eea7909407e3164755664bc2800000000", 6321 "wy" : "00e659d34e4df38d9e8c9eaadfba36612c769195be86c77aac3f36e78b538680fb" 6322 }, 6323 "publicKeyDer" : "3056301006072a8648ce3d020106052b8104000a034200046d4a7f60d4774a4f0aa8bbdedb953c7eea7909407e3164755664bc2800000000e659d34e4df38d9e8c9eaadfba36612c769195be86c77aac3f36e78b538680fb", 6324 "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEbUp/YNR3Sk8KqLve25U8fup5CUB+MWR1\nVmS8KAAAAADmWdNOTfONnoyeqt+6NmEsdpGVvobHeqw/NueLU4aA+w==\n-----END PUBLIC KEY-----\n", 6325 "sha" : "SHA-256", 6326 "tests" : [ 6327 { 6328 "tcId" : 461, 6329 "comment" : "x-coordinate of the public key has many trailing 0's", 6330 "flags" : [ 6331 "EdgeCasePublicKey" 6332 ], 6333 "msg" : "4d657373616765", 6334 "sig" : "30440220176a2557566ffa518b11226694eb9802ed2098bfe278e5570fe1d5d7af18a94302201291df6a0ed5fc0d15098e70bcf13a009284dfd0689d3bb4be6ceeb9be1487c4", 6335 "result" : "valid" 6336 }, 6337 { 6338 "tcId" : 462, 6339 "comment" : "x-coordinate of the public key has many trailing 0's", 6340 "flags" : [ 6341 "EdgeCasePublicKey" 6342 ], 6343 "msg" : "4d657373616765", 6344 "sig" : "3044022060be20c3dbc162dd34d26780621c104bbe5dace630171b2daef0d826409ee5c20220427f7e4d889d549170bda6a9409fb1cb8b0e763d13eea7bd97f64cf41dc6e497", 6345 "result" : "valid" 6346 }, 6347 { 6348 "tcId" : 463, 6349 "comment" : "x-coordinate of the public key has many trailing 0's", 6350 "flags" : [ 6351 "EdgeCasePublicKey" 6352 ], 6353 "msg" : "4d657373616765", 6354 "sig" : "3045022100edf03cf63f658883289a1a593d1007895b9f236d27c9c1f1313089aaed6b16ae02201a4dd6fc0814dc523d1fefa81c64fbf5e618e651e7096fccadbb94cd48e5e0cd", 6355 "result" : "valid" 6356 } 6357 ] 6358 } 6359 ] 6360 }