2d10c3688c
This is just a pristine copy of the JSON files for now. It's not hooked up to anything yet. Change-Id: I608b4b0368578f159cad23950d70578ff4c23da3 Reviewed-on: https://boringssl-review.googlesource.com/27784 Reviewed-by: Adam Langley <agl@google.com>
3804 lines
162 KiB
JSON
3804 lines
162 KiB
JSON
{
|
|
"algorithm" : "ECDSA",
|
|
"generatorVersion" : "0.4",
|
|
"numberOfTests" : 333,
|
|
"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."
|
|
},
|
|
"header" : [],
|
|
"testGroups" : [
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6ff0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEuDj/ROW8F3vyEYnQdmCC/J2EMiaIf8l2\nA3EQC37iCm/wyddb+6ezGmvKGXRJbutW3jVwcZVdg8Sxutqgshgy6Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6f",
|
|
"wy" : "0f0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1,
|
|
"comment" : "signature malleability",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365022100900e75ad233fcc908509dbff5922647db37c21f4afd3203ae8dc4ae7794b0f87",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 2,
|
|
"comment" : "random signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502210089fba57f428b69cff33f19092dcdc368fc87d4d0f0086c42729f8e409a48b8b902203d0f0f73c590218154952d69df5b406f140161c5600c274d69d475de987d2999",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 3,
|
|
"comment" : "random signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022051dcc058c70a215bcef1d12b3d6e5c30bc57e079ab64d5cc993d84cafbedb548022100d24666691c695e2aa68ea6ac38c78cfd50179a2ddfe7fc2a9efbbc574b9963d6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 4,
|
|
"comment" : "random signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100c384928d75b911cdfcf994bc809b5adb4ae0e7747a08dc7b50734708ec2b375e0221009da4c98e1822874450c1551df725ca89cd50ec33aec2052a54d0d853f6c5e1cb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 5,
|
|
"comment" : "random signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022027340377d4b3f30b3930729654c3a4e527ca12b843fc67dd51ea60627df916f202207b7b8c92512bb6b64f4ba46ae4fee6f376d93285e9a96701c42e60c416239007",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 6,
|
|
"comment" : "random signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "30460221009cbf94ef2aba2beb60315981f4ce44ed302d0fbc819a058722c29df53a3c7c1d0221009f36bbbb6aaa36e78023f3dd559f0f380e2d60aebd54c1472695ff35bb19bc47",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 7,
|
|
"comment" : "Legacy:ASN encoding of r misses leading 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "acceptable",
|
|
"flags" : [
|
|
"MissingZero"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 8,
|
|
"comment" : "valid",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 9,
|
|
"comment" : "long form encoding of length",
|
|
"msg" : "313233343030",
|
|
"sig" : "308145022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 10,
|
|
"comment" : "long form encoding of length",
|
|
"msg" : "313233343030",
|
|
"sig" : "304602812100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 11,
|
|
"comment" : "long form encoding of length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650281206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 12,
|
|
"comment" : "length contains leading 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "30820045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 13,
|
|
"comment" : "length contains leading 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "30470282002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 14,
|
|
"comment" : "length contains leading 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365028200206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 15,
|
|
"comment" : "wrong length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 16,
|
|
"comment" : "wrong length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 17,
|
|
"comment" : "wrong length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022200813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 18,
|
|
"comment" : "wrong length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 19,
|
|
"comment" : "wrong length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502216ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 20,
|
|
"comment" : "wrong length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365021f6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 21,
|
|
"comment" : "uint32 overflow in length",
|
|
"msg" : "313233343030",
|
|
"sig" : "30850100000045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 22,
|
|
"comment" : "uint32 overflow in length",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a0285010000002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 23,
|
|
"comment" : "uint32 overflow in length",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365028501000000206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 24,
|
|
"comment" : "uint64 overflow in length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3089010000000000000045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 25,
|
|
"comment" : "uint64 overflow in length",
|
|
"msg" : "313233343030",
|
|
"sig" : "304e028901000000000000002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 26,
|
|
"comment" : "uint64 overflow in length",
|
|
"msg" : "313233343030",
|
|
"sig" : "304e022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502890100000000000000206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 27,
|
|
"comment" : "length = 2**31 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "30847fffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 28,
|
|
"comment" : "length = 2**31 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304902847fffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 29,
|
|
"comment" : "length = 2**31 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502847fffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 30,
|
|
"comment" : "length = 2**32 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3084ffffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 31,
|
|
"comment" : "length = 2**32 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "30490284ffffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 32,
|
|
"comment" : "length = 2**32 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650284ffffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 33,
|
|
"comment" : "length = 2**40 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3085ffffffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 34,
|
|
"comment" : "length = 2**40 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a0285ffffffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 35,
|
|
"comment" : "length = 2**40 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650285ffffffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 36,
|
|
"comment" : "length = 2**64 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3088ffffffffffffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 37,
|
|
"comment" : "length = 2**64 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d0288ffffffffffffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 38,
|
|
"comment" : "length = 2**64 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650288ffffffffffffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 39,
|
|
"comment" : "incorrect length",
|
|
"msg" : "313233343030",
|
|
"sig" : "30ff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 40,
|
|
"comment" : "incorrect length",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502ff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 41,
|
|
"comment" : "incorrect length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502ff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 42,
|
|
"comment" : "indefinite length without termination",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 43,
|
|
"comment" : "indefinite length without termination",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045028000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 44,
|
|
"comment" : "indefinite length without termination",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502806ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 45,
|
|
"comment" : "removing sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 46,
|
|
"comment" : "appending 0's to sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 47,
|
|
"comment" : "prepending 0's to sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30470000022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 48,
|
|
"comment" : "appending unused 0's",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 49,
|
|
"comment" : "appending unused 0's",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 50,
|
|
"comment" : "appending null value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0500",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 51,
|
|
"comment" : "appending null value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022300813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365050002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 52,
|
|
"comment" : "appending null value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502226ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0500",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 53,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a4981773045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 54,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304925003045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 55,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "30473045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0004deadbeef",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 56,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a2226498177022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 57,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304922252500022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 58,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d2223022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650004deadbeef02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 59,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365222549817702206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 60,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323652224250002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 61,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365222202206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0004deadbeef",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 62,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304daa00bb00cd003045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 63,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304baa02aabb3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 64,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d2229aa00bb00cd00022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 65,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304b2227aa02aabb022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 66,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323652228aa00bb00cd0002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 67,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304b022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323652226aa02aabb02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 68,
|
|
"comment" : "using composition with indefinite length",
|
|
"msg" : "313233343030",
|
|
"sig" : "30803045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 69,
|
|
"comment" : "using composition with indefinite length",
|
|
"msg" : "313233343030",
|
|
"sig" : "30492280022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 70,
|
|
"comment" : "using composition with indefinite length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365228002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 71,
|
|
"comment" : "using composition with wrong tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "30803145022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 72,
|
|
"comment" : "using composition with wrong tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "30492280032100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 73,
|
|
"comment" : "using composition with wrong tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365228003206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 74,
|
|
"comment" : "Replacing sequence with NULL",
|
|
"msg" : "313233343030",
|
|
"sig" : "0500",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 75,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "2e45022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 76,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "2f45022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 77,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3145022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 78,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3245022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 79,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "ff45022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 80,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 81,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045012100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 82,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045032100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 83,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045042100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 84,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045ff2100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 85,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236500206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 86,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236501206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 87,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236503206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 88,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236504206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 89,
|
|
"comment" : "changing tag value",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365ff206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 90,
|
|
"comment" : "dropping value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 91,
|
|
"comment" : "using composition",
|
|
"msg" : "313233343030",
|
|
"sig" : "304930010230442100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 92,
|
|
"comment" : "using composition",
|
|
"msg" : "313233343030",
|
|
"sig" : "304922250201000220813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 93,
|
|
"comment" : "using composition",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365222402016f021ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 94,
|
|
"comment" : "truncate sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 95,
|
|
"comment" : "truncate sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30442100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 96,
|
|
"comment" : "indefinite length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 97,
|
|
"comment" : "indefinite length with truncated delimiter",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba00",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 98,
|
|
"comment" : "indefinite length with additional element",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba05000000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 99,
|
|
"comment" : "indefinite length with truncated element",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba060811220000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 100,
|
|
"comment" : "indefinite length with garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000fe02beef",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 101,
|
|
"comment" : "indefinite length with nonempty EOC",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0002beef",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 102,
|
|
"comment" : "prepend empty sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30473000022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 103,
|
|
"comment" : "append empty sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba3000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 104,
|
|
"comment" : "sequence of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30473045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 105,
|
|
"comment" : "truncated sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3023022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 106,
|
|
"comment" : "repeat element in sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3067022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 107,
|
|
"comment" : "removing integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "302202206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 108,
|
|
"comment" : "appending 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022300813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 109,
|
|
"comment" : "appending 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502226ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 110,
|
|
"comment" : "prepending 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "30470223000000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 111,
|
|
"comment" : "prepending 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365022200006ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 112,
|
|
"comment" : "Replacing integer with NULL",
|
|
"msg" : "313233343030",
|
|
"sig" : "3024050002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 113,
|
|
"comment" : "Replacing integer with NULL",
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650500",
|
|
"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" : "modify first byte of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022102813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 117,
|
|
"comment" : "modify first byte of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206df18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 118,
|
|
"comment" : "modify last byte of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323e502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 119,
|
|
"comment" : "modify last byte of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb313a",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 120,
|
|
"comment" : "truncate integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832302206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 121,
|
|
"comment" : "truncate integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 122,
|
|
"comment" : "truncate integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365021f6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 123,
|
|
"comment" : "truncate integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365021ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 124,
|
|
"comment" : "leading ff in integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "30460222ff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 125,
|
|
"comment" : "leading ff in integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221ff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 126,
|
|
"comment" : "infinity",
|
|
"msg" : "313233343030",
|
|
"sig" : "302509018002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 127,
|
|
"comment" : "infinity",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365090180",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 128,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022101813ef79ccefa9a56f7ba805f0e478583b90deabca4b05c4574e49b5899b964a602206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 129,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220813ef79ccefa9a56f7ba805f0e47858643b030ef461f1bcdf53fde3ef94ce22402206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 130,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221ff7ec10863310565a908457fa0f1b87a7b01a0f22a0a9843f64aedc334367cdc9b02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 131,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ec10863310565a908457fa0f1b87a79bc4fcf10b9e0e4320ac021c106b31ddc02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 132,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221fe7ec10863310565a908457fa0f1b87a7c46f215435b4fa3ba8b1b64a766469b5a02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 133,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022101813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 134,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ec10863310565a908457fa0f1b87a7b01a0f22a0a9843f64aedc334367cdc9b02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 135,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221016ff18a52dcc0336f7af62400a6dd9b7fc1e197d8aebe203c96c87232272172fb",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 136,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221ff6ff18a52dcc0336f7af62400a6dd9b824c83de0b502cdfc51723b51886b4f079",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 137,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650220900e75ad233fcc908509dbff5922647ef8cd450e008a7fff2909ec5aa914ce46",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 138,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221fe900e75ad233fcc908509dbff592264803e1e68275141dfc369378dcdd8de8d05",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 139,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221016ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 140,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365022100900e75ad233fcc908509dbff5922647ef8cd450e008a7fff2909ec5aa914ce46",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 141,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020100020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 142,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020100020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 143,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201000201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 144,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 145,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 146,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 147,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 148,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 149,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3008020100090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 150,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 151,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 152,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201010201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 153,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 154,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 155,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 156,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 157,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 158,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3008020101090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 159,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201ff020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 160,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201ff020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 161,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201ff0201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 162,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 163,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 164,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 165,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 166,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 167,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30080201ff090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 168,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 169,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 170,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 171,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 172,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 173,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 174,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 175,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 176,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 177,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 178,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 179,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641400201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 180,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 181,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 182,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 183,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 184,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 185,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 186,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 187,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 188,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641420201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 189,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 190,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 191,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 192,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 193,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 194,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 195,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 196,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 197,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 198,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 199,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 200,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 201,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 202,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 203,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 204,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 205,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 206,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc300201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 207,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 208,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 209,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 210,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 211,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 212,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 213,
|
|
"comment" : "Edge case for Shamir multiplication",
|
|
"msg" : "3235353835",
|
|
"sig" : "3045022100dd1b7d09a7bd8218961034a39a87fecf5314f00c4d25eb58a07ac85e85eab516022035138c401ef8d3493d65c9002fe62b43aee568731b744548358996d9cc427e06",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000407310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc36226a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEBzEPkKnq4UmghAL1QZSg97SsQnv42b1s\ndoEHHcR9w2ImptN6xG1h/WAMC/G/+HaJ7RF92msOWTGK4BChl6JsoA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "7310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc362",
|
|
"wy" : "26a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 214,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"msg" : "313233343030",
|
|
"sig" : "30360211014551231950b75fc4402da1722fc9baeb022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 215,
|
|
"comment" : "r too large",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2c022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEvJfnWF7srUjhZoO8QJFwjhqTDGg/xHAB\n1LODWU8sTiJwWYnPadrq3U5OS4FR7YiN/sIPsBco2J1Ws/OPKunIxQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22",
|
|
"wy" : "705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 216,
|
|
"comment" : "r,s are large",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000444ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERK0zmvvCHpq/e2AqXKU16jeBNbbRDYEx\nC92Ck9HfMlK2P/fQd0dw+P4dFyL6g6zQL0NOT8EQoMyPbd3TfVbEYw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "44ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252",
|
|
"wy" : "0b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 217,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203e9a7582886089c62fb840cf3b83061cd1cff3ae4341808bb5bdee6191174177",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEEmDCEiyeJE4a9RUb7eDDriO1TXxZaIHT\n7rrSHzfdh4xcmgwamt52c3qIEb1qf5KHyXjuOWqonBHkcinSzLVS8A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "1260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c",
|
|
"wy" : "5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 218,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022024238e70b431b1a64efdf9032669939d4b77f249503fc6905feb7540dea3e6d2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGHcEW+JdNKHQYA+dXADQZFoqVDebbO76\n0ua/XCozUs6CGlMswXUe4dNtQcPWq06bFD5E7EbXNHjqanmlwOVBWQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "1877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce",
|
|
"wy" : "0821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 219,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERVQ5/MPS3uzt3q7OYOe9FzBPNuu2Aq31\noi4Ljx20alCuw4+yuvIh6ajRiHx79iIt0YNGNOdyYzFa9tI2CdBPdw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50",
|
|
"wy" : "0aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 220,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020102",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200042e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece7180449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAELh9GawJMDDrOJDfeCRJ/7QS3BvlLGaIb\nscKs81zs5xgESa41I9clNOlklyz9OzivC93ZYZ5a8iPk0aQPNM+fHQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "2e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece718",
|
|
"wy" : "449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 221,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020103",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 222,
|
|
"comment" : "r is larger than n",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020103",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004dda95d7b0698de5d2d0b4f0034dbe35b50f978fcc518a84abf9c99efd96a25305adc08d6a63dbe831ab99cd9146e3c4c45492ad19521612542256d6af60e7888",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE3aldewaY3l0tC08ANNvjW1D5ePzFGKhK\nv5yZ79lqJTBa3AjWpj2+gxq5nNkUbjxMRUkq0ZUhYSVCJW1q9g54iA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0dda95d7b0698de5d2d0b4f0034dbe35b50f978fcc518a84abf9c99efd96a2530",
|
|
"wy" : "5adc08d6a63dbe831ab99cd9146e3c4c45492ad19521612542256d6af60e7888"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 223,
|
|
"comment" : "s is larger than n",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd04917c8",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000402ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee777eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAu9NbWz9WpTx13hCJuPipsCkNsVYOWGf\nOPtEcrX57nd+tKzU7r2lzXKHX/0qLyYinC3GtGUAkZpDLIZznzroZg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "2ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee77",
|
|
"wy" : "7eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 224,
|
|
"comment" : "small r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "302702020101022100c58b162c58b162c58b162c58b162c58a1b242973853e16db75c8a1a71da4d39d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERk9P9xVynK5Qcso72AHTGVtnrsZemwGq\n0gopQ9y8tYSxr9KdMaOaEdVwqhWXQ5s7LRlxvy8avxVDLQIHsQ0dCA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584",
|
|
"wy" : "0b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 225,
|
|
"comment" : "smallish r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "302c02072d9b4d347952cc022100fcbc5103d0da267477d1791461cf2aa44bf9d43198f79507bd8779d69a13108e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4cdeadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEFX+P3fNz619Jz88Q2LhTz5HLzX1mXDUi\nun3XON23mkzerfGlxEjqPJ9BkaiZmr/MdXrG1kVn7wcsR/7GE0Q7jw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4c",
|
|
"wy" : "0deadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 226,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3032020d1033e67e37b32b445580bf4efc022100906f906f906f906f906f906f906f906ed8e426f7b1968c35a204236a579723d2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200040934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAECTSlN0ZsB0MOLEj+uZC7Gft4zsyc7kJO\npNEwKRqiN/DU+S0jtGKAS1toxSVYwByZltv3J/zKu+7bliGkAFNa+g==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0",
|
|
"wy" : "0d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 227,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020201010220783266e90f43dafe5cd9b3b0be86de22f9de83677d0f50713a468ec72fcf5d57",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d6ef20be66c893f741a9bf90d9b74675d1c2a31296397acb3ef174fd0b300c654a0c95478ca00399162d7f0f2dc89efdc2b28a30fbabe285857295a4b0c4e265",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE1u8gvmbIk/dBqb+Q2bdGddHCoxKWOXrL\nPvF0/QswDGVKDJVHjKADmRYtfw8tyJ79wrKKMPur4oWFcpWksMTiZQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0d6ef20be66c893f741a9bf90d9b74675d1c2a31296397acb3ef174fd0b300c65",
|
|
"wy" : "4a0c95478ca00399162d7f0f2dc89efdc2b28a30fbabe285857295a4b0c4e265"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 228,
|
|
"comment" : "100-bit r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3031020d062522bbd3ecbe7c39e93e7c260220783266e90f43dafe5cd9b3b0be86de22f9de83677d0f50713a468ec72fcf5d57",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b7291d1404e0c0c07dab9372189f4bd58d2ceaa8d15ede544d9514545ba9ee0629c9a63d5e308769cc30ec276a410e6464a27eeafd9e599db10f053a4fe4a829",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEtykdFATgwMB9q5NyGJ9L1Y0s6qjRXt5U\nTZUUVFup7gYpyaY9XjCHacww7CdqQQ5kZKJ+6v2eWZ2xDwU6T+SoKQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0b7291d1404e0c0c07dab9372189f4bd58d2ceaa8d15ede544d9514545ba9ee06",
|
|
"wy" : "29c9a63d5e308769cc30ec276a410e6464a27eeafd9e599db10f053a4fe4a829"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 229,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03640c1022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bb79f61857f743bfa1b6e7111ce4094377256969e4e15159123d9548acc3be6c1f9d9f8860dcffd3eb36dd6c31ff2e7226c2009c4c94d8d7d2b5686bf7abd677",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEu3n2GFf3Q7+htucRHOQJQ3claWnk4VFZ\nEj2VSKzDvmwfnZ+IYNz/0+s23Wwx/y5yJsIAnEyU2NfStWhr96vWdw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0bb79f61857f743bfa1b6e7111ce4094377256969e4e15159123d9548acc3be6c",
|
|
"wy" : "1f9d9f8860dcffd3eb36dd6c31ff2e7226c2009c4c94d8d7d2b5686bf7abd677"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 230,
|
|
"comment" : "s == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 231,
|
|
"comment" : "s == 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d533b789a4af890fa7a82a1fae58c404f9a62a50b49adafab349c513b415087401b4171b803e76b34a9861e10f7bc289a066fd01bd29f84c987a10a5fb18c2d4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE1TO3iaSviQ+nqCofrljEBPmmKlC0mtr6\ns0nFE7QVCHQBtBcbgD52s0qYYeEPe8KJoGb9Ab0p+EyYehCl+xjC1A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0d533b789a4af890fa7a82a1fae58c404f9a62a50b49adafab349c513b4150874",
|
|
"wy" : "1b4171b803e76b34a9861e10f7bc289a066fd01bd29f84c987a10a5fb18c2d4"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 232,
|
|
"comment" : "point at infinity during verify",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004feb5163b0ece30ff3e03c7d55c4380fa2fa81ee2c0354942ff6f08c99d0cd82ce87de05ee1bda089d3e4e248fa0f721102acfffdf50e654be281433999df897e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE/rUWOw7OMP8+A8fVXEOA+i+oHuLANUlC\n/28IyZ0M2CzofeBe4b2gidPk4kj6D3IRAqz//fUOZUvigUM5md+Jfg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0feb5163b0ece30ff3e03c7d55c4380fa2fa81ee2c0354942ff6f08c99d0cd82c",
|
|
"wy" : "0e87de05ee1bda089d3e4e248fa0f721102acfffdf50e654be281433999df897e"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 233,
|
|
"comment" : "u1 == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca605023",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004238ced001cf22b8853e02edc89cbeca5050ba7e042a7a77f9382cd414922897640683d3094643840f295890aa4c18aa39b41d77dd0fb3bb2700e4f9ec284ffc2",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEI4ztABzyK4hT4C7cicvspQULp+BCp6d/\nk4LNQUkiiXZAaD0wlGQ4QPKViQqkwYqjm0HXfdD7O7JwDk+ewoT/wg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "238ced001cf22b8853e02edc89cbeca5050ba7e042a7a77f9382cd4149228976",
|
|
"wy" : "40683d3094643840f295890aa4c18aa39b41d77dd0fb3bb2700e4f9ec284ffc2"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 234,
|
|
"comment" : "u1 == n - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022044a5ad0bd0636d9e12bc9e0a6bdd5e1bba77f523842193b3b82e448e05d5f11e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004961cf64817c06c0e51b3c2736c922fde18bd8c4906fcd7f5ef66c4678508f35ed2c5d18168cfbe70f2f123bd7419232bb92dd69113e2941061889481c5a027bf",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAElhz2SBfAbA5Rs8JzbJIv3hi9jEkG/Nf1\n72bEZ4UI817SxdGBaM++cPLxI710GSMruS3WkRPilBBhiJSBxaAnvw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0961cf64817c06c0e51b3c2736c922fde18bd8c4906fcd7f5ef66c4678508f35e",
|
|
"wy" : "0d2c5d18168cfbe70f2f123bd7419232bb92dd69113e2941061889481c5a027bf"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 235,
|
|
"comment" : "u2 == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000413681eae168cd4ea7cf2e2a45d052742d10a9f64e796867dbdcb829fe0b1028816528760d177376c09df79de39557c329cc1753517acffe8fa2ec298026b8384",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEE2gerhaM1Op88uKkXQUnQtEKn2TnloZ9\nvcuCn+CxAogWUodg0Xc3bAnfed45VXwynMF1NRes/+j6LsKYAmuDhA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "13681eae168cd4ea7cf2e2a45d052742d10a9f64e796867dbdcb829fe0b10288",
|
|
"wy" : "16528760d177376c09df79de39557c329cc1753517acffe8fa2ec298026b8384"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 236,
|
|
"comment" : "u2 == n - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022100aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa9d1c9e899ca306ad27fe1945de0242b89",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200045aa7abfdb6b4086d543325e5d79c6e95ce42f866d2bb84909633a04bb1aa31c291c80088794905e1da33336d874e2f91ccf45cc59185bede5dd6f3f7acaae18b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEWqer/ba0CG1UMyXl15xulc5C+GbSu4SQ\nljOgS7GqMcKRyACIeUkF4dozM22HTi+RzPRcxZGFvt5d1vP3rKrhiw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "5aa7abfdb6b4086d543325e5d79c6e95ce42f866d2bb84909633a04bb1aa31c2",
|
|
"wy" : "091c80088794905e1da33336d874e2f91ccf45cc59185bede5dd6f3f7acaae18b"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 237,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100e91e1ba6ba898620a46bcb51dc0b8b4ad1dc35dad892c4552d1847b2ce444637",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000400277791b305a45b2b39590b2f05d3392a6c8182cef4eb540120e0f5c206c3e464108233fb0b8c3ac892d79ef8e0fbf92ed133addb4554270132584dc52eef41",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEACd3kbMFpFsrOVkLLwXTOSpsgYLO9OtU\nASDg9cIGw+RkEIIz+wuMOsiS15744Pv5LtEzrdtFVCcBMlhNxS7vQQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "277791b305a45b2b39590b2f05d3392a6c8182cef4eb540120e0f5c206c3e4",
|
|
"wy" : "64108233fb0b8c3ac892d79ef8e0fbf92ed133addb4554270132584dc52eef41"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 238,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100e36bf0cec06d9b841da81332812f74f30bbaec9f202319206c6f0b8a0a400ff7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200046efa092b68de9460f0bcc919005a5f6e80e19de98968be3cd2c770a9949bfb1ac75e6e5087d6550d5f9beb1e79e5029307bc255235e2d5dc99241ac3ab886c49",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEbvoJK2jelGDwvMkZAFpfboDhnemJaL48\n0sdwqZSb+xrHXm5Qh9ZVDV+b6x555QKTB7wlUjXi1dyZJBrDq4hsSQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "6efa092b68de9460f0bcc919005a5f6e80e19de98968be3cd2c770a9949bfb1a",
|
|
"wy" : "0c75e6e5087d6550d5f9beb1e79e5029307bc255235e2d5dc99241ac3ab886c49"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 239,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100ea26b57af884b6c06e348efe139c1e4e9ec9518d60c340f6bac7d278ca08d8a6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000472d4a19c4f9d2cf5848ea40445b70d4696b5f02d632c0c654cc7d7eeb0c6d058e8c4cd9943e459174c7ac01fa742198e47e6c19a6bdb0c4f6c237831c1b3f942",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEctShnE+dLPWEjqQERbcNRpa18C1jLAxl\nTMfX7rDG0FjoxM2ZQ+RZF0x6wB+nQhmOR+bBmmvbDE9sI3gxwbP5Qg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "72d4a19c4f9d2cf5848ea40445b70d4696b5f02d632c0c654cc7d7eeb0c6d058",
|
|
"wy" : "0e8c4cd9943e459174c7ac01fa742198e47e6c19a6bdb0c4f6c237831c1b3f942"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 240,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02205b1d27a7694c146244a5ad0bd0636d9d9ef3b9fb58385418d9c982105077d1b7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200042a8ea2f50dcced0c217575bdfa7cd47d1c6f100041ec0e35512794c1be7e740258f8c17122ed303fda7143eb58bede70295b653266013b0b0ebd3f053137f6ec",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEKo6i9Q3M7QwhdXW9+nzUfRxvEABB7A41\nUSeUwb5+dAJY+MFxIu0wP9pxQ+tYvt5wKVtlMmYBOwsOvT8FMTf27A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "2a8ea2f50dcced0c217575bdfa7cd47d1c6f100041ec0e35512794c1be7e7402",
|
|
"wy" : "58f8c17122ed303fda7143eb58bede70295b653266013b0b0ebd3f053137f6ec"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 241,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100d27a7694c146244a5ad0bd0636d9e12abe687897e8e9998ddbd4e59a78520d0f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000488de689ce9af1e94be6a2089c8a8b1253ffdbb6c8e9c86249ba220001a4ad3b80c4998e54842f413b9edb1825acbb6335e81e4d184b2b01c8bebdc85d1f28946",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEiN5onOmvHpS+aiCJyKixJT/9u2yOnIYk\nm6IgABpK07gMSZjlSEL0E7ntsYJay7YzXoHk0YSysByL69yF0fKJRg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "088de689ce9af1e94be6a2089c8a8b1253ffdbb6c8e9c86249ba220001a4ad3b8",
|
|
"wy" : "0c4998e54842f413b9edb1825acbb6335e81e4d184b2b01c8bebdc85d1f28946"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 242,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100a4f4ed29828c4894b5a17a0c6db3c256c2221449228a92dff7d76ca8206dd8dd",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004fea2d31f70f90d5fb3e00e186ac42ab3c1615cee714e0b4e1131b3d4d8225bf7b037a18df2ac15343f30f74067ddf29e817d5f77f8dce05714da59c094f0cda9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE/qLTH3D5DV+z4A4YasQqs8FhXO5xTgtO\nETGz1NgiW/ewN6GN8qwVND8w90Bn3fKegX1fd/jc4FcU2lnAlPDNqQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0fea2d31f70f90d5fb3e00e186ac42ab3c1615cee714e0b4e1131b3d4d8225bf7",
|
|
"wy" : "0b037a18df2ac15343f30f74067ddf29e817d5f77f8dce05714da59c094f0cda9"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 243,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0220694c146244a5ad0bd0636d9e12bc9e09e60e68b90d0b5e6c5dddd0cb694d8799",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200047258911e3d423349166479dbe0b8341af7fbd03d0a7e10edccb36b6ceea5a3db17ac2b8992791128fa3b96dc2fbd4ca3bfa782ef2832fc6656943db18e7346b0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEcliRHj1CM0kWZHnb4Lg0Gvf70D0KfhDt\nzLNrbO6lo9sXrCuJknkRKPo7ltwvvUyjv6eC7ygy/GZWlD2xjnNGsA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "7258911e3d423349166479dbe0b8341af7fbd03d0a7e10edccb36b6ceea5a3db",
|
|
"wy" : "17ac2b8992791128fa3b96dc2fbd4ca3bfa782ef2832fc6656943db18e7346b0"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 244,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203d7f487c07bfc5f30846938a3dcef696444707cf9677254a92b06c63ab867d22",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200044f28461dea64474d6bb34d1499c97d37b9e95633df1ceeeaacd45016c98b3914c8818810b8cc06ddb40e8a1261c528faa589455d5a6df93b77bc5e0e493c7470",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAETyhGHepkR01rs00Umcl9N7npVjPfHO7q\nrNRQFsmLORTIgYgQuMwG3bQOihJhxSj6pYlFXVpt+Tt3vF4OSTx0cA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "4f28461dea64474d6bb34d1499c97d37b9e95633df1ceeeaacd45016c98b3914",
|
|
"wy" : "0c8818810b8cc06ddb40e8a1261c528faa589455d5a6df93b77bc5e0e493c7470"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 245,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02206c7648fc0fbf8a06adb8b839f97b4ff7a800f11b1e37c593b261394599792ba4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000474f2a814fb5d8eca91a69b5e60712732b3937de32829be974ed7b68c5c2f5d66eff0f07c56f987a657f42196205f588c0f1d96fd8a63a5f238b48f478788fe3b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEdPKoFPtdjsqRppteYHEnMrOTfeMoKb6X\nTte2jFwvXWbv8PB8VvmHplf0IZYgX1iMDx2W/YpjpfI4tI9Hh4j+Ow==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "74f2a814fb5d8eca91a69b5e60712732b3937de32829be974ed7b68c5c2f5d66",
|
|
"wy" : "0eff0f07c56f987a657f42196205f588c0f1d96fd8a63a5f238b48f478788fe3b"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 246,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0221009be363a286f23f6322c205449d320baad417953ecb70f6214e90d49d7d1f26a8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004195b51a7cc4a21b8274a70a90de779814c3c8ca358328208c09a29f336b82d6ab2416b7c92fffdc29c3b1282dd2a77a4d04df7f7452047393d849989c5cee9ad",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGVtRp8xKIbgnSnCpDed5gUw8jKNYMoII\nwJop8za4LWqyQWt8kv/9wpw7EoLdKnek0E3390UgRzk9hJmJxc7prQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "195b51a7cc4a21b8274a70a90de779814c3c8ca358328208c09a29f336b82d6a",
|
|
"wy" : "0b2416b7c92fffdc29c3b1282dd2a77a4d04df7f7452047393d849989c5cee9ad"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 247,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022029798c5c45bdf58b4a7b2fdc2c46ab4af1218c7eeb9f0f27a88f1267674de3b0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004622fc74732034bec2ddf3bc16d34b3d1f7a327dd2a8c19bab4bb4fe3a24b58aa736b2f2fae76f4dfaecc9096333b01328d51eb3fda9c9227e90d0b449983c4f0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEYi/HRzIDS+wt3zvBbTSz0fejJ90qjBm6\ntLtP46JLWKpzay8vrnb0367MkJYzOwEyjVHrP9qckifpDQtEmYPE8A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "622fc74732034bec2ddf3bc16d34b3d1f7a327dd2a8c19bab4bb4fe3a24b58aa",
|
|
"wy" : "736b2f2fae76f4dfaecc9096333b01328d51eb3fda9c9227e90d0b449983c4f0"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 248,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02200b70f22ca2bb3cefadca1a5711fa3a59f4695385eb5aedf3495d0b6d00f8fd85",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041f7f85caf2d7550e7af9b65023ebb4dce3450311692309db269969b834b611c70827f45b78020ecbbaf484fdd5bfaae6870f1184c21581baf6ef82bd7b530f93",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEH3+FyvLXVQ56+bZQI+u03ONFAxFpIwnb\nJplpuDS2EccIJ/RbeAIOy7r0hP3Vv6rmhw8RhMIVgbr274K9e1MPkw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "1f7f85caf2d7550e7af9b65023ebb4dce3450311692309db269969b834b611c7",
|
|
"wy" : "0827f45b78020ecbbaf484fdd5bfaae6870f1184c21581baf6ef82bd7b530f93"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 249,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022016e1e459457679df5b9434ae23f474b3e8d2a70bd6b5dbe692ba16da01f1fb0a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000449c197dc80ad1da47a4342b93893e8e1fb0bb94fc33a83e783c00b24c781377aefc20da92bac762951f72474becc734d4cc22ba81b895e282fdac4df7af0f37d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEScGX3ICtHaR6Q0K5OJPo4fsLuU/DOoPn\ng8ALJMeBN3rvwg2pK6x2KVH3JHS+zHNNTMIrqBuJXigv2sTfevDzfQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "49c197dc80ad1da47a4342b93893e8e1fb0bb94fc33a83e783c00b24c781377a",
|
|
"wy" : "0efc20da92bac762951f72474becc734d4cc22ba81b895e282fdac4df7af0f37d"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 250,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202252d685e831b6cf095e4f0535eeaf0ddd3bfa91c210c9d9dc17224702eaf88f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d8cb68517b616a56400aa3868635e54b6f699598a2f6167757654980baf6acbe7ec8cf449c849aa03461a30efada41453c57c6e6fbc93bbc6fa49ada6dc0555c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE2MtoUXthalZACqOGhjXlS29plZii9hZ3\nV2VJgLr2rL5+yM9EnISaoDRhow762kFFPFfG5vvJO7xvpJrabcBVXA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0d8cb68517b616a56400aa3868635e54b6f699598a2f6167757654980baf6acbe",
|
|
"wy" : "7ec8cf449c849aa03461a30efada41453c57c6e6fbc93bbc6fa49ada6dc0555c"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 251,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022075135abd7c425b60371a477f09ce0f274f64a8c6b061a07b5d63e93c65046c53",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004030713fb63f2aa6fe2cadf1b20efc259c77445dafa87dac398b84065ca347df3b227818de1a39b589cb071d83e5317cccdc2338e51e312fe31d8dc34a4801750",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAwcT+2Pyqm/iyt8bIO/CWcd0Rdr6h9rD\nmLhAZco0ffOyJ4GN4aObWJywcdg+UxfMzcIzjlHjEv4x2Nw0pIAXUA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "30713fb63f2aa6fe2cadf1b20efc259c77445dafa87dac398b84065ca347df3",
|
|
"wy" : "0b227818de1a39b589cb071d83e5317cccdc2338e51e312fe31d8dc34a4801750"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 252,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100d55555555555555555555555555555547c74934474db157d2a8c3f088aced62a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004babb3677b0955802d8e929a41355640eaf1ea1353f8a771331c4946e3480afa7252f196c87ed3d2a59d3b1b559137fed0013fecefc19fb5a92682b9bca51b950",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEurs2d7CVWALY6SmkE1VkDq8eoTU/incT\nMcSUbjSAr6clLxlsh+09KlnTsbVZE3/tABP+zvwZ+1qSaCubylG5UA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0babb3677b0955802d8e929a41355640eaf1ea1353f8a771331c4946e3480afa7",
|
|
"wy" : "252f196c87ed3d2a59d3b1b559137fed0013fecefc19fb5a92682b9bca51b950"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 253,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100c1777c8853938e536213c02464a936000ba1e21c0fc62075d46c624e23b52f31",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041aab2018793471111a8a0e9b143fde02fc95920796d3a63de329b424396fba60bbe4130705174792441b318d3aa31dfe8577821e9b446ec573d272e036c4ebe9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGqsgGHk0cREaig6bFD/eAvyVkgeW06Y9\n4ym0JDlvumC75BMHBRdHkkQbMY06ox3+hXeCHptEbsVz0nLgNsTr6Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "1aab2018793471111a8a0e9b143fde02fc95920796d3a63de329b424396fba60",
|
|
"wy" : "0bbe4130705174792441b318d3aa31dfe8577821e9b446ec573d272e036c4ebe9"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 254,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022030bbb794db588363b40679f6c182a50d3ce9679acdd3ffbe36d7813dacbdc818",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200048cb0b909499c83ea806cd885b1dd467a0119f06a88a0276eb0cfda274535a8ff47b5428833bc3f2c8bf9d9041158cf33718a69961cd01729bc0011d1e586ab75",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEjLC5CUmcg+qAbNiFsd1GegEZ8GqIoCdu\nsM/aJ0U1qP9HtUKIM7w/LIv52QQRWM8zcYpplhzQFym8ABHR5YardQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "08cb0b909499c83ea806cd885b1dd467a0119f06a88a0276eb0cfda274535a8ff",
|
|
"wy" : "47b5428833bc3f2c8bf9d9041158cf33718a69961cd01729bc0011d1e586ab75"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 255,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202c37fd995622c4fb7fffffffffffffffc7cee745110cb45ab558ed7c90c15a2f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200048f03cf1a42272bb1532723093f72e6feeac85e1700e9fbe9a6a2dd642d74bf5d3b89a7189dad8cf75fc22f6f158aa27f9c2ca00daca785be3358f2bda3862ca0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEjwPPGkInK7FTJyMJP3Lm/urIXhcA6fvp\npqLdZC10v107iacYna2M91/CL28ViqJ/nCygDaynhb4zWPK9o4YsoA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "08f03cf1a42272bb1532723093f72e6feeac85e1700e9fbe9a6a2dd642d74bf5d",
|
|
"wy" : "3b89a7189dad8cf75fc22f6f158aa27f9c2ca00daca785be3358f2bda3862ca0"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 256,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02207fd995622c4fb7ffffffffffffffffff5d883ffab5b32652ccdcaa290fccb97d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000444de3b9c7a57a8c9e820952753421e7d987bb3d79f71f013805c897e018f8acea2460758c8f98d3fdce121a943659e372c326fff2e5fc2ae7fa3f79daae13c12",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERN47nHpXqMnoIJUnU0IefZh7s9efcfAT\ngFyJfgGPis6iRgdYyPmNP9zhIalDZZ43LDJv/y5fwq5/o/edquE8Eg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "44de3b9c7a57a8c9e820952753421e7d987bb3d79f71f013805c897e018f8ace",
|
|
"wy" : "0a2460758c8f98d3fdce121a943659e372c326fff2e5fc2ae7fa3f79daae13c12"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 257,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100ffb32ac4589f6ffffffffffffffffffebb107ff56b664ca599b954521f9972fa",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200046fb8b2b48e33031268ad6a517484dc8839ea90f6669ea0c7ac3233e2ac31394a0ac8bbe7f73c2ff4df9978727ac1dfc2fd58647d20f31f99105316b64671f204",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEb7iytI4zAxJorWpRdITciDnqkPZmnqDH\nrDIz4qwxOUoKyLvn9zwv9N+ZeHJ6wd/C/VhkfSDzH5kQUxa2RnHyBA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "6fb8b2b48e33031268ad6a517484dc8839ea90f6669ea0c7ac3233e2ac31394a",
|
|
"wy" : "0ac8bbe7f73c2ff4df9978727ac1dfc2fd58647d20f31f99105316b64671f204"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 258,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02205622c4fb7fffffffffffffffffffffff928a8f1c7ac7bec1808b9f61c01ec327",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bea71122a048693e905ff602b3cf9dd18af69b9fc9d8431d2b1dd26b942c95e6f43c7b8b95eb62082c12db9dbda7fe38e45cbe4a4886907fb81bdb0c5ea9246c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEvqcRIqBIaT6QX/YCs8+d0Yr2m5/J2EMd\nKx3Sa5Qsleb0PHuLletiCCwS2529p/445Fy+SkiGkH+4G9sMXqkkbA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0bea71122a048693e905ff602b3cf9dd18af69b9fc9d8431d2b1dd26b942c95e6",
|
|
"wy" : "0f43c7b8b95eb62082c12db9dbda7fe38e45cbe4a4886907fb81bdb0c5ea9246c"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 259,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022044104104104104104104104104104103b87853fd3b7d3f8e175125b4382f25ed",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004da918c731ba06a20cb94ef33b778e981a404a305f1941fe33666b45b03353156e2bb2694f575b45183be78e5c9b5210bf3bf488fd4c8294516d89572ca4f5391",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE2pGMcxugaiDLlO8zt3jpgaQEowXxlB/j\nNma0WwM1MVbiuyaU9XW0UYO+eOXJtSEL879Ij9TIKUUW2JVyyk9TkQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0da918c731ba06a20cb94ef33b778e981a404a305f1941fe33666b45b03353156",
|
|
"wy" : "0e2bb2694f575b45183be78e5c9b5210bf3bf488fd4c8294516d89572ca4f5391"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 260,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202739ce739ce739ce739ce739ce739ce705560298d1f2f08dc419ac273a5b54d9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200043007e92c3937dade7964dfa35b0eff031f7eb02aed0a0314411106cdeb70fe3d5a7546fc0552997b20e3d6f413e75e2cb66e116322697114b79bac734bfc4dc5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEMAfpLDk32t55ZN+jWw7/Ax9+sCrtCgMU\nQREGzetw/j1adUb8BVKZeyDj1vQT514stm4RYyJpcRS3m6xzS/xNxQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "3007e92c3937dade7964dfa35b0eff031f7eb02aed0a0314411106cdeb70fe3d",
|
|
"wy" : "5a7546fc0552997b20e3d6f413e75e2cb66e116322697114b79bac734bfc4dc5"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 261,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100b777777777777777777777777777777688e6a1fe808a97a348671222ff16b863",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000460e734ef5624d3cbf0ddd375011bd663d6d6aebc644eb599fdf98dbdcd18ce9bd2d90b3ac31f139af832cccf6ccbbb2c6ea11fa97370dc9906da474d7d8a7567",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEYOc071Yk08vw3dN1ARvWY9bWrrxkTrWZ\n/fmNvc0YzpvS2Qs6wx8TmvgyzM9sy7ssbqEfqXNw3JkG2kdNfYp1Zw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "60e734ef5624d3cbf0ddd375011bd663d6d6aebc644eb599fdf98dbdcd18ce9b",
|
|
"wy" : "0d2d90b3ac31f139af832cccf6ccbbb2c6ea11fa97370dc9906da474d7d8a7567"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 262,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02206492492492492492492492492492492406dd3a19b8d5fb875235963c593bd2d3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000485a900e97858f693c0b7dfa261e380dad6ea046d1f65ddeeedd5f7d8af0ba33769744d15add4f6c0bc3b0da2aec93b34cb8c65f9340ddf74e7b0009eeeccce3c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEhakA6XhY9pPAt9+iYeOA2tbqBG0fZd3u\n7dX32K8LozdpdE0VrdT2wLw7DaKuyTs0y4xl+TQN33TnsACe7szOPA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "085a900e97858f693c0b7dfa261e380dad6ea046d1f65ddeeedd5f7d8af0ba337",
|
|
"wy" : "69744d15add4f6c0bc3b0da2aec93b34cb8c65f9340ddf74e7b0009eeeccce3c"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 263,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100955555555555555555555555555555547c74934474db157d2a8c3f088aced62c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000438066f75d88efc4c93de36f49e037b234cc18b1de5608750a62cab0345401046a3e84bed8cfcb819ef4d550444f2ce4b651766b69e2e2901f88836ff90034fed",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEOAZvddiO/EyT3jb0ngN7I0zBix3lYIdQ\npiyrA0VAEEaj6EvtjPy4Ge9NVQRE8s5LZRdmtp4uKQH4iDb/kANP7Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "38066f75d88efc4c93de36f49e037b234cc18b1de5608750a62cab0345401046",
|
|
"wy" : "0a3e84bed8cfcb819ef4d550444f2ce4b651766b69e2e2901f88836ff90034fed"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 264,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa3e3a49a23a6d8abe95461f8445676b17",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000498f68177dc95c1b4cbfa5245488ca523a7d5629470d035d621a443c72f39aabfa33d29546fa1c648f2c7d5ccf70cf1ce4ab79b5db1ac059dbecd068dbdff1b89",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEmPaBd9yVwbTL+lJFSIylI6fVYpRw0DXW\nIaRDxy85qr+jPSlUb6HGSPLH1cz3DPHOSrebXbGsBZ2+zQaNvf8biQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "098f68177dc95c1b4cbfa5245488ca523a7d5629470d035d621a443c72f39aabf",
|
|
"wy" : "0a33d29546fa1c648f2c7d5ccf70cf1ce4ab79b5db1ac059dbecd068dbdff1b89"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 265,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100bffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364143",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200045c2bbfa23c9b9ad07f038aa89b4930bf267d9401e4255de9e8da0a5078ec8277e3e882a31d5e6a379e0793983ccded39b95c4353ab2ff01ea5369ba47b0c3191",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEXCu/ojybmtB/A4qom0kwvyZ9lAHkJV3p\n6NoKUHjsgnfj6IKjHV5qN54Hk5g8ze05uVxDU6sv8B6lNpukewwxkQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "5c2bbfa23c9b9ad07f038aa89b4930bf267d9401e4255de9e8da0a5078ec8277",
|
|
"wy" : "0e3e882a31d5e6a379e0793983ccded39b95c4353ab2ff01ea5369ba47b0c3191"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 266,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0220185ddbca6dac41b1da033cfb60c152869e74b3cd66e9ffdf1b6bc09ed65ee40c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200042ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a3853547808298448edb5e701ade84cd5fb1ac9567ba5e8fb68a6b933ec4b5cc84cc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAELqcTNDIznGnSf5smcoG9Ld1fGdYzjUAK\nBc02R7FXo4U1R4CCmESO215wGt6EzV+xrJVnul6Ptoprkz7EtcyEzA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "2ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a385",
|
|
"wy" : "3547808298448edb5e701ade84cd5fb1ac9567ba5e8fb68a6b933ec4b5cc84cc"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 267,
|
|
"comment" : "point duplication during verification",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022032b0d10d8d0e04bc8d4d064d270699e87cffc9b49c5c20730e1c26f6105ddcda022100d612c2984c2afa416aa7f2882a486d4a8426cb6cfc91ed5b737278f9fca8be68",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200042ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a385cab87f7d67bb7124a18fe5217b32a04e536a9845a1704975946cc13a4a337763",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAELqcTNDIznGnSf5smcoG9Ld1fGdYzjUAK\nBc02R7FXo4XKuH99Z7txJKGP5SF7MqBOU2qYRaFwSXWUbME6SjN3Yw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "2ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a385",
|
|
"wy" : "0cab87f7d67bb7124a18fe5217b32a04e536a9845a1704975946cc13a4a337763"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 268,
|
|
"comment" : "duplication bug",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022032b0d10d8d0e04bc8d4d064d270699e87cffc9b49c5c20730e1c26f6105ddcda022100d612c2984c2afa416aa7f2882a486d4a8426cb6cfc91ed5b737278f9fca8be68",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200048aa2c64fa9c6437563abfbcbd00b2048d48c18c152a2a6f49036de7647ebe82e1ce64387995c68a060fa3bc0399b05cc06eec7d598f75041a4917e692b7f51ff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEiqLGT6nGQ3Vjq/vL0AsgSNSMGMFSoqb0\nkDbedkfr6C4c5kOHmVxooGD6O8A5mwXMBu7H1Zj3UEGkkX5pK39R/w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "08aa2c64fa9c6437563abfbcbd00b2048d48c18c152a2a6f49036de7647ebe82e",
|
|
"wy" : "1ce64387995c68a060fa3bc0399b05cc06eec7d598f75041a4917e692b7f51ff"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 269,
|
|
"comment" : "comparison with point at infinity ",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0022033333333333333333333333333333332f222f8faefdb533f265d461c29a47373",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004391427ff7ee78013c14aec7d96a8a062209298a783835e94fd6549d502fff71fdd6624ec343ad9fcf4d9872181e59f842f9ba4cccae09a6c0972fb6ac6b4c6bd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEORQn/37ngBPBSux9lqigYiCSmKeDg16U\n/WVJ1QL/9x/dZiTsNDrZ/PTZhyGB5Z+EL5ukzMrgmmwJcvtqxrTGvQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "391427ff7ee78013c14aec7d96a8a062209298a783835e94fd6549d502fff71f",
|
|
"wy" : "0dd6624ec343ad9fcf4d9872181e59f842f9ba4cccae09a6c0972fb6ac6b4c6bd"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 270,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200043f3952199774c7cf39b38b66cb1042a6260d8680803845e4d433adba3bb248185ea495b68cbc7ed4173ee63c9042dc502625c7eb7e21fb02ca9a9114e0a3a18d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEPzlSGZd0x885s4tmyxBCpiYNhoCAOEXk\n1DOtujuySBhepJW2jLx+1Bc+5jyQQtxQJiXH634h+wLKmpEU4KOhjQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "3f3952199774c7cf39b38b66cb1042a6260d8680803845e4d433adba3bb24818",
|
|
"wy" : "5ea495b68cbc7ed4173ee63c9042dc502625c7eb7e21fb02ca9a9114e0a3a18d"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 271,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeb5mfvncu6xVoGKVzocLBwKb/NstzijZ\nWfKBWxb4F5hIOtp3JqPEZV2k+/wOEQio/Re0SKaFVBmcR9CP+xDUuA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
|
|
"wy" : "483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 272,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca60502302202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 273,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022044a5ad0bd0636d9e12bc9e0a6bdd5e1bba77f523842193b3b82e448e05d5f11e02202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798b7c52588d95c3b9aa25b0403f1eef75702e84bb7597aabe663b82f6f04ef2777",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeb5mfvncu6xVoGKVzocLBwKb/NstzijZ\nWfKBWxb4F5i3xSWI2Vw7mqJbBAPx7vdXAuhLt1l6q+ZjuC9vBO8ndw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
|
|
"wy" : "0b7c52588d95c3b9aa25b0403f1eef75702e84bb7597aabe663b82f6f04ef2777"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 274,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca60502302202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 275,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022044a5ad0bd0636d9e12bc9e0a6bdd5e1bba77f523842193b3b82e448e05d5f11e02202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004782c8ed17e3b2a783b5464f33b09652a71c678e05ec51e84e2bcfc663a3de963af9acb4280b8c7f7c42f4ef9aba6245ec1ec1712fd38a0fa96418d8cd6aa6152",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeCyO0X47Kng7VGTzOwllKnHGeOBexR6E\n4rz8Zjo96WOvmstCgLjH98QvTvmrpiRewewXEv04oPqWQY2M1qphUg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "782c8ed17e3b2a783b5464f33b09652a71c678e05ec51e84e2bcfc663a3de963",
|
|
"wy" : "0af9acb4280b8c7f7c42f4ef9aba6245ec1ec1712fd38a0fa96418d8cd6aa6152"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 276,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "3046022100f80ae4f96cdbc9d853f83d47aae225bf407d51c56b7776cd67d0dc195d99a9dc022100b303e26be1f73465315221f0b331528807a1a9b6eb068ede6eebeaaa49af8a36",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 277,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "3045022046c6a602c620ad6dd9bcc38fdbde3786a8b39186595aa110485279d27d08af0d0221008653eae21ae129a1133188611946d73f56c7cd63454397ea9ea4db46f7e8e77e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 278,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "3045022100e1d93efb91cd529957a435f3e7638b4a5eae4f32ed6c639e9975178a79389bbc02206929c855b1d62009586260fb3507d89271a2f0356156a7017a628bfb4dba3d6a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 279,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "304502201b3dbb40c2f3d2ed950b32f0b49464f3d4e57e533f9d6d20e8bfb5b8fe3f10660221008effca43042829b985a4c4f839168e111fbfe496a6e631a9ca6b4616b56d34ce",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 280,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "304402200f97f629b81d7b795deb6f7cb13934701c55b050a407e9ae2472c077eac7c3d302205b73afed87128d98d41e50b639b92c1a4ace56959410ac2542ce0a366e27d248",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 281,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "3046022100dcdbe5ccd4caa1c29e72f88c8c4d68480a46a639f6c15c1876990513605f6250022100819b949534af8952d203e84470f92faad40dc7eb373c44d0a1dd7c0bde78e7df",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 282,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "3046022100b232ec1e548d0099a131ebca06f69233bdd5e8b0e40836555d3a011697021b51022100febcf8aeabb0d837f13eb3282714c9145932ceec359faffbb191b081436832bf",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 283,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "30440220405881c4921cb39611b7da245a3f16fc47065a5a4b5bf0b8168eac6e970e2b1f02202f3ec1022ccc0788b9a85567b896dacec87e4f1737bd2db5a10519690740cc63",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 284,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "30450220070b3ac51f721c3c256d0af38e6c8665189e125540bf24cb0143333f9d011ead022100b17016b278f763fdbc185e648ffad2bed15803ce43af7c4865c066a4e86fb523",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 285,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "304402204e264eb2ab4133aa7fa687f972f1e63fcf9e8e215918a76f27b8fc7443d397db022034634536ea7d4babcad17eb108f70ded16937d3bb1c679393e55583e17b0e9d1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 286,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "4d7367",
|
|
"sig" : "30450220109cd8ae0374358984a8249c0a843628f2835ffad1df1a9a69aa2fe72355545c022100ac6f00daf53bd8b1e34da329359b6e08019c5b037fed79ee383ae39f85a159c6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 287,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "4d7367",
|
|
"sig" : "3045022100b75c7a80d04d252fc4de897faa22778007d04d84f05dffd446a0e20f707faf8302204b86a97e3c3c4b2eb2f29568c663ff6dcf1d0bfbadcf465f209933bd6dd22d6d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 288,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "4d7367",
|
|
"sig" : "304502204df1eb0f8f8d552865c3115c62cde2c3c1e3498e8e42b9a0edd51610f8c83bf1022100a94c200a354237fd789d17d2effb21a1958ae608da1452402fe94065ac37f332",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 289,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "4d7367",
|
|
"sig" : "304502202ea8eda3df2968e21ffc7af2a0bf960d11bb1677d35e74cf2225221d1531c880022100a0fc494bca24f8aab343479f53f3749d80d0479b983c013a6c0cb3cd7d359f74",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 290,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "4d7367",
|
|
"sig" : "304502206b0e22b021a0169a07c9585e04c750e56e6112851ccb791b7fa9216c043c3a18022100b41078a9452b3f708322585ee2bb063c106c24c998b321c45c0860f3fb889125",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 291,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "4d7367",
|
|
"sig" : "30460221008111b8f2f92e729d540c24192b468980288dc6d29f39b3c87c17d0fdacc8831e022100b6684fb2b413a1f496677ba1adb845aa6e5a109b9b398260e1dc98b5e4931f06",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 292,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "4d7367",
|
|
"sig" : "3045022100bedcc4a861790226833df84cc110dc68ff4299458c9b3ada6d085a1c722a3d5b022059f2580b59e751a02efbdd0637c444f843d602c9df153d611b16e6e604356f1a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 293,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "4d7367",
|
|
"sig" : "304402206b3ffb0f27a25790cbd38358b6365a6b80c66bbacb710e548d348ec23831218f022065386fce0e4194b7c1370485712611c178da62a60ddc27185d0682c842c812f5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 294,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "4d7367",
|
|
"sig" : "304502204aef876a310ed2ff28b48a3ff393463afd5f2ecff75738a1dee6487a6bb5f5ed022100c2545ca60c5e3cfd38796f1f375b9393db1697ec7e718cf0bd4942288ebd23d4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 295,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "4d7367",
|
|
"sig" : "3045022100d341dd19d66897465a42c5f74434553f3ffe43caeeea7348d1f046fa945344ac022048e39471186694e32a5e615d371fbfbc14cce501e5453bae3e8e218bccc43e59",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 296,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100d035ee1f17fdb0b2681b163e33c359932659990af77dca632012b30b27a057b302201939d9f3b2858bc13e3474cb50e6a82be44faa71940f876c1cba4c3e989202b6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 297,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100a2d376c52ef94bf6e458502ddf32b43e52cb6d7ca0aaf50f2e00421005507e4c022100d144a2f15c45eb048513756479eaf3fba64775297593c344596e6b3c19662c05",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 298,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100f0fd2a0a44f1a2444a8b49f6de26828ee161c238ed113a722405eec674d1a71802210099a2ce92ee0a0fe669ddbe0ef8ea2c1d51110c2136893fadf4db87f3d99d6fec",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 299,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022067acccba4288731964d2c74d4f4d001285105ea16a9223de721aa0aa0e6fd724022100fdf87529c6fdafca416bbb071a9ecbead4687f8fd948c3c5a48675a4cbee226f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 300,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "30460221009cf78df6b7686451059d3ca9647f1371daf216a21788b85ec11f54969d6fc1af022100c7f983d6ae7c76b7257ff3ae58014b6fc9853819b83279be91ed04a529c6551e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 301,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fed6582391724cbdd28c5b814f5e357480b87277bb8d6872ceee9952440603bc022100f0cc3470b86bf97fd7ccd6cc1e1aa963a6159bdaa5c76eea77bf923363b77ca0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 302,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221009a2a710a7be6ec784fe7369543f77b44b2bb62a8e50be7098ca9226802652de10220070c8fcc0725750cfbb0c9efbad090a534fb2dd62487671bfd0ea6eb10000283",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 303,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022072838caadc9e97cb56f81e98a99f14a3a07bd0e5ca8df695240be9533cb76fe7022100e13aaa4a7cdf7600d9c333cffbe7d75f796df2440d0be68a46a9267ff312a56d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 304,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502206e68dcc3b4a48cd0b031674a2d02d9e06868f218af75aae889a7fe09d9ed7574022100f951cf44dc5ed5069b43f7758f9ff1e96bfb936b2bb5d305fc929712a9f3adf3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 305,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402203fe91e6efd953769e8c016619d851cdadc6979d0dc337956cb4464cb756aa8770220596e2605e17a12f84d96d0321ecad44f4cb7f019d69fed9ca9ea67c9454b3ee0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 306,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "304402204f053f563ad34b74fd8c9934ce59e79c2eb8e6eca0fef5b323ca67d5ac7ed23802204d4b05daa0719e773d8617dce5631c5fd6f59c9bdc748e4b55c970040af01be5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 307,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "3046022100e2f7b85c9f8bf762fa478180e983a35ac1cd686ffcce7b2375f52e8919f7b7a5022100b72ad2cac62d18005f89b973924f65104a6f04dca5bb974e3b08d057c3683a74",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 308,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "3045022100ff89d088eac71769a192339c28bdddc4b0cd7d8c1e86b14dc469748a7040475702204b99e739a65bdbd32957e913dcbc72f7022a1679b095516496d92c785f0d1fe9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 309,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "3046022100a4437b483cd616d650cd5200621fc3b298e9a2bbab2c3606289f65d8f16d64c1022100e7450d20cb0a63308ee9c77c18c67ba1b8caecb69ae5bf420c64124c8aab79b8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 310,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "304602210096d3703f3090e60bb60f7c91d6d9e3ad1d7bde144a3c8b2c6000e40381dbdfbf022100e331e363e91a2ae3eedbdc6d1a8ff3bfa614e277795d12ed909ef78c527412f2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 311,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "304502200a7a8c229fb5bf41cc36fb62c01aa83a237c36325e1bdcbc35576058b56f05dc022100bfd63a7787e3322eddbeacceb1cb9a5ee449d506cd3d4b361124c9d106409135",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 312,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "3045022100a09cc138a2e1f90b142fe2958780e8081c624a0c72941a2cb584b3ab683f0e47022049eff087ef11d3e3f621d3bef8b9f44123cc6c250cc2de150af5ffaaf60cd60c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 313,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "304402207c94d4b2805e696cb40bfabaa29747cd54600c87100e2f38bd8f5f84afafc1aa02203222524423f4756f95235958d2e4170ef9cfa3181465369214ef556415bbf42b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 314,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "304502205a53a0291cb7e6f6e0a7264ce62b85ea366daede336553f9e15da76a9bdfb4a3022100d6caf6bc6f199c452c5bc04878697bfe815bf2015e66b04a9fc4ad63591ea2ff",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 315,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "30460221008ab746e7e79bf53962ec0fc67917fd55e5bc9f4e459afd89f9ac90260705247d022100b5edfecab34048daf4db6c59fcddfc78429377215d2394cb31de1437103e52c1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff00000001060492d5a5673e0f25d8d50fb7e58c49d86d46d4216955e0aa3d40e1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEboI1VUUpFAmRgsaywdbwtdKNUMzQBa8s\n4bulQapAyv8AAAABBgSS1aVnPg8l2NUPt+WMSdhtRtQhaVXgqj1A4Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "6e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff",
|
|
"wy" : "1060492d5a5673e0f25d8d50fb7e58c49d86d46d4216955e0aa3d40e1"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 316,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402206d6a4f556ccce154e7fb9f19e76c3deca13d59cc2aeb4ecad968aab2ded45965022053b9fa74803ede0fc4441bf683d56c564d3e274e09ccf47390badd1471c05fb7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 317,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100aad503de9b9fd66b948e9acf596f0a0e65e700b28b26ec56e6e45e846489b3c4022100fff223c5d0765447e8447a3f9d31fd0696e89d244422022ff61a110b2a8c2f04",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 318,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30460221009182cebd3bb8ab572e167174397209ef4b1d439af3b200cdf003620089e43225022100abb88367d15fe62d1efffb6803da03109ee22e90bc9c78e8b4ed23630b82ea9d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40cafffffffffef9fb6d2a5a98c1f0da272af0481a73b62792b92bde96aa1e55c2bb4e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEboI1VUUpFAmRgsaywdbwtdKNUMzQBa8s\n4bulQapAyv/////++fttKlqYwfDaJyrwSBpztieSuSvelqoeVcK7Tg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "6e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff",
|
|
"wy" : "0fffffffef9fb6d2a5a98c1f0da272af0481a73b62792b92bde96aa1e55c2bb4e"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 319,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502203854a3998aebdf2dbc28adac4181462ccac7873907ab7f212c42db0e69b56ed8022100c12c09475c772fd0c1b2060d5163e42bf71d727e4ae7c03eeba954bf50b43bb3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 320,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100e94dbdc38795fe5c904d8f16d969d3b587f0a25d2de90b6d8c5c53ff887e3607022100856b8c963e9b68dade44750bf97ec4d11b1a0a3804f4cb79aa27bdea78ac14e4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 321,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022049fc102a08ca47b60e0858cd0284d22cddd7233f94aaffbb2db1dd2cf08425e102205b16fca5a12cdb39701697ad8e39ffd6bdec0024298afaa2326aea09200b14d6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004000000013fd22248d64d95f73c29b48ab48631850be503fd00f8468b5f0f70e0f6ee7aa43bc2c6fd25b1d8269241cbdd9dbb0dac96dc96231f430705f838717d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAAAAAT/SIkjWTZX3PCm0irSGMYUL5QP9\nAPhGi18PcOD27nqkO8LG/SWx2CaSQcvdnbsNrJbcliMfQwcF+DhxfQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "13fd22248d64d95f73c29b48ab48631850be503fd00f8468b5f0f70e0",
|
|
"wy" : "0f6ee7aa43bc2c6fd25b1d8269241cbdd9dbb0dac96dc96231f430705f838717d"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 322,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022041efa7d3f05a0010675fcb918a45c693da4b348df21a59d6f9cd73e0d831d67a022100bbab52596c1a1d9484296cdc92cbf07e665259a13791a8fe8845e2c07cf3fc67",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 323,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100b615698c358b35920dd883eca625a6c5f7563970cdfc378f8fe0cee17092144c022100da0b84cd94a41e049ef477aeac157b2a9bfa6b7ac8de06ed3858c5eede6ddd6d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 324,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304602210087cf8c0eb82d44f69c60a2ff5457d3aaa322e7ec61ae5aecfd678ae1c1932b0e022100c522c4eea7eafb82914cbf5c1ff76760109f55ddddcf58274d41c9bc4311e06e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000425afd689acabaed67c1f296de59406f8c550f57146a0b4ec2c97876dfffffffffa46a76e520322dfbc491ec4f0cc197420fc4ea5883d8f6dd53c354bc4f67c35",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEJa/WiayrrtZ8Hylt5ZQG+MVQ9XFGoLTs\nLJeHbf/////6RqduUgMi37xJHsTwzBl0IPxOpYg9j23VPDVLxPZ8NQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "25afd689acabaed67c1f296de59406f8c550f57146a0b4ec2c97876dffffffff",
|
|
"wy" : "0fa46a76e520322dfbc491ec4f0cc197420fc4ea5883d8f6dd53c354bc4f67c35"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 325,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022062f48ef71ace27bf5a01834de1f7e3f948b9dce1ca1e911d5e13d3b104471d82022100a1570cc0f388768d3ba7df7f212564caa256ff825df997f21f72f5280d53011f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 326,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100f6b0e2f6fe020cf7c0c20137434344ed7add6c4be51861e2d14cbda472a6ffb40221009be93722c1a3ad7d4cf91723700cb5486de5479d8c1b38ae4e8e5ba1638e9732",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 327,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022100db09d8460f05eff23bc7e436b67da563fa4b4edb58ac24ce201fa8a358125057022046da116754602940c8999c8d665f786c50f5772c0a3cdbda075e77eabc64df16",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d12e6c66b67734c3c84d2601cf5d35dc097e27637f0aca4a4fdb74b6aadd3bb93f5bdff88bd5736df898e699006ed750f11cf07c5866cd7ad70c7121ffffffff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE0S5sZrZ3NMPITSYBz1013Al+J2N/CspK\nT9t0tqrdO7k/W9/4i9VzbfiY5pkAbtdQ8RzwfFhmzXrXDHEh/////w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "0d12e6c66b67734c3c84d2601cf5d35dc097e27637f0aca4a4fdb74b6aadd3bb9",
|
|
"wy" : "3f5bdff88bd5736df898e699006ed750f11cf07c5866cd7ad70c7121ffffffff"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 328,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450220592c41e16517f12fcabd98267674f974b588e9f35d35406c1a7bb2ed1d19b7b8022100c19a5f942607c3551484ff0dc97281f0cdc82bc48e2205a0645c0cf3d7f59da0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 329,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100be0d70887d5e40821a61b68047de4ea03debfdf51cdf4d4b195558b959a032b20221008266b4d270e24414ecacb14c091a233134b918d37320c6557d60ad0a63544ac4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 330,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100fae92dfcb2ee392d270af3a5739faa26d4f97bfd39ed3cbee4d29e26af3b206a02210093645c80605595e02c09a0dc4b17ac2a51846a728b3e8d60442ed6449fd3342b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200046d4a7f60d4774a4f0aa8bbdedb953c7eea7909407e3164755664bc2800000000e659d34e4df38d9e8c9eaadfba36612c769195be86c77aac3f36e78b538680fb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEbUp/YNR3Sk8KqLve25U8fup5CUB+MWR1\nVmS8KAAAAADmWdNOTfONnoyeqt+6NmEsdpGVvobHeqw/NueLU4aA+w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "ECDSAVer",
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "ECPublicKey",
|
|
"wx" : "6d4a7f60d4774a4f0aa8bbdedb953c7eea7909407e3164755664bc2800000000",
|
|
"wy" : "0e659d34e4df38d9e8c9eaadfba36612c769195be86c77aac3f36e78b538680fb"
|
|
},
|
|
"tests" : [
|
|
{
|
|
"tcId" : 331,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450220176a2557566ffa518b11226694eb9802ed2098bfe278e5570fe1d5d7af18a943022100ed6e2095f12a03f2eaf6718f430ec5fe2829fd1646ab648701656fd31221b97d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 332,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022060be20c3dbc162dd34d26780621c104bbe5dace630171b2daef0d826409ee5c2022100bd8081b27762ab6e8f425956bf604e332fa066a99b59f87e27dc1198b26f5caa",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 333,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100edf03cf63f658883289a1a593d1007895b9f236d27c9c1f1313089aaed6b16ae022100e5b22903f7eb23adc2e01057e39b0408d495f694c83f306f1216c9bf87506074",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|