{ | |
"algorithm" : "ECDSA", | |
"generatorVersion" : "0.8r12", | |
"numberOfTests" : 380, | |
"header" : [ | |
"Test vectors of type EcdsaVerify are meant for the verification", | |
"of ASN encoded ECDSA signatures." | |
], | |
"notes" : { | |
"BER" : "This is a signature with correct values for (r, s) but using some alternative BER encoding instead of DER encoding. Implementations should not accept such signatures to limit signature malleability.", | |
"EdgeCase" : "Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA implementation does not check boundaries and computes s^(-1)==0.", | |
"MissingZero" : "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.", | |
"PointDuplication" : "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." | |
}, | |
"schema" : "ecdsa_verify_schema.json", | |
"testGroups" : [ | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6ff0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9", | |
"wx" : "00b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6f", | |
"wy" : "00f0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6ff0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEuDj/ROW8F3vyEYnQdmCC/J2EMiaIf8l2\nA3EQC37iCm/wyddb+6ezGmvKGXRJbutW3jVwcZVdg8Sxutqgshgy6Q==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 1, | |
"comment" : "signature malleability", | |
"msg" : "313233343030", | |
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365022100900e75ad233fcc908509dbff5922647db37c21f4afd3203ae8dc4ae7794b0f87", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 2, | |
"comment" : "Legacy:ASN encoding of r misses leading 0", | |
"msg" : "313233343030", | |
"sig" : "30440220813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "acceptable", | |
"flags" : [ | |
"MissingZero" | |
] | |
}, | |
{ | |
"tcId" : 3, | |
"comment" : "valid", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 4, | |
"comment" : "long form encoding of length of sequence", | |
"msg" : "313233343030", | |
"sig" : "308145022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [ | |
"BER" | |
] | |
}, | |
{ | |
"tcId" : 5, | |
"comment" : "length of sequence contains leading 0", | |
"msg" : "313233343030", | |
"sig" : "30820045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [ | |
"BER" | |
] | |
}, | |
{ | |
"tcId" : 6, | |
"comment" : "wrong length of sequence", | |
"msg" : "313233343030", | |
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 7, | |
"comment" : "wrong length of sequence", | |
"msg" : "313233343030", | |
"sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 8, | |
"comment" : "uint32 overflow in length of sequence", | |
"msg" : "313233343030", | |
"sig" : "30850100000045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 9, | |
"comment" : "uint64 overflow in length of sequence", | |
"msg" : "313233343030", | |
"sig" : "3089010000000000000045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 10, | |
"comment" : "length of sequence = 2**31 - 1", | |
"msg" : "313233343030", | |
"sig" : "30847fffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 11, | |
"comment" : "length of sequence = 2**32 - 1", | |
"msg" : "313233343030", | |
"sig" : "3084ffffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 12, | |
"comment" : "length of sequence = 2**40 - 1", | |
"msg" : "313233343030", | |
"sig" : "3085ffffffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 13, | |
"comment" : "length of sequence = 2**64 - 1", | |
"msg" : "313233343030", | |
"sig" : "3088ffffffffffffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 14, | |
"comment" : "incorrect length of sequence", | |
"msg" : "313233343030", | |
"sig" : "30ff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 15, | |
"comment" : "indefinite length without termination", | |
"msg" : "313233343030", | |
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 16, | |
"comment" : "indefinite length without termination", | |
"msg" : "313233343030", | |
"sig" : "3045028000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 17, | |
"comment" : "indefinite length without termination", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502806ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 18, | |
"comment" : "removing sequence", | |
"msg" : "313233343030", | |
"sig" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 19, | |
"comment" : "lonely sequence tag", | |
"msg" : "313233343030", | |
"sig" : "30", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 20, | |
"comment" : "appending 0's to sequence", | |
"msg" : "313233343030", | |
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 21, | |
"comment" : "prepending 0's to sequence", | |
"msg" : "313233343030", | |
"sig" : "30470000022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 22, | |
"comment" : "appending unused 0's to sequence", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 23, | |
"comment" : "appending null value to sequence", | |
"msg" : "313233343030", | |
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0500", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 24, | |
"comment" : "including garbage", | |
"msg" : "313233343030", | |
"sig" : "304a4981773045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 25, | |
"comment" : "including garbage", | |
"msg" : "313233343030", | |
"sig" : "304925003045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 26, | |
"comment" : "including garbage", | |
"msg" : "313233343030", | |
"sig" : "30473045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0004deadbeef", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 27, | |
"comment" : "including garbage", | |
"msg" : "313233343030", | |
"sig" : "304a2226498177022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 28, | |
"comment" : "including garbage", | |
"msg" : "313233343030", | |
"sig" : "304922252500022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 29, | |
"comment" : "including garbage", | |
"msg" : "313233343030", | |
"sig" : "304d2223022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650004deadbeef02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 30, | |
"comment" : "including garbage", | |
"msg" : "313233343030", | |
"sig" : "304a022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365222549817702206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 31, | |
"comment" : "including garbage", | |
"msg" : "313233343030", | |
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323652224250002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 32, | |
"comment" : "including garbage", | |
"msg" : "313233343030", | |
"sig" : "304d022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365222202206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0004deadbeef", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 33, | |
"comment" : "including undefined tags", | |
"msg" : "313233343030", | |
"sig" : "304daa00bb00cd003045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 34, | |
"comment" : "including undefined tags", | |
"msg" : "313233343030", | |
"sig" : "304baa02aabb3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 35, | |
"comment" : "including undefined tags", | |
"msg" : "313233343030", | |
"sig" : "304d2229aa00bb00cd00022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 36, | |
"comment" : "including undefined tags", | |
"msg" : "313233343030", | |
"sig" : "304b2227aa02aabb022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 37, | |
"comment" : "including undefined tags", | |
"msg" : "313233343030", | |
"sig" : "304d022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323652228aa00bb00cd0002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 38, | |
"comment" : "including undefined tags", | |
"msg" : "313233343030", | |
"sig" : "304b022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323652226aa02aabb02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 39, | |
"comment" : "truncated length of sequence", | |
"msg" : "313233343030", | |
"sig" : "3081", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 40, | |
"comment" : "using composition with indefinite length", | |
"msg" : "313233343030", | |
"sig" : "30803045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 41, | |
"comment" : "using composition with indefinite length", | |
"msg" : "313233343030", | |
"sig" : "30492280022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 42, | |
"comment" : "using composition with indefinite length", | |
"msg" : "313233343030", | |
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365228002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 43, | |
"comment" : "using composition with wrong tag", | |
"msg" : "313233343030", | |
"sig" : "30803145022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 44, | |
"comment" : "using composition with wrong tag", | |
"msg" : "313233343030", | |
"sig" : "30492280032100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 45, | |
"comment" : "using composition with wrong tag", | |
"msg" : "313233343030", | |
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365228003206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 46, | |
"comment" : "Replacing sequence with NULL", | |
"msg" : "313233343030", | |
"sig" : "0500", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 47, | |
"comment" : "changing tag value of sequence", | |
"msg" : "313233343030", | |
"sig" : "2e45022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 48, | |
"comment" : "changing tag value of sequence", | |
"msg" : "313233343030", | |
"sig" : "2f45022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 49, | |
"comment" : "changing tag value of sequence", | |
"msg" : "313233343030", | |
"sig" : "3145022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 50, | |
"comment" : "changing tag value of sequence", | |
"msg" : "313233343030", | |
"sig" : "3245022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 51, | |
"comment" : "changing tag value of sequence", | |
"msg" : "313233343030", | |
"sig" : "ff45022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 52, | |
"comment" : "dropping value of sequence", | |
"msg" : "313233343030", | |
"sig" : "3000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 53, | |
"comment" : "using composition for sequence", | |
"msg" : "313233343030", | |
"sig" : "304930010230442100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 54, | |
"comment" : "truncated sequence", | |
"msg" : "313233343030", | |
"sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 55, | |
"comment" : "truncated sequence", | |
"msg" : "313233343030", | |
"sig" : "30442100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 56, | |
"comment" : "indefinite length", | |
"msg" : "313233343030", | |
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", | |
"result" : "invalid", | |
"flags" : [ | |
"BER" | |
] | |
}, | |
{ | |
"tcId" : 57, | |
"comment" : "indefinite length with truncated delimiter", | |
"msg" : "313233343030", | |
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba00", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 58, | |
"comment" : "indefinite length with additional element", | |
"msg" : "313233343030", | |
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba05000000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 59, | |
"comment" : "indefinite length with truncated element", | |
"msg" : "313233343030", | |
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba060811220000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 60, | |
"comment" : "indefinite length with garbage", | |
"msg" : "313233343030", | |
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000fe02beef", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 61, | |
"comment" : "indefinite length with nonempty EOC", | |
"msg" : "313233343030", | |
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0002beef", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 62, | |
"comment" : "prepend empty sequence", | |
"msg" : "313233343030", | |
"sig" : "30473000022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 63, | |
"comment" : "append empty sequence", | |
"msg" : "313233343030", | |
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba3000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 64, | |
"comment" : "append garbage with high tag number", | |
"msg" : "313233343030", | |
"sig" : "3048022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31babf7f00", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 65, | |
"comment" : "sequence of sequence", | |
"msg" : "313233343030", | |
"sig" : "30473045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 66, | |
"comment" : "truncated sequence: removed last 1 elements", | |
"msg" : "313233343030", | |
"sig" : "3023022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 67, | |
"comment" : "repeating element in sequence", | |
"msg" : "313233343030", | |
"sig" : "3067022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 68, | |
"comment" : "long form encoding of length of integer", | |
"msg" : "313233343030", | |
"sig" : "304602812100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [ | |
"BER" | |
] | |
}, | |
{ | |
"tcId" : 69, | |
"comment" : "long form encoding of length of integer", | |
"msg" : "313233343030", | |
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650281206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [ | |
"BER" | |
] | |
}, | |
{ | |
"tcId" : 70, | |
"comment" : "length of integer contains leading 0", | |
"msg" : "313233343030", | |
"sig" : "30470282002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [ | |
"BER" | |
] | |
}, | |
{ | |
"tcId" : 71, | |
"comment" : "length of integer contains leading 0", | |
"msg" : "313233343030", | |
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365028200206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [ | |
"BER" | |
] | |
}, | |
{ | |
"tcId" : 72, | |
"comment" : "wrong length of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022200813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 73, | |
"comment" : "wrong length of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 74, | |
"comment" : "wrong length of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502216ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 75, | |
"comment" : "wrong length of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365021f6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 76, | |
"comment" : "uint32 overflow in length of integer", | |
"msg" : "313233343030", | |
"sig" : "304a0285010000002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 77, | |
"comment" : "uint32 overflow in length of integer", | |
"msg" : "313233343030", | |
"sig" : "304a022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365028501000000206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 78, | |
"comment" : "uint64 overflow in length of integer", | |
"msg" : "313233343030", | |
"sig" : "304e028901000000000000002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 79, | |
"comment" : "uint64 overflow in length of integer", | |
"msg" : "313233343030", | |
"sig" : "304e022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502890100000000000000206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 80, | |
"comment" : "length of integer = 2**31 - 1", | |
"msg" : "313233343030", | |
"sig" : "304902847fffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 81, | |
"comment" : "length of integer = 2**31 - 1", | |
"msg" : "313233343030", | |
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502847fffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 82, | |
"comment" : "length of integer = 2**32 - 1", | |
"msg" : "313233343030", | |
"sig" : "30490284ffffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 83, | |
"comment" : "length of integer = 2**32 - 1", | |
"msg" : "313233343030", | |
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650284ffffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 84, | |
"comment" : "length of integer = 2**40 - 1", | |
"msg" : "313233343030", | |
"sig" : "304a0285ffffffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 85, | |
"comment" : "length of integer = 2**40 - 1", | |
"msg" : "313233343030", | |
"sig" : "304a022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650285ffffffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 86, | |
"comment" : "length of integer = 2**64 - 1", | |
"msg" : "313233343030", | |
"sig" : "304d0288ffffffffffffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 87, | |
"comment" : "length of integer = 2**64 - 1", | |
"msg" : "313233343030", | |
"sig" : "304d022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650288ffffffffffffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 88, | |
"comment" : "incorrect length of integer", | |
"msg" : "313233343030", | |
"sig" : "304502ff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 89, | |
"comment" : "incorrect length of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502ff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 90, | |
"comment" : "removing integer", | |
"msg" : "313233343030", | |
"sig" : "302202206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 91, | |
"comment" : "lonely integer tag", | |
"msg" : "313233343030", | |
"sig" : "30230202206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 92, | |
"comment" : "lonely integer tag", | |
"msg" : "313233343030", | |
"sig" : "3024022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 93, | |
"comment" : "appending 0's to integer", | |
"msg" : "313233343030", | |
"sig" : "3047022300813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 94, | |
"comment" : "appending 0's to integer", | |
"msg" : "313233343030", | |
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502226ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 95, | |
"comment" : "prepending 0's to integer", | |
"msg" : "313233343030", | |
"sig" : "30470223000000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [ | |
"BER" | |
] | |
}, | |
{ | |
"tcId" : 96, | |
"comment" : "prepending 0's to integer", | |
"msg" : "313233343030", | |
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365022200006ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [ | |
"BER" | |
] | |
}, | |
{ | |
"tcId" : 97, | |
"comment" : "appending unused 0's to integer", | |
"msg" : "313233343030", | |
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 98, | |
"comment" : "appending null value to integer", | |
"msg" : "313233343030", | |
"sig" : "3047022300813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365050002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 99, | |
"comment" : "appending null value to integer", | |
"msg" : "313233343030", | |
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502226ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0500", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 100, | |
"comment" : "truncated length of integer", | |
"msg" : "313233343030", | |
"sig" : "3024028102206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 101, | |
"comment" : "truncated length of integer", | |
"msg" : "313233343030", | |
"sig" : "3025022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650281", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 102, | |
"comment" : "Replacing integer with NULL", | |
"msg" : "313233343030", | |
"sig" : "3024050002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 103, | |
"comment" : "Replacing integer with NULL", | |
"msg" : "313233343030", | |
"sig" : "3025022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650500", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 104, | |
"comment" : "changing tag value of integer", | |
"msg" : "313233343030", | |
"sig" : "3045002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 105, | |
"comment" : "changing tag value of integer", | |
"msg" : "313233343030", | |
"sig" : "3045012100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 106, | |
"comment" : "changing tag value of integer", | |
"msg" : "313233343030", | |
"sig" : "3045032100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 107, | |
"comment" : "changing tag value of integer", | |
"msg" : "313233343030", | |
"sig" : "3045042100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 108, | |
"comment" : "changing tag value of integer", | |
"msg" : "313233343030", | |
"sig" : "3045ff2100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 109, | |
"comment" : "changing tag value of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236500206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 110, | |
"comment" : "changing tag value of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236501206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 111, | |
"comment" : "changing tag value of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236503206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 112, | |
"comment" : "changing tag value of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236504206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 113, | |
"comment" : "changing tag value of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365ff206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 114, | |
"comment" : "dropping value of integer", | |
"msg" : "313233343030", | |
"sig" : "3024020002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 115, | |
"comment" : "dropping value of integer", | |
"msg" : "313233343030", | |
"sig" : "3025022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650200", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 116, | |
"comment" : "using composition for integer", | |
"msg" : "313233343030", | |
"sig" : "304922250201000220813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 117, | |
"comment" : "using composition for integer", | |
"msg" : "313233343030", | |
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365222402016f021ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 118, | |
"comment" : "modify first byte of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022102813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 119, | |
"comment" : "modify first byte of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206df18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 120, | |
"comment" : "modify last byte of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323e502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 121, | |
"comment" : "modify last byte of integer", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb313a", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 122, | |
"comment" : "truncated integer", | |
"msg" : "313233343030", | |
"sig" : "3044022000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832302206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 123, | |
"comment" : "truncated integer", | |
"msg" : "313233343030", | |
"sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365021f6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 124, | |
"comment" : "truncated integer", | |
"msg" : "313233343030", | |
"sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365021ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 125, | |
"comment" : "leading ff in integer", | |
"msg" : "313233343030", | |
"sig" : "30460222ff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 126, | |
"comment" : "leading ff in integer", | |
"msg" : "313233343030", | |
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221ff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 127, | |
"comment" : "replaced integer by infinity", | |
"msg" : "313233343030", | |
"sig" : "302509018002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 128, | |
"comment" : "replaced integer by infinity", | |
"msg" : "313233343030", | |
"sig" : "3026022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365090180", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 129, | |
"comment" : "replacing integer with zero", | |
"msg" : "313233343030", | |
"sig" : "302502010002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 130, | |
"comment" : "replacing integer with zero", | |
"msg" : "313233343030", | |
"sig" : "3026022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365020100", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 131, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "3045022101813ef79ccefa9a56f7ba805f0e478583b90deabca4b05c4574e49b5899b964a602206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 132, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "30440220813ef79ccefa9a56f7ba805f0e47858643b030ef461f1bcdf53fde3ef94ce22402206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 133, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "30450221ff7ec10863310565a908457fa0f1b87a7b01a0f22a0a9843f64aedc334367cdc9b02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 134, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "304402207ec10863310565a908457fa0f1b87a79bc4fcf10b9e0e4320ac021c106b31ddc02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 135, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "30450221fe7ec10863310565a908457fa0f1b87a7c46f215435b4fa3ba8b1b64a766469b5a02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 136, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "3045022101813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 137, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "304402207ec10863310565a908457fa0f1b87a7b01a0f22a0a9843f64aedc334367cdc9b02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 138, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221016ff18a52dcc0336f7af62400a6dd9b7fc1e197d8aebe203c96c87232272172fb", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 139, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221ff6ff18a52dcc0336f7af62400a6dd9b824c83de0b502cdfc51723b51886b4f079", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 140, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650220900e75ad233fcc908509dbff5922647ef8cd450e008a7fff2909ec5aa914ce46", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 141, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221fe900e75ad233fcc908509dbff592264803e1e68275141dfc369378dcdd8de8d05", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 142, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221016ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 143, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365022100900e75ad233fcc908509dbff5922647ef8cd450e008a7fff2909ec5aa914ce46", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 144, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3006020100020100", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 145, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3006020100020101", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 146, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "30060201000201ff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 147, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 148, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 149, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 150, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026020100022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 151, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026020100022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 152, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3008020100090380fe01", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 153, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3006020100090142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 154, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3006020101020100", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 155, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3006020101020101", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 156, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "30060201010201ff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 157, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 158, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 159, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 160, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026020101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 161, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026020101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 162, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3008020101090380fe01", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 163, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3006020101090142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 164, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "30060201ff020100", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 165, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "30060201ff020101", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 166, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "30060201ff0201ff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 167, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 168, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 169, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 170, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 171, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 172, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "30080201ff090380fe01", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 173, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "30060201ff090142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 174, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020100", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 175, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 176, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410201ff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 177, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 178, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 179, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 180, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 181, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 182, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141090380fe01", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 183, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141090142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 184, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140020100", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 185, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140020101", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 186, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641400201ff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 187, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 188, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 189, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 190, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 191, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 192, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140090380fe01", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 193, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140090142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 194, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020100", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 195, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020101", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 196, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641420201ff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 197, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 198, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 199, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 200, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 201, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 202, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142090380fe01", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 203, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142090142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 204, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f020100", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 205, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f020101", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 206, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0201ff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 207, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 208, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 209, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 210, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 211, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 212, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3028022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f090380fe01", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 213, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f090142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 214, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30020100", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 215, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30020101", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 216, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc300201ff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 217, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 218, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 219, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 220, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 221, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 222, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3028022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30090380fe01", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 223, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30090142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 224, | |
"comment" : "Signature encoding contains wrong types.", | |
"msg" : "313233343030", | |
"sig" : "30060201010c0130", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 225, | |
"comment" : "Signature encoding contains wrong types.", | |
"msg" : "313233343030", | |
"sig" : "30050201010c00", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 226, | |
"comment" : "Signature encoding contains wrong types.", | |
"msg" : "313233343030", | |
"sig" : "30090c0225730c03732573", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 227, | |
"comment" : "Signature encoding contains wrong types.", | |
"msg" : "313233343030", | |
"sig" : "30080201013003020100", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 228, | |
"comment" : "Signature encoding contains wrong types.", | |
"msg" : "313233343030", | |
"sig" : "3003020101", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 229, | |
"comment" : "Signature encoding contains wrong types.", | |
"msg" : "313233343030", | |
"sig" : "3006020101010100", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 230, | |
"comment" : "Edge case for Shamir multiplication", | |
"msg" : "3235353835", | |
"sig" : "3045022100dd1b7d09a7bd8218961034a39a87fecf5314f00c4d25eb58a07ac85e85eab516022035138c401ef8d3493d65c9002fe62b43aee568731b744548358996d9cc427e06", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 231, | |
"comment" : "special case hash", | |
"msg" : "343236343739373234", | |
"sig" : "304502210095c29267d972a043d955224546222bba343fc1d4db0fec262a33ac61305696ae02206edfe96713aed56f8a28a6653f57e0b829712e5eddc67f34682b24f0676b2640", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 232, | |
"comment" : "special case hash", | |
"msg" : "37313338363834383931", | |
"sig" : "3045022028f94a894e92024699e345fe66971e3edcd050023386135ab3939d550898fb25022100cd69c1a42be05a6ee1270c821479251e134c21858d800bda6f4e98b37196238e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 233, | |
"comment" : "special case hash", | |
"msg" : "3130333539333331363638", | |
"sig" : "3046022100be26b18f9549f89f411a9b52536b15aa270b84548d0e859a1952a27af1a77ac60221008f3e2b05632fc33715572af9124681113f2b84325b80154c044a544dc1a8fa12", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 234, | |
"comment" : "special case hash", | |
"msg" : "33393439343031323135", | |
"sig" : "3046022100b1a4b1478e65cc3eafdf225d1298b43f2da19e4bcff7eacc0a2e98cd4b74b114022100e8655ce1cfb33ebd30af8ce8e8ae4d6f7b50cd3e22af51bf69e0a2851760d52b", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 235, | |
"comment" : "special case hash", | |
"msg" : "31333434323933303739", | |
"sig" : "30440220325332021261f1bd18f2712aa1e2252da23796da8a4b1ff6ea18cafec7e171f2022040b4f5e287ee61fc3c804186982360891eaa35c75f05a43ecd48b35d984a6648", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 236, | |
"comment" : "special case hash", | |
"msg" : "33373036323131373132", | |
"sig" : "3046022100a23ad18d8fc66d81af0903890cbd453a554cb04cdc1a8ca7f7f78e5367ed88a0022100dc1c14d31e3fb158b73c764268c8b55579734a7e2a2c9b5ee5d9d0144ef652eb", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 237, | |
"comment" : "special case hash", | |
"msg" : "333433363838373132", | |
"sig" : "304502202bdea41cda63a2d14bf47353bd20880a690901de7cd6e3cc6d8ed5ba0cdb1091022100c31599433036064073835b1e3eba8335a650c8fd786f94fe235ad7d41dc94c7a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 238, | |
"comment" : "special case hash", | |
"msg" : "31333531353330333730", | |
"sig" : "3046022100d7cd76ec01c1b1079eba9e2aa2a397243c4758c98a1ba0b7404a340b9b00ced6022100ca8affe1e626dd192174c2937b15bc48f77b5bdfe01f073a8aeaf7f24dc6c85b", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 239, | |
"comment" : "special case hash", | |
"msg" : "36353533323033313236", | |
"sig" : "3045022100a872c744d936db21a10c361dd5c9063355f84902219652f6fc56dc95a7139d960220400df7575d9756210e9ccc77162c6b593c7746cfb48ac263c42750b421ef4bb9", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 240, | |
"comment" : "special case hash", | |
"msg" : "31353634333436363033", | |
"sig" : "30460221009fa9afe07752da10b36d3afcd0fe44bfc40244d75203599cf8f5047fa3453854022100af1f583fec4040ae7e68c968d2bb4b494eec3a33edc7c0ccf95f7f75bc2569c7", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 241, | |
"comment" : "special case hash", | |
"msg" : "34343239353339313137", | |
"sig" : "3045022100885640384d0d910efb177b46be6c3dc5cac81f0b88c3190bb6b5f99c2641f2050220738ed9bff116306d9caa0f8fc608be243e0b567779d8dab03e8e19d553f1dc8e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 242, | |
"comment" : "special case hash", | |
"msg" : "3130393533323631333531", | |
"sig" : "304502202d051f91c5a9d440c5676985710483bc4f1a6c611b10c95a2ff0363d90c2a45802210092206b19045a41a797cc2f3ac30de9518165e96d5b86341ecb3bcff231b3fd65", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 243, | |
"comment" : "special case hash", | |
"msg" : "35393837333530303431", | |
"sig" : "3045022100f3ac2523967482f53d508522712d583f4379cd824101ff635ea0935117baa54f022027f10812227397e02cea96fb0e680761636dab2b080d1fc5d11685cbe8500cfe", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 244, | |
"comment" : "special case hash", | |
"msg" : "33343633303036383738", | |
"sig" : "304602210096447cf68c3ab7266ed7447de3ac52fed7cc08cbdfea391c18a9b8ab370bc913022100f0a1878b2c53f16e70fe377a5e9c6e86f18ae480a22bb499f5b32e7109c07385", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 245, | |
"comment" : "special case hash", | |
"msg" : "39383137333230323837", | |
"sig" : "30450220530a0832b691da0b5619a0b11de6877f3c0971baaa68ed122758c29caaf46b7202210093761bb0a14ccf9f15b4b9ce73c6ec700bd015b8cb1cfac56837f4463f53074e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 246, | |
"comment" : "special case hash", | |
"msg" : "33323232303431303436", | |
"sig" : "30460221009c54c25500bde0b92d72d6ec483dc2482f3654294ca74de796b681255ed58a77022100988bac394a90ad89ce360984c0c149dcbd2684bb64498ace90bcf6b6af1c170e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 247, | |
"comment" : "special case hash", | |
"msg" : "36363636333037313034", | |
"sig" : "3045022100e7909d41439e2f6af29136c7348ca2641a2b070d5b64f91ea9da7070c7a2618b022042d782f132fa1d36c2c88ba27c3d678d80184a5d1eccac7501f0b47e3d205008", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 248, | |
"comment" : "special case hash", | |
"msg" : "31303335393531383938", | |
"sig" : "304502205924873209593135a4c3da7bb381227f8a4b6aa9f34fe5bb7f8fbc131a039ffe022100e0e44ee4bbe370155bf0bbdec265bf9fe31c0746faab446de62e3631eacd111f", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 249, | |
"comment" : "special case hash", | |
"msg" : "31383436353937313935", | |
"sig" : "3045022100eeb692c9b262969b231c38b5a7f60649e0c875cd64df88f33aa571fa3d29ab0e0220218b3a1eb06379c2c18cf51b06430786d1c64cd2d24c9b232b23e5bac7989acd", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 250, | |
"comment" : "special case hash", | |
"msg" : "33313336303436313839", | |
"sig" : "3045022100a40034177f36091c2b653684a0e3eb5d4bff18e4d09f664c2800e7cafda1daf802203a3ec29853704e52031c58927a800a968353adc3d973beba9172cbbeab4dd149", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 251, | |
"comment" : "special case hash", | |
"msg" : "32363633373834323534", | |
"sig" : "3046022100b5d795cc75cea5c434fa4185180cd6bd21223f3d5a86da6670d71d95680dadbf022100ab1b277ef5ffe134460835e3d1402461ba104cb50b16f397fdc7a9abfefef280", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 252, | |
"comment" : "special case hash", | |
"msg" : "31363532313030353234", | |
"sig" : "3044022007dc2478d43c1232a4595608c64426c35510051a631ae6a5a6eb1161e57e42e102204a59ea0fdb72d12165cea3bf1ca86ba97517bd188db3dbd21a5a157850021984", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 253, | |
"comment" : "special case hash", | |
"msg" : "35373438303831363936", | |
"sig" : "3046022100ddd20c4a05596ca868b558839fce9f6511ddd83d1ccb53f82e5269d559a01552022100a46e8cb8d626cf6c00ddedc3b5da7e613ac376445ee260743f06f79054c7d42a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 254, | |
"comment" : "special case hash", | |
"msg" : "36333433393133343638", | |
"sig" : "30450221009cde6e0ede0a003f02fda0a01b59facfe5dec063318f279ce2de7a9b1062f7b702202886a5b8c679bdf8224c66f908fd6205492cb70b0068d46ae4f33a4149b12a52", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 255, | |
"comment" : "special case hash", | |
"msg" : "31353431313033353938", | |
"sig" : "3046022100c5771016d0dd6357143c89f684cd740423502554c0c59aa8c99584f1ff38f609022100ab4bfa0bb88ab99791b9b3ab9c4b02bd2a57ae8dde50b9064063fcf85315cfe5", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 256, | |
"comment" : "special case hash", | |
"msg" : "3130343738353830313238", | |
"sig" : "3045022100a24ebc0ec224bd67ae397cbe6fa37b3125adbd34891abe2d7c7356921916dfe6022034f6eb6374731bbbafc4924fb8b0bdcdda49456d724cdae6178d87014cb53d8c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 257, | |
"comment" : "special case hash", | |
"msg" : "3130353336323835353638", | |
"sig" : "304502202557d64a7aee2e0931c012e4fea1cd3a2c334edae68cdeb7158caf21b68e5a2402210080f93244956ffdc568c77d12684f7f004fa92da7e60ae94a1b98c422e23eda34", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 258, | |
"comment" : "special case hash", | |
"msg" : "393533393034313035", | |
"sig" : "3046022100c4f2eccbb6a24350c8466450b9d61b207ee359e037b3dcedb42a3f2e6dd6aeb5022100cd9c394a65d0aa322e391eb76b2a1a687f8620a88adef3a01eb8e4fb05b6477a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 259, | |
"comment" : "special case hash", | |
"msg" : "393738383438303339", | |
"sig" : "3046022100eff04781c9cbcd162d0a25a6e2ebcca43506c523385cb515d49ea38a1b12fcad022100ea5328ce6b36e56ab87acb0dcfea498bcec1bba86a065268f6eff3c41c4b0c9c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 260, | |
"comment" : "special case hash", | |
"msg" : "33363130363732343432", | |
"sig" : "3046022100f58b4e3110a64bf1b5db97639ee0e5a9c8dfa49dc59b679891f520fdf0584c87022100d32701ae777511624c1f8abbf02b248b04e7a9eb27938f524f3e8828ba40164a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 261, | |
"comment" : "special case hash", | |
"msg" : "31303534323430373035", | |
"sig" : "3045022100f8abecaa4f0c502de4bf5903d48417f786bf92e8ad72fec0bd7fcb7800c0bbe302204c7f9e231076a30b7ae36b0cebe69ccef1cd194f7cce93a5588fd6814f437c0e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 262, | |
"comment" : "special case hash", | |
"msg" : "35313734343438313937", | |
"sig" : "304402205d5b38bd37ad498b2227a633268a8cca879a5c7c94a4e416bd0a614d09e606d2022012b8d664ea9991062ecbb834e58400e25c46007af84f6007d7f1685443269afe", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 263, | |
"comment" : "special case hash", | |
"msg" : "31393637353631323531", | |
"sig" : "304402200c1cd9fe4034f086a2b52d65b9d3834d72aebe7f33dfe8f976da82648177d8e3022013105782e3d0cfe85c2778dec1a848b27ac0ae071aa6da341a9553a946b41e59", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 264, | |
"comment" : "special case hash", | |
"msg" : "33343437323533333433", | |
"sig" : "3045022100ae7935fb96ff246b7b5d5662870d1ba587b03d6e1360baf47988b5c02ccc1a5b02205f00c323272083782d4a59f2dfd65e49de0693627016900ef7e61428056664b3", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 265, | |
"comment" : "special case hash", | |
"msg" : "333638323634333138", | |
"sig" : "3045022000a134b5c6ccbcefd4c882b945baeb4933444172795fa6796aae149067547098022100a991b9efa2db276feae1c115c140770901839d87e60e7ec45a2b81cf3b437be6", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 266, | |
"comment" : "special case hash", | |
"msg" : "33323631313938363038", | |
"sig" : "304502202e4721363ad3992c139e5a1c26395d2c2d777824aa24fde075e0d7381171309d0221008bf083b6bbe71ecff22baed087d5a77eaeaf726bf14ace2c03fd6e37ba6c26f2", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 267, | |
"comment" : "special case hash", | |
"msg" : "39363738373831303934", | |
"sig" : "304502206852e9d3cd9fe373c2d504877967d365ab1456707b6817a042864694e1960ccf022100f9b4d815ebd4cf77847b37952334d05b2045cb398d4c21ba207922a7a4714d84", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 268, | |
"comment" : "special case hash", | |
"msg" : "34393538383233383233", | |
"sig" : "30440220188a8c5648dc79eace158cf886c62b5468f05fd95f03a7635c5b4c31f09af4c5022036361a0b571a00c6cd5e686ccbfcfa703c4f97e48938346d0c103fdc76dc5867", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 269, | |
"comment" : "special case hash", | |
"msg" : "383234363337383337", | |
"sig" : "3045022100a74f1fb9a8263f62fc4416a5b7d584f4206f3996bb91f6fc8e73b9e92bad0e1302206815032e8c7d76c3ab06a86f33249ce9940148cb36d1f417c2e992e801afa3fa", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 270, | |
"comment" : "special case hash", | |
"msg" : "3131303230383333373736", | |
"sig" : "3045022007244865b72ff37e62e3146f0dc14682badd7197799135f0b00ade7671742bfe022100f27f3ddc7124b1b58579573a835650e7a8bad5eeb96e9da215cd7bf9a2a039ed", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 271, | |
"comment" : "special case hash", | |
"msg" : "313333383731363438", | |
"sig" : "3045022100da7fdd05b5badabd619d805c4ee7d9a84f84ddd5cf9c5bf4d4338140d689ef08022028f1cf4fa1c3c5862cfa149c0013cf5fe6cf5076cae000511063e7de25bb38e5", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 272, | |
"comment" : "special case hash", | |
"msg" : "333232313434313632", | |
"sig" : "3046022100d3027c656f6d4fdfd8ede22093e3c303b0133c340d615e7756f6253aea927238022100f6510f9f371b31068d68bfeeaa720eb9bbdc8040145fcf88d4e0b58de0777d2a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 273, | |
"comment" : "special case hash", | |
"msg" : "3130363836363535353436", | |
"sig" : "304402200bf6c0188dc9571cd0e21eecac5fbb19d2434988e9cc10244593ef3a98099f6902204864a562661f9221ec88e3dd0bc2f6e27ac128c30cc1a80f79ec670a22b042ee", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 274, | |
"comment" : "special case hash", | |
"msg" : "3632313535323436", | |
"sig" : "3045022100ae459640d5d1179be47a47fa538e16d94ddea5585e7a244804a51742c686443a02206c8e30e530a634fae80b3ceb062978b39edbe19777e0a24553b68886181fd897", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 275, | |
"comment" : "special case hash", | |
"msg" : "37303330383138373734", | |
"sig" : "304402201cf3517ba3bf2ab8b9ead4ebb6e866cb88a1deacb6a785d3b63b483ca02ac4950220249a798b73606f55f5f1c70de67cb1a0cff95d7dc50b3a617df861bad3c6b1c9", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 276, | |
"comment" : "special case hash", | |
"msg" : "35393234353233373434", | |
"sig" : "3045022100e69b5238265ea35d77e4dd172288d8cea19810a10292617d5976519dc5757cb802204b03c5bc47e826bdb27328abd38d3056d77476b2130f3df6ec4891af08ba1e29", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 277, | |
"comment" : "special case hash", | |
"msg" : "31343935353836363231", | |
"sig" : "304402205f9d7d7c870d085fc1d49fff69e4a275812800d2cf8973e7325866cb40fa2b6f02206d1f5491d9f717a597a15fd540406486d76a44697b3f0d9d6dcef6669f8a0a56", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 278, | |
"comment" : "special case hash", | |
"msg" : "34303035333134343036", | |
"sig" : "304402200a7d5b1959f71df9f817146ee49bd5c89b431e7993e2fdecab6858957da685ae02200f8aad2d254690bdc13f34a4fec44a02fd745a422df05ccbb54635a8b86b9609", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 279, | |
"comment" : "special case hash", | |
"msg" : "33303936343537353132", | |
"sig" : "3044022079e88bf576b74bc07ca142395fda28f03d3d5e640b0b4ff0752c6d94cd553408022032cea05bd2d706c8f6036a507e2ab7766004f0904e2e5c5862749c0073245d6a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 280, | |
"comment" : "special case hash", | |
"msg" : "32373834303235363230", | |
"sig" : "30450221009d54e037a00212b377bc8874798b8da080564bbdf7e07591b861285809d01488022018b4e557667a82bd95965f0706f81a29243fbdd86968a7ebeb43069db3b18c7f", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 281, | |
"comment" : "special case hash", | |
"msg" : "32363138373837343138", | |
"sig" : "304402202664f1ffa982fedbcc7cab1b8bc6e2cb420218d2a6077ad08e591ba9feab33bd022049f5c7cb515e83872a3d41b4cdb85f242ad9d61a5bfc01debfbb52c6c84ba728", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 282, | |
"comment" : "special case hash", | |
"msg" : "31363432363235323632", | |
"sig" : "304502205827518344844fd6a7de73cbb0a6befdea7b13d2dee4475317f0f18ffc81524b022100b0a334b1f4b774a5a289f553224d286d239ef8a90929ed2d91423e024eb7fa66", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 283, | |
"comment" : "special case hash", | |
"msg" : "36383234313839343336", | |
"sig" : "304602210097ab19bd139cac319325869218b1bce111875d63fb12098a04b0cd59b6fdd3a3022100bce26315c5dbc7b8cfc31425a9b89bccea7aa9477d711a4d377f833dcc28f820", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 284, | |
"comment" : "special case hash", | |
"msg" : "343834323435343235", | |
"sig" : "3044022052c683144e44119ae2013749d4964ef67509278f6d38ba869adcfa69970e123d02203479910167408f45bda420a626ec9c4ec711c1274be092198b4187c018b562ca", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0407310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc36226a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0", | |
"wx" : "07310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc362", | |
"wy" : "26a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000407310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc36226a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEBzEPkKnq4UmghAL1QZSg97SsQnv42b1s\ndoEHHcR9w2ImptN6xG1h/WAMC/G/+HaJ7RF92msOWTGK4BChl6JsoA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 285, | |
"comment" : "k*G has a large x-coordinate", | |
"msg" : "313233343030", | |
"sig" : "30360211014551231950b75fc4402da1722fc9baeb022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 286, | |
"comment" : "r too large", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2c022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5", | |
"wx" : "00bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22", | |
"wy" : "705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEvJfnWF7srUjhZoO8QJFwjhqTDGg/xHAB\n1LODWU8sTiJwWYnPadrq3U5OS4FR7YiN/sIPsBco2J1Ws/OPKunIxQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 287, | |
"comment" : "r,s are large", | |
"msg" : "313233343030", | |
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0444ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463", | |
"wx" : "44ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252", | |
"wy" : "00b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000444ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERK0zmvvCHpq/e2AqXKU16jeBNbbRDYEx\nC92Ck9HfMlK2P/fQd0dw+P4dFyL6g6zQL0NOT8EQoMyPbd3TfVbEYw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 288, | |
"comment" : "r and s^-1 have a large Hamming weight", | |
"msg" : "313233343030", | |
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203e9a7582886089c62fb840cf3b83061cd1cff3ae4341808bb5bdee6191174177", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "041260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0", | |
"wx" : "1260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c", | |
"wy" : "5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEEmDCEiyeJE4a9RUb7eDDriO1TXxZaIHT\n7rrSHzfdh4xcmgwamt52c3qIEb1qf5KHyXjuOWqonBHkcinSzLVS8A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 289, | |
"comment" : "r and s^-1 have a large Hamming weight", | |
"msg" : "313233343030", | |
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022024238e70b431b1a64efdf9032669939d4b77f249503fc6905feb7540dea3e6d2", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "041877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159", | |
"wx" : "1877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce", | |
"wy" : "00821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGHcEW+JdNKHQYA+dXADQZFoqVDebbO76\n0ua/XCozUs6CGlMswXUe4dNtQcPWq06bFD5E7EbXNHjqanmlwOVBWQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 290, | |
"comment" : "small r and s", | |
"msg" : "313233343030", | |
"sig" : "3006020101020101", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77", | |
"wx" : "455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50", | |
"wy" : "00aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERVQ5/MPS3uzt3q7OYOe9FzBPNuu2Aq31\noi4Ljx20alCuw4+yuvIh6ajRiHx79iIt0YNGNOdyYzFa9tI2CdBPdw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 291, | |
"comment" : "small r and s", | |
"msg" : "313233343030", | |
"sig" : "3006020101020102", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "042e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece7180449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d", | |
"wx" : "2e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece718", | |
"wy" : "0449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200042e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece7180449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAELh9GawJMDDrOJDfeCRJ/7QS3BvlLGaIb\nscKs81zs5xgESa41I9clNOlklyz9OzivC93ZYZ5a8iPk0aQPNM+fHQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 292, | |
"comment" : "small r and s", | |
"msg" : "313233343030", | |
"sig" : "3006020101020103", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 293, | |
"comment" : "r is larger than n", | |
"msg" : "313233343030", | |
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020103", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04dda95d7b0698de5d2d0b4f0034dbe35b50f978fcc518a84abf9c99efd96a25305adc08d6a63dbe831ab99cd9146e3c4c45492ad19521612542256d6af60e7888", | |
"wx" : "00dda95d7b0698de5d2d0b4f0034dbe35b50f978fcc518a84abf9c99efd96a2530", | |
"wy" : "5adc08d6a63dbe831ab99cd9146e3c4c45492ad19521612542256d6af60e7888" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004dda95d7b0698de5d2d0b4f0034dbe35b50f978fcc518a84abf9c99efd96a25305adc08d6a63dbe831ab99cd9146e3c4c45492ad19521612542256d6af60e7888", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE3aldewaY3l0tC08ANNvjW1D5ePzFGKhK\nv5yZ79lqJTBa3AjWpj2+gxq5nNkUbjxMRUkq0ZUhYSVCJW1q9g54iA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 294, | |
"comment" : "s is larger than n", | |
"msg" : "313233343030", | |
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd04917c8", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0402ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee777eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866", | |
"wx" : "02ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee77", | |
"wy" : "7eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000402ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee777eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAu9NbWz9WpTx13hCJuPipsCkNsVYOWGf\nOPtEcrX57nd+tKzU7r2lzXKHX/0qLyYinC3GtGUAkZpDLIZznzroZg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 295, | |
"comment" : "small r and s^-1", | |
"msg" : "313233343030", | |
"sig" : "302702020101022100c58b162c58b162c58b162c58b162c58a1b242973853e16db75c8a1a71da4d39d", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08", | |
"wx" : "464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584", | |
"wy" : "00b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERk9P9xVynK5Qcso72AHTGVtnrsZemwGq\n0gopQ9y8tYSxr9KdMaOaEdVwqhWXQ5s7LRlxvy8avxVDLQIHsQ0dCA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 296, | |
"comment" : "smallish r and s^-1", | |
"msg" : "313233343030", | |
"sig" : "302c02072d9b4d347952cc022100fcbc5103d0da267477d1791461cf2aa44bf9d43198f79507bd8779d69a13108e", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4cdeadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f", | |
"wx" : "157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4c", | |
"wy" : "00deadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4cdeadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEFX+P3fNz619Jz88Q2LhTz5HLzX1mXDUi\nun3XON23mkzerfGlxEjqPJ9BkaiZmr/MdXrG1kVn7wcsR/7GE0Q7jw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 297, | |
"comment" : "100-bit r and small s^-1", | |
"msg" : "313233343030", | |
"sig" : "3032020d1033e67e37b32b445580bf4efc022100906f906f906f906f906f906f906f906ed8e426f7b1968c35a204236a579723d2", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "040934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa", | |
"wx" : "0934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0", | |
"wy" : "00d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200040934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAECTSlN0ZsB0MOLEj+uZC7Gft4zsyc7kJO\npNEwKRqiN/DU+S0jtGKAS1toxSVYwByZltv3J/zKu+7bliGkAFNa+g==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaVerify", | |
"tests" : [ | |
{ | |
"tcId" : 298, | |
"comment" : "small r and 100 bit s^-1", | |
"msg" : "313233343030", | |
"sig" : "3026020201010220783266e90f43dafe5cd9b3b0be86de22f9de83677d0f50713a468ec72fcf5d57", | |
"result" : "valid", | |
"flags" : [] | |
} | |