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