24579 lines
1.3 MiB
24579 lines
1.3 MiB
{
|
|
"algorithm" : "ECDSA",
|
|
"generatorVersion" : "0.8r12",
|
|
"numberOfTests" : 1575,
|
|
"header" : [
|
|
"Test vectors of type EcdsaVerify are meant for the verification",
|
|
"of ASN encoded ECDSA signatures."
|
|
],
|
|
"notes" : {
|
|
"BER" : "This is a signature with correct values for (r, s) but using some alternative BER encoding instead of DER encoding. Implementations should not accept such signatures to limit signature malleability.",
|
|
"EdgeCase" : "Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA implementation does not check boundaries and computes s^(-1)==0.",
|
|
"GroupIsomorphism" : "Some EC groups have isomorphic groups that allow an efficient implementation. This is a test vector that contains values that are edge cases on such an isomorphic group.",
|
|
"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.",
|
|
"WeakHash" : "The security strength of the hash function used in this signature is weaker than the strength of the EC parameters. Such choices are disallowed in FIPS PUB 186-4 Section 6.1.1. However, it is unclear whether a library should reject such parameter choices."
|
|
},
|
|
"schema" : "ecdsa_verify_schema.json",
|
|
"testGroups" : [
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e",
|
|
"wx" : "2927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838",
|
|
"wy" : "00c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKSexBRK64+3c/kZ4KBKLrSkDJpkZ\n9whgacjE32xzKDjHeHlk6qwA5ZIfsUmKYPRgZ2az2WhQAVWNGpdOc0FRPg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1,
|
|
"comment" : "signature malleability",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1802204cd60b855d442f5b3c7b11eb6c4e0ae7525fe710fab9aa7c77a67f79e6fadd76",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 2,
|
|
"comment" : "Legacy:ASN encoding of s misses leading 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180220b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "acceptable",
|
|
"flags" : [
|
|
"MissingZero"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 3,
|
|
"comment" : "valid",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 4,
|
|
"comment" : "long form encoding of length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30814502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 5,
|
|
"comment" : "length of sequence contains leading 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "3082004502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 6,
|
|
"comment" : "wrong length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "304602202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 7,
|
|
"comment" : "wrong length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 8,
|
|
"comment" : "uint32 overflow in length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3085010000004502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 9,
|
|
"comment" : "uint64 overflow in length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "308901000000000000004502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 10,
|
|
"comment" : "length of sequence = 2**31 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "30847fffffff02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 11,
|
|
"comment" : "length of sequence = 2**32 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3084ffffffff02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 12,
|
|
"comment" : "length of sequence = 2**40 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3085ffffffffff02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 13,
|
|
"comment" : "length of sequence = 2**64 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3088ffffffffffffffff02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 14,
|
|
"comment" : "incorrect length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30ff02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 15,
|
|
"comment" : "indefinite length without termination",
|
|
"msg" : "313233343030",
|
|
"sig" : "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 16,
|
|
"comment" : "indefinite length without termination",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502802ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 17,
|
|
"comment" : "indefinite length without termination",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18028000b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 18,
|
|
"comment" : "removing sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 19,
|
|
"comment" : "lonely sequence tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "30",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 20,
|
|
"comment" : "appending 0's to sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 21,
|
|
"comment" : "prepending 0's to sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047000002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 22,
|
|
"comment" : "appending unused 0's to sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 23,
|
|
"comment" : "appending null value to sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0500",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 24,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a498177304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 25,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "30492500304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 26,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0004deadbeef",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 27,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a222549817702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 28,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "30492224250002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 29,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d222202202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180004deadbeef022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 30,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e182226498177022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 31,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1822252500022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 32,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e182223022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0004deadbeef",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 33,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304daa00bb00cd00304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 34,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304baa02aabb304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 35,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d2228aa00bb00cd0002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 36,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304b2226aa02aabb02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 37,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e182229aa00bb00cd00022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 38,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304b02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e182227aa02aabb022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 39,
|
|
"comment" : "truncated length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3081",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 40,
|
|
"comment" : "using composition with indefinite length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 41,
|
|
"comment" : "using composition with indefinite length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049228002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180000022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 42,
|
|
"comment" : "using composition with indefinite length",
|
|
"msg" : "313233343030",
|
|
"sig" : "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e182280022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 43,
|
|
"comment" : "using composition with wrong tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080314502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 44,
|
|
"comment" : "using composition with wrong tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049228003202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180000022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 45,
|
|
"comment" : "using composition with wrong tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e182280032100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 46,
|
|
"comment" : "Replacing sequence with NULL",
|
|
"msg" : "313233343030",
|
|
"sig" : "0500",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 47,
|
|
"comment" : "changing tag value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "2e4502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 48,
|
|
"comment" : "changing tag value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "2f4502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 49,
|
|
"comment" : "changing tag value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "314502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 50,
|
|
"comment" : "changing tag value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "324502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 51,
|
|
"comment" : "changing tag value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "ff4502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 52,
|
|
"comment" : "dropping value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 53,
|
|
"comment" : "using composition for sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30493001023044202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 54,
|
|
"comment" : "truncated sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 55,
|
|
"comment" : "truncated sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 56,
|
|
"comment" : "indefinite length",
|
|
"msg" : "313233343030",
|
|
"sig" : "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 57,
|
|
"comment" : "indefinite length with truncated delimiter",
|
|
"msg" : "313233343030",
|
|
"sig" : "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db00",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 58,
|
|
"comment" : "indefinite length with additional element",
|
|
"msg" : "313233343030",
|
|
"sig" : "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db05000000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 59,
|
|
"comment" : "indefinite length with truncated element",
|
|
"msg" : "313233343030",
|
|
"sig" : "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db060811220000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 60,
|
|
"comment" : "indefinite length with garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000fe02beef",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 61,
|
|
"comment" : "indefinite length with nonempty EOC",
|
|
"msg" : "313233343030",
|
|
"sig" : "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0002beef",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 62,
|
|
"comment" : "prepend empty sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047300002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 63,
|
|
"comment" : "append empty sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db3000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 64,
|
|
"comment" : "append garbage with high tag number",
|
|
"msg" : "313233343030",
|
|
"sig" : "304802202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847dbbf7f00",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 65,
|
|
"comment" : "sequence of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 66,
|
|
"comment" : "truncated sequence: removed last 1 elements",
|
|
"msg" : "313233343030",
|
|
"sig" : "302202202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 67,
|
|
"comment" : "repeating element in sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "306802202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 68,
|
|
"comment" : "long form encoding of length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "30460281202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 69,
|
|
"comment" : "long form encoding of length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304602202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1802812100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 70,
|
|
"comment" : "length of integer contains leading 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047028200202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 71,
|
|
"comment" : "length of integer contains leading 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180282002100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 72,
|
|
"comment" : "wrong length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502212ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 73,
|
|
"comment" : "wrong length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045021f2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 74,
|
|
"comment" : "wrong length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022200b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 75,
|
|
"comment" : "wrong length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022000b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 76,
|
|
"comment" : "uint32 overflow in length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a028501000000202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 77,
|
|
"comment" : "uint32 overflow in length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180285010000002100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 78,
|
|
"comment" : "uint64 overflow in length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304e02890100000000000000202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 79,
|
|
"comment" : "uint64 overflow in length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304e02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18028901000000000000002100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 80,
|
|
"comment" : "length of integer = 2**31 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304902847fffffff2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 81,
|
|
"comment" : "length of integer = 2**31 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1802847fffffff00b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 82,
|
|
"comment" : "length of integer = 2**32 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "30490284ffffffff2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 83,
|
|
"comment" : "length of integer = 2**32 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180284ffffffff00b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 84,
|
|
"comment" : "length of integer = 2**40 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a0285ffffffffff2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 85,
|
|
"comment" : "length of integer = 2**40 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180285ffffffffff00b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 86,
|
|
"comment" : "length of integer = 2**64 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d0288ffffffffffffffff2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 87,
|
|
"comment" : "length of integer = 2**64 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180288ffffffffffffffff00b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 88,
|
|
"comment" : "incorrect length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502ff2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 89,
|
|
"comment" : "incorrect length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1802ff00b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 90,
|
|
"comment" : "removing integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3023022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 91,
|
|
"comment" : "lonely integer tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "302402022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 92,
|
|
"comment" : "lonely integer tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "302302202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1802",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 93,
|
|
"comment" : "appending 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304702222ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180000022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 94,
|
|
"comment" : "appending 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022300b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 95,
|
|
"comment" : "prepending 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022200002ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 96,
|
|
"comment" : "prepending 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180223000000b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 97,
|
|
"comment" : "appending unused 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180000022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 98,
|
|
"comment" : "appending null value to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304702222ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180500022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 99,
|
|
"comment" : "appending null value to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022300b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0500",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 100,
|
|
"comment" : "truncated length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "30250281022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 101,
|
|
"comment" : "truncated length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "302402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180281",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 102,
|
|
"comment" : "Replacing integer with NULL",
|
|
"msg" : "313233343030",
|
|
"sig" : "30250500022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 103,
|
|
"comment" : "Replacing integer with NULL",
|
|
"msg" : "313233343030",
|
|
"sig" : "302402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180500",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 104,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304500202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 105,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304501202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 106,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304503202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 107,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304504202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 108,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045ff202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 109,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18002100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 110,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18012100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 111,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18032100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 112,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18042100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 113,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18ff2100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 114,
|
|
"comment" : "dropping value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "30250200022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 115,
|
|
"comment" : "dropping value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "302402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180200",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 116,
|
|
"comment" : "using composition for integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049222402012b021fa3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 117,
|
|
"comment" : "using composition for integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1822250201000220b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 118,
|
|
"comment" : "modify first byte of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022029a3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 119,
|
|
"comment" : "modify first byte of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022102b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 120,
|
|
"comment" : "modify last byte of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e98022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 121,
|
|
"comment" : "modify last byte of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b491568475b",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 122,
|
|
"comment" : "truncated integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044021f2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 123,
|
|
"comment" : "truncated integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044021fa3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 124,
|
|
"comment" : "truncated integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022000b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 125,
|
|
"comment" : "leading ff in integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "30460221ff2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 126,
|
|
"comment" : "leading ff in integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304602202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180222ff00b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 127,
|
|
"comment" : "replaced integer by infinity",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026090180022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 128,
|
|
"comment" : "replaced integer by infinity",
|
|
"msg" : "313233343030",
|
|
"sig" : "302502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18090180",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 129,
|
|
"comment" : "replacing integer with zero",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 130,
|
|
"comment" : "replacing integer with zero",
|
|
"msg" : "313233343030",
|
|
"sig" : "302502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 131,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "30460221012ba3a8bd6b94d5ed80a6d9d1190a436ebccc0833490686deac8635bcb9bf5369022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 132,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "30460221ff2ba3a8bf6b94d5eb80a6d9d1190a436f42fe12d7fad749d4c512a036c0f908c7022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 133,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "30450220d45c5741946b2a137f59262ee6f5bc91001af27a5e1117a64733950642a3d1e8022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 134,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100d45c5740946b2a147f59262ee6f5bc90bd01ed280528b62b3aed5fc93f06f739022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 135,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "30460221fed45c5742946b2a127f59262ee6f5bc914333f7ccb6f979215379ca434640ac97022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 136,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "30460221012ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 137,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100d45c5741946b2a137f59262ee6f5bc91001af27a5e1117a64733950642a3d1e8022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 138,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022101b329f478a2bbd0a6c384ee1493b1f518276e0e4a5375928d6fcd160c11cb6d2c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 139,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180220b329f47aa2bbd0a4c384ee1493b1f518ada018ef05465583885980861905228a",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 140,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180221ff4cd60b865d442f5a3c7b11eb6c4e0ae79578ec6353a20bf783ecb4b6ea97b825",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 141,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180221fe4cd60b875d442f593c7b11eb6c4e0ae7d891f1b5ac8a6d729032e9f3ee3492d4",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 142,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022101b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 143,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1802204cd60b865d442f5a3c7b11eb6c4e0ae79578ec6353a20bf783ecb4b6ea97b825",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 144,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020100020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 145,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020100020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 146,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201000201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 147,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 148,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 149,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 150,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 151,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 152,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3008020100090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 153,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020100090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 154,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 155,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 156,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201010201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 157,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 158,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 159,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 160,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 161,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 162,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3008020101090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 163,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 164,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201ff020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 165,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201ff020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 166,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201ff0201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 167,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 168,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 169,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 170,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 171,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 172,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30080201ff090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 173,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201ff090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 174,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 175,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 176,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 177,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 178,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 179,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 180,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 181,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 182,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 183,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 184,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 185,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 186,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325500201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 187,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 188,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 189,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 190,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 191,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 192,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 193,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 194,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 195,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 196,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325520201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 197,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 198,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 199,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 200,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 201,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 202,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 203,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 204,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 205,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 206,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 207,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 208,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 209,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 210,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 211,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 212,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 213,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 214,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000001000000000000000000000000020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 215,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000001000000000000000000000000020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 216,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff000000010000000000000000000000010000000000000000000000000201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 217,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 218,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 219,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 220,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 221,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000001000000000000000000000001000000000000000000000000",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 222,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100ffffffff00000001000000000000000000000001000000000000000000000000090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 223,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100ffffffff00000001000000000000000000000001000000000000000000000000090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 224,
|
|
"comment" : "Signature encoding contains wrong types.",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201010c0130",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 225,
|
|
"comment" : "Signature encoding contains wrong types.",
|
|
"msg" : "313233343030",
|
|
"sig" : "30050201010c00",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 226,
|
|
"comment" : "Signature encoding contains wrong types.",
|
|
"msg" : "313233343030",
|
|
"sig" : "30090c0225730c03732573",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 227,
|
|
"comment" : "Signature encoding contains wrong types.",
|
|
"msg" : "313233343030",
|
|
"sig" : "30080201013003020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 228,
|
|
"comment" : "Signature encoding contains wrong types.",
|
|
"msg" : "313233343030",
|
|
"sig" : "3003020101",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 229,
|
|
"comment" : "Signature encoding contains wrong types.",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101010100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 230,
|
|
"comment" : "Edge case for Shamir multiplication",
|
|
"msg" : "3639383139",
|
|
"sig" : "3044022064a1aab5000d0e804f3e2fc02bdee9be8ff312334e2ba16d11547c97711c898e02206af015971cc30be6d1a206d4e013e0997772a2f91d73286ffd683b9bb2cf4f1b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 231,
|
|
"comment" : "special case hash",
|
|
"msg" : "343236343739373234",
|
|
"sig" : "3044022016aea964a2f6506d6f78c81c91fc7e8bded7d397738448de1e19a0ec580bf2660220252cd762130c6667cfe8b7bc47d27d78391e8e80c578d1cd38c3ff033be928e9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 232,
|
|
"comment" : "special case hash",
|
|
"msg" : "37313338363834383931",
|
|
"sig" : "30450221009cc98be2347d469bf476dfc26b9b733df2d26d6ef524af917c665baccb23c8820220093496459effe2d8d70727b82462f61d0ec1b7847929d10ea631dacb16b56c32",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 233,
|
|
"comment" : "special case hash",
|
|
"msg" : "3130333539333331363638",
|
|
"sig" : "3044022073b3c90ecd390028058164524dde892703dce3dea0d53fa8093999f07ab8aa4302202f67b0b8e20636695bb7d8bf0a651c802ed25a395387b5f4188c0c4075c88634",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 234,
|
|
"comment" : "special case hash",
|
|
"msg" : "33393439343031323135",
|
|
"sig" : "3046022100bfab3098252847b328fadf2f89b95c851a7f0eb390763378f37e90119d5ba3dd022100bdd64e234e832b1067c2d058ccb44d978195ccebb65c2aaf1e2da9b8b4987e3b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 235,
|
|
"comment" : "special case hash",
|
|
"msg" : "31333434323933303739",
|
|
"sig" : "30440220204a9784074b246d8bf8bf04a4ceb1c1f1c9aaab168b1596d17093c5cd21d2cd022051cce41670636783dc06a759c8847868a406c2506fe17975582fe648d1d88b52",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 236,
|
|
"comment" : "special case hash",
|
|
"msg" : "33373036323131373132",
|
|
"sig" : "3046022100ed66dc34f551ac82f63d4aa4f81fe2cb0031a91d1314f835027bca0f1ceeaa0302210099ca123aa09b13cd194a422e18d5fda167623c3f6e5d4d6abb8953d67c0c48c7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 237,
|
|
"comment" : "special case hash",
|
|
"msg" : "333433363838373132",
|
|
"sig" : "30450220060b700bef665c68899d44f2356a578d126b062023ccc3c056bf0f60a237012b0221008d186c027832965f4fcc78a3366ca95dedbb410cbef3f26d6be5d581c11d3610",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 238,
|
|
"comment" : "special case hash",
|
|
"msg" : "31333531353330333730",
|
|
"sig" : "30460221009f6adfe8d5eb5b2c24d7aa7934b6cf29c93ea76cd313c9132bb0c8e38c96831d022100b26a9c9e40e55ee0890c944cf271756c906a33e66b5bd15e051593883b5e9902",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 239,
|
|
"comment" : "special case hash",
|
|
"msg" : "36353533323033313236",
|
|
"sig" : "3045022100a1af03ca91677b673ad2f33615e56174a1abf6da168cebfa8868f4ba273f16b7022020aa73ffe48afa6435cd258b173d0c2377d69022e7d098d75caf24c8c5e06b1c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 240,
|
|
"comment" : "special case hash",
|
|
"msg" : "31353634333436363033",
|
|
"sig" : "3045022100fdc70602766f8eed11a6c99a71c973d5659355507b843da6e327a28c11893db902203df5349688a085b137b1eacf456a9e9e0f6d15ec0078ca60a7f83f2b10d21350",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 241,
|
|
"comment" : "special case hash",
|
|
"msg" : "34343239353339313137",
|
|
"sig" : "3046022100b516a314f2fce530d6537f6a6c49966c23456f63c643cf8e0dc738f7b876e675022100d39ffd033c92b6d717dd536fbc5efdf1967c4bd80954479ba66b0120cd16fff2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 242,
|
|
"comment" : "special case hash",
|
|
"msg" : "3130393533323631333531",
|
|
"sig" : "304402203b2cbf046eac45842ecb7984d475831582717bebb6492fd0a485c101e29ff0a802204c9b7b47a98b0f82de512bc9313aaf51701099cac5f76e68c8595fc1c1d99258",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 243,
|
|
"comment" : "special case hash",
|
|
"msg" : "35393837333530303431",
|
|
"sig" : "3044022030c87d35e636f540841f14af54e2f9edd79d0312cfa1ab656c3fb15bfde48dcf022047c15a5a82d24b75c85a692bd6ecafeb71409ede23efd08e0db9abf6340677ed",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 244,
|
|
"comment" : "special case hash",
|
|
"msg" : "33343633303036383738",
|
|
"sig" : "3044022038686ff0fda2cef6bc43b58cfe6647b9e2e8176d168dec3c68ff262113760f520220067ec3b651f422669601662167fa8717e976e2db5e6a4cf7c2ddabb3fde9d67d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 245,
|
|
"comment" : "special case hash",
|
|
"msg" : "39383137333230323837",
|
|
"sig" : "3044022044a3e23bf314f2b344fc25c7f2de8b6af3e17d27f5ee844b225985ab6e2775cf02202d48e223205e98041ddc87be532abed584f0411f5729500493c9cc3f4dd15e86",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 246,
|
|
"comment" : "special case hash",
|
|
"msg" : "33323232303431303436",
|
|
"sig" : "304402202ded5b7ec8e90e7bf11f967a3d95110c41b99db3b5aa8d330eb9d638781688e902207d5792c53628155e1bfc46fb1a67e3088de049c328ae1f44ec69238a009808f9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 247,
|
|
"comment" : "special case hash",
|
|
"msg" : "36363636333037313034",
|
|
"sig" : "3046022100bdae7bcb580bf335efd3bc3d31870f923eaccafcd40ec2f605976f15137d8b8f022100f6dfa12f19e525270b0106eecfe257499f373a4fb318994f24838122ce7ec3c7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 248,
|
|
"comment" : "special case hash",
|
|
"msg" : "31303335393531383938",
|
|
"sig" : "3045022050f9c4f0cd6940e162720957ffff513799209b78596956d21ece251c2401f1c6022100d7033a0a787d338e889defaaabb106b95a4355e411a59c32aa5167dfab244726",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 249,
|
|
"comment" : "special case hash",
|
|
"msg" : "31383436353937313935",
|
|
"sig" : "3045022100f612820687604fa01906066a378d67540982e29575d019aabe90924ead5c860d02203f9367702dd7dd4f75ea98afd20e328a1a99f4857b316525328230ce294b0fef",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 250,
|
|
"comment" : "special case hash",
|
|
"msg" : "33313336303436313839",
|
|
"sig" : "30460221009505e407657d6e8bc93db5da7aa6f5081f61980c1949f56b0f2f507da5782a7a022100c60d31904e3669738ffbeccab6c3656c08e0ed5cb92b3cfa5e7f71784f9c5021",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 251,
|
|
"comment" : "special case hash",
|
|
"msg" : "32363633373834323534",
|
|
"sig" : "3046022100bbd16fbbb656b6d0d83e6a7787cd691b08735aed371732723e1c68a40404517d0221009d8e35dba96028b7787d91315be675877d2d097be5e8ee34560e3e7fd25c0f00",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 252,
|
|
"comment" : "special case hash",
|
|
"msg" : "31363532313030353234",
|
|
"sig" : "304402202ec9760122db98fd06ea76848d35a6da442d2ceef7559a30cf57c61e92df327e02207ab271da90859479701fccf86e462ee3393fb6814c27b760c4963625c0a19878",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 253,
|
|
"comment" : "special case hash",
|
|
"msg" : "35373438303831363936",
|
|
"sig" : "3044022054e76b7683b6650baa6a7fc49b1c51eed9ba9dd463221f7a4f1005a89fe00c5902202ea076886c773eb937ec1cc8374b7915cfd11b1c1ae1166152f2f7806a31c8fd",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 254,
|
|
"comment" : "special case hash",
|
|
"msg" : "36333433393133343638",
|
|
"sig" : "304402205291deaf24659ffbbce6e3c26f6021097a74abdbb69be4fb10419c0c496c9466022065d6fcf336d27cc7cdb982bb4e4ecef5827f84742f29f10abf83469270a03dc3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 255,
|
|
"comment" : "special case hash",
|
|
"msg" : "31353431313033353938",
|
|
"sig" : "30450220207a3241812d75d947419dc58efb05e8003b33fc17eb50f9d15166a88479f107022100cdee749f2e492b213ce80b32d0574f62f1c5d70793cf55e382d5caadf7592767",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 256,
|
|
"comment" : "special case hash",
|
|
"msg" : "3130343738353830313238",
|
|
"sig" : "304502206554e49f82a855204328ac94913bf01bbe84437a355a0a37c0dee3cf81aa7728022100aea00de2507ddaf5c94e1e126980d3df16250a2eaebc8be486effe7f22b4f929",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 257,
|
|
"comment" : "special case hash",
|
|
"msg" : "3130353336323835353638",
|
|
"sig" : "3046022100a54c5062648339d2bff06f71c88216c26c6e19b4d80a8c602990ac82707efdfc022100e99bbe7fcfafae3e69fd016777517aa01056317f467ad09aff09be73c9731b0d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 258,
|
|
"comment" : "special case hash",
|
|
"msg" : "393533393034313035",
|
|
"sig" : "3045022100975bd7157a8d363b309f1f444012b1a1d23096593133e71b4ca8b059cff37eaf02207faa7a28b1c822baa241793f2abc930bd4c69840fe090f2aacc46786bf919622",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 259,
|
|
"comment" : "special case hash",
|
|
"msg" : "393738383438303339",
|
|
"sig" : "304402205694a6f84b8f875c276afd2ebcfe4d61de9ec90305afb1357b95b3e0da43885e02200dffad9ffd0b757d8051dec02ebdf70d8ee2dc5c7870c0823b6ccc7c679cbaa4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 260,
|
|
"comment" : "special case hash",
|
|
"msg" : "33363130363732343432",
|
|
"sig" : "3045022100a0c30e8026fdb2b4b4968a27d16a6d08f7098f1a98d21620d7454ba9790f1ba602205e470453a8a399f15baf463f9deceb53acc5ca64459149688bd2760c65424339",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 261,
|
|
"comment" : "special case hash",
|
|
"msg" : "31303534323430373035",
|
|
"sig" : "30440220614ea84acf736527dd73602cd4bb4eea1dfebebd5ad8aca52aa0228cf7b99a880220737cc85f5f2d2f60d1b8183f3ed490e4de14368e96a9482c2a4dd193195c902f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 262,
|
|
"comment" : "special case hash",
|
|
"msg" : "35313734343438313937",
|
|
"sig" : "3045022100bead6734ebe44b810d3fb2ea00b1732945377338febfd439a8d74dfbd0f942fa02206bb18eae36616a7d3cad35919fd21a8af4bbe7a10f73b3e036a46b103ef56e2a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 263,
|
|
"comment" : "special case hash",
|
|
"msg" : "31393637353631323531",
|
|
"sig" : "30440220499625479e161dacd4db9d9ce64854c98d922cbf212703e9654fae182df9bad2022042c177cf37b8193a0131108d97819edd9439936028864ac195b64fca76d9d693",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 264,
|
|
"comment" : "special case hash",
|
|
"msg" : "33343437323533333433",
|
|
"sig" : "3045022008f16b8093a8fb4d66a2c8065b541b3d31e3bfe694f6b89c50fb1aaa6ff6c9b20221009d6455e2d5d1779748573b611cb95d4a21f967410399b39b535ba3e5af81ca2e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 265,
|
|
"comment" : "special case hash",
|
|
"msg" : "333638323634333138",
|
|
"sig" : "3046022100be26231b6191658a19dd72ddb99ed8f8c579b6938d19bce8eed8dc2b338cb5f8022100e1d9a32ee56cffed37f0f22b2dcb57d5c943c14f79694a03b9c5e96952575c89",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 266,
|
|
"comment" : "special case hash",
|
|
"msg" : "33323631313938363038",
|
|
"sig" : "3045022015e76880898316b16204ac920a02d58045f36a229d4aa4f812638c455abe0443022100e74d357d3fcb5c8c5337bd6aba4178b455ca10e226e13f9638196506a1939123",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 267,
|
|
"comment" : "special case hash",
|
|
"msg" : "39363738373831303934",
|
|
"sig" : "30440220352ecb53f8df2c503a45f9846fc28d1d31e6307d3ddbffc1132315cc07f16dad02201348dfa9c482c558e1d05c5242ca1c39436726ecd28258b1899792887dd0a3c6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 268,
|
|
"comment" : "special case hash",
|
|
"msg" : "34393538383233383233",
|
|
"sig" : "304402204a40801a7e606ba78a0da9882ab23c7677b8642349ed3d652c5bfa5f2a9558fb02203a49b64848d682ef7f605f2832f7384bdc24ed2925825bf8ea77dc5981725782",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 269,
|
|
"comment" : "special case hash",
|
|
"msg" : "383234363337383337",
|
|
"sig" : "3045022100eacc5e1a8304a74d2be412b078924b3bb3511bac855c05c9e5e9e44df3d61e9602207451cd8e18d6ed1885dd827714847f96ec4bb0ed4c36ce9808db8f714204f6d1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 270,
|
|
"comment" : "special case hash",
|
|
"msg" : "3131303230383333373736",
|
|
"sig" : "304502202f7a5e9e5771d424f30f67fdab61e8ce4f8cd1214882adb65f7de94c31577052022100ac4e69808345809b44acb0b2bd889175fb75dd050c5a449ab9528f8f78daa10c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 271,
|
|
"comment" : "special case hash",
|
|
"msg" : "313333383731363438",
|
|
"sig" : "3045022100ffcda40f792ce4d93e7e0f0e95e1a2147dddd7f6487621c30a03d710b3300219022079938b55f8a17f7ed7ba9ade8f2065a1fa77618f0b67add8d58c422c2453a49a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 272,
|
|
"comment" : "special case hash",
|
|
"msg" : "333232313434313632",
|
|
"sig" : "304602210081f2359c4faba6b53d3e8c8c3fcc16a948350f7ab3a588b28c17603a431e39a8022100cd6f6a5cc3b55ead0ff695d06c6860b509e46d99fccefb9f7f9e101857f74300",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 273,
|
|
"comment" : "special case hash",
|
|
"msg" : "3130363836363535353436",
|
|
"sig" : "3045022100dfc8bf520445cbb8ee1596fb073ea283ea130251a6fdffa5c3f5f2aaf75ca8080220048e33efce147c9dd92823640e338e68bfd7d0dc7a4905b3a7ac711e577e90e7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 274,
|
|
"comment" : "special case hash",
|
|
"msg" : "3632313535323436",
|
|
"sig" : "3046022100ad019f74c6941d20efda70b46c53db166503a0e393e932f688227688ba6a576202210093320eb7ca0710255346bdbb3102cdcf7964ef2e0988e712bc05efe16c199345",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 275,
|
|
"comment" : "special case hash",
|
|
"msg" : "37303330383138373734",
|
|
"sig" : "3046022100ac8096842e8add68c34e78ce11dd71e4b54316bd3ebf7fffdeb7bd5a3ebc1883022100f5ca2f4f23d674502d4caf85d187215d36e3ce9f0ce219709f21a3aac003b7a8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 276,
|
|
"comment" : "special case hash",
|
|
"msg" : "35393234353233373434",
|
|
"sig" : "30440220677b2d3a59b18a5ff939b70ea002250889ddcd7b7b9d776854b4943693fb92f702206b4ba856ade7677bf30307b21f3ccda35d2f63aee81efd0bab6972cc0795db55",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 277,
|
|
"comment" : "special case hash",
|
|
"msg" : "31343935353836363231",
|
|
"sig" : "30450220479e1ded14bcaed0379ba8e1b73d3115d84d31d4b7c30e1f05e1fc0d5957cfb0022100918f79e35b3d89487cf634a4f05b2e0c30857ca879f97c771e877027355b2443",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 278,
|
|
"comment" : "special case hash",
|
|
"msg" : "34303035333134343036",
|
|
"sig" : "3044022043dfccd0edb9e280d9a58f01164d55c3d711e14b12ac5cf3b64840ead512a0a302201dbe33fa8ba84533cd5c4934365b3442ca1174899b78ef9a3199f49584389772",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 279,
|
|
"comment" : "special case hash",
|
|
"msg" : "33303936343537353132",
|
|
"sig" : "304402205b09ab637bd4caf0f4c7c7e4bca592fea20e9087c259d26a38bb4085f0bbff11022045b7eb467b6748af618e9d80d6fdcd6aa24964e5a13f885bca8101de08eb0d75",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 280,
|
|
"comment" : "special case hash",
|
|
"msg" : "32373834303235363230",
|
|
"sig" : "304502205e9b1c5a028070df5728c5c8af9b74e0667afa570a6cfa0114a5039ed15ee06f022100b1360907e2d9785ead362bb8d7bd661b6c29eeffd3c5037744edaeb9ad990c20",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 281,
|
|
"comment" : "special case hash",
|
|
"msg" : "32363138373837343138",
|
|
"sig" : "304502200671a0a85c2b72d54a2fb0990e34538b4890050f5a5712f6d1a7a5fb8578f32e022100db1846bab6b7361479ab9c3285ca41291808f27fd5bd4fdac720e5854713694c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 282,
|
|
"comment" : "special case hash",
|
|
"msg" : "31363432363235323632",
|
|
"sig" : "304402207673f8526748446477dbbb0590a45492c5d7d69859d301abbaedb35b2095103a02203dc70ddf9c6b524d886bed9e6af02e0e4dec0d417a414fed3807ef4422913d7c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 283,
|
|
"comment" : "special case hash",
|
|
"msg" : "36383234313839343336",
|
|
"sig" : "304402207f085441070ecd2bb21285089ebb1aa6450d1a06c36d3ff39dfd657a796d12b50220249712012029870a2459d18d47da9aa492a5e6cb4b2d8dafa9e4c5c54a2b9a8b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 284,
|
|
"comment" : "special case hash",
|
|
"msg" : "343834323435343235",
|
|
"sig" : "3046022100914c67fb61dd1e27c867398ea7322d5ab76df04bc5aa6683a8e0f30a5d287348022100fa07474031481dda4953e3ac1959ee8cea7e66ec412b38d6c96d28f6d37304ea",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6ff0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9",
|
|
"wx" : "00b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6f",
|
|
"wy" : "00f0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6ff0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEuDj/ROW8F3vyEYnQdmCC/J2EMiaIf8l2\nA3EQC37iCm/wyddb+6ezGmvKGXRJbutW3jVwcZVdg8Sxutqgshgy6Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 285,
|
|
"comment" : "signature malleability",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365022100900e75ad233fcc908509dbff5922647db37c21f4afd3203ae8dc4ae7794b0f87",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 286,
|
|
"comment" : "Legacy:ASN encoding of r misses leading 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "acceptable",
|
|
"flags" : [
|
|
"MissingZero"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 287,
|
|
"comment" : "valid",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 288,
|
|
"comment" : "long form encoding of length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "308145022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 289,
|
|
"comment" : "length of sequence contains leading 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "30820045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 290,
|
|
"comment" : "wrong length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 291,
|
|
"comment" : "wrong length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 292,
|
|
"comment" : "uint32 overflow in length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30850100000045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 293,
|
|
"comment" : "uint64 overflow in length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3089010000000000000045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 294,
|
|
"comment" : "length of sequence = 2**31 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "30847fffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 295,
|
|
"comment" : "length of sequence = 2**32 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3084ffffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 296,
|
|
"comment" : "length of sequence = 2**40 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3085ffffffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 297,
|
|
"comment" : "length of sequence = 2**64 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3088ffffffffffffffff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 298,
|
|
"comment" : "incorrect length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30ff022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 299,
|
|
"comment" : "indefinite length without termination",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 300,
|
|
"comment" : "indefinite length without termination",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045028000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 301,
|
|
"comment" : "indefinite length without termination",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502806ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 302,
|
|
"comment" : "removing sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 303,
|
|
"comment" : "lonely sequence tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "30",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 304,
|
|
"comment" : "appending 0's to sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 305,
|
|
"comment" : "prepending 0's to sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30470000022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 306,
|
|
"comment" : "appending unused 0's to sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 307,
|
|
"comment" : "appending null value to sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0500",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 308,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a4981773045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 309,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304925003045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 310,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "30473045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0004deadbeef",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 311,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a2226498177022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 312,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304922252500022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 313,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d2223022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650004deadbeef02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 314,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365222549817702206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 315,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323652224250002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 316,
|
|
"comment" : "including garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365222202206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0004deadbeef",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 317,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304daa00bb00cd003045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 318,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304baa02aabb3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 319,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d2229aa00bb00cd00022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 320,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304b2227aa02aabb022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 321,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323652228aa00bb00cd0002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 322,
|
|
"comment" : "including undefined tags",
|
|
"msg" : "313233343030",
|
|
"sig" : "304b022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323652226aa02aabb02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 323,
|
|
"comment" : "truncated length of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3081",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 324,
|
|
"comment" : "using composition with indefinite length",
|
|
"msg" : "313233343030",
|
|
"sig" : "30803045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 325,
|
|
"comment" : "using composition with indefinite length",
|
|
"msg" : "313233343030",
|
|
"sig" : "30492280022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 326,
|
|
"comment" : "using composition with indefinite length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365228002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 327,
|
|
"comment" : "using composition with wrong tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "30803145022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 328,
|
|
"comment" : "using composition with wrong tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "30492280032100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 329,
|
|
"comment" : "using composition with wrong tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365228003206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 330,
|
|
"comment" : "Replacing sequence with NULL",
|
|
"msg" : "313233343030",
|
|
"sig" : "0500",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 331,
|
|
"comment" : "changing tag value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "2e45022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 332,
|
|
"comment" : "changing tag value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "2f45022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 333,
|
|
"comment" : "changing tag value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3145022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 334,
|
|
"comment" : "changing tag value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3245022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 335,
|
|
"comment" : "changing tag value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "ff45022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 336,
|
|
"comment" : "dropping value of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 337,
|
|
"comment" : "using composition for sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "304930010230442100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 338,
|
|
"comment" : "truncated sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 339,
|
|
"comment" : "truncated sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30442100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 340,
|
|
"comment" : "indefinite length",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 341,
|
|
"comment" : "indefinite length with truncated delimiter",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba00",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 342,
|
|
"comment" : "indefinite length with additional element",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba05000000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 343,
|
|
"comment" : "indefinite length with truncated element",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba060811220000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 344,
|
|
"comment" : "indefinite length with garbage",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000fe02beef",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 345,
|
|
"comment" : "indefinite length with nonempty EOC",
|
|
"msg" : "313233343030",
|
|
"sig" : "3080022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0002beef",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 346,
|
|
"comment" : "prepend empty sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30473000022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 347,
|
|
"comment" : "append empty sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba3000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 348,
|
|
"comment" : "append garbage with high tag number",
|
|
"msg" : "313233343030",
|
|
"sig" : "3048022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31babf7f00",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 349,
|
|
"comment" : "sequence of sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "30473045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 350,
|
|
"comment" : "truncated sequence: removed last 1 elements",
|
|
"msg" : "313233343030",
|
|
"sig" : "3023022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 351,
|
|
"comment" : "repeating element in sequence",
|
|
"msg" : "313233343030",
|
|
"sig" : "3067022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 352,
|
|
"comment" : "long form encoding of length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304602812100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 353,
|
|
"comment" : "long form encoding of length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650281206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 354,
|
|
"comment" : "length of integer contains leading 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "30470282002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 355,
|
|
"comment" : "length of integer contains leading 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365028200206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 356,
|
|
"comment" : "wrong length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022200813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 357,
|
|
"comment" : "wrong length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 358,
|
|
"comment" : "wrong length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502216ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 359,
|
|
"comment" : "wrong length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365021f6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 360,
|
|
"comment" : "uint32 overflow in length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a0285010000002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 361,
|
|
"comment" : "uint32 overflow in length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365028501000000206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 362,
|
|
"comment" : "uint64 overflow in length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304e028901000000000000002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 363,
|
|
"comment" : "uint64 overflow in length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304e022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502890100000000000000206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 364,
|
|
"comment" : "length of integer = 2**31 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304902847fffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 365,
|
|
"comment" : "length of integer = 2**31 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502847fffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 366,
|
|
"comment" : "length of integer = 2**32 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "30490284ffffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 367,
|
|
"comment" : "length of integer = 2**32 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650284ffffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 368,
|
|
"comment" : "length of integer = 2**40 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a0285ffffffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 369,
|
|
"comment" : "length of integer = 2**40 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304a022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650285ffffffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 370,
|
|
"comment" : "length of integer = 2**64 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d0288ffffffffffffffff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 371,
|
|
"comment" : "length of integer = 2**64 - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650288ffffffffffffffff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 372,
|
|
"comment" : "incorrect length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502ff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 373,
|
|
"comment" : "incorrect length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502ff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 374,
|
|
"comment" : "removing integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "302202206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 375,
|
|
"comment" : "lonely integer tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "30230202206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 376,
|
|
"comment" : "lonely integer tag",
|
|
"msg" : "313233343030",
|
|
"sig" : "3024022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 377,
|
|
"comment" : "appending 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022300813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 378,
|
|
"comment" : "appending 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502226ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0000",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 379,
|
|
"comment" : "prepending 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "30470223000000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 380,
|
|
"comment" : "prepending 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365022200006ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"BER"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 381,
|
|
"comment" : "appending unused 0's to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365000002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 382,
|
|
"comment" : "appending null value to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022300813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365050002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 383,
|
|
"comment" : "appending null value to integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3047022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502226ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba0500",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 384,
|
|
"comment" : "truncated length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3024028102206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 385,
|
|
"comment" : "truncated length of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650281",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 386,
|
|
"comment" : "Replacing integer with NULL",
|
|
"msg" : "313233343030",
|
|
"sig" : "3024050002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 387,
|
|
"comment" : "Replacing integer with NULL",
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650500",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 388,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045002100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 389,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045012100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 390,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045032100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 391,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045042100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 392,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045ff2100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 393,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236500206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 394,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236501206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 395,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236503206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 396,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236504206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 397,
|
|
"comment" : "changing tag value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365ff206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 398,
|
|
"comment" : "dropping value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3024020002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 399,
|
|
"comment" : "dropping value of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650200",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 400,
|
|
"comment" : "using composition for integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "304922250201000220813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 401,
|
|
"comment" : "using composition for integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3049022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365222402016f021ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 402,
|
|
"comment" : "modify first byte of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022102813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 403,
|
|
"comment" : "modify first byte of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206df18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 404,
|
|
"comment" : "modify last byte of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323e502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 405,
|
|
"comment" : "modify last byte of integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb313a",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 406,
|
|
"comment" : "truncated integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022000813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832302206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 407,
|
|
"comment" : "truncated integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365021f6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 408,
|
|
"comment" : "truncated integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365021ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 409,
|
|
"comment" : "leading ff in integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "30460222ff00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 410,
|
|
"comment" : "leading ff in integer",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221ff6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 411,
|
|
"comment" : "replaced integer by infinity",
|
|
"msg" : "313233343030",
|
|
"sig" : "302509018002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 412,
|
|
"comment" : "replaced integer by infinity",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365090180",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 413,
|
|
"comment" : "replacing integer with zero",
|
|
"msg" : "313233343030",
|
|
"sig" : "302502010002206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 414,
|
|
"comment" : "replacing integer with zero",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 415,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022101813ef79ccefa9a56f7ba805f0e478583b90deabca4b05c4574e49b5899b964a602206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 416,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "30440220813ef79ccefa9a56f7ba805f0e47858643b030ef461f1bcdf53fde3ef94ce22402206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 417,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221ff7ec10863310565a908457fa0f1b87a7b01a0f22a0a9843f64aedc334367cdc9b02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 418,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ec10863310565a908457fa0f1b87a79bc4fcf10b9e0e4320ac021c106b31ddc02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 419,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "30450221fe7ec10863310565a908457fa0f1b87a7c46f215435b4fa3ba8b1b64a766469b5a02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 420,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022101813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc983236502206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 421,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ec10863310565a908457fa0f1b87a7b01a0f22a0a9843f64aedc334367cdc9b02206ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 422,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221016ff18a52dcc0336f7af62400a6dd9b7fc1e197d8aebe203c96c87232272172fb",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 423,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221ff6ff18a52dcc0336f7af62400a6dd9b824c83de0b502cdfc51723b51886b4f079",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 424,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650220900e75ad233fcc908509dbff5922647ef8cd450e008a7fff2909ec5aa914ce46",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 425,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221fe900e75ad233fcc908509dbff592264803e1e68275141dfc369378dcdd8de8d05",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 426,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc98323650221016ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 427,
|
|
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365022100900e75ad233fcc908509dbff5922647ef8cd450e008a7fff2909ec5aa914ce46",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 428,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020100020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 429,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020100020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 430,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201000201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 431,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 432,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 433,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 434,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 435,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020100022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 436,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3008020100090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 437,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020100090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 438,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 439,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 440,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201010201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 441,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 442,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 443,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 444,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 445,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 446,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3008020101090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 447,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 448,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201ff020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 449,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201ff020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 450,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201ff0201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 451,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 452,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 453,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 454,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 455,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30260201ff022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 456,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30080201ff090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 457,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201ff090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 458,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 459,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 460,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 461,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 462,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 463,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 464,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 465,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 466,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 467,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 468,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 469,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 470,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641400201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 471,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 472,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 473,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 474,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 475,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 476,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 477,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 478,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 479,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 480,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641420201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 481,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 482,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 483,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 484,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 485,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 486,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 487,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 488,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 489,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 490,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 491,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 492,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 493,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 494,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 495,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 496,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 497,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 498,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30020100",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 499,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30020101",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 500,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc300201ff",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 501,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 502,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 503,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 504,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 505,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 506,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3028022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30090380fe01",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 507,
|
|
"comment" : "Signature with special case values for r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30090142",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"EdgeCase"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 508,
|
|
"comment" : "Signature encoding contains wrong types.",
|
|
"msg" : "313233343030",
|
|
"sig" : "30060201010c0130",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 509,
|
|
"comment" : "Signature encoding contains wrong types.",
|
|
"msg" : "313233343030",
|
|
"sig" : "30050201010c00",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 510,
|
|
"comment" : "Signature encoding contains wrong types.",
|
|
"msg" : "313233343030",
|
|
"sig" : "30090c0225730c03732573",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 511,
|
|
"comment" : "Signature encoding contains wrong types.",
|
|
"msg" : "313233343030",
|
|
"sig" : "30080201013003020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 512,
|
|
"comment" : "Signature encoding contains wrong types.",
|
|
"msg" : "313233343030",
|
|
"sig" : "3003020101",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 513,
|
|
"comment" : "Signature encoding contains wrong types.",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101010100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 514,
|
|
"comment" : "Edge case for Shamir multiplication",
|
|
"msg" : "3235353835",
|
|
"sig" : "3045022100dd1b7d09a7bd8218961034a39a87fecf5314f00c4d25eb58a07ac85e85eab516022035138c401ef8d3493d65c9002fe62b43aee568731b744548358996d9cc427e06",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 515,
|
|
"comment" : "special case hash",
|
|
"msg" : "343236343739373234",
|
|
"sig" : "304502210095c29267d972a043d955224546222bba343fc1d4db0fec262a33ac61305696ae02206edfe96713aed56f8a28a6653f57e0b829712e5eddc67f34682b24f0676b2640",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 516,
|
|
"comment" : "special case hash",
|
|
"msg" : "37313338363834383931",
|
|
"sig" : "3045022028f94a894e92024699e345fe66971e3edcd050023386135ab3939d550898fb25022100cd69c1a42be05a6ee1270c821479251e134c21858d800bda6f4e98b37196238e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 517,
|
|
"comment" : "special case hash",
|
|
"msg" : "3130333539333331363638",
|
|
"sig" : "3046022100be26b18f9549f89f411a9b52536b15aa270b84548d0e859a1952a27af1a77ac60221008f3e2b05632fc33715572af9124681113f2b84325b80154c044a544dc1a8fa12",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 518,
|
|
"comment" : "special case hash",
|
|
"msg" : "33393439343031323135",
|
|
"sig" : "3046022100b1a4b1478e65cc3eafdf225d1298b43f2da19e4bcff7eacc0a2e98cd4b74b114022100e8655ce1cfb33ebd30af8ce8e8ae4d6f7b50cd3e22af51bf69e0a2851760d52b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 519,
|
|
"comment" : "special case hash",
|
|
"msg" : "31333434323933303739",
|
|
"sig" : "30440220325332021261f1bd18f2712aa1e2252da23796da8a4b1ff6ea18cafec7e171f2022040b4f5e287ee61fc3c804186982360891eaa35c75f05a43ecd48b35d984a6648",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 520,
|
|
"comment" : "special case hash",
|
|
"msg" : "33373036323131373132",
|
|
"sig" : "3046022100a23ad18d8fc66d81af0903890cbd453a554cb04cdc1a8ca7f7f78e5367ed88a0022100dc1c14d31e3fb158b73c764268c8b55579734a7e2a2c9b5ee5d9d0144ef652eb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 521,
|
|
"comment" : "special case hash",
|
|
"msg" : "333433363838373132",
|
|
"sig" : "304502202bdea41cda63a2d14bf47353bd20880a690901de7cd6e3cc6d8ed5ba0cdb1091022100c31599433036064073835b1e3eba8335a650c8fd786f94fe235ad7d41dc94c7a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 522,
|
|
"comment" : "special case hash",
|
|
"msg" : "31333531353330333730",
|
|
"sig" : "3046022100d7cd76ec01c1b1079eba9e2aa2a397243c4758c98a1ba0b7404a340b9b00ced6022100ca8affe1e626dd192174c2937b15bc48f77b5bdfe01f073a8aeaf7f24dc6c85b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 523,
|
|
"comment" : "special case hash",
|
|
"msg" : "36353533323033313236",
|
|
"sig" : "3045022100a872c744d936db21a10c361dd5c9063355f84902219652f6fc56dc95a7139d960220400df7575d9756210e9ccc77162c6b593c7746cfb48ac263c42750b421ef4bb9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 524,
|
|
"comment" : "special case hash",
|
|
"msg" : "31353634333436363033",
|
|
"sig" : "30460221009fa9afe07752da10b36d3afcd0fe44bfc40244d75203599cf8f5047fa3453854022100af1f583fec4040ae7e68c968d2bb4b494eec3a33edc7c0ccf95f7f75bc2569c7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 525,
|
|
"comment" : "special case hash",
|
|
"msg" : "34343239353339313137",
|
|
"sig" : "3045022100885640384d0d910efb177b46be6c3dc5cac81f0b88c3190bb6b5f99c2641f2050220738ed9bff116306d9caa0f8fc608be243e0b567779d8dab03e8e19d553f1dc8e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 526,
|
|
"comment" : "special case hash",
|
|
"msg" : "3130393533323631333531",
|
|
"sig" : "304502202d051f91c5a9d440c5676985710483bc4f1a6c611b10c95a2ff0363d90c2a45802210092206b19045a41a797cc2f3ac30de9518165e96d5b86341ecb3bcff231b3fd65",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 527,
|
|
"comment" : "special case hash",
|
|
"msg" : "35393837333530303431",
|
|
"sig" : "3045022100f3ac2523967482f53d508522712d583f4379cd824101ff635ea0935117baa54f022027f10812227397e02cea96fb0e680761636dab2b080d1fc5d11685cbe8500cfe",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 528,
|
|
"comment" : "special case hash",
|
|
"msg" : "33343633303036383738",
|
|
"sig" : "304602210096447cf68c3ab7266ed7447de3ac52fed7cc08cbdfea391c18a9b8ab370bc913022100f0a1878b2c53f16e70fe377a5e9c6e86f18ae480a22bb499f5b32e7109c07385",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 529,
|
|
"comment" : "special case hash",
|
|
"msg" : "39383137333230323837",
|
|
"sig" : "30450220530a0832b691da0b5619a0b11de6877f3c0971baaa68ed122758c29caaf46b7202210093761bb0a14ccf9f15b4b9ce73c6ec700bd015b8cb1cfac56837f4463f53074e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 530,
|
|
"comment" : "special case hash",
|
|
"msg" : "33323232303431303436",
|
|
"sig" : "30460221009c54c25500bde0b92d72d6ec483dc2482f3654294ca74de796b681255ed58a77022100988bac394a90ad89ce360984c0c149dcbd2684bb64498ace90bcf6b6af1c170e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 531,
|
|
"comment" : "special case hash",
|
|
"msg" : "36363636333037313034",
|
|
"sig" : "3045022100e7909d41439e2f6af29136c7348ca2641a2b070d5b64f91ea9da7070c7a2618b022042d782f132fa1d36c2c88ba27c3d678d80184a5d1eccac7501f0b47e3d205008",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 532,
|
|
"comment" : "special case hash",
|
|
"msg" : "31303335393531383938",
|
|
"sig" : "304502205924873209593135a4c3da7bb381227f8a4b6aa9f34fe5bb7f8fbc131a039ffe022100e0e44ee4bbe370155bf0bbdec265bf9fe31c0746faab446de62e3631eacd111f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 533,
|
|
"comment" : "special case hash",
|
|
"msg" : "31383436353937313935",
|
|
"sig" : "3045022100eeb692c9b262969b231c38b5a7f60649e0c875cd64df88f33aa571fa3d29ab0e0220218b3a1eb06379c2c18cf51b06430786d1c64cd2d24c9b232b23e5bac7989acd",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 534,
|
|
"comment" : "special case hash",
|
|
"msg" : "33313336303436313839",
|
|
"sig" : "3045022100a40034177f36091c2b653684a0e3eb5d4bff18e4d09f664c2800e7cafda1daf802203a3ec29853704e52031c58927a800a968353adc3d973beba9172cbbeab4dd149",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 535,
|
|
"comment" : "special case hash",
|
|
"msg" : "32363633373834323534",
|
|
"sig" : "3046022100b5d795cc75cea5c434fa4185180cd6bd21223f3d5a86da6670d71d95680dadbf022100ab1b277ef5ffe134460835e3d1402461ba104cb50b16f397fdc7a9abfefef280",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 536,
|
|
"comment" : "special case hash",
|
|
"msg" : "31363532313030353234",
|
|
"sig" : "3044022007dc2478d43c1232a4595608c64426c35510051a631ae6a5a6eb1161e57e42e102204a59ea0fdb72d12165cea3bf1ca86ba97517bd188db3dbd21a5a157850021984",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 537,
|
|
"comment" : "special case hash",
|
|
"msg" : "35373438303831363936",
|
|
"sig" : "3046022100ddd20c4a05596ca868b558839fce9f6511ddd83d1ccb53f82e5269d559a01552022100a46e8cb8d626cf6c00ddedc3b5da7e613ac376445ee260743f06f79054c7d42a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 538,
|
|
"comment" : "special case hash",
|
|
"msg" : "36333433393133343638",
|
|
"sig" : "30450221009cde6e0ede0a003f02fda0a01b59facfe5dec063318f279ce2de7a9b1062f7b702202886a5b8c679bdf8224c66f908fd6205492cb70b0068d46ae4f33a4149b12a52",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 539,
|
|
"comment" : "special case hash",
|
|
"msg" : "31353431313033353938",
|
|
"sig" : "3046022100c5771016d0dd6357143c89f684cd740423502554c0c59aa8c99584f1ff38f609022100ab4bfa0bb88ab99791b9b3ab9c4b02bd2a57ae8dde50b9064063fcf85315cfe5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 540,
|
|
"comment" : "special case hash",
|
|
"msg" : "3130343738353830313238",
|
|
"sig" : "3045022100a24ebc0ec224bd67ae397cbe6fa37b3125adbd34891abe2d7c7356921916dfe6022034f6eb6374731bbbafc4924fb8b0bdcdda49456d724cdae6178d87014cb53d8c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 541,
|
|
"comment" : "special case hash",
|
|
"msg" : "3130353336323835353638",
|
|
"sig" : "304502202557d64a7aee2e0931c012e4fea1cd3a2c334edae68cdeb7158caf21b68e5a2402210080f93244956ffdc568c77d12684f7f004fa92da7e60ae94a1b98c422e23eda34",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 542,
|
|
"comment" : "special case hash",
|
|
"msg" : "393533393034313035",
|
|
"sig" : "3046022100c4f2eccbb6a24350c8466450b9d61b207ee359e037b3dcedb42a3f2e6dd6aeb5022100cd9c394a65d0aa322e391eb76b2a1a687f8620a88adef3a01eb8e4fb05b6477a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 543,
|
|
"comment" : "special case hash",
|
|
"msg" : "393738383438303339",
|
|
"sig" : "3046022100eff04781c9cbcd162d0a25a6e2ebcca43506c523385cb515d49ea38a1b12fcad022100ea5328ce6b36e56ab87acb0dcfea498bcec1bba86a065268f6eff3c41c4b0c9c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 544,
|
|
"comment" : "special case hash",
|
|
"msg" : "33363130363732343432",
|
|
"sig" : "3046022100f58b4e3110a64bf1b5db97639ee0e5a9c8dfa49dc59b679891f520fdf0584c87022100d32701ae777511624c1f8abbf02b248b04e7a9eb27938f524f3e8828ba40164a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 545,
|
|
"comment" : "special case hash",
|
|
"msg" : "31303534323430373035",
|
|
"sig" : "3045022100f8abecaa4f0c502de4bf5903d48417f786bf92e8ad72fec0bd7fcb7800c0bbe302204c7f9e231076a30b7ae36b0cebe69ccef1cd194f7cce93a5588fd6814f437c0e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 546,
|
|
"comment" : "special case hash",
|
|
"msg" : "35313734343438313937",
|
|
"sig" : "304402205d5b38bd37ad498b2227a633268a8cca879a5c7c94a4e416bd0a614d09e606d2022012b8d664ea9991062ecbb834e58400e25c46007af84f6007d7f1685443269afe",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 547,
|
|
"comment" : "special case hash",
|
|
"msg" : "31393637353631323531",
|
|
"sig" : "304402200c1cd9fe4034f086a2b52d65b9d3834d72aebe7f33dfe8f976da82648177d8e3022013105782e3d0cfe85c2778dec1a848b27ac0ae071aa6da341a9553a946b41e59",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 548,
|
|
"comment" : "special case hash",
|
|
"msg" : "33343437323533333433",
|
|
"sig" : "3045022100ae7935fb96ff246b7b5d5662870d1ba587b03d6e1360baf47988b5c02ccc1a5b02205f00c323272083782d4a59f2dfd65e49de0693627016900ef7e61428056664b3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 549,
|
|
"comment" : "special case hash",
|
|
"msg" : "333638323634333138",
|
|
"sig" : "3045022000a134b5c6ccbcefd4c882b945baeb4933444172795fa6796aae149067547098022100a991b9efa2db276feae1c115c140770901839d87e60e7ec45a2b81cf3b437be6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 550,
|
|
"comment" : "special case hash",
|
|
"msg" : "33323631313938363038",
|
|
"sig" : "304502202e4721363ad3992c139e5a1c26395d2c2d777824aa24fde075e0d7381171309d0221008bf083b6bbe71ecff22baed087d5a77eaeaf726bf14ace2c03fd6e37ba6c26f2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 551,
|
|
"comment" : "special case hash",
|
|
"msg" : "39363738373831303934",
|
|
"sig" : "304502206852e9d3cd9fe373c2d504877967d365ab1456707b6817a042864694e1960ccf022100f9b4d815ebd4cf77847b37952334d05b2045cb398d4c21ba207922a7a4714d84",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 552,
|
|
"comment" : "special case hash",
|
|
"msg" : "34393538383233383233",
|
|
"sig" : "30440220188a8c5648dc79eace158cf886c62b5468f05fd95f03a7635c5b4c31f09af4c5022036361a0b571a00c6cd5e686ccbfcfa703c4f97e48938346d0c103fdc76dc5867",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 553,
|
|
"comment" : "special case hash",
|
|
"msg" : "383234363337383337",
|
|
"sig" : "3045022100a74f1fb9a8263f62fc4416a5b7d584f4206f3996bb91f6fc8e73b9e92bad0e1302206815032e8c7d76c3ab06a86f33249ce9940148cb36d1f417c2e992e801afa3fa",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 554,
|
|
"comment" : "special case hash",
|
|
"msg" : "3131303230383333373736",
|
|
"sig" : "3045022007244865b72ff37e62e3146f0dc14682badd7197799135f0b00ade7671742bfe022100f27f3ddc7124b1b58579573a835650e7a8bad5eeb96e9da215cd7bf9a2a039ed",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 555,
|
|
"comment" : "special case hash",
|
|
"msg" : "313333383731363438",
|
|
"sig" : "3045022100da7fdd05b5badabd619d805c4ee7d9a84f84ddd5cf9c5bf4d4338140d689ef08022028f1cf4fa1c3c5862cfa149c0013cf5fe6cf5076cae000511063e7de25bb38e5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 556,
|
|
"comment" : "special case hash",
|
|
"msg" : "333232313434313632",
|
|
"sig" : "3046022100d3027c656f6d4fdfd8ede22093e3c303b0133c340d615e7756f6253aea927238022100f6510f9f371b31068d68bfeeaa720eb9bbdc8040145fcf88d4e0b58de0777d2a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 557,
|
|
"comment" : "special case hash",
|
|
"msg" : "3130363836363535353436",
|
|
"sig" : "304402200bf6c0188dc9571cd0e21eecac5fbb19d2434988e9cc10244593ef3a98099f6902204864a562661f9221ec88e3dd0bc2f6e27ac128c30cc1a80f79ec670a22b042ee",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 558,
|
|
"comment" : "special case hash",
|
|
"msg" : "3632313535323436",
|
|
"sig" : "3045022100ae459640d5d1179be47a47fa538e16d94ddea5585e7a244804a51742c686443a02206c8e30e530a634fae80b3ceb062978b39edbe19777e0a24553b68886181fd897",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 559,
|
|
"comment" : "special case hash",
|
|
"msg" : "37303330383138373734",
|
|
"sig" : "304402201cf3517ba3bf2ab8b9ead4ebb6e866cb88a1deacb6a785d3b63b483ca02ac4950220249a798b73606f55f5f1c70de67cb1a0cff95d7dc50b3a617df861bad3c6b1c9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 560,
|
|
"comment" : "special case hash",
|
|
"msg" : "35393234353233373434",
|
|
"sig" : "3045022100e69b5238265ea35d77e4dd172288d8cea19810a10292617d5976519dc5757cb802204b03c5bc47e826bdb27328abd38d3056d77476b2130f3df6ec4891af08ba1e29",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 561,
|
|
"comment" : "special case hash",
|
|
"msg" : "31343935353836363231",
|
|
"sig" : "304402205f9d7d7c870d085fc1d49fff69e4a275812800d2cf8973e7325866cb40fa2b6f02206d1f5491d9f717a597a15fd540406486d76a44697b3f0d9d6dcef6669f8a0a56",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 562,
|
|
"comment" : "special case hash",
|
|
"msg" : "34303035333134343036",
|
|
"sig" : "304402200a7d5b1959f71df9f817146ee49bd5c89b431e7993e2fdecab6858957da685ae02200f8aad2d254690bdc13f34a4fec44a02fd745a422df05ccbb54635a8b86b9609",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 563,
|
|
"comment" : "special case hash",
|
|
"msg" : "33303936343537353132",
|
|
"sig" : "3044022079e88bf576b74bc07ca142395fda28f03d3d5e640b0b4ff0752c6d94cd553408022032cea05bd2d706c8f6036a507e2ab7766004f0904e2e5c5862749c0073245d6a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 564,
|
|
"comment" : "special case hash",
|
|
"msg" : "32373834303235363230",
|
|
"sig" : "30450221009d54e037a00212b377bc8874798b8da080564bbdf7e07591b861285809d01488022018b4e557667a82bd95965f0706f81a29243fbdd86968a7ebeb43069db3b18c7f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 565,
|
|
"comment" : "special case hash",
|
|
"msg" : "32363138373837343138",
|
|
"sig" : "304402202664f1ffa982fedbcc7cab1b8bc6e2cb420218d2a6077ad08e591ba9feab33bd022049f5c7cb515e83872a3d41b4cdb85f242ad9d61a5bfc01debfbb52c6c84ba728",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 566,
|
|
"comment" : "special case hash",
|
|
"msg" : "31363432363235323632",
|
|
"sig" : "304502205827518344844fd6a7de73cbb0a6befdea7b13d2dee4475317f0f18ffc81524b022100b0a334b1f4b774a5a289f553224d286d239ef8a90929ed2d91423e024eb7fa66",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 567,
|
|
"comment" : "special case hash",
|
|
"msg" : "36383234313839343336",
|
|
"sig" : "304602210097ab19bd139cac319325869218b1bce111875d63fb12098a04b0cd59b6fdd3a3022100bce26315c5dbc7b8cfc31425a9b89bccea7aa9477d711a4d377f833dcc28f820",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 568,
|
|
"comment" : "special case hash",
|
|
"msg" : "343834323435343235",
|
|
"sig" : "3044022052c683144e44119ae2013749d4964ef67509278f6d38ba869adcfa69970e123d02203479910167408f45bda420a626ec9c4ec711c1274be092198b4187c018b562ca",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04bc75e84bc85176a30559db843e5fbb3628526120dae9227de017934ab10526c0eccb6c30f0781acb6b7036ee6dd2b9b7d77c963247266e43",
|
|
"wx" : "00bc75e84bc85176a30559db843e5fbb3628526120dae9227de017934a",
|
|
"wy" : "00b10526c0eccb6c30f0781acb6b7036ee6dd2b9b7d77c963247266e43"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004bc75e84bc85176a30559db843e5fbb3628526120dae9227de017934ab10526c0eccb6c30f0781acb6b7036ee6dd2b9b7d77c963247266e43",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEvHXoS8hRdqMFWduEPl+7NihSYSDa6SJ9\n4BeTSrEFJsDsy2ww8Hgay2twNu5t0rm313yWMkcmbkM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 569,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"msg" : "4d7367",
|
|
"sig" : "3030020f00e95c1f470fc1ec22d6baa3a3d5c1021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 570,
|
|
"comment" : "r too large",
|
|
"msg" : "4d7367",
|
|
"sig" : "303e021d00fffffffffffffffffffffffffffffffefffffffffffffffffffffffe021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3a",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040bfefa69d4970f77e259099b01bbb869248e4859ed20c3d50dd83081e1f47eb82f10f71166816ad2a533b341883f9cdd88567c0fa9b2312e",
|
|
"wx" : "0bfefa69d4970f77e259099b01bbb869248e4859ed20c3d50dd83081",
|
|
"wy" : "00e1f47eb82f10f71166816ad2a533b341883f9cdd88567c0fa9b2312e"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00040bfefa69d4970f77e259099b01bbb869248e4859ed20c3d50dd83081e1f47eb82f10f71166816ad2a533b341883f9cdd88567c0fa9b2312e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEC/76adSXD3fiWQmbAbu4aSSOSFntIMPV\nDdgwgeH0frgvEPcRZoFq0qUzs0GIP5zdiFZ8D6myMS4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 571,
|
|
"comment" : "r,s are large",
|
|
"msg" : "4d7367",
|
|
"sig" : "303e021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3c021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0469627a4c0957fc76df1698c37b9c6efedf0768f9797da84749a6b6070ba90da74515d002f3ecc6fbc7619c66b962db97f361933fb2f9b943",
|
|
"wx" : "69627a4c0957fc76df1698c37b9c6efedf0768f9797da84749a6b607",
|
|
"wy" : "0ba90da74515d002f3ecc6fbc7619c66b962db97f361933fb2f9b943"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000469627a4c0957fc76df1698c37b9c6efedf0768f9797da84749a6b6070ba90da74515d002f3ecc6fbc7619c66b962db97f361933fb2f9b943",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEaWJ6TAlX/HbfFpjDe5xu/t8HaPl5fahH\nSaa2BwupDadFFdAC8+zG+8dhnGa5YtuX82GTP7L5uUM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 572,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7fffffffffffffffffffffffffffffffffffffffffffffffffffffff021c3d5052691b8dc89debad360466f2a39e82e8ae2aefb77c3c92ad7cd1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046514a1d0aa8f7f516efee552d0948f6c44caa2f5b8489910753c7418e126a8aadd213f6f38e27b16b92fd6a9d01b10ec6db10f2ae7e24c31",
|
|
"wx" : "6514a1d0aa8f7f516efee552d0948f6c44caa2f5b8489910753c7418",
|
|
"wy" : "00e126a8aadd213f6f38e27b16b92fd6a9d01b10ec6db10f2ae7e24c31"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00046514a1d0aa8f7f516efee552d0948f6c44caa2f5b8489910753c7418e126a8aadd213f6f38e27b16b92fd6a9d01b10ec6db10f2ae7e24c31",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEZRSh0KqPf1Fu/uVS0JSPbETKovW4SJkQ\ndTx0GOEmqKrdIT9vOOJ7Frkv1qnQGxDsbbEPKufiTDE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 573,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7fffffffffffffffffffffffffffffffffffffffffffffffffffffff021d00bf19ab4d3ebf5a1a49d765909308daa88c2b7be3969db552ea30562b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045a1fd06d0c6ae74cd08b8a94b01357c110eb9304ce58b93de7b02e002c824eca4386c5fcfba682f9dcd88b99f5fe90f6c620c50d420509e4",
|
|
"wx" : "5a1fd06d0c6ae74cd08b8a94b01357c110eb9304ce58b93de7b02e00",
|
|
"wy" : "2c824eca4386c5fcfba682f9dcd88b99f5fe90f6c620c50d420509e4"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00045a1fd06d0c6ae74cd08b8a94b01357c110eb9304ce58b93de7b02e002c824eca4386c5fcfba682f9dcd88b99f5fe90f6c620c50d420509e4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEWh/QbQxq50zQi4qUsBNXwRDrkwTOWLk9\n57AuACyCTspDhsX8+6aC+dzYi5n1/pD2xiDFDUIFCeQ=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 574,
|
|
"comment" : "small r and s",
|
|
"msg" : "4d7367",
|
|
"sig" : "3006020103020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0499c273370404653c768c5d638e9209e81ebb03e132a3669a3c23c8c7c068e0572c09a968eaa4b92781fe0aa7303099b374b9c2fa5da05834",
|
|
"wx" : "0099c273370404653c768c5d638e9209e81ebb03e132a3669a3c23c8c7",
|
|
"wy" : "00c068e0572c09a968eaa4b92781fe0aa7303099b374b9c2fa5da05834"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000499c273370404653c768c5d638e9209e81ebb03e132a3669a3c23c8c7c068e0572c09a968eaa4b92781fe0aa7303099b374b9c2fa5da05834",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEmcJzNwQEZTx2jF1jjpIJ6B67A+Eyo2aa\nPCPIx8Bo4FcsCalo6qS5J4H+CqcwMJmzdLnC+l2gWDQ=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 575,
|
|
"comment" : "small r and s",
|
|
"msg" : "4d7367",
|
|
"sig" : "3006020103020103",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04bed2146c8c62ddc31327c7f33d3a8feb2c3ef8e4414fe55f3545144536e288f69784e2a2d1ba748b0b3e07ffc31af07fd42c519a5c485d63",
|
|
"wx" : "00bed2146c8c62ddc31327c7f33d3a8feb2c3ef8e4414fe55f35451445",
|
|
"wy" : "36e288f69784e2a2d1ba748b0b3e07ffc31af07fd42c519a5c485d63"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004bed2146c8c62ddc31327c7f33d3a8feb2c3ef8e4414fe55f3545144536e288f69784e2a2d1ba748b0b3e07ffc31af07fd42c519a5c485d63",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEvtIUbIxi3cMTJ8fzPTqP6yw++ORBT+Vf\nNUUURTbiiPaXhOKi0bp0iws+B//DGvB/1CxRmlxIXWM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 576,
|
|
"comment" : "small r and s",
|
|
"msg" : "4d7367",
|
|
"sig" : "3006020103020104",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 577,
|
|
"comment" : "r is larger than n",
|
|
"msg" : "4d7367",
|
|
"sig" : "3022021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a40020104",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a83321aecea4a1fca6be1add7a93ab679ef165ee24999eedf50a2dca00d1bb5122c539d17669e7b805d1ef3c83f81b991af0c380429fad85",
|
|
"wx" : "00a83321aecea4a1fca6be1add7a93ab679ef165ee24999eedf50a2dca",
|
|
"wy" : "00d1bb5122c539d17669e7b805d1ef3c83f81b991af0c380429fad85"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a83321aecea4a1fca6be1add7a93ab679ef165ee24999eedf50a2dca00d1bb5122c539d17669e7b805d1ef3c83f81b991af0c380429fad85",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEqDMhrs6kofymvhrdepOrZ57xZe4kmZ7t\n9QotygDRu1EixTnRdmnnuAXR7zyD+BuZGvDDgEKfrYU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 578,
|
|
"comment" : "s is larger than n",
|
|
"msg" : "4d7367",
|
|
"sig" : "3022020103021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c6f00c4",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0448aea0b4cbcbeba311d7d90a3a68c3af32d9aad3ea9eccb7573599a6dd5e2021bd903228e2d46faa9dd294a0793f81ad352f448e3e3b5ddc",
|
|
"wx" : "48aea0b4cbcbeba311d7d90a3a68c3af32d9aad3ea9eccb7573599a6",
|
|
"wy" : "00dd5e2021bd903228e2d46faa9dd294a0793f81ad352f448e3e3b5ddc"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000448aea0b4cbcbeba311d7d90a3a68c3af32d9aad3ea9eccb7573599a6dd5e2021bd903228e2d46faa9dd294a0793f81ad352f448e3e3b5ddc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAESK6gtMvL66MR19kKOmjDrzLZqtPqnsy3\nVzWZpt1eICG9kDIo4tRvqp3SlKB5P4GtNS9Ejj47Xdw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 579,
|
|
"comment" : "small r and s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "302302020100021d00c993264c993264c993264c99326411d2e55b3214a8d67528812a55ab",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043b11713a7fd7aa516ba2529ad28ac4ce9b6ddc0d9bf4be5fd235b81c139277b772527cd2e857d212402f80d7f3c237e4730509012fab97c6",
|
|
"wx" : "3b11713a7fd7aa516ba2529ad28ac4ce9b6ddc0d9bf4be5fd235b81c",
|
|
"wy" : "139277b772527cd2e857d212402f80d7f3c237e4730509012fab97c6"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00043b11713a7fd7aa516ba2529ad28ac4ce9b6ddc0d9bf4be5fd235b81c139277b772527cd2e857d212402f80d7f3c237e4730509012fab97c6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEOxFxOn/XqlFrolKa0orEzptt3A2b9L5f\n0jW4HBOSd7dyUnzS6FfSEkAvgNfzwjfkcwUJAS+rl8Y=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 580,
|
|
"comment" : "smallish r and s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "302702072d9b4d347952cc021c3e85d56474b5c55fbe86608442a84b2bf093b7d75f53a47250e1c70c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047b1bf2b11f43f76f623270499a325450a8933590c09e132b83147033109485d2a2850aa0ed457e8de70398265ea27cbea2a53cc3a95db998",
|
|
"wx" : "7b1bf2b11f43f76f623270499a325450a8933590c09e132b83147033",
|
|
"wy" : "109485d2a2850aa0ed457e8de70398265ea27cbea2a53cc3a95db998"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00047b1bf2b11f43f76f623270499a325450a8933590c09e132b83147033109485d2a2850aa0ed457e8de70398265ea27cbea2a53cc3a95db998",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEexvysR9D929iMnBJmjJUUKiTNZDAnhMr\ngxRwMxCUhdKihQqg7UV+jecDmCZeony+oqU8w6lduZg=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 581,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "302d020d1033e67e37b32b445580bf4efb021c02fd02fd02fd02fd02fd02fd02fd0043a4fd2da317247308c74dc6b8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0438243cf4e5484660564484d497ef2afe528f28fda8c3697d10750a77b5c87a1b3090e592f047d1ba44b8f3ba1ec076fd8e8115c6fd671f22",
|
|
"wx" : "38243cf4e5484660564484d497ef2afe528f28fda8c3697d10750a77",
|
|
"wy" : "00b5c87a1b3090e592f047d1ba44b8f3ba1ec076fd8e8115c6fd671f22"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000438243cf4e5484660564484d497ef2afe528f28fda8c3697d10750a77b5c87a1b3090e592f047d1ba44b8f3ba1ec076fd8e8115c6fd671f22",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEOCQ89OVIRmBWRITUl+8q/lKPKP2ow2l9\nEHUKd7XIehswkOWS8EfRukS487oewHb9joEVxv1nHyI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 582,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "302302020100021d00d05434abacd859ed74185e75b751c6d9f60c7921dacfbb8e19cdba8e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043147173105159d5a66542e891dc5c1e831c390d76556a21f46b3f15ed9680c6eaa4136100e87bfa6592b8f059ae1450cf10980691049a5e5",
|
|
"wx" : "3147173105159d5a66542e891dc5c1e831c390d76556a21f46b3f15e",
|
|
"wy" : "00d9680c6eaa4136100e87bfa6592b8f059ae1450cf10980691049a5e5"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00043147173105159d5a66542e891dc5c1e831c390d76556a21f46b3f15ed9680c6eaa4136100e87bfa6592b8f059ae1450cf10980691049a5e5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEMUcXMQUVnVpmVC6JHcXB6DHDkNdlVqIf\nRrPxXtloDG6qQTYQDoe/plkrjwWa4UUM8QmAaRBJpeU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 583,
|
|
"comment" : "100-bit r and s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "302e020d062522bbd3ecbe7c39e93e7c24021d00d05434abacd859ed74185e75b751c6d9f60c7921dacfbb8e19cdba8e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0476152d39df62cbd76319de7d35bdb1a3994baf4f5ca5fc984e95021cb1b3a380622ebbd266413ef0ba15d121afc5d2d51ba7979da29c4007",
|
|
"wx" : "76152d39df62cbd76319de7d35bdb1a3994baf4f5ca5fc984e95021c",
|
|
"wy" : "00b1b3a380622ebbd266413ef0ba15d121afc5d2d51ba7979da29c4007"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000476152d39df62cbd76319de7d35bdb1a3994baf4f5ca5fc984e95021cb1b3a380622ebbd266413ef0ba15d121afc5d2d51ba7979da29c4007",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEdhUtOd9iy9djGd59Nb2xo5lLr09cpfyY\nTpUCHLGzo4BiLrvSZkE+8LoV0SGvxdLVG6eXnaKcQAc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 584,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021d00ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c29bd021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048e7d4044d0aece8c814fd2e4a540d6ce14e3e92498a4f6d2760170e0e7edb0b8e72157b42682787a43f78632b5bc8d5ca084b08ddd742902",
|
|
"wx" : "008e7d4044d0aece8c814fd2e4a540d6ce14e3e92498a4f6d2760170e0",
|
|
"wy" : "00e7edb0b8e72157b42682787a43f78632b5bc8d5ca084b08ddd742902"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00048e7d4044d0aece8c814fd2e4a540d6ce14e3e92498a4f6d2760170e0e7edb0b8e72157b42682787a43f78632b5bc8d5ca084b08ddd742902",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEjn1ARNCuzoyBT9LkpUDWzhTj6SSYpPbS\ndgFw4OftsLjnIVe0JoJ4ekP3hjK1vI1coISwjd10KQI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 585,
|
|
"comment" : "s == 1",
|
|
"msg" : "4d7367",
|
|
"sig" : "3021021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 586,
|
|
"comment" : "s == 0",
|
|
"msg" : "4d7367",
|
|
"sig" : "3021021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0486eef598040bc7ceb7cf07f0ee72e4e947dc120023bf552c0b484170bffa633852e6c6e2a41d61cf223a86b6ecfcf682cca8c38794925f4d",
|
|
"wx" : "0086eef598040bc7ceb7cf07f0ee72e4e947dc120023bf552c0b484170",
|
|
"wy" : "00bffa633852e6c6e2a41d61cf223a86b6ecfcf682cca8c38794925f4d"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000486eef598040bc7ceb7cf07f0ee72e4e947dc120023bf552c0b484170bffa633852e6c6e2a41d61cf223a86b6ecfcf682cca8c38794925f4d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEhu71mAQLx863zwfw7nLk6UfcEgAjv1Us\nC0hBcL/6YzhS5sbipB1hzyI6hrbs/PaCzKjDh5SSX00=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 587,
|
|
"comment" : "point at infinity during verify",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151e021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a51291ffa4a164d500c4928a2aaed202c6aa997d647d45daca6e93d15f3f17ca4d88a28fc14ed2dd19280744df9e11deb15a77809fa8ddec",
|
|
"wx" : "00a51291ffa4a164d500c4928a2aaed202c6aa997d647d45daca6e93d1",
|
|
"wy" : "5f3f17ca4d88a28fc14ed2dd19280744df9e11deb15a77809fa8ddec"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a51291ffa4a164d500c4928a2aaed202c6aa997d647d45daca6e93d15f3f17ca4d88a28fc14ed2dd19280744df9e11deb15a77809fa8ddec",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEpRKR/6ShZNUAxJKKKq7SAsaqmX1kfUXa\nym6T0V8/F8pNiKKPwU7S3RkoB0TfnhHesVp3gJ+o3ew=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 588,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151f021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044d3bd1f91436eaecc96e75500c0a2b3d9dbc1e1ed5965b657b268d8f124e1ab8f1633a0adfe6d768a420ca677357ccac974bc7c45b9f26ff",
|
|
"wx" : "4d3bd1f91436eaecc96e75500c0a2b3d9dbc1e1ed5965b657b268d8f",
|
|
"wy" : "124e1ab8f1633a0adfe6d768a420ca677357ccac974bc7c45b9f26ff"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00044d3bd1f91436eaecc96e75500c0a2b3d9dbc1e1ed5965b657b268d8f124e1ab8f1633a0adfe6d768a420ca677357ccac974bc7c45b9f26ff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAETTvR+RQ26uzJbnVQDAorPZ28Hh7Vlltl\neyaNjxJOGrjxYzoK3+bXaKQgymdzV8ysl0vHxFufJv8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 589,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151f021c7fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e151f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b7fd6e16896127b2d4341fb41c4274797b739bd5b756c4737f8fee55eb01d914e4dfdf606e9198bf03dfc7734abd0fadd4193ed0515f3cd7",
|
|
"wx" : "00b7fd6e16896127b2d4341fb41c4274797b739bd5b756c4737f8fee55",
|
|
"wy" : "00eb01d914e4dfdf606e9198bf03dfc7734abd0fadd4193ed0515f3cd7"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b7fd6e16896127b2d4341fb41c4274797b739bd5b756c4737f8fee55eb01d914e4dfdf606e9198bf03dfc7734abd0fadd4193ed0515f3cd7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEt/1uFolhJ7LUNB+0HEJ0eXtzm9W3VsRz\nf4/uVesB2RTk399gbpGYvwPfx3NKvQ+t1Bk+0FFfPNc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 590,
|
|
"comment" : "u1 == 1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c0b041f884d648cc345e4600078eb790708ccad576d4abe3c943aa328",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04161fe96bac1f151e0565a7b2c3c089d79df5d298e7ca48964fdd86574c6247dbd41f235a149736122e96e6735054dac58c234031153fb82f",
|
|
"wx" : "161fe96bac1f151e0565a7b2c3c089d79df5d298e7ca48964fdd8657",
|
|
"wy" : "4c6247dbd41f235a149736122e96e6735054dac58c234031153fb82f"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004161fe96bac1f151e0565a7b2c3c089d79df5d298e7ca48964fdd86574c6247dbd41f235a149736122e96e6735054dac58c234031153fb82f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEFh/pa6wfFR4FZaeyw8CJ15310pjnykiW\nT92GV0xiR9vUHyNaFJc2Ei6W5nNQVNrFjCNAMRU/uC8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 591,
|
|
"comment" : "u1 == n - 1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021d00f4fbe077b29b733cba1b9fff87139d9bd7ec42e6a6926b08c8218715",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04882dff239cdf9a0812caaf384ade87497131e6fb8ca184c27f9fb4d60032fbe649751ab5bc386f09dcab56a6df6563480a4bec5ed72298b1",
|
|
"wx" : "00882dff239cdf9a0812caaf384ade87497131e6fb8ca184c27f9fb4d6",
|
|
"wy" : "32fbe649751ab5bc386f09dcab56a6df6563480a4bec5ed72298b1"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004882dff239cdf9a0812caaf384ade87497131e6fb8ca184c27f9fb4d60032fbe649751ab5bc386f09dcab56a6df6563480a4bec5ed72298b1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEiC3/I5zfmggSyq84St6HSXEx5vuMoYTC\nf5+01gAy++ZJdRq1vDhvCdyrVqbfZWNICkvsXtcimLE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 592,
|
|
"comment" : "u2 == 1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04cd8f963a1694e83241a7172f782b211786bc47b31ce5cad6abc865c19310d590a09e146c08fe443df76ec22ea95a62a90c7acef1127e4d71",
|
|
"wx" : "00cd8f963a1694e83241a7172f782b211786bc47b31ce5cad6abc865c1",
|
|
"wy" : "009310d590a09e146c08fe443df76ec22ea95a62a90c7acef1127e4d71"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004cd8f963a1694e83241a7172f782b211786bc47b31ce5cad6abc865c19310d590a09e146c08fe443df76ec22ea95a62a90c7acef1127e4d71",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEzY+WOhaU6DJBpxcveCshF4a8R7Mc5crW\nq8hlwZMQ1ZCgnhRsCP5EPfduwi6pWmKpDHrO8RJ+TXE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 593,
|
|
"comment" : "u2 == n - 1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021d00aaaaaaaaaaaaaaaaaaaaaaaaaaaa0f17407b4ad40d3e1b8392e81c29",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b564852ecb065e52db2b0cf9acdd3499b9b0045331a78e27aab12d173bccbf5375fc99604883f23b83f46f3e3c36c46dda56227b771497ed",
|
|
"wx" : "00b564852ecb065e52db2b0cf9acdd3499b9b0045331a78e27aab12d17",
|
|
"wy" : "3bccbf5375fc99604883f23b83f46f3e3c36c46dda56227b771497ed"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b564852ecb065e52db2b0cf9acdd3499b9b0045331a78e27aab12d173bccbf5375fc99604883f23b83f46f3e3c36c46dda56227b771497ed",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEtWSFLssGXlLbKwz5rN00mbmwBFMxp44n\nqrEtFzvMv1N1/JlgSIPyO4P0bz48NsRt2lYie3cUl+0=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 594,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00ae56b52d6f218441174c2000284de21998bf849bdc570597c450fd36",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04c6780fe52e48d890a9ece0d4eda2ab9ad7c18cbfa9fd747215fc2cd14463d417b8b15383290a12cc3d5f1a5d24df2607bf73dbc6e61d0dc8",
|
|
"wx" : "00c6780fe52e48d890a9ece0d4eda2ab9ad7c18cbfa9fd747215fc2cd1",
|
|
"wy" : "4463d417b8b15383290a12cc3d5f1a5d24df2607bf73dbc6e61d0dc8"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c6780fe52e48d890a9ece0d4eda2ab9ad7c18cbfa9fd747215fc2cd14463d417b8b15383290a12cc3d5f1a5d24df2607bf73dbc6e61d0dc8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAExngP5S5I2JCp7ODU7aKrmtfBjL+p/XRy\nFfws0URj1Be4sVODKQoSzD1fGl0k3yYHv3PbxuYdDcg=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 595,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00abadccc5cafa7d90d9f20d1f3fbe18241e38cd6e99821135a808feb6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04111285cc943890d01f0ef496a0ab99c5f879127941193717ecfec0ad35cea32862b4985580a4277d6062210ff42a529eb878b901183743de",
|
|
"wx" : "111285cc943890d01f0ef496a0ab99c5f879127941193717ecfec0ad",
|
|
"wy" : "35cea32862b4985580a4277d6062210ff42a529eb878b901183743de"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004111285cc943890d01f0ef496a0ab99c5f879127941193717ecfec0ad35cea32862b4985580a4277d6062210ff42a529eb878b901183743de",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEERKFzJQ4kNAfDvSWoKuZxfh5EnlBGTcX\n7P7ArTXOoyhitJhVgKQnfWBiIQ/0KlKeuHi5ARg3Q94=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 596,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00ab7051d7e48b9f852e258cbede1f26aedc2e862ca9f63c7314c6ab13",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a70cf775ed0c3c6bc97e7c43e855c635d0b594011e59df12a8e28ee148da113b01454696dbe066c0368055000a92ad1018f1f6f2ccf8a26b",
|
|
"wx" : "00a70cf775ed0c3c6bc97e7c43e855c635d0b594011e59df12a8e28ee1",
|
|
"wy" : "48da113b01454696dbe066c0368055000a92ad1018f1f6f2ccf8a26b"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a70cf775ed0c3c6bc97e7c43e855c635d0b594011e59df12a8e28ee148da113b01454696dbe066c0368055000a92ad1018f1f6f2ccf8a26b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEpwz3de0MPGvJfnxD6FXGNdC1lAEeWd8S\nqOKO4UjaETsBRUaW2+BmwDaAVQAKkq0QGPH28sz4oms=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 597,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c787b89e72cafea47f4fbe077b29b056875feb7f770106528bbee29a6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a2e42035b4fe096ecacb4b1a06565af64cfcc2b04f0178bc100732da00f2f50ea59d2a39ccee2eb5eca216c4748da18d783907963f5cb3e4",
|
|
"wx" : "00a2e42035b4fe096ecacb4b1a06565af64cfcc2b04f0178bc100732da",
|
|
"wy" : "00f2f50ea59d2a39ccee2eb5eca216c4748da18d783907963f5cb3e4"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a2e42035b4fe096ecacb4b1a06565af64cfcc2b04f0178bc100732da00f2f50ea59d2a39ccee2eb5eca216c4748da18d783907963f5cb3e4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEouQgNbT+CW7Ky0saBlZa9kz8wrBPAXi8\nEAcy2gDy9Q6lnSo5zO4uteyiFsR0jaGNeDkHlj9cs+Q=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 598,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00b89e72cafea47f4fbe077b29b73323565b6713b98090e2a4a8d86ed5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04f378963f5ef0893b5f89d58f73e9f5de692843637b8d9f301a775374f53e8627b42d2d6d540c0e238d4abc9576b7f202a97774e2ee9e58a6",
|
|
"wx" : "00f378963f5ef0893b5f89d58f73e9f5de692843637b8d9f301a775374",
|
|
"wy" : "00f53e8627b42d2d6d540c0e238d4abc9576b7f202a97774e2ee9e58a6"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004f378963f5ef0893b5f89d58f73e9f5de692843637b8d9f301a775374f53e8627b42d2d6d540c0e238d4abc9576b7f202a97774e2ee9e58a6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE83iWP17wiTtfidWPc+n13mkoQ2N7jZ8w\nGndTdPU+hie0LS1tVAwOI41KvJV2t/ICqXd04u6eWKY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 599,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c713ce595fd48fe9f7c0ef6536e673009d6153734ed449c03f554b36d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044be8786cf0e12e300b6180bcfb839a857f8aa99dc77e5496d28fcd122b5b9a274964449662fa65f8af0ca1f5d28c70a5c0a85d638cb8affe",
|
|
"wx" : "4be8786cf0e12e300b6180bcfb839a857f8aa99dc77e5496d28fcd12",
|
|
"wy" : "2b5b9a274964449662fa65f8af0ca1f5d28c70a5c0a85d638cb8affe"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00044be8786cf0e12e300b6180bcfb839a857f8aa99dc77e5496d28fcd122b5b9a274964449662fa65f8af0ca1f5d28c70a5c0a85d638cb8affe",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAES+h4bPDhLjALYYC8+4OahX+KqZ3HflSW\n0o/NEitbmidJZESWYvpl+K8MofXSjHClwKhdY4y4r/4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 600,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c2cafea47f4fbe077b29b733cba1b7743297b2de81ca9398d72ec3df5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "049e5daf1bfea28ce039a8b95a08a1335034dd4cb8fe62ab5c8083ad27fea54bd62f2cf6ba7be2bb2823f73ebb3bb31fa3cf6638c11ecee8bb",
|
|
"wx" : "009e5daf1bfea28ce039a8b95a08a1335034dd4cb8fe62ab5c8083ad27",
|
|
"wy" : "00fea54bd62f2cf6ba7be2bb2823f73ebb3bb31fa3cf6638c11ecee8bb"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00049e5daf1bfea28ce039a8b95a08a1335034dd4cb8fe62ab5c8083ad27fea54bd62f2cf6ba7be2bb2823f73ebb3bb31fa3cf6638c11ecee8bb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEnl2vG/6ijOA5qLlaCKEzUDTdTLj+Yqtc\ngIOtJ/6lS9YvLPa6e+K7KCP3Prs7sx+jz2Y4wR7O6Ls=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 601,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00a8d4a569486f3ddf7459efffebd8259614592df025b1a6797a33aba2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04846285e0d1d15f80a2377a48d5233c61f8cff74cd6236fff2936c006647b6c0e9bc8a250f8b3b3b2565dd0b65f394db2a5c58bf271ca4a22",
|
|
"wx" : "00846285e0d1d15f80a2377a48d5233c61f8cff74cd6236fff2936c006",
|
|
"wy" : "647b6c0e9bc8a250f8b3b3b2565dd0b65f394db2a5c58bf271ca4a22"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004846285e0d1d15f80a2377a48d5233c61f8cff74cd6236fff2936c006647b6c0e9bc8a250f8b3b3b2565dd0b65f394db2a5c58bf271ca4a22",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEhGKF4NHRX4CiN3pI1SM8YfjP90zWI2//\nKTbABmR7bA6byKJQ+LOzslZd0LZfOU2ypcWL8nHKSiI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 602,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c51a94ad290de7bbee8b3dfffd7b1348947f96ba2378623ad980b2d07",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ecc1ba5ba1d685c1c4a15146145b376f2e42950c3876f2160988a68ab58542baf7fa542fbab77cc7c93ff28969e37cf0f3ffbfe7fe02dc51",
|
|
"wx" : "00ecc1ba5ba1d685c1c4a15146145b376f2e42950c3876f2160988a68a",
|
|
"wy" : "00b58542baf7fa542fbab77cc7c93ff28969e37cf0f3ffbfe7fe02dc51"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004ecc1ba5ba1d685c1c4a15146145b376f2e42950c3876f2160988a68ab58542baf7fa542fbab77cc7c93ff28969e37cf0f3ffbfe7fe02dc51",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE7MG6W6HWhcHEoVFGFFs3by5ClQw4dvIW\nCYimirWFQrr3+lQvurd8x8k/8olp43zw8/+/5/4C3FE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 603,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00fa7df03bd94db99e5d0dcfffc3895a1f5c5299925d37ca27123ed8a9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042cbb210b5f6d09ade8b6566e9e4f122caa0032798cff8fa3cb36a10c7978044ce07d958601f3e49323313780325ed39eb4ed130b4c70551a",
|
|
"wx" : "2cbb210b5f6d09ade8b6566e9e4f122caa0032798cff8fa3cb36a10c",
|
|
"wy" : "7978044ce07d958601f3e49323313780325ed39eb4ed130b4c70551a"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00042cbb210b5f6d09ade8b6566e9e4f122caa0032798cff8fa3cb36a10c7978044ce07d958601f3e49323313780325ed39eb4ed130b4c70551a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAELLshC19tCa3otlZunk8SLKoAMnmM/4+j\nyzahDHl4BEzgfZWGAfPkkyMxN4AyXtOetO0TC0xwVRo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 604,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00d5b828ebf245cfc29712c65f6f0f1ea8de73bb355ee9b2dc38916aa8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04754108bb613336db9886cba90f5e4a9e4efd26cad603ff650164350de335eb473aa5c19e9d28d3100879d90c733e0f8436fef59a5afa1016",
|
|
"wx" : "754108bb613336db9886cba90f5e4a9e4efd26cad603ff650164350d",
|
|
"wy" : "00e335eb473aa5c19e9d28d3100879d90c733e0f8436fef59a5afa1016"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004754108bb613336db9886cba90f5e4a9e4efd26cad603ff650164350de335eb473aa5c19e9d28d3100879d90c733e0f8436fef59a5afa1016",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEdUEIu2EzNtuYhsupD15Knk79JsrWA/9l\nAWQ1DeM160c6pcGenSjTEAh52QxzPg+ENv71mlr6EBY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 605,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c7fffffffffffffffffffffffffffb2364ae85014b149b86c741eb8be",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04273c311cc5ce74d1d01b017188472de04b38b72d34abfae6266679b4ec64adcb3ca5247cf598a9cb66cc22e79e31f1661c781c1871fcc1a3",
|
|
"wx" : "273c311cc5ce74d1d01b017188472de04b38b72d34abfae6266679b4",
|
|
"wy" : "00ec64adcb3ca5247cf598a9cb66cc22e79e31f1661c781c1871fcc1a3"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004273c311cc5ce74d1d01b017188472de04b38b72d34abfae6266679b4ec64adcb3ca5247cf598a9cb66cc22e79e31f1661c781c1871fcc1a3",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEJzwxHMXOdNHQGwFxiEct4Es4ty00q/rm\nJmZ5tOxkrcs8pSR89Zipy2bMIueeMfFmHHgcGHH8waM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 606,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00855f5b2dc8e46ec428a593f73219cf65dae793e8346e30cc3701309c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04bd53b3b52cd9134e91e2f90ba50083c007daa7cff5cdabe4208ec1b8d4b114bdcd3f599aedde76c6ea6993d1d578d8faf9851d136d4caa4f",
|
|
"wx" : "00bd53b3b52cd9134e91e2f90ba50083c007daa7cff5cdabe4208ec1b8",
|
|
"wy" : "00d4b114bdcd3f599aedde76c6ea6993d1d578d8faf9851d136d4caa4f"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004bd53b3b52cd9134e91e2f90ba50083c007daa7cff5cdabe4208ec1b8d4b114bdcd3f599aedde76c6ea6993d1d578d8faf9851d136d4caa4f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEvVOztSzZE06R4vkLpQCDwAfap8/1zavk\nII7BuNSxFL3NP1ma7d52xuppk9HVeNj6+YUdE21Mqk8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 607,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c2db5f61aea817276af2064e104c7a30e32034cb526dd0aacfa56566f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04014cbf869ed4534cd9d32fc5bb806d5dfa61aad3e81edd4502c594859478257b5e26770f7bc6f7e084d47e1d7c4140b836344e5fe84c0694",
|
|
"wx" : "014cbf869ed4534cd9d32fc5bb806d5dfa61aad3e81edd4502c59485",
|
|
"wy" : "009478257b5e26770f7bc6f7e084d47e1d7c4140b836344e5fe84c0694"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004014cbf869ed4534cd9d32fc5bb806d5dfa61aad3e81edd4502c594859478257b5e26770f7bc6f7e084d47e1d7c4140b836344e5fe84c0694",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEAUy/hp7UU0zZ0y/Fu4BtXfphqtPoHt1F\nAsWUhZR4JXteJncPe8b34ITUfh18QUC4NjROX+hMBpQ=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 608,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d0084a6c7513e5f48c07fffffffffff8713f3cba1293e4f3e95597fe6bd",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0403c6d87405e081ac2dc9188afed99eb87f13bd7b80e7363fd21a7692a092b8b8354493e2444736a9c78bf356fcdf07849120986afb98fa03",
|
|
"wx" : "03c6d87405e081ac2dc9188afed99eb87f13bd7b80e7363fd21a7692",
|
|
"wy" : "00a092b8b8354493e2444736a9c78bf356fcdf07849120986afb98fa03"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000403c6d87405e081ac2dc9188afed99eb87f13bd7b80e7363fd21a7692a092b8b8354493e2444736a9c78bf356fcdf07849120986afb98fa03",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEA8bYdAXggawtyRiK/tmeuH8TvXuA5zY/\n0hp2kqCSuLg1RJPiREc2qceL81b83weEkSCYavuY+gM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 609,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c6c7513e5f48c07ffffffffffffff9d21fd1b31544cb13ca86a75b25e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0423a692efebef2ac0f696d0f952dbd435a4402aad2edc3262c19e0c2f705278859aec7c13b3ff66d04ea226c7de2edd6e69099b9d1a0e4bc9",
|
|
"wx" : "23a692efebef2ac0f696d0f952dbd435a4402aad2edc3262c19e0c2f",
|
|
"wy" : "705278859aec7c13b3ff66d04ea226c7de2edd6e69099b9d1a0e4bc9"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000423a692efebef2ac0f696d0f952dbd435a4402aad2edc3262c19e0c2f705278859aec7c13b3ff66d04ea226c7de2edd6e69099b9d1a0e4bc9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEI6aS7+vvKsD2ltD5UtvUNaRAKq0u3DJi\nwZ4ML3BSeIWa7HwTs/9m0E6iJsfeLt1uaQmbnRoOS8k=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 610,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00d8ea27cbe9180fffffffffffffff3a43fa3662a899627950d4eb64bc",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b2fcf3f649cdd7f8012ac1d2243f07ca0ff8fe75c9f59bbe7f3407e69c69a46fdf16174bb0e59ce3d7129cfafd74e6dacdb3dbbe6d772943",
|
|
"wx" : "00b2fcf3f649cdd7f8012ac1d2243f07ca0ff8fe75c9f59bbe7f3407e6",
|
|
"wy" : "009c69a46fdf16174bb0e59ce3d7129cfafd74e6dacdb3dbbe6d772943"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b2fcf3f649cdd7f8012ac1d2243f07ca0ff8fe75c9f59bbe7f3407e69c69a46fdf16174bb0e59ce3d7129cfafd74e6dacdb3dbbe6d772943",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEsvzz9knN1/gBKsHSJD8Hyg/4/nXJ9Zu+\nfzQH5pxppG/fFhdLsOWc49cSnPr9dObazbPbvm13KUM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 611,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c3e5f48c07fffffffffffffffffffc724968c0ecf9ed783744a7337b3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0421b68c2b25120292e7f0616d68260fc0f3fe9f1dff0fcb88c9f0138607ada4f6669a1c52e684113ceafd4f49cc119faa8ccbb3834e9853b9",
|
|
"wx" : "21b68c2b25120292e7f0616d68260fc0f3fe9f1dff0fcb88c9f01386",
|
|
"wy" : "07ada4f6669a1c52e684113ceafd4f49cc119faa8ccbb3834e9853b9"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000421b68c2b25120292e7f0616d68260fc0f3fe9f1dff0fcb88c9f0138607ada4f6669a1c52e684113ceafd4f49cc119faa8ccbb3834e9853b9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEIbaMKyUSApLn8GFtaCYPwPP+nx3/D8uI\nyfAThgetpPZmmhxS5oQRPOr9T0nMEZ+qjMuzg06YU7k=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 612,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d00bfffffffffffffffffffffffffff3d87bb44c833bb384d0f224ccdde",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a4d3669d9b797a7e2b07ea8e89ac2f0bc1aa914f788e93babcc4f15d46b26c00dad8dc5162bdeaaec2a38a649303bbdafc02b5a8ae8abf1d",
|
|
"wx" : "00a4d3669d9b797a7e2b07ea8e89ac2f0bc1aa914f788e93babcc4f15d",
|
|
"wy" : "46b26c00dad8dc5162bdeaaec2a38a649303bbdafc02b5a8ae8abf1d"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004a4d3669d9b797a7e2b07ea8e89ac2f0bc1aa914f788e93babcc4f15d46b26c00dad8dc5162bdeaaec2a38a649303bbdafc02b5a8ae8abf1d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEpNNmnZt5en4rB+qOiawvC8GqkU94jpO6\nvMTxXUaybADa2NxRYr3qrsKjimSTA7va/AK1qK6Kvx0=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 613,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c7fffffffffffffffffffffffffff646c95d0a029629370d8e83d717f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0435d31d0546d98621e629ef809364e61f069d5209eb07df02aca0aed9ade758d0998296d3adadf1b2076081a787a52e4f2d647cb3f06ff9ae",
|
|
"wx" : "35d31d0546d98621e629ef809364e61f069d5209eb07df02aca0aed9",
|
|
"wy" : "00ade758d0998296d3adadf1b2076081a787a52e4f2d647cb3f06ff9ae"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000435d31d0546d98621e629ef809364e61f069d5209eb07df02aca0aed9ade758d0998296d3adadf1b2076081a787a52e4f2d647cb3f06ff9ae",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAENdMdBUbZhiHmKe+Ak2TmHwadUgnrB98C\nrKCu2a3nWNCZgpbTra3xsgdggaeHpS5PLWR8s/Bv+a4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 614,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021c3fffffffffffffffffffffffffff8b51705c781f09ee94a2ae2e1520",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b243cde43260a599600ce327389369ee212d61be8603a6aa9d0cc0ebb066a5cd3e877b75f45ef89699673c5d3a7be7385de993583ce9b20d",
|
|
"wx" : "00b243cde43260a599600ce327389369ee212d61be8603a6aa9d0cc0eb",
|
|
"wy" : "00b066a5cd3e877b75f45ef89699673c5d3a7be7385de993583ce9b20d"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b243cde43260a599600ce327389369ee212d61be8603a6aa9d0cc0ebb066a5cd3e877b75f45ef89699673c5d3a7be7385de993583ce9b20d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEskPN5DJgpZlgDOMnOJNp7iEtYb6GA6aq\nnQzA67Bmpc0+h3t19F74lplnPF06e+c4XemTWDzpsg0=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 615,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c7ffffffffffffffffffffffffffffffffffffffffffffffffffffffd021d0096dafb0d7540b93b5790327082635cd8895e1e799d5d19f92b594056",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04c0e1d6eec40932374bdfd0833092396f898b48a558d672fcea97db77bf48b8d63e9618de21fa2bd81fda7552340a8d00fea6f33f47857f09",
|
|
"wx" : "00c0e1d6eec40932374bdfd0833092396f898b48a558d672fcea97db77",
|
|
"wy" : "00bf48b8d63e9618de21fa2bd81fda7552340a8d00fea6f33f47857f09"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c0e1d6eec40932374bdfd0833092396f898b48a558d672fcea97db77bf48b8d63e9618de21fa2bd81fda7552340a8d00fea6f33f47857f09",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEwOHW7sQJMjdL39CDMJI5b4mLSKVY1nL8\n6pfbd79IuNY+lhjeIfor2B/adVI0Co0A/qbzP0eFfwk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 616,
|
|
"comment" : "point duplication during verification",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021d00c44503dae85dd5210780f02928b3d927171c578f8603d16b240663c7021c23c5bbfb025d0d11bc97dd040416fcc32324cc8f5936ed88da2dc253",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04c0e1d6eec40932374bdfd0833092396f898b48a558d672fcea97db7740b74729c169e721de05d427e0258aaccbf572ff01590cc0b87a80f8",
|
|
"wx" : "00c0e1d6eec40932374bdfd0833092396f898b48a558d672fcea97db77",
|
|
"wy" : "40b74729c169e721de05d427e0258aaccbf572ff01590cc0b87a80f8"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004c0e1d6eec40932374bdfd0833092396f898b48a558d672fcea97db7740b74729c169e721de05d427e0258aaccbf572ff01590cc0b87a80f8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEwOHW7sQJMjdL39CDMJI5b4mLSKVY1nL8\n6pfbd0C3RynBaech3gXUJ+AliqzL9XL/AVkMwLh6gPg=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 617,
|
|
"comment" : "duplication bug",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021d00c44503dae85dd5210780f02928b3d927171c578f8603d16b240663c7021c23c5bbfb025d0d11bc97dd040416fcc32324cc8f5936ed88da2dc253",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0431406520359b1fb714b9042a821a958e423639ef7c4d463b33240a8d9a813d3906c33b07451694b58ae6862898b4ecdad3ea3e0954a27ab1",
|
|
"wx" : "31406520359b1fb714b9042a821a958e423639ef7c4d463b33240a8d",
|
|
"wy" : "009a813d3906c33b07451694b58ae6862898b4ecdad3ea3e0954a27ab1"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000431406520359b1fb714b9042a821a958e423639ef7c4d463b33240a8d9a813d3906c33b07451694b58ae6862898b4ecdad3ea3e0954a27ab1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEMUBlIDWbH7cUuQQqghqVjkI2Oe98TUY7\nMyQKjZqBPTkGwzsHRRaUtYrmhiiYtOza0+o+CVSierE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 618,
|
|
"comment" : "comparison with point at infinity ",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14021c33333333333333333333333333330486f9be9672d0c5d50ddf45a20c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0453883538d86609217a4d9c27992e2bd704a4bb12fb91253cd4f496fa00b32f3a2d153a52bb577650cdf1b73a340535c7e73deb599aa95088",
|
|
"wx" : "53883538d86609217a4d9c27992e2bd704a4bb12fb91253cd4f496fa",
|
|
"wy" : "00b32f3a2d153a52bb577650cdf1b73a340535c7e73deb599aa95088"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000453883538d86609217a4d9c27992e2bd704a4bb12fb91253cd4f496fa00b32f3a2d153a52bb577650cdf1b73a340535c7e73deb599aa95088",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEU4g1ONhmCSF6TZwnmS4r1wSkuxL7kSU8\n1PSW+gCzLzotFTpSu1d2UM3xtzo0BTXH5z3rWZqpUIg=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 619,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045568139000f8cf6496428e524f105cb0447ee417ab0a1d842c831e73ed0465c1c6e623c3acc6a3349bb41ad41b741cce460d6e72d008c47d",
|
|
"wx" : "5568139000f8cf6496428e524f105cb0447ee417ab0a1d842c831e73",
|
|
"wy" : "00ed0465c1c6e623c3acc6a3349bb41ad41b741cce460d6e72d008c47d"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00045568139000f8cf6496428e524f105cb0447ee417ab0a1d842c831e73ed0465c1c6e623c3acc6a3349bb41ad41b741cce460d6e72d008c47d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEVWgTkAD4z2SWQo5STxBcsER+5BerCh2E\nLIMec+0EZcHG5iPDrMajNJu0GtQbdBzORg1uctAIxH0=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 620,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021d00db6db6db6db6db6db6db6db6db6ceed4c09e84c77ebd9116e17391eb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0468820408a5dd10cc423d60efbb5b6d7aab326dc95e40030f118ad59bb2a92f649fc395904ea83c1c77f1ee9725a2d3e20ee2bed12e54b3e6",
|
|
"wx" : "68820408a5dd10cc423d60efbb5b6d7aab326dc95e40030f118ad59b",
|
|
"wy" : "00b2a92f649fc395904ea83c1c77f1ee9725a2d3e20ee2bed12e54b3e6"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000468820408a5dd10cc423d60efbb5b6d7aab326dc95e40030f118ad59bb2a92f649fc395904ea83c1c77f1ee9725a2d3e20ee2bed12e54b3e6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEaIIECKXdEMxCPWDvu1tteqsybcleQAMP\nEYrVm7KpL2Sfw5WQTqg8HHfx7pclotPiDuK+0S5Us+Y=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 621,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021c33333333333333333333333333330486f9be9672d0c5d50ddf45a20c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0464d6344a03e8858f482883c9cf653364c1ca15a9b4638c3d4854eb5342070226b4ea55b227e540dfb6acd3b56fd829d34be310a5f0b57425",
|
|
"wx" : "64d6344a03e8858f482883c9cf653364c1ca15a9b4638c3d4854eb53",
|
|
"wy" : "42070226b4ea55b227e540dfb6acd3b56fd829d34be310a5f0b57425"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000464d6344a03e8858f482883c9cf653364c1ca15a9b4638c3d4854eb5342070226b4ea55b227e540dfb6acd3b56fd829d34be310a5f0b57425",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEZNY0SgPohY9IKIPJz2UzZMHKFam0Y4w9\nSFTrU0IHAia06lWyJ+VA37as07Vv2CnTS+MQpfC1dCU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 622,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021d00cccccccccccccccccccccccccccc121be6fa59cb431754377d168831",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0493a2063dc206c8c277e67920b2102cfa5b47e862ed70f864ee6b8cb6c163388e63647115e37092cea043c45e09f8fec6ecdc99b6fbc76ce4",
|
|
"wx" : "0093a2063dc206c8c277e67920b2102cfa5b47e862ed70f864ee6b8cb6",
|
|
"wy" : "00c163388e63647115e37092cea043c45e09f8fec6ecdc99b6fbc76ce4"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000493a2063dc206c8c277e67920b2102cfa5b47e862ed70f864ee6b8cb6c163388e63647115e37092cea043c45e09f8fec6ecdc99b6fbc76ce4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEk6IGPcIGyMJ35nkgshAs+ltH6GLtcPhk\n7muMtsFjOI5jZHEV43CSzqBDxF4J+P7G7NyZtvvHbOQ=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 623,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021c249249249249249249249249249227ce201a6b76951f982e7ae89852",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ad2a196e6aa1b0334fc3cbd7533c237f96de557cecbcb963001b7315c06060bea2aadd9fc70a98ad1e10bfee5c34b29a6acfa69e708d1c7c",
|
|
"wx" : "00ad2a196e6aa1b0334fc3cbd7533c237f96de557cecbcb963001b7315",
|
|
"wy" : "00c06060bea2aadd9fc70a98ad1e10bfee5c34b29a6acfa69e708d1c7c"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004ad2a196e6aa1b0334fc3cbd7533c237f96de557cecbcb963001b7315c06060bea2aadd9fc70a98ad1e10bfee5c34b29a6acfa69e708d1c7c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAErSoZbmqhsDNPw8vXUzwjf5beVXzsvLlj\nABtzFcBgYL6iqt2fxwqYrR4Qv+5cNLKaas+mnnCNHHw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 624,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6021c0eb10e5ab95facded4061029d63a46f46f12947411f2ea561a592057",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04019cb0c37dbd376a14e9e9438767307e8f6cf2e79689b582882f347d02b11468cb1a7782569e48b7f72e482f5fc0da729388e4b479dc76b5",
|
|
"wx" : "019cb0c37dbd376a14e9e9438767307e8f6cf2e79689b582882f347d",
|
|
"wy" : "02b11468cb1a7782569e48b7f72e482f5fc0da729388e4b479dc76b5"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004019cb0c37dbd376a14e9e9438767307e8f6cf2e79689b582882f347d02b11468cb1a7782569e48b7f72e482f5fc0da729388e4b479dc76b5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEAZyww329N2oU6elDh2cwfo9s8ueWibWC\niC80fQKxFGjLGneCVp5It/cuSC9fwNpyk4jktHncdrU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 625,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021d00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21021c5555555555555555555555555555078ba03da56a069f0dc1c9740e14",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04fbd1d4eff21c752f648ac2c68e3aa9bfe42821c2ca44a57380ed60eea247d953d459b04915783b69fb4316a7bd7f185a88e6b5013cf888fa",
|
|
"wx" : "00fbd1d4eff21c752f648ac2c68e3aa9bfe42821c2ca44a57380ed60ee",
|
|
"wy" : "00a247d953d459b04915783b69fb4316a7bd7f185a88e6b5013cf888fa"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004fbd1d4eff21c752f648ac2c68e3aa9bfe42821c2ca44a57380ed60eea247d953d459b04915783b69fb4316a7bd7f185a88e6b5013cf888fa",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE+9HU7/IcdS9kisLGjjqpv+QoIcLKRKVz\ngO1g7qJH2VPUWbBJFXg7aftDFqe9fxhaiOa1ATz4iPo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 626,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303e021d00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21021d00db6db6db6db6db6db6db6db6db6ceed4c09e84c77ebd9116e17391eb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040a30164667b9f3dd854589fe6231000e2877eb998c4b67a2d6de8f3dbf1b247fc0aaad5debd1c67b9a2bee26b31cdc4f69f3bc71cf459c2b",
|
|
"wx" : "0a30164667b9f3dd854589fe6231000e2877eb998c4b67a2d6de8f3d",
|
|
"wy" : "00bf1b247fc0aaad5debd1c67b9a2bee26b31cdc4f69f3bc71cf459c2b"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00040a30164667b9f3dd854589fe6231000e2877eb998c4b67a2d6de8f3dbf1b247fc0aaad5debd1c67b9a2bee26b31cdc4f69f3bc71cf459c2b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAECjAWRme5892FRYn+YjEADih365mMS2ei\n1t6PPb8bJH/Aqq1d69HGe5or7iazHNxPafO8cc9FnCs=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 627,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021d00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21021c33333333333333333333333333330486f9be9672d0c5d50ddf45a20c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045126ffacb4950168a420dd479ce1b26586e1a313c04546fbd9c60fe94e074ab326efcefad191264175a358909fea1fdd8cc80b209ba7321b",
|
|
"wx" : "5126ffacb4950168a420dd479ce1b26586e1a313c04546fbd9c60fe9",
|
|
"wy" : "4e074ab326efcefad191264175a358909fea1fdd8cc80b209ba7321b"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00045126ffacb4950168a420dd479ce1b26586e1a313c04546fbd9c60fe94e074ab326efcefad191264175a358909fea1fdd8cc80b209ba7321b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEUSb/rLSVAWikIN1HnOGyZYbhoxPARUb7\n2cYP6U4HSrMm78760ZEmQXWjWJCf6h/djMgLIJunMhs=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 628,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303e021d00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21021d00cccccccccccccccccccccccccccc121be6fa59cb431754377d168831",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0491b25dd9a1259a742e5d8e909ac09983685c82a3e4cdb91858e6ce0fbb78599ecac5116724e9cb0b7aaeb5ad45b098d8c59f2567dd1b1298",
|
|
"wx" : "0091b25dd9a1259a742e5d8e909ac09983685c82a3e4cdb91858e6ce0f",
|
|
"wy" : "00bb78599ecac5116724e9cb0b7aaeb5ad45b098d8c59f2567dd1b1298"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000491b25dd9a1259a742e5d8e909ac09983685c82a3e4cdb91858e6ce0fbb78599ecac5116724e9cb0b7aaeb5ad45b098d8c59f2567dd1b1298",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEkbJd2aElmnQuXY6QmsCZg2hcgqPkzbkY\nWObOD7t4WZ7KxRFnJOnLC3quta1FsJjYxZ8lZ90bEpg=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 629,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021d00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21021c249249249249249249249249249227ce201a6b76951f982e7ae89852",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045bc34a3c52a4fbd90eb90aaea41171ee037e4b2811ba168b01b13d71852a17c2243d517a8c38cc54e39e4f7983c5033d4ecac265a44b773c",
|
|
"wx" : "5bc34a3c52a4fbd90eb90aaea41171ee037e4b2811ba168b01b13d71",
|
|
"wy" : "00852a17c2243d517a8c38cc54e39e4f7983c5033d4ecac265a44b773c"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00045bc34a3c52a4fbd90eb90aaea41171ee037e4b2811ba168b01b13d71852a17c2243d517a8c38cc54e39e4f7983c5033d4ecac265a44b773c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEW8NKPFKk+9kOuQqupBFx7gN+SygRuhaL\nAbE9cYUqF8IkPVF6jDjMVOOeT3mDxQM9TsrCZaRLdzw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 630,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021d00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21021c0eb10e5ab95facded4061029d63a46f46f12947411f2ea561a592057",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34",
|
|
"wx" : "00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21",
|
|
"wy" : "00bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEtw4MvWu0v38yE5C5SgPB01bCESI0MoDW\nEVwdIb03Y4i19yP7TCLf5s1DdaBaB0dkRNWBmYUAfjQ=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 631,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c0b041f884d648cc345e4600078eb790708ccad576d4abe3c943aa328021c249249249249249249249249249227ce201a6b76951f982e7ae89851",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 632,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021d00f4fbe077b29b733cba1b9fff87139d9bd7ec42e6a6926b08c8218715021c249249249249249249249249249227ce201a6b76951f982e7ae89851",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d2142c89c774a08dc04b3dd201932bc8a5ea5f8b89bbb2a7e667aff81cd",
|
|
"wx" : "00b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21",
|
|
"wy" : "42c89c774a08dc04b3dd201932bc8a5ea5f8b89bbb2a7e667aff81cd"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d2142c89c774a08dc04b3dd201932bc8a5ea5f8b89bbb2a7e667aff81cd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEtw4MvWu0v38yE5C5SgPB01bCESI0MoDW\nEVwdIULInHdKCNwEs90gGTK8il6l+Libuyp+Znr/gc0=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 633,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "4d7367",
|
|
"sig" : "303c021c0b041f884d648cc345e4600078eb790708ccad576d4abe3c943aa328021c249249249249249249249249249227ce201a6b76951f982e7ae89851",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 634,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "4d7367",
|
|
"sig" : "303d021d00f4fbe077b29b733cba1b9fff87139d9bd7ec42e6a6926b08c8218715021c249249249249249249249249249227ce201a6b76951f982e7ae89851",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04d705d16f80987e2d9b1a6957d29ce22febf7d10fa515153182415c8361baaca4b1fc105ee5ce80d514ec1238beae2037a6f83625593620d460819e8682160926",
|
|
"wx" : "00d705d16f80987e2d9b1a6957d29ce22febf7d10fa515153182415c8361baaca4",
|
|
"wy" : "00b1fc105ee5ce80d514ec1238beae2037a6f83625593620d460819e8682160926"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d705d16f80987e2d9b1a6957d29ce22febf7d10fa515153182415c8361baaca4b1fc105ee5ce80d514ec1238beae2037a6f83625593620d460819e8682160926",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1wXRb4CYfi2bGmlX0pziL+v30Q+l\nFRUxgkFcg2G6rKSx/BBe5c6A1RTsEji+riA3pvg2JVk2INRggZ6GghYJJg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 635,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"msg" : "54657374",
|
|
"sig" : "303502104319055358e8617b0c46353d039cdaab022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 636,
|
|
"comment" : "r too large",
|
|
"msg" : "54657374",
|
|
"sig" : "3046022100ffffffff00000001000000000000000000000000fffffffffffffffffffffffc022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043cd8d2f81d6953b0844c09d7b560d527cd2ef67056893eadafa52c8501387d59ee41fdb4d10402ce7a0c5e3b747adfa3a490b62a6b7719068903485c0bb6dc2d",
|
|
"wx" : "3cd8d2f81d6953b0844c09d7b560d527cd2ef67056893eadafa52c8501387d59",
|
|
"wy" : "00ee41fdb4d10402ce7a0c5e3b747adfa3a490b62a6b7719068903485c0bb6dc2d"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043cd8d2f81d6953b0844c09d7b560d527cd2ef67056893eadafa52c8501387d59ee41fdb4d10402ce7a0c5e3b747adfa3a490b62a6b7719068903485c0bb6dc2d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPNjS+B1pU7CETAnXtWDVJ80u9nBW\niT6tr6UshQE4fVnuQf200QQCznoMXjt0et+jpJC2Kmt3GQaJA0hcC7bcLQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 637,
|
|
"comment" : "r,s are large",
|
|
"msg" : "54657374",
|
|
"sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254f022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048240cd81edd91cb6936133508c3915100e81f332c4545d41189b481196851378e05b06e72d4a1bff80ea5db514aa2f93ea6dd6d9c0ae27b7837dc432f9ce89d9",
|
|
"wx" : "008240cd81edd91cb6936133508c3915100e81f332c4545d41189b481196851378",
|
|
"wy" : "00e05b06e72d4a1bff80ea5db514aa2f93ea6dd6d9c0ae27b7837dc432f9ce89d9"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048240cd81edd91cb6936133508c3915100e81f332c4545d41189b481196851378e05b06e72d4a1bff80ea5db514aa2f93ea6dd6d9c0ae27b7837dc432f9ce89d9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgkDNge3ZHLaTYTNQjDkVEA6B8zLE\nVF1BGJtIEZaFE3jgWwbnLUob/4DqXbUUqi+T6m3W2cCuJ7eDfcQy+c6J2Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 638,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100909135bdb6799286170f5ead2de4f6511453fe50914f3df2de54a36383df8dd4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b062947356748b0fc17f1704c65aa1dca6e1bfe6779756fa616d91eaad13df2c0b38c17f3d0672e7409cfc5992a99fff12b84a4f8432293b431113f1b2fb579d",
|
|
"wx" : "00b062947356748b0fc17f1704c65aa1dca6e1bfe6779756fa616d91eaad13df2c",
|
|
"wy" : "0b38c17f3d0672e7409cfc5992a99fff12b84a4f8432293b431113f1b2fb579d"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004b062947356748b0fc17f1704c65aa1dca6e1bfe6779756fa616d91eaad13df2c0b38c17f3d0672e7409cfc5992a99fff12b84a4f8432293b431113f1b2fb579d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsGKUc1Z0iw/BfxcExlqh3Kbhv+Z3\nl1b6YW2R6q0T3ywLOMF/PQZy50Cc/FmSqZ//ErhKT4QyKTtDERPxsvtXnQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 639,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022027b4577ca009376f71303fd5dd227dcef5deb773ad5f5a84360644669ca249a5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044a03ef9f92eb268cafa601072489a56380fa0dc43171d7712813b3a19a1eb5e53e213e28a608ce9a2f4a17fd830c6654018a79b3e0263d91a8ba90622df6f2f0",
|
|
"wx" : "4a03ef9f92eb268cafa601072489a56380fa0dc43171d7712813b3a19a1eb5e5",
|
|
"wy" : "3e213e28a608ce9a2f4a17fd830c6654018a79b3e0263d91a8ba90622df6f2f0"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044a03ef9f92eb268cafa601072489a56380fa0dc43171d7712813b3a19a1eb5e53e213e28a608ce9a2f4a17fd830c6654018a79b3e0263d91a8ba90622df6f2f0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAESgPvn5LrJoyvpgEHJImlY4D6DcQx\ncddxKBOzoZoeteU+IT4opgjOmi9KF/2DDGZUAYp5s+AmPZGoupBiLfby8A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 640,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020105020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04091194c1cba17f34e286b4833701606a41cef26177ada8850b601ea1f859e70127242fcec708828758403ce2fe501983a7984e6209f4d6b95db9ad77767f55eb",
|
|
"wx" : "091194c1cba17f34e286b4833701606a41cef26177ada8850b601ea1f859e701",
|
|
"wy" : "27242fcec708828758403ce2fe501983a7984e6209f4d6b95db9ad77767f55eb"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004091194c1cba17f34e286b4833701606a41cef26177ada8850b601ea1f859e70127242fcec708828758403ce2fe501983a7984e6209f4d6b95db9ad77767f55eb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECRGUwcuhfzTihrSDNwFgakHO8mF3\nraiFC2AeofhZ5wEnJC/OxwiCh1hAPOL+UBmDp5hOYgn01rldua13dn9V6w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 641,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020105020103",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04103c6ecceff59e71ea8f56fee3a4b2b148e81c2bdbdd39c195812c96dcfb41a72303a193dc591be150b883d770ec51ebb4ebce8b09042c2ecb16c448d8e57bf5",
|
|
"wx" : "103c6ecceff59e71ea8f56fee3a4b2b148e81c2bdbdd39c195812c96dcfb41a7",
|
|
"wy" : "2303a193dc591be150b883d770ec51ebb4ebce8b09042c2ecb16c448d8e57bf5"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004103c6ecceff59e71ea8f56fee3a4b2b148e81c2bdbdd39c195812c96dcfb41a72303a193dc591be150b883d770ec51ebb4ebce8b09042c2ecb16c448d8e57bf5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEEDxuzO/1nnHqj1b+46SysUjoHCvb\n3TnBlYEsltz7QacjA6GT3Fkb4VC4g9dw7FHrtOvOiwkELC7LFsRI2OV79Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 642,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020105020105",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043b66b829fe604638bcb2bfe8c22228be67390c20111bd2b451468927e87fb6eabc8e59c009361758b274ba2cad36b58fde485a3ed09dade76712fa9e9c4ac212",
|
|
"wx" : "3b66b829fe604638bcb2bfe8c22228be67390c20111bd2b451468927e87fb6ea",
|
|
"wy" : "00bc8e59c009361758b274ba2cad36b58fde485a3ed09dade76712fa9e9c4ac212"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043b66b829fe604638bcb2bfe8c22228be67390c20111bd2b451468927e87fb6eabc8e59c009361758b274ba2cad36b58fde485a3ed09dade76712fa9e9c4ac212",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEO2a4Kf5gRji8sr/owiIovmc5DCAR\nG9K0UUaJJ+h/tuq8jlnACTYXWLJ0uiytNrWP3khaPtCdrednEvqenErCEg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 643,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020105020106",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 644,
|
|
"comment" : "r is larger than n",
|
|
"msg" : "54657374",
|
|
"sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632556020106",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044ff2f6c24e4a33cd71c09fdcbc74a6233961b874b8c8e0eb94582092cbc50c3084fa9547afda5c66335f3f937d4c79afa120486b534139d59ae82d61ead26420",
|
|
"wx" : "4ff2f6c24e4a33cd71c09fdcbc74a6233961b874b8c8e0eb94582092cbc50c30",
|
|
"wy" : "0084fa9547afda5c66335f3f937d4c79afa120486b534139d59ae82d61ead26420"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044ff2f6c24e4a33cd71c09fdcbc74a6233961b874b8c8e0eb94582092cbc50c3084fa9547afda5c66335f3f937d4c79afa120486b534139d59ae82d61ead26420",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAET/L2wk5KM81xwJ/cvHSmIzlhuHS4\nyODrlFggksvFDDCE+pVHr9pcZjNfP5N9THmvoSBIa1NBOdWa6C1h6tJkIA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 645,
|
|
"comment" : "s is larger than n",
|
|
"msg" : "54657374",
|
|
"sig" : "3026020105022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc75fbd8",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0484b959080bb30859cd53c2fb973cf14d60cdaa8ee00587889b5bc657ac588175a02ce5c1e53cb196113c78b4cb8dc7d360e5ea7850b0f6650b0c45af2c3cd7ca",
|
|
"wx" : "0084b959080bb30859cd53c2fb973cf14d60cdaa8ee00587889b5bc657ac588175",
|
|
"wy" : "00a02ce5c1e53cb196113c78b4cb8dc7d360e5ea7850b0f6650b0c45af2c3cd7ca"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000484b959080bb30859cd53c2fb973cf14d60cdaa8ee00587889b5bc657ac588175a02ce5c1e53cb196113c78b4cb8dc7d360e5ea7850b0f6650b0c45af2c3cd7ca",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhLlZCAuzCFnNU8L7lzzxTWDNqo7g\nBYeIm1vGV6xYgXWgLOXB5TyxlhE8eLTLjcfTYOXqeFCw9mULDEWvLDzXyg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 646,
|
|
"comment" : "small r and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3027020201000221008f1e3c7862c58b16bb76eddbb76eddbb516af4f63f2d74d76e0d28c9bb75ea88",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04df4083bd6ecbda5a77ae578e5d835fa7f74a07ebb91e0570e1ff32a563354e9925af80b09a167d9ef647df28e2d9acd0d4bc4f2deec5723818edaf9071e311f8",
|
|
"wx" : "00df4083bd6ecbda5a77ae578e5d835fa7f74a07ebb91e0570e1ff32a563354e99",
|
|
"wy" : "25af80b09a167d9ef647df28e2d9acd0d4bc4f2deec5723818edaf9071e311f8"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004df4083bd6ecbda5a77ae578e5d835fa7f74a07ebb91e0570e1ff32a563354e9925af80b09a167d9ef647df28e2d9acd0d4bc4f2deec5723818edaf9071e311f8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE30CDvW7L2lp3rleOXYNfp/dKB+u5\nHgVw4f8ypWM1Tpklr4CwmhZ9nvZH3yji2azQ1LxPLe7FcjgY7a+QceMR+A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 647,
|
|
"comment" : "smallish r and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "302c02072d9b4d347952d6022100ef3043e7329581dbb3974497710ab11505ee1c87ff907beebadd195a0ffe6d7a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04c2569a3c9bf8c1838ca821f7ba6f000cc8679d278f3736b414a34a7c956a03770387ea85bc4f28804b4a91c9b7d65bc6434c975806795ab7d441a4e9683aeb09",
|
|
"wx" : "00c2569a3c9bf8c1838ca821f7ba6f000cc8679d278f3736b414a34a7c956a0377",
|
|
"wy" : "0387ea85bc4f28804b4a91c9b7d65bc6434c975806795ab7d441a4e9683aeb09"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004c2569a3c9bf8c1838ca821f7ba6f000cc8679d278f3736b414a34a7c956a03770387ea85bc4f28804b4a91c9b7d65bc6434c975806795ab7d441a4e9683aeb09",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwlaaPJv4wYOMqCH3um8ADMhnnSeP\nNza0FKNKfJVqA3cDh+qFvE8ogEtKkcm31lvGQ0yXWAZ5WrfUQaTpaDrrCQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 648,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3032020d1033e67e37b32b445580bf4eff0221008b748b74000000008b748b748b748b7466e769ad4a16d3dcd87129b8e91d1b4d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044a9f7da2a6c359a16540c271774a6bf1c586357c978256f44a6496d80670968ac496e73a44563f8d56fbd7bb9e4e3ae304c86f2c508eb777b03924755beb40d4",
|
|
"wx" : "4a9f7da2a6c359a16540c271774a6bf1c586357c978256f44a6496d80670968a",
|
|
"wy" : "00c496e73a44563f8d56fbd7bb9e4e3ae304c86f2c508eb777b03924755beb40d4"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044a9f7da2a6c359a16540c271774a6bf1c586357c978256f44a6496d80670968ac496e73a44563f8d56fbd7bb9e4e3ae304c86f2c508eb777b03924755beb40d4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAESp99oqbDWaFlQMJxd0pr8cWGNXyX\nglb0SmSW2AZwlorEluc6RFY/jVb717ueTjrjBMhvLFCOt3ewOSR1W+tA1A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 649,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "302702020100022100ef9f6ba4d97c09d03178fa20b4aaad83be3cf9cb824a879fec3270fc4b81ef5b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04874146432b3cd2c9e26204c0a34136996067d466dde4917a8ff23a8e95ca106b709b3d50976ef8b385a813bc35f3a20710bdc6edd465e6f43ac4866703a6608c",
|
|
"wx" : "00874146432b3cd2c9e26204c0a34136996067d466dde4917a8ff23a8e95ca106b",
|
|
"wy" : "709b3d50976ef8b385a813bc35f3a20710bdc6edd465e6f43ac4866703a6608c"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004874146432b3cd2c9e26204c0a34136996067d466dde4917a8ff23a8e95ca106b709b3d50976ef8b385a813bc35f3a20710bdc6edd465e6f43ac4866703a6608c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEh0FGQys80sniYgTAo0E2mWBn1Gbd\n5JF6j/I6jpXKEGtwmz1Ql274s4WoE7w186IHEL3G7dRl5vQ6xIZnA6ZgjA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 650,
|
|
"comment" : "100-bit r and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3032020d062522bbd3ecbe7c39e93e7c25022100ef9f6ba4d97c09d03178fa20b4aaad83be3cf9cb824a879fec3270fc4b81ef5b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047a736d8e326a9ca62bbe25a34ea4e3633b499a96afa7aaa3fcf3fd88f8e07edeb3e45879d8622b93e818443a686e869eeda7bf9ae46aa3eafcc48a5934864627",
|
|
"wx" : "7a736d8e326a9ca62bbe25a34ea4e3633b499a96afa7aaa3fcf3fd88f8e07ede",
|
|
"wy" : "00b3e45879d8622b93e818443a686e869eeda7bf9ae46aa3eafcc48a5934864627"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200047a736d8e326a9ca62bbe25a34ea4e3633b499a96afa7aaa3fcf3fd88f8e07edeb3e45879d8622b93e818443a686e869eeda7bf9ae46aa3eafcc48a5934864627",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEenNtjjJqnKYrviWjTqTjYztJmpav\np6qj/PP9iPjgft6z5Fh52GIrk+gYRDpoboae7ae/muRqo+r8xIpZNIZGJw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 651,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"msg" : "54657374",
|
|
"sig" : "3045022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6324d50220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04e84d9b232e971a43382630f99725e423ec1ecb41e55172e9c69748a03f0d5988618b15b427ad83363bd041ff75fac98ef2ee923714e7d1dfe31753793c7588d4",
|
|
"wx" : "00e84d9b232e971a43382630f99725e423ec1ecb41e55172e9c69748a03f0d5988",
|
|
"wy" : "618b15b427ad83363bd041ff75fac98ef2ee923714e7d1dfe31753793c7588d4"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e84d9b232e971a43382630f99725e423ec1ecb41e55172e9c69748a03f0d5988618b15b427ad83363bd041ff75fac98ef2ee923714e7d1dfe31753793c7588d4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE6E2bIy6XGkM4JjD5lyXkI+wey0Hl\nUXLpxpdIoD8NWYhhixW0J62DNjvQQf91+smO8u6SNxTn0d/jF1N5PHWI1A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 652,
|
|
"comment" : "s == 1",
|
|
"msg" : "54657374",
|
|
"sig" : "30250220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 653,
|
|
"comment" : "s == 0",
|
|
"msg" : "54657374",
|
|
"sig" : "30250220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040203736fcb198b15d8d7a0c80f66dddd15259240aa78d08aae67c467de04503434383438d5041ea9a387ee8e4d4e84b4471b160c6bcf2568b072f8f20e87a996",
|
|
"wx" : "0203736fcb198b15d8d7a0c80f66dddd15259240aa78d08aae67c467de045034",
|
|
"wy" : "34383438d5041ea9a387ee8e4d4e84b4471b160c6bcf2568b072f8f20e87a996"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040203736fcb198b15d8d7a0c80f66dddd15259240aa78d08aae67c467de04503434383438d5041ea9a387ee8e4d4e84b4471b160c6bcf2568b072f8f20e87a996",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAgNzb8sZixXY16DID2bd3RUlkkCq\neNCKrmfEZ94EUDQ0ODQ41QQeqaOH7o5NToS0RxsWDGvPJWiwcvjyDoeplg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 654,
|
|
"comment" : "point at infinity during verify",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a80220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0478d844dc7f16b73b1f2a39730da5d8cd99fe2e70a18482384e37dcd2bfea02e1ed6572e01eb7a8d113d02c666c45ef22d3b9a6a6dea99aa43a8183c26e75d336",
|
|
"wx" : "78d844dc7f16b73b1f2a39730da5d8cd99fe2e70a18482384e37dcd2bfea02e1",
|
|
"wy" : "00ed6572e01eb7a8d113d02c666c45ef22d3b9a6a6dea99aa43a8183c26e75d336"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000478d844dc7f16b73b1f2a39730da5d8cd99fe2e70a18482384e37dcd2bfea02e1ed6572e01eb7a8d113d02c666c45ef22d3b9a6a6dea99aa43a8183c26e75d336",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEeNhE3H8WtzsfKjlzDaXYzZn+LnCh\nhII4Tjfc0r/qAuHtZXLgHreo0RPQLGZsRe8i07mmpt6pmqQ6gYPCbnXTNg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 655,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a902207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04dec6c8257dde94110eacc8c09d2e5789cc5beb81a958b02b4d62da9599a7401466fae1614174be63970b83f6524421067b06dd6f4e9c56baca4e344fdd690f1d",
|
|
"wx" : "00dec6c8257dde94110eacc8c09d2e5789cc5beb81a958b02b4d62da9599a74014",
|
|
"wy" : "66fae1614174be63970b83f6524421067b06dd6f4e9c56baca4e344fdd690f1d"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004dec6c8257dde94110eacc8c09d2e5789cc5beb81a958b02b4d62da9599a7401466fae1614174be63970b83f6524421067b06dd6f4e9c56baca4e344fdd690f1d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE3sbIJX3elBEOrMjAnS5Xicxb64Gp\nWLArTWLalZmnQBRm+uFhQXS+Y5cLg/ZSRCEGewbdb06cVrrKTjRP3WkPHQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 656,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a902207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a17f5b75a35ed64623ca5cbf1f91951292db0c23f0c2ea24c3d0cad0988cabc083a7a618625c228940730b4fa3ee64faecbb2fc20fdde7c58b3a3f6300424dc6",
|
|
"wx" : "00a17f5b75a35ed64623ca5cbf1f91951292db0c23f0c2ea24c3d0cad0988cabc0",
|
|
"wy" : "0083a7a618625c228940730b4fa3ee64faecbb2fc20fdde7c58b3a3f6300424dc6"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a17f5b75a35ed64623ca5cbf1f91951292db0c23f0c2ea24c3d0cad0988cabc083a7a618625c228940730b4fa3ee64faecbb2fc20fdde7c58b3a3f6300424dc6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoX9bdaNe1kYjyly/H5GVEpLbDCPw\nwuokw9DK0JiMq8CDp6YYYlwiiUBzC0+j7mT67Lsvwg/d58WLOj9jAEJNxg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 657,
|
|
"comment" : "u1 == 1",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0404ba0cba291a37db13f33bf90dab628c04ec8393a0200419e9eaa1ebcc9fb5c31f3a0a0e6823a49b625ad57b12a32d4047970fc3428f0f0049ecf4265dc12f62",
|
|
"wx" : "04ba0cba291a37db13f33bf90dab628c04ec8393a0200419e9eaa1ebcc9fb5c3",
|
|
"wy" : "1f3a0a0e6823a49b625ad57b12a32d4047970fc3428f0f0049ecf4265dc12f62"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000404ba0cba291a37db13f33bf90dab628c04ec8393a0200419e9eaa1ebcc9fb5c31f3a0a0e6823a49b625ad57b12a32d4047970fc3428f0f0049ecf4265dc12f62",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEBLoMuikaN9sT8zv5DatijATsg5Og\nIAQZ6eqh68yftcMfOgoOaCOkm2Ja1XsSoy1AR5cPw0KPDwBJ7PQmXcEvYg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 658,
|
|
"comment" : "u1 == n - 1",
|
|
"msg" : "54657374",
|
|
"sig" : "30450220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022100acd155416a8b77f34089464733ff7cd39c400e9c69af7beb9eac5054ed2ec72c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04692b6c828e0feed63d8aeaa2b7322f9ccbe8723a1ed39f229f204a434b8900efa1f6f6abcb38ea3b8fde38b98c7c271f274af56a8c5628dc3329069ae4dd5716",
|
|
"wx" : "692b6c828e0feed63d8aeaa2b7322f9ccbe8723a1ed39f229f204a434b8900ef",
|
|
"wy" : "00a1f6f6abcb38ea3b8fde38b98c7c271f274af56a8c5628dc3329069ae4dd5716"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004692b6c828e0feed63d8aeaa2b7322f9ccbe8723a1ed39f229f204a434b8900efa1f6f6abcb38ea3b8fde38b98c7c271f274af56a8c5628dc3329069ae4dd5716",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaStsgo4P7tY9iuqitzIvnMvocjoe\n058inyBKQ0uJAO+h9varyzjqO4/eOLmMfCcfJ0r1aoxWKNwzKQaa5N1XFg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 659,
|
|
"comment" : "u2 == 1",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400cefd9162d13e64cb93687a9cd8f9755ebb5a3ef7632f800f84871874ccef09543ecbeaf7e8044ef721be2fb5f549e4b8480d2587404ebf7dbbef2c54bc0cb1",
|
|
"wx" : "00cefd9162d13e64cb93687a9cd8f9755ebb5a3ef7632f800f84871874ccef09",
|
|
"wy" : "543ecbeaf7e8044ef721be2fb5f549e4b8480d2587404ebf7dbbef2c54bc0cb1"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000400cefd9162d13e64cb93687a9cd8f9755ebb5a3ef7632f800f84871874ccef09543ecbeaf7e8044ef721be2fb5f549e4b8480d2587404ebf7dbbef2c54bc0cb1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAM79kWLRPmTLk2h6nNj5dV67Wj73\nYy+AD4SHGHTM7wlUPsvq9+gETvchvi+19UnkuEgNJYdATr99u+8sVLwMsQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 660,
|
|
"comment" : "u2 == n - 1",
|
|
"msg" : "54657374",
|
|
"sig" : "30450220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022100aaaaaaaa00000000aaaaaaaaaaaaaaaa7def51c91a0fbf034d26872ca84218e1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b975183b42551cf52f291d5c1921fd5e12f50c8c85a4beb9de03efa3f0f244862243018e6866df922dc313612020311ff21e242ce3fb15bc78c406b25ab43091",
|
|
"wx" : "00b975183b42551cf52f291d5c1921fd5e12f50c8c85a4beb9de03efa3f0f24486",
|
|
"wy" : "2243018e6866df922dc313612020311ff21e242ce3fb15bc78c406b25ab43091"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004b975183b42551cf52f291d5c1921fd5e12f50c8c85a4beb9de03efa3f0f244862243018e6866df922dc313612020311ff21e242ce3fb15bc78c406b25ab43091",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuXUYO0JVHPUvKR1cGSH9XhL1DIyF\npL653gPvo/DyRIYiQwGOaGbfki3DE2EgIDEf8h4kLOP7Fbx4xAayWrQwkQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 661,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220710f8e3edc7c2d5a3fd23de844002bb949d9f794f6d5405f6d97c1bb03dd2bd2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04c25f1d166f3e211cdf042a26f8abf6094d48b8d17191d74ed71714927446699965d06dd6a88abfa49e8b4c5da6bb922851969adf9604b5accfb52a114e77ccdb",
|
|
"wx" : "00c25f1d166f3e211cdf042a26f8abf6094d48b8d17191d74ed717149274466999",
|
|
"wy" : "65d06dd6a88abfa49e8b4c5da6bb922851969adf9604b5accfb52a114e77ccdb"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004c25f1d166f3e211cdf042a26f8abf6094d48b8d17191d74ed71714927446699965d06dd6a88abfa49e8b4c5da6bb922851969adf9604b5accfb52a114e77ccdb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwl8dFm8+IRzfBCom+Kv2CU1IuNFx\nkddO1xcUknRGaZll0G3WqIq/pJ6LTF2mu5IoUZaa35YEtazPtSoRTnfM2w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 662,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100edffbc270f722c243069a7e5f40335a61a58525c7b4db2e7a8e269274ffe4e1b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048fe5e88243a76e41a004236218a3c3a2d6eee398a23c3a0b008d7f0164cbc0ca98a20d1bdcf573513c7cfd9b83c63e3a82d40127c897697c86b8cb387af7f240",
|
|
"wx" : "008fe5e88243a76e41a004236218a3c3a2d6eee398a23c3a0b008d7f0164cbc0ca",
|
|
"wy" : "0098a20d1bdcf573513c7cfd9b83c63e3a82d40127c897697c86b8cb387af7f240"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048fe5e88243a76e41a004236218a3c3a2d6eee398a23c3a0b008d7f0164cbc0ca98a20d1bdcf573513c7cfd9b83c63e3a82d40127c897697c86b8cb387af7f240",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEj+XogkOnbkGgBCNiGKPDotbu45ii\nPDoLAI1/AWTLwMqYog0b3PVzUTx8/ZuDxj46gtQBJ8iXaXyGuMs4evfyQA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 663,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100a25adcae105ed7ff4f95d2344e24ee523314c3e178525d007904b68919ba4d53",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0402148256b530fbc470c7b341970b38243ecee6d5a840a37beca2efb37e8dff2cc0adbea0882482a7489ca703a399864ba987eeb6ddb738af53a83573473cb30d",
|
|
"wx" : "02148256b530fbc470c7b341970b38243ecee6d5a840a37beca2efb37e8dff2c",
|
|
"wy" : "00c0adbea0882482a7489ca703a399864ba987eeb6ddb738af53a83573473cb30d"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000402148256b530fbc470c7b341970b38243ecee6d5a840a37beca2efb37e8dff2cc0adbea0882482a7489ca703a399864ba987eeb6ddb738af53a83573473cb30d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAhSCVrUw+8Rwx7NBlws4JD7O5tWo\nQKN77KLvs36N/yzArb6giCSCp0icpwOjmYZLqYfutt23OK9TqDVzRzyzDQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 664,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02202e4348c645707dce6760d773de3f3e87346924b2f64bd3dd0297e766b5805ebb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a34db012ce6eda1e9c7375c5fcf3e54ed698e19615124273b3a621d021c76f8e777458d6f55a364c221e39e1205d5510bb4fbb7ddf08d8d8fdde13d1d6df7f14",
|
|
"wx" : "00a34db012ce6eda1e9c7375c5fcf3e54ed698e19615124273b3a621d021c76f8e",
|
|
"wy" : "777458d6f55a364c221e39e1205d5510bb4fbb7ddf08d8d8fdde13d1d6df7f14"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a34db012ce6eda1e9c7375c5fcf3e54ed698e19615124273b3a621d021c76f8e777458d6f55a364c221e39e1205d5510bb4fbb7ddf08d8d8fdde13d1d6df7f14",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEo02wEs5u2h6cc3XF/PPlTtaY4ZYV\nEkJzs6Yh0CHHb453dFjW9Vo2TCIeOeEgXVUQu0+7fd8I2Nj93hPR1t9/FA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 665,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220348c673b07dce3920d773de3f3e87408869e916dbcf797d8f9684fb67753d1dc",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b97af3fe78be15f2912b6271dd8a43badb6dd2a1b315b2ce7ae37b4e7778041d930d71ee1992d2466495c42102d08e81154c305307d1dcd52d0fa4c479b278e7",
|
|
"wx" : "00b97af3fe78be15f2912b6271dd8a43badb6dd2a1b315b2ce7ae37b4e7778041d",
|
|
"wy" : "00930d71ee1992d2466495c42102d08e81154c305307d1dcd52d0fa4c479b278e7"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004b97af3fe78be15f2912b6271dd8a43badb6dd2a1b315b2ce7ae37b4e7778041d930d71ee1992d2466495c42102d08e81154c305307d1dcd52d0fa4c479b278e7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuXrz/ni+FfKRK2Jx3YpDuttt0qGz\nFbLOeuN7Tnd4BB2TDXHuGZLSRmSVxCEC0I6BFUwwUwfR3NUtD6TEebJ45w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 666,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02206918ce760fb9c7241aee7bc7e7d0e8110d3d22db79ef2fb1f2d09f6ceea7a3b8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0481e7198a3c3f23901cedc7a1d6eff6e9bf81108e6c35cd8559139af3135dbcbb9ef1568530291a8061b90c9f4285eefcba990d4570a4e3b7b737525b5d580034",
|
|
"wx" : "0081e7198a3c3f23901cedc7a1d6eff6e9bf81108e6c35cd8559139af3135dbcbb",
|
|
"wy" : "009ef1568530291a8061b90c9f4285eefcba990d4570a4e3b7b737525b5d580034"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000481e7198a3c3f23901cedc7a1d6eff6e9bf81108e6c35cd8559139af3135dbcbb9ef1568530291a8061b90c9f4285eefcba990d4570a4e3b7b737525b5d580034",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgecZijw/I5Ac7ceh1u/26b+BEI5s\nNc2FWROa8xNdvLue8VaFMCkagGG5DJ9Che78upkNRXCk47e3N1JbXVgANA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 667,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022073b3c694391d8eadde3f3e874089464715ac20e4c126bbf6d864d648969f5b5a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ab4d792ca121d1dba39cb9de645149c2ab573e8becc6ddff3cc9960f188ddf737f90ba23664153e93262ff73355415195858d7be1315a69456386de68285a3c8",
|
|
"wx" : "00ab4d792ca121d1dba39cb9de645149c2ab573e8becc6ddff3cc9960f188ddf73",
|
|
"wy" : "7f90ba23664153e93262ff73355415195858d7be1315a69456386de68285a3c8"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ab4d792ca121d1dba39cb9de645149c2ab573e8becc6ddff3cc9960f188ddf737f90ba23664153e93262ff73355415195858d7be1315a69456386de68285a3c8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEq015LKEh0dujnLneZFFJwqtXPovs\nxt3/PMmWDxiN33N/kLojZkFT6TJi/3M1VBUZWFjXvhMVppRWOG3mgoWjyA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 668,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bb07ac7a86948c2c2989a16db1930ef1b89ce112595197656877e53c41457f28",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04518412b69af43aae084476a68d59bbde51fbfa9e5be80563f587c9c2652f88ef2d3b90d25baa6bdb7b0c55e5240a3a98fbc24afed8523edec1c70503fc10f233",
|
|
"wx" : "518412b69af43aae084476a68d59bbde51fbfa9e5be80563f587c9c2652f88ef",
|
|
"wy" : "2d3b90d25baa6bdb7b0c55e5240a3a98fbc24afed8523edec1c70503fc10f233"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004518412b69af43aae084476a68d59bbde51fbfa9e5be80563f587c9c2652f88ef2d3b90d25baa6bdb7b0c55e5240a3a98fbc24afed8523edec1c70503fc10f233",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUYQStpr0Oq4IRHamjVm73lH7+p5b\n6AVj9YfJwmUviO8tO5DSW6pr23sMVeUkCjqY+8JK/thSPt7BxwUD/BDyMw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 669,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022027e4d82cb6c061dd9337c69bf9332ed3d198662d6f2299443f62c861187db648",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a08f14a644b9a935dffea4761ebaf592d1f66fe6cd373aa7f5d370af34f8352da54b5bc4025cf335900a914c2934ec2fec7a396d0a7affcad732a5741c7aaaf5",
|
|
"wx" : "00a08f14a644b9a935dffea4761ebaf592d1f66fe6cd373aa7f5d370af34f8352d",
|
|
"wy" : "00a54b5bc4025cf335900a914c2934ec2fec7a396d0a7affcad732a5741c7aaaf5"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a08f14a644b9a935dffea4761ebaf592d1f66fe6cd373aa7f5d370af34f8352da54b5bc4025cf335900a914c2934ec2fec7a396d0a7affcad732a5741c7aaaf5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoI8UpkS5qTXf/qR2Hrr1ktH2b+bN\nNzqn9dNwrzT4NS2lS1vEAlzzNZAKkUwpNOwv7Ho5bQp6/8rXMqV0HHqq9Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 670,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100e7c5cf3aac2e88923b77850515fff6a12d13b356dfe9ec275c3dd81ae94609a4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ccf2296a6a89b62b90739d38af4ae3a20e9f45715b90044639241061e33f8f8caace0046491eeaa1c6e9a472b96d88f4af83e7ff1bb84438c7e058034412ae08",
|
|
"wx" : "00ccf2296a6a89b62b90739d38af4ae3a20e9f45715b90044639241061e33f8f8c",
|
|
"wy" : "00aace0046491eeaa1c6e9a472b96d88f4af83e7ff1bb84438c7e058034412ae08"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ccf2296a6a89b62b90739d38af4ae3a20e9f45715b90044639241061e33f8f8caace0046491eeaa1c6e9a472b96d88f4af83e7ff1bb84438c7e058034412ae08",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzPIpamqJtiuQc504r0rjog6fRXFb\nkARGOSQQYeM/j4yqzgBGSR7qocbppHK5bYj0r4Pn/xu4RDjH4FgDRBKuCA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 671,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100c77838df91c1e953e016e10bddffea2317f9fee32bacfe553cede9e57a748f68",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0494b0fc1525bcabf82b1f34895e5819a06c02b23e04002276e165f962c86e3927be7c2ab4d0b25303204fb32a1f8292902792225e16a6d2dbfb29fbc89a9c3376",
|
|
"wx" : "0094b0fc1525bcabf82b1f34895e5819a06c02b23e04002276e165f962c86e3927",
|
|
"wy" : "00be7c2ab4d0b25303204fb32a1f8292902792225e16a6d2dbfb29fbc89a9c3376"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000494b0fc1525bcabf82b1f34895e5819a06c02b23e04002276e165f962c86e3927be7c2ab4d0b25303204fb32a1f8292902792225e16a6d2dbfb29fbc89a9c3376",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAElLD8FSW8q/grHzSJXlgZoGwCsj4E\nACJ24WX5YshuOSe+fCq00LJTAyBPsyofgpKQJ5IiXham0tv7KfvImpwzdg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 672,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0221008ef071c02383d2a6c02dc217bbffd446730d0318b0425e2586220907f885f97f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045351f37e1de0c88c508527d89882d183ccdcf2efca407edb0627cadfd16de6ec44b4b57cdf960d32ebcc4c97847eed218425853b5b675eb781b766a1a1300349",
|
|
"wx" : "5351f37e1de0c88c508527d89882d183ccdcf2efca407edb0627cadfd16de6ec",
|
|
"wy" : "44b4b57cdf960d32ebcc4c97847eed218425853b5b675eb781b766a1a1300349"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200045351f37e1de0c88c508527d89882d183ccdcf2efca407edb0627cadfd16de6ec44b4b57cdf960d32ebcc4c97847eed218425853b5b675eb781b766a1a1300349",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEU1Hzfh3gyIxQhSfYmILRg8zc8u/K\nQH7bBifK39Ft5uxEtLV835YNMuvMTJeEfu0hhCWFO1tnXreBt2ahoTADSQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 673,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02205668aaa0b545bbf9a044a32399ffbe69ce20074e34d7bdf5cf56282a76976396",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04748bbafc320e6735cb64019710a269c6c2b5d147bdc831325cb2fb276ac971a69d655e9a755bc9d800ad21ee3fd4d980d93a7a49a8c5ccd37005177578f51163",
|
|
"wx" : "748bbafc320e6735cb64019710a269c6c2b5d147bdc831325cb2fb276ac971a6",
|
|
"wy" : "009d655e9a755bc9d800ad21ee3fd4d980d93a7a49a8c5ccd37005177578f51163"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004748bbafc320e6735cb64019710a269c6c2b5d147bdc831325cb2fb276ac971a69d655e9a755bc9d800ad21ee3fd4d980d93a7a49a8c5ccd37005177578f51163",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdIu6/DIOZzXLZAGXEKJpxsK10Ue9\nyDEyXLL7J2rJcaadZV6adVvJ2ACtIe4/1NmA2Tp6SajFzNNwBRd1ePURYw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 674,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100d12d6e56882f6c0027cae91a27127728f7fddf478fb4fdc2b65f40a60b0eb952",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0414b3bbd75c5e1c0c36535a934d4ab85112410b3b90fa97a31c33038964fd85cc112f7d837f8f9c36b460d636c965a5f818f2b50c5d00fb3f9705561dd6631883",
|
|
"wx" : "14b3bbd75c5e1c0c36535a934d4ab85112410b3b90fa97a31c33038964fd85cc",
|
|
"wy" : "112f7d837f8f9c36b460d636c965a5f818f2b50c5d00fb3f9705561dd6631883"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000414b3bbd75c5e1c0c36535a934d4ab85112410b3b90fa97a31c33038964fd85cc112f7d837f8f9c36b460d636c965a5f818f2b50c5d00fb3f9705561dd6631883",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEFLO711xeHAw2U1qTTUq4URJBCzuQ\n+pejHDMDiWT9hcwRL32Df4+cNrRg1jbJZaX4GPK1DF0A+z+XBVYd1mMYgw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 675,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02207fffffffaaaaaaaaffffffffffffffffe9a2538f37b28a2c513dee40fecbb71a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04d823533c04cd8edc6d6f950a8e08ade04a9bafa2f14a590356935671ae9305bf43178d1f88b6a57a96924c265f0ddb75b58312907b195acb59d7797303123775",
|
|
"wx" : "00d823533c04cd8edc6d6f950a8e08ade04a9bafa2f14a590356935671ae9305bf",
|
|
"wy" : "43178d1f88b6a57a96924c265f0ddb75b58312907b195acb59d7797303123775"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d823533c04cd8edc6d6f950a8e08ade04a9bafa2f14a590356935671ae9305bf43178d1f88b6a57a96924c265f0ddb75b58312907b195acb59d7797303123775",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2CNTPATNjtxtb5UKjgit4Eqbr6Lx\nSlkDVpNWca6TBb9DF40fiLalepaSTCZfDdt1tYMSkHsZWstZ13lzAxI3dQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 676,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100b62f26b5f2a2b26f6de86d42ad8a13da3ab3cccd0459b201de009e526adf21f2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04db2b3408b3167d91030624c6328e8ce3ec108c105575c2f3d209b92e654bab69c34318139c50b0802c6e612f0fd3189d800df7c996d5d7b7c3d6be82836fa258",
|
|
"wx" : "00db2b3408b3167d91030624c6328e8ce3ec108c105575c2f3d209b92e654bab69",
|
|
"wy" : "00c34318139c50b0802c6e612f0fd3189d800df7c996d5d7b7c3d6be82836fa258"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004db2b3408b3167d91030624c6328e8ce3ec108c105575c2f3d209b92e654bab69c34318139c50b0802c6e612f0fd3189d800df7c996d5d7b7c3d6be82836fa258",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2ys0CLMWfZEDBiTGMo6M4+wQjBBV\ndcLz0gm5LmVLq2nDQxgTnFCwgCxuYS8P0xidgA33yZbV17fD1r6Cg2+iWA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 677,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bb1d9ac949dd748cd02bbbe749bd351cd57b38bb61403d700686aa7b4c90851e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0409179ce7c59225392216453b2ac1e9d178c24837dfae26bc1dd7ab60638527425556b42e330289f3b826b2db7a86d19d45c2860a59f2be1ddcc3b691f95a9255",
|
|
"wx" : "09179ce7c59225392216453b2ac1e9d178c24837dfae26bc1dd7ab6063852742",
|
|
"wy" : "5556b42e330289f3b826b2db7a86d19d45c2860a59f2be1ddcc3b691f95a9255"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000409179ce7c59225392216453b2ac1e9d178c24837dfae26bc1dd7ab60638527425556b42e330289f3b826b2db7a86d19d45c2860a59f2be1ddcc3b691f95a9255",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECRec58WSJTkiFkU7KsHp0XjCSDff\nria8HderYGOFJ0JVVrQuMwKJ87gmstt6htGdRcKGClnyvh3cw7aR+VqSVQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 678,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022066755a00638cdaec1c732513ca0234ece52545dac11f816e818f725b4f60aaf2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401959fb8deda56e5467b7e4b214ea4c2d0c2fb29d70ff19b6b1eccebd6568d7ed9dbd77a918297fd970bff01e1343f6925167db5a14d098a211c39cc3a413398",
|
|
"wx" : "01959fb8deda56e5467b7e4b214ea4c2d0c2fb29d70ff19b6b1eccebd6568d7e",
|
|
"wy" : "00d9dbd77a918297fd970bff01e1343f6925167db5a14d098a211c39cc3a413398"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000401959fb8deda56e5467b7e4b214ea4c2d0c2fb29d70ff19b6b1eccebd6568d7ed9dbd77a918297fd970bff01e1343f6925167db5a14d098a211c39cc3a413398",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAZWfuN7aVuVGe35LIU6kwtDC+ynX\nD/Gbax7M69ZWjX7Z29d6kYKX/ZcL/wHhND9pJRZ9taFNCYohHDnMOkEzmA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 679,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022055a00c9fcdaebb6032513ca0234ecfffe98ebe492fdf02e48ca48e982beb3669",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04567f1fdc387e5350c852b4e8f8ba9d6d947e1c5dd7ccc61a5938245dd6bcab3a9960bebaf919514f9535c22eaaf0b5812857970e26662267b1f3eb1011130a11",
|
|
"wx" : "567f1fdc387e5350c852b4e8f8ba9d6d947e1c5dd7ccc61a5938245dd6bcab3a",
|
|
"wy" : "009960bebaf919514f9535c22eaaf0b5812857970e26662267b1f3eb1011130a11"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004567f1fdc387e5350c852b4e8f8ba9d6d947e1c5dd7ccc61a5938245dd6bcab3a9960bebaf919514f9535c22eaaf0b5812857970e26662267b1f3eb1011130a11",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEVn8f3Dh+U1DIUrTo+LqdbZR+HF3X\nzMYaWTgkXda8qzqZYL66+RlRT5U1wi6q8LWBKFeXDiZmImex8+sQERMKEQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 680,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100ab40193f9b5d76c064a27940469d9fffd31d7c925fbe05c919491d3057d66cd2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043499f974ff4ca6bbb2f51682fd5f51762f9dd6dd2855262660b36d46d3e4bec2f498fae2487807e220119152f0122476c64d4fa46ddce85c4546630f0d5c5e81",
|
|
"wx" : "3499f974ff4ca6bbb2f51682fd5f51762f9dd6dd2855262660b36d46d3e4bec2",
|
|
"wy" : "00f498fae2487807e220119152f0122476c64d4fa46ddce85c4546630f0d5c5e81"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043499f974ff4ca6bbb2f51682fd5f51762f9dd6dd2855262660b36d46d3e4bec2f498fae2487807e220119152f0122476c64d4fa46ddce85c4546630f0d5c5e81",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAENJn5dP9Mpruy9RaC/V9Rdi+d1t0o\nVSYmYLNtRtPkvsL0mPriSHgH4iARkVLwEiR2xk1PpG3c6FxFRmMPDVxegQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 681,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100ca0234ebb5fdcb13ca0234ecffffffffcb0dadbbc7f549f8a26b4408d0dc8600",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042c5c01662cf00c1929596257db13b26ecf30d0f3ec4b9f0351b0f27094473426e986a086060d086eee822ddd2fc744247a0154b57f7a69c51d9fdafa484e4ac7",
|
|
"wx" : "2c5c01662cf00c1929596257db13b26ecf30d0f3ec4b9f0351b0f27094473426",
|
|
"wy" : "00e986a086060d086eee822ddd2fc744247a0154b57f7a69c51d9fdafa484e4ac7"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042c5c01662cf00c1929596257db13b26ecf30d0f3ec4b9f0351b0f27094473426e986a086060d086eee822ddd2fc744247a0154b57f7a69c51d9fdafa484e4ac7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELFwBZizwDBkpWWJX2xOybs8w0PPs\nS58DUbDycJRHNCbphqCGBg0Ibu6CLd0vx0QkegFUtX96acUdn9r6SE5Kxw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 682,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bfffffff3ea3677e082b9310572620ae19933a9e65b285598711c77298815ad3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0491d4cba813a04d86dbae94c23be6f52c15774183be7ba5b2d9f3cf010b160501900b8adfea6491019a9ac080d516025a541bf4b952b0ad7be4b1874b02fd544a",
|
|
"wx" : "0091d4cba813a04d86dbae94c23be6f52c15774183be7ba5b2d9f3cf010b160501",
|
|
"wy" : "00900b8adfea6491019a9ac080d516025a541bf4b952b0ad7be4b1874b02fd544a"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000491d4cba813a04d86dbae94c23be6f52c15774183be7ba5b2d9f3cf010b160501900b8adfea6491019a9ac080d516025a541bf4b952b0ad7be4b1874b02fd544a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkdTLqBOgTYbbrpTCO+b1LBV3QYO+\ne6Wy2fPPAQsWBQGQC4rf6mSRAZqawIDVFgJaVBv0uVKwrXvksYdLAv1USg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 683,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220266666663bbbbbbbe6666666666666665b37902e023fab7c8f055d86e5cc41f4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ef7fd0a3a36386638330ecad41e1a3b302af36960831d0210c614b948e8aa124ef0d6d800e4047d6d3c1be0fdeaf11fcd8cab5ab59c730eb34116e35a8c7d098",
|
|
"wx" : "00ef7fd0a3a36386638330ecad41e1a3b302af36960831d0210c614b948e8aa124",
|
|
"wy" : "00ef0d6d800e4047d6d3c1be0fdeaf11fcd8cab5ab59c730eb34116e35a8c7d098"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ef7fd0a3a36386638330ecad41e1a3b302af36960831d0210c614b948e8aa124ef0d6d800e4047d6d3c1be0fdeaf11fcd8cab5ab59c730eb34116e35a8c7d098",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE73/Qo6NjhmODMOytQeGjswKvNpYI\nMdAhDGFLlI6KoSTvDW2ADkBH1tPBvg/erxH82Mq1q1nHMOs0EW41qMfQmA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 684,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bfffffff36db6db7a492492492492492146c573f4c6dfc8d08a443e258970b09",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a521dab13cc9152d8ca77035a607fea06c55cc3ca5dbeb868cea92eafe93df2a7bfb9b28531996635e6a5ccaa2826a406ce1111bdb9c2e0ca36500418a2f43de",
|
|
"wx" : "00a521dab13cc9152d8ca77035a607fea06c55cc3ca5dbeb868cea92eafe93df2a",
|
|
"wy" : "7bfb9b28531996635e6a5ccaa2826a406ce1111bdb9c2e0ca36500418a2f43de"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a521dab13cc9152d8ca77035a607fea06c55cc3ca5dbeb868cea92eafe93df2a7bfb9b28531996635e6a5ccaa2826a406ce1111bdb9c2e0ca36500418a2f43de",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEpSHasTzJFS2Mp3A1pgf+oGxVzDyl\n2+uGjOqS6v6T3yp7+5soUxmWY15qXMqigmpAbOERG9ucLgyjZQBBii9D3g==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 685,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bfffffff2aaaaaab7fffffffffffffffc815d0e60b3e596ecb1ad3a27cfd49c4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04474d58a4eec16e0d565f2187fe11d4e8e7a2683a12f38b4fc01d1237a81a10976e55f73bb7cdda46bdb67ef77f6fd2969df2b67920fb5945fde3a517a6ded4cd",
|
|
"wx" : "474d58a4eec16e0d565f2187fe11d4e8e7a2683a12f38b4fc01d1237a81a1097",
|
|
"wy" : "6e55f73bb7cdda46bdb67ef77f6fd2969df2b67920fb5945fde3a517a6ded4cd"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004474d58a4eec16e0d565f2187fe11d4e8e7a2683a12f38b4fc01d1237a81a10976e55f73bb7cdda46bdb67ef77f6fd2969df2b67920fb5945fde3a517a6ded4cd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAER01YpO7Bbg1WXyGH/hHU6OeiaDoS\n84tPwB0SN6gaEJduVfc7t83aRr22fvd/b9KWnfK2eSD7WUX946UXpt7UzQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 686,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02207fffffff55555555ffffffffffffffffd344a71e6f651458a27bdc81fd976e37",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04692da5cd4309d9a6e5cb525c37da8fa0879f7b57208cdabbf47d223a5b23a62140e0daa78cfdd207a7389aaed61738b17fc5fc3e6a5ed3397d2902e9125e6ab4",
|
|
"wx" : "692da5cd4309d9a6e5cb525c37da8fa0879f7b57208cdabbf47d223a5b23a621",
|
|
"wy" : "40e0daa78cfdd207a7389aaed61738b17fc5fc3e6a5ed3397d2902e9125e6ab4"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004692da5cd4309d9a6e5cb525c37da8fa0879f7b57208cdabbf47d223a5b23a62140e0daa78cfdd207a7389aaed61738b17fc5fc3e6a5ed3397d2902e9125e6ab4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaS2lzUMJ2ably1JcN9qPoIefe1cg\njNq79H0iOlsjpiFA4NqnjP3SB6c4mq7WFzixf8X8Pmpe0zl9KQLpEl5qtA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 687,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02203fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192aa",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0485689b3e0775c7718a90279f14a8082cfcd4d1f1679274f4e9b8805c570a0670167fcc5ca734552e09afa3640f4a034e15b9b7ca661ec7ff70d3f240ebe705b1",
|
|
"wx" : "0085689b3e0775c7718a90279f14a8082cfcd4d1f1679274f4e9b8805c570a0670",
|
|
"wy" : "167fcc5ca734552e09afa3640f4a034e15b9b7ca661ec7ff70d3f240ebe705b1"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000485689b3e0775c7718a90279f14a8082cfcd4d1f1679274f4e9b8805c570a0670167fcc5ca734552e09afa3640f4a034e15b9b7ca661ec7ff70d3f240ebe705b1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhWibPgd1x3GKkCefFKgILPzU0fFn\nknT06biAXFcKBnAWf8xcpzRVLgmvo2QPSgNOFbm3ymYex/9w0/JA6+cFsQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 688,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02205d8ecd64a4eeba466815ddf3a4de9a8e6abd9c5db0a01eb80343553da648428f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237e2a964fc00d377a8592b8b61aafa7a4aaa7c7b9fd2b41d6e0e17bd1ba5677edcd",
|
|
"wx" : "0158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237e",
|
|
"wy" : "2a964fc00d377a8592b8b61aafa7a4aaa7c7b9fd2b41d6e0e17bd1ba5677edcd"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237e2a964fc00d377a8592b8b61aafa7a4aaa7c7b9fd2b41d6e0e17bd1ba5677edcd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAVgTd1W5AfeXqQ1MqIh+Ajyy72Oy\nuiwNRV7a70LPI34qlk/ADTd6hZK4thqvp6Sqp8e5/StB1uDhe9G6VnftzQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 689,
|
|
"comment" : "point duplication during verification",
|
|
"msg" : "54657374",
|
|
"sig" : "304502206f2347cab7dd76858fe0555ac3bc99048c4aacafdfb6bcbe05ea6c42c4934569022100f21d907e3890916dc4fa1f4703c1e50d3f54ddf7383e44023a41de562aa18ed8",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237ed569b03ef2c8857b6d4749e550585b5558384603d4be291f1e842e45a9881232",
|
|
"wx" : "0158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237e",
|
|
"wy" : "00d569b03ef2c8857b6d4749e550585b5558384603d4be291f1e842e45a9881232"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237ed569b03ef2c8857b6d4749e550585b5558384603d4be291f1e842e45a9881232",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAVgTd1W5AfeXqQ1MqIh+Ajyy72Oy\nuiwNRV7a70LPI37VabA+8siFe21HSeVQWFtVWDhGA9S+KR8ehC5FqYgSMg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 690,
|
|
"comment" : "duplication bug",
|
|
"msg" : "54657374",
|
|
"sig" : "304502206f2347cab7dd76858fe0555ac3bc99048c4aacafdfb6bcbe05ea6c42c4934569022100f21d907e3890916dc4fa1f4703c1e50d3f54ddf7383e44023a41de562aa18ed8",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0438a084ffccc4ae2f8204be2abca9fb8ad4ab283b2aa50f13b6bb2347adabc69ca699799b77b1cc6dad271e88b899c12931986e958e1f5cf5653dddf7389365e2",
|
|
"wx" : "38a084ffccc4ae2f8204be2abca9fb8ad4ab283b2aa50f13b6bb2347adabc69c",
|
|
"wy" : "00a699799b77b1cc6dad271e88b899c12931986e958e1f5cf5653dddf7389365e2"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000438a084ffccc4ae2f8204be2abca9fb8ad4ab283b2aa50f13b6bb2347adabc69ca699799b77b1cc6dad271e88b899c12931986e958e1f5cf5653dddf7389365e2",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEOKCE/8zEri+CBL4qvKn7itSrKDsq\npQ8TtrsjR62rxpymmXmbd7HMba0nHoi4mcEpMZhulY4fXPVlPd33OJNl4g==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 691,
|
|
"comment" : "point with x-coordinate 0",
|
|
"msg" : "54657374",
|
|
"sig" : "30250201010220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047a876fbf821d96c555c35393d3b2d2e809a6d839b0b115d964da3e919ef82504733dcf41d833b0530b87a7b1a52f7d91bfa19913f7151886913b160de07cd69b",
|
|
"wx" : "7a876fbf821d96c555c35393d3b2d2e809a6d839b0b115d964da3e919ef82504",
|
|
"wy" : "733dcf41d833b0530b87a7b1a52f7d91bfa19913f7151886913b160de07cd69b"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200047a876fbf821d96c555c35393d3b2d2e809a6d839b0b115d964da3e919ef82504733dcf41d833b0530b87a7b1a52f7d91bfa19913f7151886913b160de07cd69b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEeodvv4IdlsVVw1OT07LS6Amm2Dmw\nsRXZZNo+kZ74JQRzPc9B2DOwUwuHp7GlL32Rv6GZE/cVGIaROxYN4HzWmw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 692,
|
|
"comment" : "point with x-coordinate 0",
|
|
"msg" : "54657374",
|
|
"sig" : "3045022101000000000000000000000000000000000000000000000000000000000000000002203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aa9",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04664ce273320d918d8bdb2e61201b4549b36b7cdc54e33b84adb6f2c10aac831e49e68831f18bda2973ac3d76bfbc8c5ee1cceed2dd862e2dc7c915c736cef1f4",
|
|
"wx" : "664ce273320d918d8bdb2e61201b4549b36b7cdc54e33b84adb6f2c10aac831e",
|
|
"wy" : "49e68831f18bda2973ac3d76bfbc8c5ee1cceed2dd862e2dc7c915c736cef1f4"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004664ce273320d918d8bdb2e61201b4549b36b7cdc54e33b84adb6f2c10aac831e49e68831f18bda2973ac3d76bfbc8c5ee1cceed2dd862e2dc7c915c736cef1f4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEZkziczINkY2L2y5hIBtFSbNrfNxU\n4zuErbbywQqsgx5J5ogx8YvaKXOsPXa/vIxe4czu0t2GLi3HyRXHNs7x9A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 693,
|
|
"comment" : "comparison with point at infinity ",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aa9",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04961691a5e960d07a301dbbad4d86247ec27d7089faeb3ddd1add395efff1e0fe7254622cc371866cdf990d2c5377790e37d1f1519817f09a231bd260a9e78aeb",
|
|
"wx" : "00961691a5e960d07a301dbbad4d86247ec27d7089faeb3ddd1add395efff1e0fe",
|
|
"wy" : "7254622cc371866cdf990d2c5377790e37d1f1519817f09a231bd260a9e78aeb"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004961691a5e960d07a301dbbad4d86247ec27d7089faeb3ddd1add395efff1e0fe7254622cc371866cdf990d2c5377790e37d1f1519817f09a231bd260a9e78aeb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAElhaRpelg0HowHbutTYYkfsJ9cIn6\n6z3dGt05Xv/x4P5yVGIsw3GGbN+ZDSxTd3kON9HxUZgX8JojG9JgqeeK6w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 694,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc476699780220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045d283e13ce8ca60da868e3b0fb33e6b4f1074793274e2928250e71e2aca63e9c214dc74fa25371fb4d9e506d418ed9a1bfd6d0c8bb6591d3e0f44505a84886ce",
|
|
"wx" : "5d283e13ce8ca60da868e3b0fb33e6b4f1074793274e2928250e71e2aca63e9c",
|
|
"wy" : "214dc74fa25371fb4d9e506d418ed9a1bfd6d0c8bb6591d3e0f44505a84886ce"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200045d283e13ce8ca60da868e3b0fb33e6b4f1074793274e2928250e71e2aca63e9c214dc74fa25371fb4d9e506d418ed9a1bfd6d0c8bb6591d3e0f44505a84886ce",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEXSg+E86Mpg2oaOOw+zPmtPEHR5Mn\nTikoJQ5x4qymPpwhTcdPolNx+02eUG1Bjtmhv9bQyLtlkdPg9EUFqEiGzg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 695,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022100b6db6db6249249254924924924924924625bd7a09bec4ca81bcdd9f8fd6b63cc",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040fc351da038ae0803bd1d86514ae0462f9f8216551d9315aa9d297f792eef6a341c74eed786f2d33da35360ca7aa925e753f00d6077a1e9e5fc339d634019c73",
|
|
"wx" : "0fc351da038ae0803bd1d86514ae0462f9f8216551d9315aa9d297f792eef6a3",
|
|
"wy" : "41c74eed786f2d33da35360ca7aa925e753f00d6077a1e9e5fc339d634019c73"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040fc351da038ae0803bd1d86514ae0462f9f8216551d9315aa9d297f792eef6a341c74eed786f2d33da35360ca7aa925e753f00d6077a1e9e5fc339d634019c73",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAED8NR2gOK4IA70dhlFK4EYvn4IWVR\n2TFaqdKX95Lu9qNBx07teG8tM9o1NgynqpJedT8A1gd6Hp5fwznWNAGccw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 696,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022100cccccccc00000000cccccccccccccccc971f2ef152794b9d8fc7d568c9e8eaa7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a1e34c8f16d138673fee55c080547c2bfd4de7550065f638322bba9430ce4b60662be9bb512663aa4d7df8ab3f3b4181c5d44a7bdf42436620b7d8a6b81ac936",
|
|
"wx" : "00a1e34c8f16d138673fee55c080547c2bfd4de7550065f638322bba9430ce4b60",
|
|
"wy" : "662be9bb512663aa4d7df8ab3f3b4181c5d44a7bdf42436620b7d8a6b81ac936"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a1e34c8f16d138673fee55c080547c2bfd4de7550065f638322bba9430ce4b60662be9bb512663aa4d7df8ab3f3b4181c5d44a7bdf42436620b7d8a6b81ac936",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoeNMjxbROGc/7lXAgFR8K/1N51UA\nZfY4Miu6lDDOS2BmK+m7USZjqk19+Ks/O0GBxdRKe99CQ2Ygt9imuBrJNg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 697,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc4766997802203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aaa",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047e1a8a8338d7fd8cf41d322a302d2078a87a23c7186150ed7cda6e52817c1bdfd0a9135a89d21ce821e29014b2898349254d748272b2d4eb8d59ee34c615377f",
|
|
"wx" : "7e1a8a8338d7fd8cf41d322a302d2078a87a23c7186150ed7cda6e52817c1bdf",
|
|
"wy" : "00d0a9135a89d21ce821e29014b2898349254d748272b2d4eb8d59ee34c615377f"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200047e1a8a8338d7fd8cf41d322a302d2078a87a23c7186150ed7cda6e52817c1bdfd0a9135a89d21ce821e29014b2898349254d748272b2d4eb8d59ee34c615377f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEfhqKgzjX/Yz0HTIqMC0geKh6I8cY\nYVDtfNpuUoF8G9/QqRNaidIc6CHikBSyiYNJJU10gnKy1OuNWe40xhU3fw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 698,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022049249248db6db6dbb6db6db6db6db6db5a8b230d0b2b51dcd7ebf0c9fef7c185",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045c19fe227a61abc65c61ee7a018cc9571b2c6f663ea33583f76a686f64be078b7b4a0d734940f613d52bc48673b457c2cf78492490a5cc5606c0541d17b24ddb",
|
|
"wx" : "5c19fe227a61abc65c61ee7a018cc9571b2c6f663ea33583f76a686f64be078b",
|
|
"wy" : "7b4a0d734940f613d52bc48673b457c2cf78492490a5cc5606c0541d17b24ddb"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200045c19fe227a61abc65c61ee7a018cc9571b2c6f663ea33583f76a686f64be078b7b4a0d734940f613d52bc48673b457c2cf78492490a5cc5606c0541d17b24ddb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEXBn+Inphq8ZcYe56AYzJVxssb2Y+\nozWD92pob2S+B4t7Sg1zSUD2E9UrxIZztFfCz3hJJJClzFYGwFQdF7JN2w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 699,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022016a4502e2781e11ac82cbc9d1edd8c981584d13e18411e2f6e0478c34416e3bb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04db02d1f3421d600e9d9ef9e47419dba3208eed08c2d4189a5db63abeb2739666e0ed26967b9ada9ed7ffe480827f90a0d210d5fd8ec628e31715e6b24125512a",
|
|
"wx" : "00db02d1f3421d600e9d9ef9e47419dba3208eed08c2d4189a5db63abeb2739666",
|
|
"wy" : "00e0ed26967b9ada9ed7ffe480827f90a0d210d5fd8ec628e31715e6b24125512a"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004db02d1f3421d600e9d9ef9e47419dba3208eed08c2d4189a5db63abeb2739666e0ed26967b9ada9ed7ffe480827f90a0d210d5fd8ec628e31715e6b24125512a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2wLR80IdYA6dnvnkdBnboyCO7QjC\n1BiaXbY6vrJzlmbg7SaWe5rantf/5ICCf5Cg0hDV/Y7GKOMXFeayQSVRKg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 700,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "54657374",
|
|
"sig" : "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2960220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046222d1962655501893c29e441395b6c05711bd3ed5a0ef72cfab338b88229c4baaae079cb44a1af070362aaa520ee24cac2626423b0bf81af1c54311d8e2fd23",
|
|
"wx" : "6222d1962655501893c29e441395b6c05711bd3ed5a0ef72cfab338b88229c4b",
|
|
"wy" : "00aaae079cb44a1af070362aaa520ee24cac2626423b0bf81af1c54311d8e2fd23"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046222d1962655501893c29e441395b6c05711bd3ed5a0ef72cfab338b88229c4baaae079cb44a1af070362aaa520ee24cac2626423b0bf81af1c54311d8e2fd23",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYiLRliZVUBiTwp5EE5W2wFcRvT7V\noO9yz6szi4ginEuqrgectEoa8HA2KqpSDuJMrCYmQjsL+BrxxUMR2OL9Iw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 701,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022100b6db6db6249249254924924924924924625bd7a09bec4ca81bcdd9f8fd6b63cc",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044ccfa24c67f3def7fa81bc99c70bb0419c0952ba599f4c03361da184b04cdca5db76b797f7f41d9c729a2219478a7e629728df870800be8cf6ca7a0a82153bfa",
|
|
"wx" : "4ccfa24c67f3def7fa81bc99c70bb0419c0952ba599f4c03361da184b04cdca5",
|
|
"wy" : "00db76b797f7f41d9c729a2219478a7e629728df870800be8cf6ca7a0a82153bfa"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044ccfa24c67f3def7fa81bc99c70bb0419c0952ba599f4c03361da184b04cdca5db76b797f7f41d9c729a2219478a7e629728df870800be8cf6ca7a0a82153bfa",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAETM+iTGfz3vf6gbyZxwuwQZwJUrpZ\nn0wDNh2hhLBM3KXbdreX9/QdnHKaIhlHin5ilyjfhwgAvoz2ynoKghU7+g==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 702,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022100cccccccc00000000cccccccccccccccc971f2ef152794b9d8fc7d568c9e8eaa7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ea1c72c91034036bac71402b6e9ecc4af3dbde7a99dc574061e99fefff9d84dab7dd057e75b78ac6f56e34eb048f0a9d29d5d055408c90d02bc2ea918c18cb63",
|
|
"wx" : "00ea1c72c91034036bac71402b6e9ecc4af3dbde7a99dc574061e99fefff9d84da",
|
|
"wy" : "00b7dd057e75b78ac6f56e34eb048f0a9d29d5d055408c90d02bc2ea918c18cb63"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ea1c72c91034036bac71402b6e9ecc4af3dbde7a99dc574061e99fefff9d84dab7dd057e75b78ac6f56e34eb048f0a9d29d5d055408c90d02bc2ea918c18cb63",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE6hxyyRA0A2uscUArbp7MSvPb3nqZ\n3FdAYemf7/+dhNq33QV+dbeKxvVuNOsEjwqdKdXQVUCMkNArwuqRjBjLYw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 703,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c29602203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aaa",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04c2879a66d86cb20b820b7795da2da62b38924f7817d1cd350d936988e90e79bc5431a7268ff6931c7a759de024eff90bcb0177216db6fd1f3aaaa11fa3b6a083",
|
|
"wx" : "00c2879a66d86cb20b820b7795da2da62b38924f7817d1cd350d936988e90e79bc",
|
|
"wy" : "5431a7268ff6931c7a759de024eff90bcb0177216db6fd1f3aaaa11fa3b6a083"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004c2879a66d86cb20b820b7795da2da62b38924f7817d1cd350d936988e90e79bc5431a7268ff6931c7a759de024eff90bcb0177216db6fd1f3aaaa11fa3b6a083",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwoeaZthssguCC3eV2i2mKziST3gX\n0c01DZNpiOkOebxUMacmj/aTHHp1neAk7/kLywF3IW22/R86qqEfo7aggw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 704,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022049249248db6db6dbb6db6db6db6db6db5a8b230d0b2b51dcd7ebf0c9fef7c185",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ab1c0f273f74abc2b848c75006f2ef3c54c26df27711b06558f455079aee0ba3df510f2ecef6d9a05997c776f14ad6456c179f0a13af1771e4d6c37fa48b47f2",
|
|
"wx" : "00ab1c0f273f74abc2b848c75006f2ef3c54c26df27711b06558f455079aee0ba3",
|
|
"wy" : "00df510f2ecef6d9a05997c776f14ad6456c179f0a13af1771e4d6c37fa48b47f2"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ab1c0f273f74abc2b848c75006f2ef3c54c26df27711b06558f455079aee0ba3df510f2ecef6d9a05997c776f14ad6456c179f0a13af1771e4d6c37fa48b47f2",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqxwPJz90q8K4SMdQBvLvPFTCbfJ3\nEbBlWPRVB5ruC6PfUQ8uzvbZoFmXx3bxStZFbBefChOvF3Hk1sN/pItH8g==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 705,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "54657374",
|
|
"sig" : "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022016a4502e2781e11ac82cbc9d1edd8c981584d13e18411e2f6e0478c34416e3bb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5",
|
|
"wx" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296",
|
|
"wy" : "4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaxfR8uEsQkf4vOblY6RA8ncDfYEt\n6zOg9KE5RdiYwpZP40Li/hp/m47n60p8D54WK84zV2sxXs7LtkBoN79R9Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 706,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 707,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "3045022100acd155416a8b77f34089464733ff7cd39c400e9c69af7beb9eac5054ed2ec72c0220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296b01cbd1c01e58065711814b583f061e9d431cca994cea1313449bf97c840ae0a",
|
|
"wx" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296",
|
|
"wy" : "00b01cbd1c01e58065711814b583f061e9d431cca994cea1313449bf97c840ae0a"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296b01cbd1c01e58065711814b583f061e9d431cca994cea1313449bf97c840ae0a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaxfR8uEsQkf4vOblY6RA8ncDfYEt\n6zOg9KE5RdiYwpawHL0cAeWAZXEYFLWD8GHp1DHMqZTOoTE0Sb+XyECuCg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 708,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 709,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "3045022100acd155416a8b77f34089464733ff7cd39c400e9c69af7beb9eac5054ed2ec72c0220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044bf4e52f958427ebb5915fb8c9595551b4d3a3fdab67badd9d6c3093f425ba43630df71f42f0eb7ceaa94d9f6448a85dd30331588249fd2fdc0b309ec7ed8481bc16f27800c13d7db700fc82e1b1c8545aa0c0d3b56e3bfe789fc18a916887c2",
|
|
"wx" : "4bf4e52f958427ebb5915fb8c9595551b4d3a3fdab67badd9d6c3093f425ba43630df71f42f0eb7ceaa94d9f6448a85d",
|
|
"wy" : "00d30331588249fd2fdc0b309ec7ed8481bc16f27800c13d7db700fc82e1b1c8545aa0c0d3b56e3bfe789fc18a916887c2"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200044bf4e52f958427ebb5915fb8c9595551b4d3a3fdab67badd9d6c3093f425ba43630df71f42f0eb7ceaa94d9f6448a85dd30331588249fd2fdc0b309ec7ed8481bc16f27800c13d7db700fc82e1b1c8545aa0c0d3b56e3bfe789fc18a916887c2",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAES/TlL5WEJ+u1kV+4yVlVUbTTo/2rZ7rd\nnWwwk/QlukNjDfcfQvDrfOqpTZ9kSKhd0wMxWIJJ/S/cCzCex+2EgbwW8ngAwT19\ntwD8guGxyFRaoMDTtW47/nifwYqRaIfC\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 710,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"msg" : "313233343030",
|
|
"sig" : "304d0218389cb27e0bc8d21fa7e5f24cb74f58851313e696333ad68b023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52970",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 711,
|
|
"comment" : "r too large",
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffe023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52970",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043623bb296b88f626d0f92656bf016f115b721277ccb4930739bfbd81f9c1e734630e0685d32e154e0b4a5c62e43851f6768356b4a5764c128c7b1105e3d778a89d1e01da297ede1bc4312c2583e0bbddd21613583dd09ab895c63be479f94576",
|
|
"wx" : "3623bb296b88f626d0f92656bf016f115b721277ccb4930739bfbd81f9c1e734630e0685d32e154e0b4a5c62e43851f6",
|
|
"wy" : "768356b4a5764c128c7b1105e3d778a89d1e01da297ede1bc4312c2583e0bbddd21613583dd09ab895c63be479f94576"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200043623bb296b88f626d0f92656bf016f115b721277ccb4930739bfbd81f9c1e734630e0685d32e154e0b4a5c62e43851f6768356b4a5764c128c7b1105e3d778a89d1e01da297ede1bc4312c2583e0bbddd21613583dd09ab895c63be479f94576",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAENiO7KWuI9ibQ+SZWvwFvEVtyEnfMtJMH\nOb+9gfnB5zRjDgaF0y4VTgtKXGLkOFH2doNWtKV2TBKMexEF49d4qJ0eAdopft4b\nxDEsJYPgu93SFhNYPdCauJXGO+R5+UV2\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 712,
|
|
"comment" : "r,s are large",
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52971",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04d516cb8ac8e4457b693d5192beeb6ce7d9a46bef48eecf3ea823286f101f98d130f5a26dc6fec23662eff07f14486fd58456932e74894b7f0e3bb0dfd362502b3765dd80a3177209fb221dc9b51aaf4470b245391405bef514176b13a267a720",
|
|
"wx" : "00d516cb8ac8e4457b693d5192beeb6ce7d9a46bef48eecf3ea823286f101f98d130f5a26dc6fec23662eff07f14486fd5",
|
|
"wy" : "008456932e74894b7f0e3bb0dfd362502b3765dd80a3177209fb221dc9b51aaf4470b245391405bef514176b13a267a720"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004d516cb8ac8e4457b693d5192beeb6ce7d9a46bef48eecf3ea823286f101f98d130f5a26dc6fec23662eff07f14486fd58456932e74894b7f0e3bb0dfd362502b3765dd80a3177209fb221dc9b51aaf4470b245391405bef514176b13a267a720",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE1RbLisjkRXtpPVGSvuts59mka+9I7s8+\nqCMobxAfmNEw9aJtxv7CNmLv8H8USG/VhFaTLnSJS38OO7Df02JQKzdl3YCjF3IJ\n+yIdybUar0RwskU5FAW+9RQXaxOiZ6cg\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 713,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100d1aee55fdc2a716ba2fabcb57020b72e539bf05c7902f98e105bf83d4cc10c2a159a3cf7e01d749d2205f4da6bd8fcf1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a8380cd35026e13bf87be693cdb6e75a82d765b4019b529e8d277c4af6c9db27ebb5d3f86e88add9d5b61186f04c83a992a187507c737325d2cc624acef3cd036bfa99e0c1518be65c88bb51f900f94123acabad81d15130d3ade7ff7e4364e1",
|
|
"wx" : "00a8380cd35026e13bf87be693cdb6e75a82d765b4019b529e8d277c4af6c9db27ebb5d3f86e88add9d5b61186f04c83a9",
|
|
"wy" : "0092a187507c737325d2cc624acef3cd036bfa99e0c1518be65c88bb51f900f94123acabad81d15130d3ade7ff7e4364e1"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004a8380cd35026e13bf87be693cdb6e75a82d765b4019b529e8d277c4af6c9db27ebb5d3f86e88add9d5b61186f04c83a992a187507c737325d2cc624acef3cd036bfa99e0c1518be65c88bb51f900f94123acabad81d15130d3ade7ff7e4364e1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEqDgM01Am4Tv4e+aTzbbnWoLXZbQBm1Ke\njSd8SvbJ2yfrtdP4boit2dW2EYbwTIOpkqGHUHxzcyXSzGJKzvPNA2v6meDBUYvm\nXIi7UfkA+UEjrKutgdFRMNOt5/9+Q2Th\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 714,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100b6b681dc484f4f020fd3f7e626d88edc6ded1b382ef3e143d60887b51394260832d4d8f2ef70458f9fa90e38c2e19e4f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04554f2fd0b700a9f4568752b673d9c0d29dc96c10fe67e38c6d6d339bfafe05f970da8c3d2164e82031307a44bd32251171312b61b59113ff0bd3b8a9a4934df262aa8096f840e9d8bffa5d7491ded87b38c496f9b9e4f0ba1089f8d3ffc88a9f",
|
|
"wx" : "554f2fd0b700a9f4568752b673d9c0d29dc96c10fe67e38c6d6d339bfafe05f970da8c3d2164e82031307a44bd322511",
|
|
"wy" : "71312b61b59113ff0bd3b8a9a4934df262aa8096f840e9d8bffa5d7491ded87b38c496f9b9e4f0ba1089f8d3ffc88a9f"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004554f2fd0b700a9f4568752b673d9c0d29dc96c10fe67e38c6d6d339bfafe05f970da8c3d2164e82031307a44bd32251171312b61b59113ff0bd3b8a9a4934df262aa8096f840e9d8bffa5d7491ded87b38c496f9b9e4f0ba1089f8d3ffc88a9f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEVU8v0LcAqfRWh1K2c9nA0p3JbBD+Z+OM\nbW0zm/r+Bflw2ow9IWToIDEwekS9MiURcTErYbWRE/8L07ippJNN8mKqgJb4QOnY\nv/pddJHe2Hs4xJb5ueTwuhCJ+NP/yIqf\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 715,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020102020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0444ee3335fa77d2fb02e4bd7074f45e598a879c0fa822ec718c21dc13b83440edc4e3c10a1858423e03044c9eff22591cd027c49933e5510557d6b4b2c6f66fe5dcb9302a3b13fdc68048c3fcac88ba152b6a9833c87fdc6280afc5d11ab7c107",
|
|
"wx" : "44ee3335fa77d2fb02e4bd7074f45e598a879c0fa822ec718c21dc13b83440edc4e3c10a1858423e03044c9eff22591c",
|
|
"wy" : "00d027c49933e5510557d6b4b2c6f66fe5dcb9302a3b13fdc68048c3fcac88ba152b6a9833c87fdc6280afc5d11ab7c107"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000444ee3335fa77d2fb02e4bd7074f45e598a879c0fa822ec718c21dc13b83440edc4e3c10a1858423e03044c9eff22591cd027c49933e5510557d6b4b2c6f66fe5dcb9302a3b13fdc68048c3fcac88ba152b6a9833c87fdc6280afc5d11ab7c107",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAERO4zNfp30vsC5L1wdPReWYqHnA+oIuxx\njCHcE7g0QO3E48EKGFhCPgMETJ7/Ilkc0CfEmTPlUQVX1rSyxvZv5dy5MCo7E/3G\ngEjD/KyIuhUrapgzyH/cYoCvxdEat8EH\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 716,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020102020102",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04e2f87f72e3c66c73037fe77607d42ad2d9c4cc159893b4b9b8b0365d3a7766dbe8678b02e2b68f58e5a4f7681061a390e38f2142818542bef6b2bc3a2c4f43c95e5259d6bd5401531378c7ca125a1f6cc609d4fadfc5c9a99358ee77ff780c8d",
|
|
"wx" : "00e2f87f72e3c66c73037fe77607d42ad2d9c4cc159893b4b9b8b0365d3a7766dbe8678b02e2b68f58e5a4f7681061a390",
|
|
"wy" : "00e38f2142818542bef6b2bc3a2c4f43c95e5259d6bd5401531378c7ca125a1f6cc609d4fadfc5c9a99358ee77ff780c8d"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004e2f87f72e3c66c73037fe77607d42ad2d9c4cc159893b4b9b8b0365d3a7766dbe8678b02e2b68f58e5a4f7681061a390e38f2142818542bef6b2bc3a2c4f43c95e5259d6bd5401531378c7ca125a1f6cc609d4fadfc5c9a99358ee77ff780c8d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE4vh/cuPGbHMDf+d2B9Qq0tnEzBWYk7S5\nuLA2XTp3ZtvoZ4sC4raPWOWk92gQYaOQ448hQoGFQr72srw6LE9DyV5SWda9VAFT\nE3jHyhJaH2zGCdT638XJqZNY7nf/eAyN\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 717,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020102020103",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 718,
|
|
"comment" : "r is larger than n",
|
|
"msg" : "313233343030",
|
|
"sig" : "3036023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52975020103",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0405e67c44fc0cbc9a8eb343b4d6f596c7d00cac5da8594caf45b7209397496214c42d856a015ce589bc9ba865a4fab5ab88a01c7b5d09efaf878fcb9102fb3875a8381af234d1c593076e452225a56f51674f347126d3009b44dcbb003a64d95f",
|
|
"wx" : "05e67c44fc0cbc9a8eb343b4d6f596c7d00cac5da8594caf45b7209397496214c42d856a015ce589bc9ba865a4fab5ab",
|
|
"wy" : "0088a01c7b5d09efaf878fcb9102fb3875a8381af234d1c593076e452225a56f51674f347126d3009b44dcbb003a64d95f"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000405e67c44fc0cbc9a8eb343b4d6f596c7d00cac5da8594caf45b7209397496214c42d856a015ce589bc9ba865a4fab5ab88a01c7b5d09efaf878fcb9102fb3875a8381af234d1c593076e452225a56f51674f347126d3009b44dcbb003a64d95f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEBeZ8RPwMvJqOs0O01vWWx9AMrF2oWUyv\nRbcgk5dJYhTELYVqAVzlibybqGWk+rWriKAce10J76+Hj8uRAvs4dag4GvI00cWT\nB25FIiWlb1FnTzRxJtMAm0TcuwA6ZNlf\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 719,
|
|
"comment" : "s is larger than n",
|
|
"msg" : "313233343030",
|
|
"sig" : "3036020102023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accd7fffa",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040bb03fce3c01ebcf0873abd134a8682f5fb8dbffa22da674047e5c3e71e43de582ed6abb908c2e4faa5d96186278b6c1ba3b22123e68ccc56f17dd79ff15565706f71a0b6123c77af3cd88f0af024cc5259781516edcaf5fe990646e7b66999d",
|
|
"wx" : "0bb03fce3c01ebcf0873abd134a8682f5fb8dbffa22da674047e5c3e71e43de582ed6abb908c2e4faa5d96186278b6c1",
|
|
"wy" : "00ba3b22123e68ccc56f17dd79ff15565706f71a0b6123c77af3cd88f0af024cc5259781516edcaf5fe990646e7b66999d"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200040bb03fce3c01ebcf0873abd134a8682f5fb8dbffa22da674047e5c3e71e43de582ed6abb908c2e4faa5d96186278b6c1ba3b22123e68ccc56f17dd79ff15565706f71a0b6123c77af3cd88f0af024cc5259781516edcaf5fe990646e7b66999d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEC7A/zjwB688Ic6vRNKhoL1+42/+iLaZ0\nBH5cPnHkPeWC7Wq7kIwuT6pdlhhieLbBujsiEj5ozMVvF915/xVWVwb3GgthI8d6\n882I8K8CTMUll4FRbtyvX+mQZG57Zpmd\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 720,
|
|
"comment" : "small r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3036020201000230489122448912244891224489122448912244891224489122347ce79bc437f4d071aaa92c7d6c882ae8734dc18cb0d553",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0458f246090d5e49863bc0bf2d501ff72f551c5f1c5e679eb49064fd02e221a2707326ec2d140bcc817afaad5065761566497c823fd736882cbf78fb92b1a5589b67e8067497c710a4cbb39dee2c5431bc45cfb96c9f8454385c9f2b3ef2d3d31a",
|
|
"wx" : "58f246090d5e49863bc0bf2d501ff72f551c5f1c5e679eb49064fd02e221a2707326ec2d140bcc817afaad5065761566",
|
|
"wy" : "497c823fd736882cbf78fb92b1a5589b67e8067497c710a4cbb39dee2c5431bc45cfb96c9f8454385c9f2b3ef2d3d31a"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000458f246090d5e49863bc0bf2d501ff72f551c5f1c5e679eb49064fd02e221a2707326ec2d140bcc817afaad5065761566497c823fd736882cbf78fb92b1a5589b67e8067497c710a4cbb39dee2c5431bc45cfb96c9f8454385c9f2b3ef2d3d31a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEWPJGCQ1eSYY7wL8tUB/3L1UcXxxeZ560\nkGT9AuIhonBzJuwtFAvMgXr6rVBldhVmSXyCP9c2iCy/ePuSsaVYm2foBnSXxxCk\ny7Od7ixUMbxFz7lsn4RUOFyfKz7y09Ma\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 721,
|
|
"comment" : "smallish r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "303c02072d9b4d347952cd023100ce751512561b6f57c75342848a3ff98ccf9c3f0219b6b68d00449e6c971a85d2e2ce73554b59219d54d2083b46327351",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04fc6984dd6830d1485fb2581a45a791d8dca2c727c73d3d44c89f0082c1868af5ca74b4ca4ae22802640a9ebfe8c7ae12998d63a5b5ad1b72b899f0b132e4952aaa19d41fdeea48b1ed6b8358dd1db207fd66e01453ad40f67b836adc802d5fe8",
|
|
"wx" : "00fc6984dd6830d1485fb2581a45a791d8dca2c727c73d3d44c89f0082c1868af5ca74b4ca4ae22802640a9ebfe8c7ae12",
|
|
"wy" : "00998d63a5b5ad1b72b899f0b132e4952aaa19d41fdeea48b1ed6b8358dd1db207fd66e01453ad40f67b836adc802d5fe8"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004fc6984dd6830d1485fb2581a45a791d8dca2c727c73d3d44c89f0082c1868af5ca74b4ca4ae22802640a9ebfe8c7ae12998d63a5b5ad1b72b899f0b132e4952aaa19d41fdeea48b1ed6b8358dd1db207fd66e01453ad40f67b836adc802d5fe8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/GmE3Wgw0UhfslgaRaeR2NyixyfHPT1E\nyJ8AgsGGivXKdLTKSuIoAmQKnr/ox64SmY1jpbWtG3K4mfCxMuSVKqoZ1B/e6kix\n7WuDWN0dsgf9ZuAUU61A9nuDatyALV/o\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 722,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3041020d1033e67e37b32b445580bf4efb02302ad52ad52ad52ad52ad52ad52ad52ad52ad52ad52ad52ad5215c51b320e460542f9cc38968ccdf4263684004eb79a452",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041b8def5922303d647e8eb07e3bad92f924b79b769eef168e7541de1f4e0d28ae9733eb98cf8a1fb6dd52ca02c8c75b51c7aa4bf679d49d8114122074da8f6044a427371796a5654a6106162d5f686abb73ebd896ab08c7062687f12171fbe4a3",
|
|
"wx" : "1b8def5922303d647e8eb07e3bad92f924b79b769eef168e7541de1f4e0d28ae9733eb98cf8a1fb6dd52ca02c8c75b51",
|
|
"wy" : "00c7aa4bf679d49d8114122074da8f6044a427371796a5654a6106162d5f686abb73ebd896ab08c7062687f12171fbe4a3"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200041b8def5922303d647e8eb07e3bad92f924b79b769eef168e7541de1f4e0d28ae9733eb98cf8a1fb6dd52ca02c8c75b51c7aa4bf679d49d8114122074da8f6044a427371796a5654a6106162d5f686abb73ebd896ab08c7062687f12171fbe4a3",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEG43vWSIwPWR+jrB+O62S+SS3m3ae7xaO\ndUHeH04NKK6XM+uYz4oftt1SygLIx1tRx6pL9nnUnYEUEiB02o9gRKQnNxeWpWVK\nYQYWLV9oartz69iWqwjHBiaH8SFx++Sj\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 723,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "303602020100023077a172dfe37a2c53f0b92ab60f0a8f085f49dbfd930719d6f9e587ea68ae57cb49cd35a88cf8c6acec02f057a3807a5b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041734a039a88a16c2ff4aa97d2399121f56f52ef01ed5e50887f736f65b6e51d6e8786abb4e063da5d1ba812dff998403ccd698e6c296d5cd69178f8a82481a865da331627f1c4b324fbc02b36e8b5ed58a31f728e904d203a388755302195765",
|
|
"wx" : "1734a039a88a16c2ff4aa97d2399121f56f52ef01ed5e50887f736f65b6e51d6e8786abb4e063da5d1ba812dff998403",
|
|
"wy" : "00ccd698e6c296d5cd69178f8a82481a865da331627f1c4b324fbc02b36e8b5ed58a31f728e904d203a388755302195765"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200041734a039a88a16c2ff4aa97d2399121f56f52ef01ed5e50887f736f65b6e51d6e8786abb4e063da5d1ba812dff998403ccd698e6c296d5cd69178f8a82481a865da331627f1c4b324fbc02b36e8b5ed58a31f728e904d203a388755302195765",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEFzSgOaiKFsL/Sql9I5kSH1b1LvAe1eUI\nh/c29ltuUdboeGq7TgY9pdG6gS3/mYQDzNaY5sKW1c1pF4+Kgkgahl2jMWJ/HEsy\nT7wCs26LXtWKMfco6QTSA6OIdVMCGVdl\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 724,
|
|
"comment" : "100-bit r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3041020d062522bbd3ecbe7c39e93e7c24023077a172dfe37a2c53f0b92ab60f0a8f085f49dbfd930719d6f9e587ea68ae57cb49cd35a88cf8c6acec02f057a3807a5b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0452ca47dda99172cb8321495acf988548295988ec973c1b4ea9462c53e5768a704a936410ee847b5dbf1e9d0c131da6c787a47027e6655792eb002d4228ee72f7c814c9a0cecbff267948f81c9903ac10eb35f6cb86369224ed609811cdf390f4",
|
|
"wx" : "52ca47dda99172cb8321495acf988548295988ec973c1b4ea9462c53e5768a704a936410ee847b5dbf1e9d0c131da6c7",
|
|
"wy" : "0087a47027e6655792eb002d4228ee72f7c814c9a0cecbff267948f81c9903ac10eb35f6cb86369224ed609811cdf390f4"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000452ca47dda99172cb8321495acf988548295988ec973c1b4ea9462c53e5768a704a936410ee847b5dbf1e9d0c131da6c787a47027e6655792eb002d4228ee72f7c814c9a0cecbff267948f81c9903ac10eb35f6cb86369224ed609811cdf390f4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEUspH3amRcsuDIUlaz5iFSClZiOyXPBtO\nqUYsU+V2inBKk2QQ7oR7Xb8enQwTHabHh6RwJ+ZlV5LrAC1CKO5y98gUyaDOy/8m\neUj4HJkDrBDrNfbLhjaSJO1gmBHN85D0\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 725,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc528f3023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04bd3d91f003e18adbea73079d4eba23b91fc17fcec14c9eb15a193fbc9ca39c8c747cd7a2c9623e05dd587ccbb8ab4c443adb0a0706aa5ea7a68042082fccefc979612a7a1a3d694b00793b03f89bff866a8b97c8e77990c29360ce795036c764",
|
|
"wx" : "00bd3d91f003e18adbea73079d4eba23b91fc17fcec14c9eb15a193fbc9ca39c8c747cd7a2c9623e05dd587ccbb8ab4c44",
|
|
"wy" : "3adb0a0706aa5ea7a68042082fccefc979612a7a1a3d694b00793b03f89bff866a8b97c8e77990c29360ce795036c764"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004bd3d91f003e18adbea73079d4eba23b91fc17fcec14c9eb15a193fbc9ca39c8c747cd7a2c9623e05dd587ccbb8ab4c443adb0a0706aa5ea7a68042082fccefc979612a7a1a3d694b00793b03f89bff866a8b97c8e77990c29360ce795036c764",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEvT2R8APhitvqcwedTrojuR/Bf87BTJ6x\nWhk/vJyjnIx0fNeiyWI+Bd1YfMu4q0xEOtsKBwaqXqemgEIIL8zvyXlhKnoaPWlL\nAHk7A/ib/4Zqi5fI53mQwpNgznlQNsdk\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 726,
|
|
"comment" : "s == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 727,
|
|
"comment" : "s == 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "3035023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04f896353cc3a8afdd543ec3aef062ca97bc32ed1724ea38b940b8c0ea0e23b34187afbe70daf8dbaa5b511557e5d2bddac4bd265da67ceeafca636f6f4c0472f22a9d02e2289184f73bbb700ae8fc921eff4920f290bfcb49fbb232cc13a21028",
|
|
"wx" : "00f896353cc3a8afdd543ec3aef062ca97bc32ed1724ea38b940b8c0ea0e23b34187afbe70daf8dbaa5b511557e5d2bdda",
|
|
"wy" : "00c4bd265da67ceeafca636f6f4c0472f22a9d02e2289184f73bbb700ae8fc921eff4920f290bfcb49fbb232cc13a21028"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004f896353cc3a8afdd543ec3aef062ca97bc32ed1724ea38b940b8c0ea0e23b34187afbe70daf8dbaa5b511557e5d2bddac4bd265da67ceeafca636f6f4c0472f22a9d02e2289184f73bbb700ae8fc921eff4920f290bfcb49fbb232cc13a21028",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE+JY1PMOor91UPsOu8GLKl7wy7Rck6ji5\nQLjA6g4js0GHr75w2vjbqltRFVfl0r3axL0mXaZ87q/KY29vTARy8iqdAuIokYT3\nO7twCuj8kh7/SSDykL/LSfuyMswTohAo\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 728,
|
|
"comment" : "point at infinity during verify",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307fffffffffffffffffffffffffffffffffffffffffffffffe3b1a6c0fa1b96efac0d06d9245853bd76760cb5666294b9023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04370d9e2e31c712c8028092f802319d7fdf5b3319a8518d08bed3891508c7060cfe2236e18fa14fe077093ceae633e5430fd79aacf9d16ecc19b12d60fba4998dfc682702ec7c8bdd4a590035773b8c9c570ac7dcd414e03252f7a0e6f53b5863",
|
|
"wx" : "370d9e2e31c712c8028092f802319d7fdf5b3319a8518d08bed3891508c7060cfe2236e18fa14fe077093ceae633e543",
|
|
"wy" : "0fd79aacf9d16ecc19b12d60fba4998dfc682702ec7c8bdd4a590035773b8c9c570ac7dcd414e03252f7a0e6f53b5863"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004370d9e2e31c712c8028092f802319d7fdf5b3319a8518d08bed3891508c7060cfe2236e18fa14fe077093ceae633e5430fd79aacf9d16ecc19b12d60fba4998dfc682702ec7c8bdd4a590035773b8c9c570ac7dcd414e03252f7a0e6f53b5863",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAENw2eLjHHEsgCgJL4AjGdf99bMxmoUY0I\nvtOJFQjHBgz+Ijbhj6FP4HcJPOrmM+VDD9earPnRbswZsS1g+6SZjfxoJwLsfIvd\nSlkANXc7jJxXCsfc1BTgMlL3oOb1O1hj\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 729,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307fffffffffffffffffffffffffffffffffffffffffffffffe3b1a6c0fa1b96efac0d06d9245853bd76760cb5666294b902307fffffffffffffffffffffffffffffffffffffffffffffffe3b1a6c0fa1b96efac0d06d9245853bd76760cb5666294b9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04941e6cfa356e572dcccaeb594b06955d99dc4bf07958fc98ffa17de11c7521bf2c7aa8ff260952fcb7aac078ede67b4790a78a0296b041a10f003df1998da4cc4a1614ebcbf5d239431f33d90d3023edc1802e8db6dabcbae67cc314da2aabab",
|
|
"wx" : "00941e6cfa356e572dcccaeb594b06955d99dc4bf07958fc98ffa17de11c7521bf2c7aa8ff260952fcb7aac078ede67b47",
|
|
"wy" : "0090a78a0296b041a10f003df1998da4cc4a1614ebcbf5d239431f33d90d3023edc1802e8db6dabcbae67cc314da2aabab"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004941e6cfa356e572dcccaeb594b06955d99dc4bf07958fc98ffa17de11c7521bf2c7aa8ff260952fcb7aac078ede67b4790a78a0296b041a10f003df1998da4cc4a1614ebcbf5d239431f33d90d3023edc1802e8db6dabcbae67cc314da2aabab",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAElB5s+jVuVy3MyutZSwaVXZncS/B5WPyY\n/6F94Rx1Ib8seqj/JglS/LeqwHjt5ntHkKeKApawQaEPAD3xmY2kzEoWFOvL9dI5\nQx8z2Q0wI+3BgC6Nttq8uuZ8wxTaKqur\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 730,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307fffffffffffffffffffffffffffffffffffffffffffffffe3b1a6c0fa1b96efac0d06d9245853bd76760cb5666294b902307fffffffffffffffffffffffffffffffffffffffffffffffe3b1a6c0fa1b96efac0d06d9245853bd76760cb5666294ba",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043ecfd58a3ce583866e0471d16eb3c10a411ec3b8671f3a04769b1ed8464a71cf1c76d8d9b7e3670bbe712d6f554a9383d980d8bedf57470d6b45cc1ad0c6426dc70a0e4be901106a36663bfcab04fcb86008777b92445120d5e3641d97396362",
|
|
"wx" : "3ecfd58a3ce583866e0471d16eb3c10a411ec3b8671f3a04769b1ed8464a71cf1c76d8d9b7e3670bbe712d6f554a9383",
|
|
"wy" : "00d980d8bedf57470d6b45cc1ad0c6426dc70a0e4be901106a36663bfcab04fcb86008777b92445120d5e3641d97396362"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200043ecfd58a3ce583866e0471d16eb3c10a411ec3b8671f3a04769b1ed8464a71cf1c76d8d9b7e3670bbe712d6f554a9383d980d8bedf57470d6b45cc1ad0c6426dc70a0e4be901106a36663bfcab04fcb86008777b92445120d5e3641d97396362",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEPs/Vijzlg4ZuBHHRbrPBCkEew7hnHzoE\ndpse2EZKcc8cdtjZt+NnC75xLW9VSpOD2YDYvt9XRw1rRcwa0MZCbccKDkvpARBq\nNmY7/KsE/LhgCHd7kkRRINXjZB2XOWNi\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 731,
|
|
"comment" : "u1 == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326023100f9b127f0d81ebcd17b7ba0ea131c660d340b05ce557c82160e0f793de07d38179023942871acb7002dfafdfffc8deace",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044150ccd0fa45aa2ef6b5042ddbb1b87c5ffd1115a8fe5995641948acda82a7b190762d84352cd74d1ca01e79f68f9cb4eb11be9d494c181c156e23e77e532bdf0a20c3cc74ba8c29b1f3eb2bd99129ee0d70ff0d593f0d7a6d6887e7c55930d2",
|
|
"wx" : "4150ccd0fa45aa2ef6b5042ddbb1b87c5ffd1115a8fe5995641948acda82a7b190762d84352cd74d1ca01e79f68f9cb4",
|
|
"wy" : "00eb11be9d494c181c156e23e77e532bdf0a20c3cc74ba8c29b1f3eb2bd99129ee0d70ff0d593f0d7a6d6887e7c55930d2"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200044150ccd0fa45aa2ef6b5042ddbb1b87c5ffd1115a8fe5995641948acda82a7b190762d84352cd74d1ca01e79f68f9cb4eb11be9d494c181c156e23e77e532bdf0a20c3cc74ba8c29b1f3eb2bd99129ee0d70ff0d593f0d7a6d6887e7c55930d2",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEQVDM0PpFqi72tQQt27G4fF/9ERWo/lmV\nZBlIrNqCp7GQdi2ENSzXTRygHnn2j5y06xG+nUlMGBwVbiPnflMr3wogw8x0uowp\nsfPrK9mRKe4NcP8NWT8Nem1oh+fFWTDS\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 732,
|
|
"comment" : "u1 == n - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec63260230064ed80f27e1432e84845f15ece399f2cbf4fa31aa837de9b953d44413b9f5c7c7f67989d703f07abef11b6ad0373ea5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04e78fe2c11beac7090ee0af7fed469a8ccebd3cccc4ee9fccc8ef3fc0455b69aaa082dc13e1d84f34026cb6f0af9e992ff34ebba71bf3a4050bf28e4084b5c5f5d4098ec46f10a31b02fb4bf20cc9362f6f02a66e802f817507535fac3ec0b099",
|
|
"wx" : "00e78fe2c11beac7090ee0af7fed469a8ccebd3cccc4ee9fccc8ef3fc0455b69aaa082dc13e1d84f34026cb6f0af9e992f",
|
|
"wy" : "00f34ebba71bf3a4050bf28e4084b5c5f5d4098ec46f10a31b02fb4bf20cc9362f6f02a66e802f817507535fac3ec0b099"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004e78fe2c11beac7090ee0af7fed469a8ccebd3cccc4ee9fccc8ef3fc0455b69aaa082dc13e1d84f34026cb6f0af9e992ff34ebba71bf3a4050bf28e4084b5c5f5d4098ec46f10a31b02fb4bf20cc9362f6f02a66e802f817507535fac3ec0b099",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE54/iwRvqxwkO4K9/7UaajM69PMzE7p/M\nyO8/wEVbaaqggtwT4dhPNAJstvCvnpkv8067pxvzpAUL8o5AhLXF9dQJjsRvEKMb\nAvtL8gzJNi9vAqZugC+BdQdTX6w+wLCZ\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 733,
|
|
"comment" : "u2 == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ee24ab8a34d05af684939357f32759cc5a14f3c717529a20aea8e0c5965d8a41e68925f688471994b72021ba51b28c090a55693c92ad0cbae9edcf515e2b4c060b888d82c81e4a3b6a173b62ed04a46fa95db1a2f3949980fba2e371263c4fa9",
|
|
"wx" : "00ee24ab8a34d05af684939357f32759cc5a14f3c717529a20aea8e0c5965d8a41e68925f688471994b72021ba51b28c09",
|
|
"wy" : "0a55693c92ad0cbae9edcf515e2b4c060b888d82c81e4a3b6a173b62ed04a46fa95db1a2f3949980fba2e371263c4fa9"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004ee24ab8a34d05af684939357f32759cc5a14f3c717529a20aea8e0c5965d8a41e68925f688471994b72021ba51b28c090a55693c92ad0cbae9edcf515e2b4c060b888d82c81e4a3b6a173b62ed04a46fa95db1a2f3949980fba2e371263c4fa9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE7iSrijTQWvaEk5NX8ydZzFoU88cXUpog\nrqjgxZZdikHmiSX2iEcZlLcgIbpRsowJClVpPJKtDLrp7c9RXitMBguIjYLIHko7\nahc7Yu0EpG+pXbGi85SZgPui43EmPE+p\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 734,
|
|
"comment" : "u2 == n - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326023100aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa84ecde56a2cf73ea3abc092185cb1a51f34810f1ddd8c64d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043d2e916055c92e1b36133f5937b37c1b0102834eb77008a3ba9c3da446e9065971d68ba913091851e10cff5b4cd875c139aa7aadfc2caf7107b17ae1aea8b299d61bf15aca0cb3fd6f1ffde8192bfe58f0822bbbc1f55bddf6b4fe9c8f2b0eac",
|
|
"wx" : "3d2e916055c92e1b36133f5937b37c1b0102834eb77008a3ba9c3da446e9065971d68ba913091851e10cff5b4cd875c1",
|
|
"wy" : "39aa7aadfc2caf7107b17ae1aea8b299d61bf15aca0cb3fd6f1ffde8192bfe58f0822bbbc1f55bddf6b4fe9c8f2b0eac"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200043d2e916055c92e1b36133f5937b37c1b0102834eb77008a3ba9c3da446e9065971d68ba913091851e10cff5b4cd875c139aa7aadfc2caf7107b17ae1aea8b299d61bf15aca0cb3fd6f1ffde8192bfe58f0822bbbc1f55bddf6b4fe9c8f2b0eac",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEPS6RYFXJLhs2Ez9ZN7N8GwECg063cAij\nupw9pEbpBllx1oupEwkYUeEM/1tM2HXBOap6rfwsr3EHsXrhrqiymdYb8VrKDLP9\nbx/96Bkr/ljwgiu7wfVb3fa0/pyPKw6s\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 735,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0230533b0d50480a3ef07e7e8af8b1097759bc03ac9a1c7ed6075a052869f57f12b285613162d08ee7aab9fe54aaa984a39a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ae596697427aa250156c05ac4338e48980a7f093ea1f1fe67098b43f6539c1b20ae74338f9bf270d33663c50abe8fd001ca6a52732db74ab15d2f249a3d839080f898367dfd64992cdce2708deaad523a2a236b43400424241c91a35b530fa50",
|
|
"wx" : "00ae596697427aa250156c05ac4338e48980a7f093ea1f1fe67098b43f6539c1b20ae74338f9bf270d33663c50abe8fd00",
|
|
"wy" : "1ca6a52732db74ab15d2f249a3d839080f898367dfd64992cdce2708deaad523a2a236b43400424241c91a35b530fa50"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004ae596697427aa250156c05ac4338e48980a7f093ea1f1fe67098b43f6539c1b20ae74338f9bf270d33663c50abe8fd001ca6a52732db74ab15d2f249a3d839080f898367dfd64992cdce2708deaad523a2a236b43400424241c91a35b530fa50",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAErllml0J6olAVbAWsQzjkiYCn8JPqHx/m\ncJi0P2U5wbIK50M4+b8nDTNmPFCr6P0AHKalJzLbdKsV0vJJo9g5CA+Jg2ff1kmS\nzc4nCN6q1SOioja0NABCQkHJGjW1MPpQ\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 736,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100d49a253986bbaa8ce9c3d3808313d39c3b950a478372edc009bc0566b73be7b05dad0737e16960257cc16db6ec6c620f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0488738f9981dd4d1fabb60ad83c2dd6dfc9da302209ae3e53498a883b6e39a38bead9b02709f352d3e6b6578154eab2529388a05c6b9f3a4028abb9950a51f5264ecd7580a423fdec9472faeeb57f92e31c46bef2a781fe5edad026009f198262",
|
|
"wx" : "0088738f9981dd4d1fabb60ad83c2dd6dfc9da302209ae3e53498a883b6e39a38bead9b02709f352d3e6b6578154eab252",
|
|
"wy" : "009388a05c6b9f3a4028abb9950a51f5264ecd7580a423fdec9472faeeb57f92e31c46bef2a781fe5edad026009f198262"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000488738f9981dd4d1fabb60ad83c2dd6dfc9da302209ae3e53498a883b6e39a38bead9b02709f352d3e6b6578154eab2529388a05c6b9f3a4028abb9950a51f5264ecd7580a423fdec9472faeeb57f92e31c46bef2a781fe5edad026009f198262",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEiHOPmYHdTR+rtgrYPC3W38naMCIJrj5T\nSYqIO245o4vq2bAnCfNS0+a2V4FU6rJSk4igXGufOkAoq7mVClH1Jk7NdYCkI/3s\nlHL67rV/kuMcRr7yp4H+XtrQJgCfGYJi\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 737,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0230285090b0d6a6820bbba394efbee5c24a2281e825d2f6c55fb7a85b8251db00f75ab07cc993ceaf664f3c116baf34b021",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04f421541311c94fdd79fc298f8ab1a3adfd08029fdad439a94d4cea11f7e799bc439609f2fb7be3f349d55e484d0a0d36b35330bbdbec1e75f2984483d96bf210d722c1830292ffc35a2f6a21a4b50519f565f024bbccc97228a2f8ad8fadc0d5",
|
|
"wx" : "00f421541311c94fdd79fc298f8ab1a3adfd08029fdad439a94d4cea11f7e799bc439609f2fb7be3f349d55e484d0a0d36",
|
|
"wy" : "00b35330bbdbec1e75f2984483d96bf210d722c1830292ffc35a2f6a21a4b50519f565f024bbccc97228a2f8ad8fadc0d5"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004f421541311c94fdd79fc298f8ab1a3adfd08029fdad439a94d4cea11f7e799bc439609f2fb7be3f349d55e484d0a0d36b35330bbdbec1e75f2984483d96bf210d722c1830292ffc35a2f6a21a4b50519f565f024bbccc97228a2f8ad8fadc0d5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE9CFUExHJT915/CmPirGjrf0IAp/a1Dmp\nTUzqEffnmbxDlgny+3vj80nVXkhNCg02s1Mwu9vsHnXymESD2WvyENciwYMCkv/D\nWi9qIaS1BRn1ZfAku8zJciii+K2PrcDV\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 738,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100b39af4a81ee4ae79064ed80f27e1432e84845f15ece399f2a43d2505a0a8c72c5731f4fd967420b1000e3f75502ed7b7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04399be4cfc439f94f2421cbd34c2cd90bae53eb60ddfafca52f7275d165d14fa659b636713b5d4b39e62fd48bae141d0e1b23e3b4f0c202ed7b59db78a35c12ac698c603eab144fd09ac2ed8f4495f607e4d2c87a23ce2ec33e410ca47ecc2555",
|
|
"wx" : "399be4cfc439f94f2421cbd34c2cd90bae53eb60ddfafca52f7275d165d14fa659b636713b5d4b39e62fd48bae141d0e",
|
|
"wy" : "1b23e3b4f0c202ed7b59db78a35c12ac698c603eab144fd09ac2ed8f4495f607e4d2c87a23ce2ec33e410ca47ecc2555"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004399be4cfc439f94f2421cbd34c2cd90bae53eb60ddfafca52f7275d165d14fa659b636713b5d4b39e62fd48bae141d0e1b23e3b4f0c202ed7b59db78a35c12ac698c603eab144fd09ac2ed8f4495f607e4d2c87a23ce2ec33e410ca47ecc2555",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEOZvkz8Q5+U8kIcvTTCzZC65T62Dd+vyl\nL3J10WXRT6ZZtjZxO11LOeYv1IuuFB0OGyPjtPDCAu17Wdt4o1wSrGmMYD6rFE/Q\nmsLtj0SV9gfk0sh6I84uwz5BDKR+zCVV\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 739,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100af4a81ee4ae79064ed80f27e1432e84845f15ece399f2cbf28df829ccd30f5ef62ec23957b837d73fe4e156edccd4465",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041578bbff72137c4bca33d7385a892be94cb059f9091ddfe890345f712a9fba5fc77084cec11084ed048491604a07f66c76bbaa872f0710d82a08d9dddd833c7be7c7e8e265f49145157eb4e8e8280076a37ee5873271db510034da19da24415b",
|
|
"wx" : "1578bbff72137c4bca33d7385a892be94cb059f9091ddfe890345f712a9fba5fc77084cec11084ed048491604a07f66c",
|
|
"wy" : "76bbaa872f0710d82a08d9dddd833c7be7c7e8e265f49145157eb4e8e8280076a37ee5873271db510034da19da24415b"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200041578bbff72137c4bca33d7385a892be94cb059f9091ddfe890345f712a9fba5fc77084cec11084ed048491604a07f66c76bbaa872f0710d82a08d9dddd833c7be7c7e8e265f49145157eb4e8e8280076a37ee5873271db510034da19da24415b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEFXi7/3ITfEvKM9c4Wokr6UywWfkJHd/o\nkDRfcSqful/HcITOwRCE7QSEkWBKB/Zsdruqhy8HENgqCNnd3YM8e+fH6OJl9JFF\nFX606OgoAHajfuWHMnHbUQA02hnaJEFb\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 740,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02305e9503dc95cf20c9db01e4fc2865d0908be2bd9c733e597e8a5bb7b7a62abdff6dbe3978ae56536d0fb01172ecd55f57",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0433ba451c85e729058f83041077a4695eb47df93e718b09a4618c753ac803cd75c1a91290c2ff5a635389d07149571dab1fc7d8a71776851ff244ff632fe6f92e1652e5284893c4244fe775d8efc589d823dd03f3919027f004537bd8ee09f3a3",
|
|
"wx" : "33ba451c85e729058f83041077a4695eb47df93e718b09a4618c753ac803cd75c1a91290c2ff5a635389d07149571dab",
|
|
"wy" : "1fc7d8a71776851ff244ff632fe6f92e1652e5284893c4244fe775d8efc589d823dd03f3919027f004537bd8ee09f3a3"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000433ba451c85e729058f83041077a4695eb47df93e718b09a4618c753ac803cd75c1a91290c2ff5a635389d07149571dab1fc7d8a71776851ff244ff632fe6f92e1652e5284893c4244fe775d8efc589d823dd03f3919027f004537bd8ee09f3a3",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEM7pFHIXnKQWPgwQQd6RpXrR9+T5xiwmk\nYYx1OsgDzXXBqRKQwv9aY1OJ0HFJVx2rH8fYpxd2hR/yRP9jL+b5LhZS5ShIk8Qk\nT+d12O/Fidgj3QPzkZAn8ARTe9juCfOj\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 741,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02301ee4ae79064ed80f27e1432e84845f15ece399f2cbf4fa31a3ae8edab84dc3330a39f70938e3912bd59753de5aed3088",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04040771e3390216fed2c6208bdf5bfea83ab1915b166e626569f12efd410a39b7e7c76f70f0012843a26debf4ccc33ddae5bc5f7e62d054eac31cd022afdb71b7c638f24c30cbad0ef35ed2fc9917f356e9c3f04391b21d1035274b81537fcbf3",
|
|
"wx" : "040771e3390216fed2c6208bdf5bfea83ab1915b166e626569f12efd410a39b7e7c76f70f0012843a26debf4ccc33dda",
|
|
"wy" : "00e5bc5f7e62d054eac31cd022afdb71b7c638f24c30cbad0ef35ed2fc9917f356e9c3f04391b21d1035274b81537fcbf3"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004040771e3390216fed2c6208bdf5bfea83ab1915b166e626569f12efd410a39b7e7c76f70f0012843a26debf4ccc33ddae5bc5f7e62d054eac31cd022afdb71b7c638f24c30cbad0ef35ed2fc9917f356e9c3f04391b21d1035274b81537fcbf3",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEBAdx4zkCFv7SxiCL31v+qDqxkVsWbmJl\nafEu/UEKObfnx29w8AEoQ6Jt6/TMwz3a5bxffmLQVOrDHNAir9txt8Y48kwwy60O\n817S/JkX81bpw/BDkbIdEDUnS4FTf8vz\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 742,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100bb51cd3ba8eb201f53ddb4e34e08c0ff7dff9378106784d798d5a3440bd6dc34be3a0eaef8776619a0c97fefb15720b3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0498d3f16e1c510a933e648e78d01588319f002e9475df8942a2a89db0666bb7c88b32bb248140e44ac4ab28111b2b792399a926f4a66fbe28ff65c09f8306893aec094b89d0fe529e3577c5ecf30a7944caaf530f4575eb113fcf4c200d2dd4bd",
|
|
"wx" : "0098d3f16e1c510a933e648e78d01588319f002e9475df8942a2a89db0666bb7c88b32bb248140e44ac4ab28111b2b7923",
|
|
"wy" : "0099a926f4a66fbe28ff65c09f8306893aec094b89d0fe529e3577c5ecf30a7944caaf530f4575eb113fcf4c200d2dd4bd"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000498d3f16e1c510a933e648e78d01588319f002e9475df8942a2a89db0666bb7c88b32bb248140e44ac4ab28111b2b792399a926f4a66fbe28ff65c09f8306893aec094b89d0fe529e3577c5ecf30a7944caaf530f4575eb113fcf4c200d2dd4bd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEmNPxbhxRCpM+ZI540BWIMZ8ALpR134lC\noqidsGZrt8iLMrskgUDkSsSrKBEbK3kjmakm9KZvvij/ZcCfgwaJOuwJS4nQ/lKe\nNXfF7PMKeUTKr1MPRXXrET/PTCANLdS9\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 743,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100e707e267ea635384a6da09823149f5cb7acbb29e910d2630c5fb5afbc42aa8436349b214a3b8fb9481ec999e005091f8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04d1fd602feef80be9e55a19d1a9799c72a899110c6ac21fb3c21357069809d591a8775b64d1867a8cfff124f6a5e3a4f5f9548064f01b9af8868705493a37a037193b48f53b7c7973023f53e6ceff6830ca2f7a14ef51536d453af43b3058d8a9",
|
|
"wx" : "00d1fd602feef80be9e55a19d1a9799c72a899110c6ac21fb3c21357069809d591a8775b64d1867a8cfff124f6a5e3a4f5",
|
|
"wy" : "00f9548064f01b9af8868705493a37a037193b48f53b7c7973023f53e6ceff6830ca2f7a14ef51536d453af43b3058d8a9"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004d1fd602feef80be9e55a19d1a9799c72a899110c6ac21fb3c21357069809d591a8775b64d1867a8cfff124f6a5e3a4f5f9548064f01b9af8868705493a37a037193b48f53b7c7973023f53e6ceff6830ca2f7a14ef51536d453af43b3058d8a9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE0f1gL+74C+nlWhnRqXmccqiZEQxqwh+z\nwhNXBpgJ1ZGod1tk0YZ6jP/xJPal46T1+VSAZPAbmviGhwVJOjegNxk7SPU7fHlz\nAj9T5s7/aDDKL3oU71FTbUU69DswWNip\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 744,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100acc4f2afb7f5c10f818175074ef688a643fc5365e38129f86d5e2517feb81b2cd2b8dc4f7821bfd032edc4c0234085d9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0482f37604f66664c2883dba6d98397c281045cbf59f1d16dddb1381126a246553a8b4d2aaea48ad9185a1645f65567d318a4d7b19f1d2e4434c9a8ecad396304abc82221bbab0679935071c72fd975e7b021c04b1d16ea36fc2d051ef5a8e117c",
|
|
"wx" : "0082f37604f66664c2883dba6d98397c281045cbf59f1d16dddb1381126a246553a8b4d2aaea48ad9185a1645f65567d31",
|
|
"wy" : "008a4d7b19f1d2e4434c9a8ecad396304abc82221bbab0679935071c72fd975e7b021c04b1d16ea36fc2d051ef5a8e117c"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000482f37604f66664c2883dba6d98397c281045cbf59f1d16dddb1381126a246553a8b4d2aaea48ad9185a1645f65567d318a4d7b19f1d2e4434c9a8ecad396304abc82221bbab0679935071c72fd975e7b021c04b1d16ea36fc2d051ef5a8e117c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEgvN2BPZmZMKIPbptmDl8KBBFy/WfHRbd\n2xOBEmokZVOotNKq6kitkYWhZF9lVn0xik17GfHS5ENMmo7K05YwSryCIhu6sGeZ\nNQcccv2XXnsCHASx0W6jb8LQUe9ajhF8\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 745,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02310083276c0793f0a19742422f8af671ccf965fa7d18d541bef4c05b90e303f891d39008439e0fda4bfad5ee9a6ace7e340c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04f052dfc27bf8a6d36f3739f239b981f5b53fe08d999ec683b01e43e7596156206ba08b8b9f59229e2fbdce05f1e40f9990f0fdfb7029f9b3e8c6144dad0339208b7cdcb3820a554259db9d27afdd18f4a750296c59bad6b62df076f90d53be0d",
|
|
"wx" : "00f052dfc27bf8a6d36f3739f239b981f5b53fe08d999ec683b01e43e7596156206ba08b8b9f59229e2fbdce05f1e40f99",
|
|
"wy" : "0090f0fdfb7029f9b3e8c6144dad0339208b7cdcb3820a554259db9d27afdd18f4a750296c59bad6b62df076f90d53be0d"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004f052dfc27bf8a6d36f3739f239b981f5b53fe08d999ec683b01e43e7596156206ba08b8b9f59229e2fbdce05f1e40f9990f0fdfb7029f9b3e8c6144dad0339208b7cdcb3820a554259db9d27afdd18f4a750296c59bad6b62df076f90d53be0d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE8FLfwnv4ptNvNznyObmB9bU/4I2ZnsaD\nsB5D51lhViBroIuLn1kini+9zgXx5A+ZkPD9+3Ap+bPoxhRNrQM5IIt83LOCClVC\nWdudJ6/dGPSnUClsWbrWti3wdvkNU74N\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 746,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100942848586b534105ddd1ca77df72e1251140f412e97b62afbf85d4822309176b5965453dee3fab709e14156b3dfcecca",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04f877bd6e2a9273e322a3298ea3add13d1104b32172283669ca6688f0cb591524a7f15dd41496681eda98939aae729fede85ca37c81ef19e3dc9ab16908a3720d86875a51a6a6d932e37492a6ec7a344eabc482377f14891fbd1da7faeffa1178",
|
|
"wx" : "00f877bd6e2a9273e322a3298ea3add13d1104b32172283669ca6688f0cb591524a7f15dd41496681eda98939aae729fed",
|
|
"wy" : "00e85ca37c81ef19e3dc9ab16908a3720d86875a51a6a6d932e37492a6ec7a344eabc482377f14891fbd1da7faeffa1178"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004f877bd6e2a9273e322a3298ea3add13d1104b32172283669ca6688f0cb591524a7f15dd41496681eda98939aae729fede85ca37c81ef19e3dc9ab16908a3720d86875a51a6a6d932e37492a6ec7a344eabc482377f14891fbd1da7faeffa1178",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE+He9biqSc+MioymOo63RPREEsyFyKDZp\nymaI8MtZFSSn8V3UFJZoHtqYk5qucp/t6FyjfIHvGePcmrFpCKNyDYaHWlGmptky\n43SSpux6NE6rxII3fxSJH70dp/rv+hF4\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 747,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02307fffffffffffffffffffffffffffffffffffffffffffffffed2119d5fc12649fc808af3b6d9037d3a44eb32399970dd0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0414249bbcfeeceab06c75654d361c0df8d56b320ea3bc1d4627ec0a2f4b8fa3577445694664f569a91f480741381e494a28479f2186d715a56788f67073056aa0cb0b6a7f7893e77b9a6976ef6663d80226896d7f43bb502e1b4d49558a27dd8b",
|
|
"wx" : "14249bbcfeeceab06c75654d361c0df8d56b320ea3bc1d4627ec0a2f4b8fa3577445694664f569a91f480741381e494a",
|
|
"wy" : "28479f2186d715a56788f67073056aa0cb0b6a7f7893e77b9a6976ef6663d80226896d7f43bb502e1b4d49558a27dd8b"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000414249bbcfeeceab06c75654d361c0df8d56b320ea3bc1d4627ec0a2f4b8fa3577445694664f569a91f480741381e494a28479f2186d715a56788f67073056aa0cb0b6a7f7893e77b9a6976ef6663d80226896d7f43bb502e1b4d49558a27dd8b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEFCSbvP7s6rBsdWVNNhwN+NVrMg6jvB1G\nJ+wKL0uPo1d0RWlGZPVpqR9IB0E4HklKKEefIYbXFaVniPZwcwVqoMsLan94k+d7\nmml272Zj2AImiW1/Q7tQLhtNSVWKJ92L\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 748,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023079b95c013b0472de04d8faeec3b779c39fe729ea84fb554cd091c7178c2f054eabbc62c3e1cfbac2c2e69d7aa45d9072",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0450a438c98ee94025ce13e27d36b8280d4843585836eb47011a070cd77729245684a0db31fde980620349c796832b2c6cbdb72dba9f3f9cc878559f50b6bd1290f10a6bccbc1eeef7708b1b72059022987979e35221c51259f337c7288a2f86bc",
|
|
"wx" : "50a438c98ee94025ce13e27d36b8280d4843585836eb47011a070cd77729245684a0db31fde980620349c796832b2c6c",
|
|
"wy" : "00bdb72dba9f3f9cc878559f50b6bd1290f10a6bccbc1eeef7708b1b72059022987979e35221c51259f337c7288a2f86bc"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000450a438c98ee94025ce13e27d36b8280d4843585836eb47011a070cd77729245684a0db31fde980620349c796832b2c6cbdb72dba9f3f9cc878559f50b6bd1290f10a6bccbc1eeef7708b1b72059022987979e35221c51259f337c7288a2f86bc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEUKQ4yY7pQCXOE+J9NrgoDUhDWFg260cB\nGgcM13cpJFaEoNsx/emAYgNJx5aDKyxsvbctup8/nMh4VZ9Qtr0SkPEKa8y8Hu73\ncIsbcgWQIph5eeNSIcUSWfM3xyiKL4a8\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 749,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100bfd40d0caa4d9d42381f3d72a25683f52b03a1ed96fb72d03f08dcb9a8bc8f23c1a459deab03bcd39396c0d1e9053c81",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044d3fc5dcfaf741113cda3ce2f8dff4c912143e4d36314c361d7ed5656b68448bcca114ba9e8124281234660b7726ddcd680ddfef7ea07bfbcede10803d38d7211631ca11466078819eb66e11921ab7ffa3c4560c732e77595fd408e917dd9afc",
|
|
"wx" : "4d3fc5dcfaf741113cda3ce2f8dff4c912143e4d36314c361d7ed5656b68448bcca114ba9e8124281234660b7726ddcd",
|
|
"wy" : "680ddfef7ea07bfbcede10803d38d7211631ca11466078819eb66e11921ab7ffa3c4560c732e77595fd408e917dd9afc"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200044d3fc5dcfaf741113cda3ce2f8dff4c912143e4d36314c361d7ed5656b68448bcca114ba9e8124281234660b7726ddcd680ddfef7ea07bfbcede10803d38d7211631ca11466078819eb66e11921ab7ffa3c4560c732e77595fd408e917dd9afc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETT/F3Pr3QRE82jzi+N/0yRIUPk02MUw2\nHX7VZWtoRIvMoRS6noEkKBI0Zgt3Jt3NaA3f736ge/vO3hCAPTjXIRYxyhFGYHiB\nnrZuEZIat/+jxFYMcy53WV/UCOkX3Zr8\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 750,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02304c7d219db9af94ce7fffffffffffffffffffffffffffffffef15cf1058c8d8ba1e634c4122db95ec1facd4bb13ebf09a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0463d65cdfeb1f1a42000f43bd1ddd130537a7b6f635e8d2bd81a97da168221183da433ca78429fd2b33c5f94895a9c13aa9d1d5ea328725653a5a9d00f85a5516236f3b1428a8629287d3b0487a2e82dd57f93bb2aa3d9783dc74131e13756034",
|
|
"wx" : "63d65cdfeb1f1a42000f43bd1ddd130537a7b6f635e8d2bd81a97da168221183da433ca78429fd2b33c5f94895a9c13a",
|
|
"wy" : "00a9d1d5ea328725653a5a9d00f85a5516236f3b1428a8629287d3b0487a2e82dd57f93bb2aa3d9783dc74131e13756034"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000463d65cdfeb1f1a42000f43bd1ddd130537a7b6f635e8d2bd81a97da168221183da433ca78429fd2b33c5f94895a9c13aa9d1d5ea328725653a5a9d00f85a5516236f3b1428a8629287d3b0487a2e82dd57f93bb2aa3d9783dc74131e13756034",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEY9Zc3+sfGkIAD0O9Hd0TBTentvY16NK9\ngal9oWgiEYPaQzynhCn9KzPF+UiVqcE6qdHV6jKHJWU6Wp0A+FpVFiNvOxQoqGKS\nh9OwSHougt1X+Tuyqj2Xg9x0Ex4TdWA0\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 751,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100d219db9af94ce7ffffffffffffffffffffffffffffffffffd189bdb6d9ef7be8504ca374756ea5b8f15e44067d209b9b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04d22c9c348b9745711f57debac3a07df90a527c06bd02a8454f41437d54224e071698f03fdc64b1d652414edc3f2239c49ae9812a4b92f099d6659a659691768d57e530ed3c91d5455781605850997a58221f22a2451c3932470606c23f3ab1b8",
|
|
"wx" : "00d22c9c348b9745711f57debac3a07df90a527c06bd02a8454f41437d54224e071698f03fdc64b1d652414edc3f2239c4",
|
|
"wy" : "009ae9812a4b92f099d6659a659691768d57e530ed3c91d5455781605850997a58221f22a2451c3932470606c23f3ab1b8"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004d22c9c348b9745711f57debac3a07df90a527c06bd02a8454f41437d54224e071698f03fdc64b1d652414edc3f2239c49ae9812a4b92f099d6659a659691768d57e530ed3c91d5455781605850997a58221f22a2451c3932470606c23f3ab1b8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE0iycNIuXRXEfV966w6B9+QpSfAa9AqhF\nT0FDfVQiTgcWmPA/3GSx1lJBTtw/IjnEmumBKkuS8JnWZZpllpF2jVflMO08kdVF\nV4FgWFCZelgiHyKiRRw5MkcGBsI/OrG4\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 752,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100a433b735f299cfffffffffffffffffffffffffffffffffffdbb02debbfa7c9f1487f3936a22ca3f6f5d06ea22d7c0dc3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0431f05c0c29e9da49aa2fbbedee770c68d10f85e7f77e72ac3cfa9c8623a2bb42eeb2f24ac8f2aef7ab0c4b47823140035bb32fc1ec04bbff5eab96e070c938ba1b53fe63970f649ae02e2a4ada420a249b6f7c525e2c4b9b0d5562ae26f2278c",
|
|
"wx" : "31f05c0c29e9da49aa2fbbedee770c68d10f85e7f77e72ac3cfa9c8623a2bb42eeb2f24ac8f2aef7ab0c4b4782314003",
|
|
"wy" : "5bb32fc1ec04bbff5eab96e070c938ba1b53fe63970f649ae02e2a4ada420a249b6f7c525e2c4b9b0d5562ae26f2278c"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000431f05c0c29e9da49aa2fbbedee770c68d10f85e7f77e72ac3cfa9c8623a2bb42eeb2f24ac8f2aef7ab0c4b47823140035bb32fc1ec04bbff5eab96e070c938ba1b53fe63970f649ae02e2a4ada420a249b6f7c525e2c4b9b0d5562ae26f2278c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEMfBcDCnp2kmqL7vt7ncMaNEPhef3fnKs\nPPqchiOiu0LusvJKyPKu96sMS0eCMUADW7MvwewEu/9eq5bgcMk4uhtT/mOXD2Sa\n4C4qStpCCiSbb3xSXixLmw1VYq4m8ieM\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 753,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100b9af94ce7fffffffffffffffffffffffffffffffffffffffd6efeefc876c9f23217b443c80637ef939e911219f96c179",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04bc26eec95e26c980bc0334264cbcfc26b897c3571c96ce9ab2a67b49bb0f26a6272fdc27806d7a4c572ae0f78149f1f3c8af5f41b99d2066018165513fb3b55e4255dcd0659647ed55e1e2602cae4efbd6eae1dfe2ff63e2c748d4acc7430139",
|
|
"wx" : "00bc26eec95e26c980bc0334264cbcfc26b897c3571c96ce9ab2a67b49bb0f26a6272fdc27806d7a4c572ae0f78149f1f3",
|
|
"wy" : "00c8af5f41b99d2066018165513fb3b55e4255dcd0659647ed55e1e2602cae4efbd6eae1dfe2ff63e2c748d4acc7430139"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004bc26eec95e26c980bc0334264cbcfc26b897c3571c96ce9ab2a67b49bb0f26a6272fdc27806d7a4c572ae0f78149f1f3c8af5f41b99d2066018165513fb3b55e4255dcd0659647ed55e1e2602cae4efbd6eae1dfe2ff63e2c748d4acc7430139",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEvCbuyV4myYC8AzQmTLz8JriXw1ccls6a\nsqZ7SbsPJqYnL9wngG16TFcq4PeBSfHzyK9fQbmdIGYBgWVRP7O1XkJV3NBllkft\nVeHiYCyuTvvW6uHf4v9j4sdI1KzHQwE5\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 754,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100a276276276276276276276276276276276276276276276273d7228d4f84b769be0fd57b97e4c1ebcae9a5f635e80e9df",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046fa0964dd054250af176891c0c822b013b70f059c347172cafc6b36cd16cf3b0f9d19f2598bd0d580ac16c46acb167d4375bef701c002dcc040fd54824b14cc2df0154eb20e74464e1fe7b833426dd7d636bf2d79603fdde5ddaab23ab0cf426",
|
|
"wx" : "6fa0964dd054250af176891c0c822b013b70f059c347172cafc6b36cd16cf3b0f9d19f2598bd0d580ac16c46acb167d4",
|
|
"wy" : "375bef701c002dcc040fd54824b14cc2df0154eb20e74464e1fe7b833426dd7d636bf2d79603fdde5ddaab23ab0cf426"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200046fa0964dd054250af176891c0c822b013b70f059c347172cafc6b36cd16cf3b0f9d19f2598bd0d580ac16c46acb167d4375bef701c002dcc040fd54824b14cc2df0154eb20e74464e1fe7b833426dd7d636bf2d79603fdde5ddaab23ab0cf426",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEb6CWTdBUJQrxdokcDIIrATtw8FnDRxcs\nr8azbNFs87D50Z8lmL0NWArBbEassWfUN1vvcBwALcwED9VIJLFMwt8BVOsg50Rk\n4f57gzQm3X1ja/LXlgP93l3aqyOrDPQm\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 755,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023073333333333333333333333333333333333333333333333316e4d9f42d4eca22df403a0c578b86f0a9a93fe89995c7ed",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04baa4e712ee0786a5ab0e5a5dafdcdcf87b38830ab2ec86faedda9fdf65332f6a9688269412f050356530d4664a7fb8cdecc46a901b016e6bb8a336ad9aa6f19abf9ada69705d1c905beafb95a44f52af43de4bf80c050cf996b7796dfcee8e1b",
|
|
"wx" : "00baa4e712ee0786a5ab0e5a5dafdcdcf87b38830ab2ec86faedda9fdf65332f6a9688269412f050356530d4664a7fb8cd",
|
|
"wy" : "00ecc46a901b016e6bb8a336ad9aa6f19abf9ada69705d1c905beafb95a44f52af43de4bf80c050cf996b7796dfcee8e1b"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004baa4e712ee0786a5ab0e5a5dafdcdcf87b38830ab2ec86faedda9fdf65332f6a9688269412f050356530d4664a7fb8cdecc46a901b016e6bb8a336ad9aa6f19abf9ada69705d1c905beafb95a44f52af43de4bf80c050cf996b7796dfcee8e1b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEuqTnEu4HhqWrDlpdr9zc+Hs4gwqy7Ib6\n7dqf32UzL2qWiCaUEvBQNWUw1GZKf7jN7MRqkBsBbmu4ozatmqbxmr+a2mlwXRyQ\nW+r7laRPUq9D3kv4DAUM+Za3eW387o4b\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 756,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02307fffffffffffffffffffffffffffffffffffffffffffffffda4233abf824c93f90115e76db206fa7489d6647332e1ba3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0481e78a52ae0695583f7a601ab9b6fbfaf434f2befa1f8c833d59deb627a927c2f42d48eb617fe042f584e105c23c2317cf22d565f5f3b425ef7937df629b6864dac71264b288c1a987210f523071319ce3f64411910ac23765c4266e615112bc",
|
|
"wx" : "0081e78a52ae0695583f7a601ab9b6fbfaf434f2befa1f8c833d59deb627a927c2f42d48eb617fe042f584e105c23c2317",
|
|
"wy" : "00cf22d565f5f3b425ef7937df629b6864dac71264b288c1a987210f523071319ce3f64411910ac23765c4266e615112bc"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000481e78a52ae0695583f7a601ab9b6fbfaf434f2befa1f8c833d59deb627a927c2f42d48eb617fe042f584e105c23c2317cf22d565f5f3b425ef7937df629b6864dac71264b288c1a987210f523071319ce3f64411910ac23765c4266e615112bc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEgeeKUq4GlVg/emAaubb7+vQ08r76H4yD\nPVnetiepJ8L0LUjrYX/gQvWE4QXCPCMXzyLVZfXztCXveTffYptoZNrHEmSyiMGp\nhyEPUjBxMZzj9kQRkQrCN2XEJm5hURK8\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 757,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02303fffffffffffffffffffffffffffffffffffffffffffffffe3b1a6c0fa1b96efac0d06d9245853bd76760cb5666294bb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0441fa8765b19d3108031e28c9a781a385c9c10b2bfd42e6437e5c4bd711cf2a031750847d17a82f9376a30ae182a6d6e71c20af96324147d4155a4d0c867ca8e36eba204fbed2087e0fcbdc8baabe07bb3123f9f7259e771cd9f1ad17d1a23787",
|
|
"wx" : "41fa8765b19d3108031e28c9a781a385c9c10b2bfd42e6437e5c4bd711cf2a031750847d17a82f9376a30ae182a6d6e7",
|
|
"wy" : "1c20af96324147d4155a4d0c867ca8e36eba204fbed2087e0fcbdc8baabe07bb3123f9f7259e771cd9f1ad17d1a23787"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000441fa8765b19d3108031e28c9a781a385c9c10b2bfd42e6437e5c4bd711cf2a031750847d17a82f9376a30ae182a6d6e71c20af96324147d4155a4d0c867ca8e36eba204fbed2087e0fcbdc8baabe07bb3123f9f7259e771cd9f1ad17d1a23787",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEQfqHZbGdMQgDHijJp4GjhcnBCyv9QuZD\nflxL1xHPKgMXUIR9F6gvk3ajCuGCptbnHCCvljJBR9QVWk0Mhnyo4266IE++0gh+\nD8vci6q+B7sxI/n3JZ53HNnxrRfRojeH\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 758,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd023100dfea06865526cea11c0f9eb9512b41fa9581d0f6cb7db9680336151dce79de818cdf33c879da322740416d1e5ae532fa",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04e585a067d6dff37ae7f17f81583119b61291597345f107acffe237a08f4886d4fdf94fe63182e6143c99be25a7b7d86b572c1e06dd2c7b94b873f0578fcb2b99d60e246e51245d0804edd44b32f0f000c8f8f88f1d4a65fea51dbbb4ab1e2823",
|
|
"wx" : "00e585a067d6dff37ae7f17f81583119b61291597345f107acffe237a08f4886d4fdf94fe63182e6143c99be25a7b7d86b",
|
|
"wy" : "572c1e06dd2c7b94b873f0578fcb2b99d60e246e51245d0804edd44b32f0f000c8f8f88f1d4a65fea51dbbb4ab1e2823"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004e585a067d6dff37ae7f17f81583119b61291597345f107acffe237a08f4886d4fdf94fe63182e6143c99be25a7b7d86b572c1e06dd2c7b94b873f0578fcb2b99d60e246e51245d0804edd44b32f0f000c8f8f88f1d4a65fea51dbbb4ab1e2823",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE5YWgZ9bf83rn8X+BWDEZthKRWXNF8Qes\n/+I3oI9IhtT9+U/mMYLmFDyZviWnt9hrVyweBt0se5S4c/BXj8srmdYOJG5RJF0I\nBO3USzLw8ADI+PiPHUpl/qUdu7SrHigj\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 759,
|
|
"comment" : "point duplication during verification",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100b37699e0d518a4d370dbdaaaea3788850fa03f8186d1f78fdfbae6540aa670b31c8ada0fff3e737bd69520560fe0ce60023064adb4d51a93f96bed4665de2d4e1169cc95819ec6e9333edfd5c07ca134ceef7c95957b719ae349fc439eaa49fbbe34",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04e585a067d6dff37ae7f17f81583119b61291597345f107acffe237a08f4886d4fdf94fe63182e6143c99be25a7b7d86ba8d3e1f922d3846b478c0fa87034d46629f1db91aedba2f7fb122bb4cd0f0ffe3707076fe2b59a015ae2444c54e1d7dc",
|
|
"wx" : "00e585a067d6dff37ae7f17f81583119b61291597345f107acffe237a08f4886d4fdf94fe63182e6143c99be25a7b7d86b",
|
|
"wy" : "00a8d3e1f922d3846b478c0fa87034d46629f1db91aedba2f7fb122bb4cd0f0ffe3707076fe2b59a015ae2444c54e1d7dc"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004e585a067d6dff37ae7f17f81583119b61291597345f107acffe237a08f4886d4fdf94fe63182e6143c99be25a7b7d86ba8d3e1f922d3846b478c0fa87034d46629f1db91aedba2f7fb122bb4cd0f0ffe3707076fe2b59a015ae2444c54e1d7dc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE5YWgZ9bf83rn8X+BWDEZthKRWXNF8Qes\n/+I3oI9IhtT9+U/mMYLmFDyZviWnt9hrqNPh+SLThGtHjA+ocDTUZinx25Gu26L3\n+xIrtM0PD/43Bwdv4rWaAVriRExU4dfc\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 760,
|
|
"comment" : "duplication bug",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100b37699e0d518a4d370dbdaaaea3788850fa03f8186d1f78fdfbae6540aa670b31c8ada0fff3e737bd69520560fe0ce60023064adb4d51a93f96bed4665de2d4e1169cc95819ec6e9333edfd5c07ca134ceef7c95957b719ae349fc439eaa49fbbe34",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b4d78cccbced8065c0ebdc330b4670ec99309273e442b9be341196c1043e4441fc57b914085595bfc755c64fc409f0ba01fee31cbbbaed5c1323f09c87df9b0712c12e99733fa23ef91b4e6ca666b09dd7540ebf1068a15155bc069e3d595c8c",
|
|
"wx" : "00b4d78cccbced8065c0ebdc330b4670ec99309273e442b9be341196c1043e4441fc57b914085595bfc755c64fc409f0ba",
|
|
"wy" : "01fee31cbbbaed5c1323f09c87df9b0712c12e99733fa23ef91b4e6ca666b09dd7540ebf1068a15155bc069e3d595c8c"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004b4d78cccbced8065c0ebdc330b4670ec99309273e442b9be341196c1043e4441fc57b914085595bfc755c64fc409f0ba01fee31cbbbaed5c1323f09c87df9b0712c12e99733fa23ef91b4e6ca666b09dd7540ebf1068a15155bc069e3d595c8c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEtNeMzLztgGXA69wzC0Zw7JkwknPkQrm+\nNBGWwQQ+REH8V7kUCFWVv8dVxk/ECfC6Af7jHLu67VwTI/Cch9+bBxLBLplzP6I+\n+RtObKZmsJ3XVA6/EGihUVW8Bp49WVyM\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 761,
|
|
"comment" : "point with x-coordinate 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "3035020101023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046e3c68be53aade81ef89e096d841e2845a23331e7ec8a6a839d58d07fa016c0973ed75de4f99177bfdc74db566e9d15a4972ea08e577ce1f61c13a6ca1bad1deef2982ee01a2826f002b769f2c46098d3baff068a405d09ca3840d2fafe4e46e",
|
|
"wx" : "6e3c68be53aade81ef89e096d841e2845a23331e7ec8a6a839d58d07fa016c0973ed75de4f99177bfdc74db566e9d15a",
|
|
"wy" : "4972ea08e577ce1f61c13a6ca1bad1deef2982ee01a2826f002b769f2c46098d3baff068a405d09ca3840d2fafe4e46e"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200046e3c68be53aade81ef89e096d841e2845a23331e7ec8a6a839d58d07fa016c0973ed75de4f99177bfdc74db566e9d15a4972ea08e577ce1f61c13a6ca1bad1deef2982ee01a2826f002b769f2c46098d3baff068a405d09ca3840d2fafe4e46e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEbjxovlOq3oHvieCW2EHihFojMx5+yKao\nOdWNB/oBbAlz7XXeT5kXe/3HTbVm6dFaSXLqCOV3zh9hwTpsobrR3u8pgu4BooJv\nACt2nyxGCY07r/BopAXQnKOEDS+v5ORu\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 762,
|
|
"comment" : "point with x-coordinate 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000023033333333333333333333333333333333333333333333333327e0a919fda4a2c644d202bd41bcee4bc8fc05155c276eb0",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b101cdb3eba20e112adbb4bbd2cb479a69e590a44ea902631832abfab8af2c3041b3df7f1665b2c6eb533f546217100a1a61aa9951578ad4f00ae17339a8a6f1359bbd0ac355678ed4df21338f08763c1d3702ec132b634c7bcc0118efb1d0dd",
|
|
"wx" : "00b101cdb3eba20e112adbb4bbd2cb479a69e590a44ea902631832abfab8af2c3041b3df7f1665b2c6eb533f546217100a",
|
|
"wy" : "1a61aa9951578ad4f00ae17339a8a6f1359bbd0ac355678ed4df21338f08763c1d3702ec132b634c7bcc0118efb1d0dd"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004b101cdb3eba20e112adbb4bbd2cb479a69e590a44ea902631832abfab8af2c3041b3df7f1665b2c6eb533f546217100a1a61aa9951578ad4f00ae17339a8a6f1359bbd0ac355678ed4df21338f08763c1d3702ec132b634c7bcc0118efb1d0dd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEsQHNs+uiDhEq27S70stHmmnlkKROqQJj\nGDKr+rivLDBBs99/FmWyxutTP1RiFxAKGmGqmVFXitTwCuFzOaim8TWbvQrDVWeO\n1N8hM48IdjwdNwLsEytjTHvMARjvsdDd\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 763,
|
|
"comment" : "comparison with point at infinity ",
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326023033333333333333333333333333333333333333333333333327e0a919fda4a2c644d202bd41bcee4bc8fc05155c276eb0",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046761044a040a4979db269b4a377e42f11b4be0ce24611f677674dcf770f5887ca4db565303283809e6d65f7fc6bc273605c7daa403fca53549f75ff3372909642d02b7fdcac1e68242814d6e925ab01a80836cfbb35581960079e2fb44c0d186",
|
|
"wx" : "6761044a040a4979db269b4a377e42f11b4be0ce24611f677674dcf770f5887ca4db565303283809e6d65f7fc6bc2736",
|
|
"wy" : "05c7daa403fca53549f75ff3372909642d02b7fdcac1e68242814d6e925ab01a80836cfbb35581960079e2fb44c0d186"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200046761044a040a4979db269b4a377e42f11b4be0ce24611f677674dcf770f5887ca4db565303283809e6d65f7fc6bc273605c7daa403fca53549f75ff3372909642d02b7fdcac1e68242814d6e925ab01a80836cfbb35581960079e2fb44c0d186",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEZ2EESgQKSXnbJptKN35C8RtL4M4kYR9n\ndnTc93D1iHyk21ZTAyg4CebWX3/GvCc2BcfapAP8pTVJ91/zNykJZC0Ct/3KweaC\nQoFNbpJasBqAg2z7s1WBlgB54vtEwNGG\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 764,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023008d999057ba3d2d969260045c55b97f089025959a6f434d651d207d19fb96e9e4fe0e86ebe0e64f85b96a9c75295df61023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046922c591502f01046fee5617bf16496f58398822e69afa8335308f36c09a8ed437209fefcffbbdf0a4876b35a3c7ab2655854db825b94b3f27e5f892d3bbb6c7240ec922894dd3598e91fcc6134a2b8fd154e1790466906206f0f623416e63a1",
|
|
"wx" : "6922c591502f01046fee5617bf16496f58398822e69afa8335308f36c09a8ed437209fefcffbbdf0a4876b35a3c7ab26",
|
|
"wy" : "55854db825b94b3f27e5f892d3bbb6c7240ec922894dd3598e91fcc6134a2b8fd154e1790466906206f0f623416e63a1"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200046922c591502f01046fee5617bf16496f58398822e69afa8335308f36c09a8ed437209fefcffbbdf0a4876b35a3c7ab2655854db825b94b3f27e5f892d3bbb6c7240ec922894dd3598e91fcc6134a2b8fd154e1790466906206f0f623416e63a1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEaSLFkVAvAQRv7lYXvxZJb1g5iCLmmvqD\nNTCPNsCajtQ3IJ/vz/u98KSHazWjx6smVYVNuCW5Sz8n5fiS07u2xyQOySKJTdNZ\njpH8xhNKK4/RVOF5BGaQYgbw9iNBbmOh\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 765,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023008d999057ba3d2d969260045c55b97f089025959a6f434d651d207d19fb96e9e4fe0e86ebe0e64f85b96a9c75295df6102302492492492492492492492492492492492492492492492491c7be680477598d6c3716fabc13dcec86afd2833d41c2a7e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04892dac0e700fc29d1802d9a449a6f56b2172cb1b7d881013cd3b31c0edb052f2d340c8995a4477bcb9225fec15667233cc6c34ae17445444516fd8fd22ee83f79eb0771ebff6677ac5d4e089f87a1c72df957acb24492adcd7c3816b8e0c75b1",
|
|
"wx" : "00892dac0e700fc29d1802d9a449a6f56b2172cb1b7d881013cd3b31c0edb052f2d340c8995a4477bcb9225fec15667233",
|
|
"wy" : "00cc6c34ae17445444516fd8fd22ee83f79eb0771ebff6677ac5d4e089f87a1c72df957acb24492adcd7c3816b8e0c75b1"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004892dac0e700fc29d1802d9a449a6f56b2172cb1b7d881013cd3b31c0edb052f2d340c8995a4477bcb9225fec15667233cc6c34ae17445444516fd8fd22ee83f79eb0771ebff6677ac5d4e089f87a1c72df957acb24492adcd7c3816b8e0c75b1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEiS2sDnAPwp0YAtmkSab1ayFyyxt9iBAT\nzTsxwO2wUvLTQMiZWkR3vLkiX+wVZnIzzGw0rhdEVERRb9j9Iu6D956wdx6/9md6\nxdTgifh6HHLflXrLJEkq3NfDgWuODHWx\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 766,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023008d999057ba3d2d969260045c55b97f089025959a6f434d651d207d19fb96e9e4fe0e86ebe0e64f85b96a9c75295df6102306666666666666666666666666666666666666666666666664fc15233fb49458c89a4057a8379dc9791f80a2ab84edd61",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401634117e6478ce0568b0a2469237bbac6ff096acb7e514072bf77123cb51ba0cc3e8d69284d534d8e6d1e876cecf22231e5ef04dc96762ce7d5ef3348ad1e241ac797ae3b630ea249afc5139af49b8ef68b32f812d6b514210363d498efc28c",
|
|
"wx" : "01634117e6478ce0568b0a2469237bbac6ff096acb7e514072bf77123cb51ba0cc3e8d69284d534d8e6d1e876cecf222",
|
|
"wy" : "31e5ef04dc96762ce7d5ef3348ad1e241ac797ae3b630ea249afc5139af49b8ef68b32f812d6b514210363d498efc28c"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000401634117e6478ce0568b0a2469237bbac6ff096acb7e514072bf77123cb51ba0cc3e8d69284d534d8e6d1e876cecf22231e5ef04dc96762ce7d5ef3348ad1e241ac797ae3b630ea249afc5139af49b8ef68b32f812d6b514210363d498efc28c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEAWNBF+ZHjOBWiwokaSN7usb/CWrLflFA\ncr93Ejy1G6DMPo1pKE1TTY5tHods7PIiMeXvBNyWdizn1e8zSK0eJBrHl647Yw6i\nSa/FE5r0m472izL4Eta1FCEDY9SY78KM\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 767,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023008d999057ba3d2d969260045c55b97f089025959a6f434d651d207d19fb96e9e4fe0e86ebe0e64f85b96a9c75295df6102310099999999999999999999999999999999999999999999999977a1fb4df8ede852ce760837c536cae35af40f4014764c12",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04675bdc79d8243887fe1b305d12ac10d2e9c0bde070a6e3394cd5f6adfbceda75498b0e7a794c7212f42be93f616744563e96d1bf6f95cdbefa774911ba06463d8a90a0c9d73c9699b061d779dc52496e8ee9b9ae9c5d4d90e89cd1157d811895",
|
|
"wx" : "675bdc79d8243887fe1b305d12ac10d2e9c0bde070a6e3394cd5f6adfbceda75498b0e7a794c7212f42be93f61674456",
|
|
"wy" : "3e96d1bf6f95cdbefa774911ba06463d8a90a0c9d73c9699b061d779dc52496e8ee9b9ae9c5d4d90e89cd1157d811895"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004675bdc79d8243887fe1b305d12ac10d2e9c0bde070a6e3394cd5f6adfbceda75498b0e7a794c7212f42be93f616744563e96d1bf6f95cdbefa774911ba06463d8a90a0c9d73c9699b061d779dc52496e8ee9b9ae9c5d4d90e89cd1157d811895",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEZ1vcedgkOIf+GzBdEqwQ0unAveBwpuM5\nTNX2rfvO2nVJiw56eUxyEvQr6T9hZ0RWPpbRv2+Vzb76d0kRugZGPYqQoMnXPJaZ\nsGHXedxSSW6O6bmunF1NkOic0RV9gRiV\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 768,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023008d999057ba3d2d969260045c55b97f089025959a6f434d651d207d19fb96e9e4fe0e86ebe0e64f85b96a9c75295df61023100db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6aae76701acc1950894a89e068772d8b281eef136f8a8fef5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040fd1aab89f47b565b8160dfcc433b6408adeb1473c036b26b7ddec714fb4d0e7dd756c88469e86e218813ead8e8e7676f1cc955c4139e0071c0079ec1d77164e0569bdf453837e8b33c98535a0e7c9c61ef24762067bb46b6116ea7909a69b23",
|
|
"wx" : "0fd1aab89f47b565b8160dfcc433b6408adeb1473c036b26b7ddec714fb4d0e7dd756c88469e86e218813ead8e8e7676",
|
|
"wy" : "00f1cc955c4139e0071c0079ec1d77164e0569bdf453837e8b33c98535a0e7c9c61ef24762067bb46b6116ea7909a69b23"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200040fd1aab89f47b565b8160dfcc433b6408adeb1473c036b26b7ddec714fb4d0e7dd756c88469e86e218813ead8e8e7676f1cc955c4139e0071c0079ec1d77164e0569bdf453837e8b33c98535a0e7c9c61ef24762067bb46b6116ea7909a69b23",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAED9GquJ9HtWW4Fg38xDO2QIresUc8A2sm\nt93scU+00OfddWyIRp6G4hiBPq2OjnZ28cyVXEE54AccAHnsHXcWTgVpvfRTg36L\nM8mFNaDnycYe8kdiBnu0a2EW6nkJppsj\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 769,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023008d999057ba3d2d969260045c55b97f089025959a6f434d651d207d19fb96e9e4fe0e86ebe0e64f85b96a9c75295df6102300eb10e5ab95f2f26a40700b1300fb8c3e754d5c453d9384ecce1daa38135a48a0a96c24efc2a76d00bde1d7aeedf7f6a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0434d74ec088bab6c6323968d1f468993812f690d6edca5b97604d718e12b8cdfdd96d42e57d33afe312f0ee3c3d0a13f786f4922bb2c13bdf7752a3ecb69393e997bd65461c46867ebeef6296b23f2c56df63acfde648f3f5002dbc239ffd1582",
|
|
"wx" : "34d74ec088bab6c6323968d1f468993812f690d6edca5b97604d718e12b8cdfdd96d42e57d33afe312f0ee3c3d0a13f7",
|
|
"wy" : "0086f4922bb2c13bdf7752a3ecb69393e997bd65461c46867ebeef6296b23f2c56df63acfde648f3f5002dbc239ffd1582"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000434d74ec088bab6c6323968d1f468993812f690d6edca5b97604d718e12b8cdfdd96d42e57d33afe312f0ee3c3d0a13f786f4922bb2c13bdf7752a3ecb69393e997bd65461c46867ebeef6296b23f2c56df63acfde648f3f5002dbc239ffd1582",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAENNdOwIi6tsYyOWjR9GiZOBL2kNbtyluX\nYE1xjhK4zf3ZbULlfTOv4xLw7jw9ChP3hvSSK7LBO993UqPstpOT6Ze9ZUYcRoZ+\nvu9ilrI/LFbfY6z95kjz9QAtvCOf/RWC\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 770,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7023055555555555555555555555555555555555555555555555542766f2b5167b9f51d5e0490c2e58d28f9a40878eeec6326",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044376c9893e9277296c766a83abbe36b34da7a631f8cbfd32a1888de0dd1455a21a153ea2d61cfa5071fc6be12a658f6b290ba1a8ee8c78b5dd58f9ffcacb22955682eea02429c3fa8cdcb649fa4d007c8693e3f8f3c0a5f3c4de7a51beaa9809",
|
|
"wx" : "4376c9893e9277296c766a83abbe36b34da7a631f8cbfd32a1888de0dd1455a21a153ea2d61cfa5071fc6be12a658f6b",
|
|
"wy" : "290ba1a8ee8c78b5dd58f9ffcacb22955682eea02429c3fa8cdcb649fa4d007c8693e3f8f3c0a5f3c4de7a51beaa9809"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200044376c9893e9277296c766a83abbe36b34da7a631f8cbfd32a1888de0dd1455a21a153ea2d61cfa5071fc6be12a658f6b290ba1a8ee8c78b5dd58f9ffcacb22955682eea02429c3fa8cdcb649fa4d007c8693e3f8f3c0a5f3c4de7a51beaa9809",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEQ3bJiT6SdylsdmqDq742s02npjH4y/0y\noYiN4N0UVaIaFT6i1hz6UHH8a+EqZY9rKQuhqO6MeLXdWPn/yssilVaC7qAkKcP6\njNy2SfpNAHyGk+P488Cl88TeelG+qpgJ\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 771,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab702302492492492492492492492492492492492492492492492491c7be680477598d6c3716fabc13dcec86afd2833d41c2a7e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0410878fc4807f6732a23c883e838e38c787f7088f94c1824b84673e8b9eab16de1544ae4bf2c6fe3fe4fb343b7487e2b43036ff439533d22f951dae966584bafb23b217dcad2f8f4e0e6999c0c4d0f076634be805f676fd2a59c27f9fe7c5d95b",
|
|
"wx" : "10878fc4807f6732a23c883e838e38c787f7088f94c1824b84673e8b9eab16de1544ae4bf2c6fe3fe4fb343b7487e2b4",
|
|
"wy" : "3036ff439533d22f951dae966584bafb23b217dcad2f8f4e0e6999c0c4d0f076634be805f676fd2a59c27f9fe7c5d95b"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000410878fc4807f6732a23c883e838e38c787f7088f94c1824b84673e8b9eab16de1544ae4bf2c6fe3fe4fb343b7487e2b43036ff439533d22f951dae966584bafb23b217dcad2f8f4e0e6999c0c4d0f076634be805f676fd2a59c27f9fe7c5d95b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEEIePxIB/ZzKiPIg+g444x4f3CI+UwYJL\nhGc+i56rFt4VRK5L8sb+P+T7NDt0h+K0MDb/Q5Uz0i+VHa6WZYS6+yOyF9ytL49O\nDmmZwMTQ8HZjS+gF9nb9KlnCf5/nxdlb\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 772,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab702306666666666666666666666666666666666666666666666664fc15233fb49458c89a4057a8379dc9791f80a2ab84edd61",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04036b253e3b4ac88bb8585a2b32b978766a931e5ad0d0e653a2e34b44d6ddcc0d386e20c4def2d8bb3f8da128c1eac69f9c8e3b5ff5dde2205af359b3974d52758d7abae812b8b275e1452c4e59cb62e9b6771d347dbd1dea761c70291cc5e0a6",
|
|
"wx" : "036b253e3b4ac88bb8585a2b32b978766a931e5ad0d0e653a2e34b44d6ddcc0d386e20c4def2d8bb3f8da128c1eac69f",
|
|
"wy" : "009c8e3b5ff5dde2205af359b3974d52758d7abae812b8b275e1452c4e59cb62e9b6771d347dbd1dea761c70291cc5e0a6"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004036b253e3b4ac88bb8585a2b32b978766a931e5ad0d0e653a2e34b44d6ddcc0d386e20c4def2d8bb3f8da128c1eac69f9c8e3b5ff5dde2205af359b3974d52758d7abae812b8b275e1452c4e59cb62e9b6771d347dbd1dea761c70291cc5e0a6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEA2slPjtKyIu4WForMrl4dmqTHlrQ0OZT\nouNLRNbdzA04biDE3vLYuz+NoSjB6safnI47X/Xd4iBa81mzl01SdY16uugSuLJ1\n4UUsTlnLYum2dx00fb0d6nYccCkcxeCm\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 773,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab702310099999999999999999999999999999999999999999999999977a1fb4df8ede852ce760837c536cae35af40f4014764c12",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042783c1be922fce155864ecb41d0a316e193a55843e80192f1fe556772f3debd04b9fc93c27bc6f353938886a404419941a352cec336946424fa3c208ea7105f5549edde8688abd305344bf4f66dda7eabcda6f8557c9af88109804d702e9670b",
|
|
"wx" : "2783c1be922fce155864ecb41d0a316e193a55843e80192f1fe556772f3debd04b9fc93c27bc6f353938886a40441994",
|
|
"wy" : "1a352cec336946424fa3c208ea7105f5549edde8688abd305344bf4f66dda7eabcda6f8557c9af88109804d702e9670b"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200042783c1be922fce155864ecb41d0a316e193a55843e80192f1fe556772f3debd04b9fc93c27bc6f353938886a404419941a352cec336946424fa3c208ea7105f5549edde8688abd305344bf4f66dda7eabcda6f8557c9af88109804d702e9670b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEJ4PBvpIvzhVYZOy0HQoxbhk6VYQ+gBkv\nH+VWdy8969BLn8k8J7xvNTk4iGpARBmUGjUs7DNpRkJPo8II6nEF9VSe3ehoir0w\nU0S/T2bdp+q82m+FV8mviBCYBNcC6WcL\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 774,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3066023100aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7023100db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6aae76701acc1950894a89e068772d8b281eef136f8a8fef5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04fa92538cdc740368caf16480ff1304cebbbe59a46a7a84603726b9592d105be069df1c61b5974f27e7552f797de97cdb620e03a46da862e4b089bafbb80df8f055c8f47991b3a3ddb2b089aedb2f15841a6a5b5e14c1dc36b3c155c4f74d3409",
|
|
"wx" : "00fa92538cdc740368caf16480ff1304cebbbe59a46a7a84603726b9592d105be069df1c61b5974f27e7552f797de97cdb",
|
|
"wy" : "620e03a46da862e4b089bafbb80df8f055c8f47991b3a3ddb2b089aedb2f15841a6a5b5e14c1dc36b3c155c4f74d3409"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004fa92538cdc740368caf16480ff1304cebbbe59a46a7a84603726b9592d105be069df1c61b5974f27e7552f797de97cdb620e03a46da862e4b089bafbb80df8f055c8f47991b3a3ddb2b089aedb2f15841a6a5b5e14c1dc36b3c155c4f74d3409",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE+pJTjNx0A2jK8WSA/xMEzru+WaRqeoRg\nNya5WS0QW+Bp3xxhtZdPJ+dVL3l96XzbYg4DpG2oYuSwibr7uA348FXI9HmRs6Pd\nsrCJrtsvFYQaalteFMHcNrPBVcT3TTQJ\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 775,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab702300eb10e5ab95f2f26a40700b1300fb8c3e754d5c453d9384ecce1daa38135a48a0a96c24efc2a76d00bde1d7aeedf7f6a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab73617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f",
|
|
"wx" : "00aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7",
|
|
"wy" : "3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab73617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEqofKIr6LBTeOscce8yCtdG4dO2KLp5uY\nWfdB4IJUKjhVAvJdv1UpbDpUXjhydgq3NhfeSpYmLG9dnpi/kpLcKfj0Hb0omhR8\n6doxE7XwuMAKYLHOHX6BnXpDHXyQ6g5f\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 776,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100f9b127f0d81ebcd17b7ba0ea131c660d340b05ce557c82160e0f793de07d38179023942871acb7002dfafdfffc8deace02302492492492492492492492492492492492492492492492491c7be680477598d6c3716fabc13dcec86afd2833d41c2a7e",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 777,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "30640230064ed80f27e1432e84845f15ece399f2cbf4fa31aa837de9b953d44413b9f5c7c7f67989d703f07abef11b6ad0373ea502302492492492492492492492492492492492492492492492491c7be680477598d6c3716fabc13dcec86afd2833d41c2a7e",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7c9e821b569d9d390a26167406d6d23d6070be242d765eb831625ceec4a0f473ef59f4e30e2817e6285bce2846f15f1a0",
|
|
"wx" : "00aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7",
|
|
"wy" : "00c9e821b569d9d390a26167406d6d23d6070be242d765eb831625ceec4a0f473ef59f4e30e2817e6285bce2846f15f1a0"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7c9e821b569d9d390a26167406d6d23d6070be242d765eb831625ceec4a0f473ef59f4e30e2817e6285bce2846f15f1a0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEqofKIr6LBTeOscce8yCtdG4dO2KLp5uY\nWfdB4IJUKjhVAvJdv1UpbDpUXjhydgq3yeghtWnZ05CiYWdAbW0j1gcL4kLXZeuD\nFiXO7EoPRz71n04w4oF+YoW84oRvFfGg\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 778,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100f9b127f0d81ebcd17b7ba0ea131c660d340b05ce557c82160e0f793de07d38179023942871acb7002dfafdfffc8deace02302492492492492492492492492492492492492492492492491c7be680477598d6c3716fabc13dcec86afd2833d41c2a7e",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 779,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "30640230064ed80f27e1432e84845f15ece399f2cbf4fa31aa837de9b953d44413b9f5c7c7f67989d703f07abef11b6ad0373ea502302492492492492492492492492492492492492492492492491c7be680477598d6c3716fabc13dcec86afd2833d41c2a7e",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04011d2fc994df204b63f05ae8420ca390559b80c4988ef639b95c469e5cb24cf216540cbebc470bcaa0466612dbde6d03098c6996e0a05f02902183ceba4b530f4f3500a99e4cdc8a50c0d98d870944e56548dc4cf6bbbf3d6978efbc8fc8778b33e132d2c185c20844cf3df394d522259317e3931f0130f23f6500c880f3a8319ab44a0e",
|
|
"wx" : "011d2fc994df204b63f05ae8420ca390559b80c4988ef639b95c469e5cb24cf216540cbebc470bcaa0466612dbde6d03098c6996e0a05f02902183ceba4b530f4f35",
|
|
"wy" : "00a99e4cdc8a50c0d98d870944e56548dc4cf6bbbf3d6978efbc8fc8778b33e132d2c185c20844cf3df394d522259317e3931f0130f23f6500c880f3a8319ab44a0e"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004011d2fc994df204b63f05ae8420ca390559b80c4988ef639b95c469e5cb24cf216540cbebc470bcaa0466612dbde6d03098c6996e0a05f02902183ceba4b530f4f3500a99e4cdc8a50c0d98d870944e56548dc4cf6bbbf3d6978efbc8fc8778b33e132d2c185c20844cf3df394d522259317e3931f0130f23f6500c880f3a8319ab44a0e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBHS/JlN8gS2PwWuhCDKOQVZuAxJiO\n9jm5XEaeXLJM8hZUDL68RwvKoEZmEtvebQMJjGmW4KBfApAhg866S1MPTzUAqZ5M\n3IpQwNmNhwlE5WVI3Ez2u789aXjvvI/Id4sz4TLSwYXCCETPPfOU1SIlkxfjkx8B\nMPI/ZQDIgPOoMZq0Sg4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 780,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"msg" : "54657374",
|
|
"sig" : "3067022105ae79787c40d069948033feb708f65a2fc44a36477663b851449048e16ec79bf5024201fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386406",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 781,
|
|
"comment" : "r too large",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024201fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe024201fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386406",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04019a029c77fed04cab1ab8937fda8128fc19bf8c41a8f242f6a9ca6f0ae813c1709b8b03e26a9298fe59f99e3706ffc28c43d26a11690d2ffd815a33ea329076697800125b2a4b635f514fd5d63215672f311ae5935c1774ed5d8a44897b68191e6369ab26df915e2066a943e59a3577319dac5a86640bc8c718d2b159479fdd22d11441",
|
|
"wx" : "019a029c77fed04cab1ab8937fda8128fc19bf8c41a8f242f6a9ca6f0ae813c1709b8b03e26a9298fe59f99e3706ffc28c43d26a11690d2ffd815a33ea3290766978",
|
|
"wy" : "125b2a4b635f514fd5d63215672f311ae5935c1774ed5d8a44897b68191e6369ab26df915e2066a943e59a3577319dac5a86640bc8c718d2b159479fdd22d11441"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004019a029c77fed04cab1ab8937fda8128fc19bf8c41a8f242f6a9ca6f0ae813c1709b8b03e26a9298fe59f99e3706ffc28c43d26a11690d2ffd815a33ea329076697800125b2a4b635f514fd5d63215672f311ae5935c1774ed5d8a44897b68191e6369ab26df915e2066a943e59a3577319dac5a86640bc8c718d2b159479fdd22d11441",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBmgKcd/7QTKsauJN/2oEo/Bm/jEGo\n8kL2qcpvCugTwXCbiwPiapKY/ln5njcG/8KMQ9JqEWkNL/2BWjPqMpB2aXgAElsq\nS2NfUU/V1jIVZy8xGuWTXBd07V2KRIl7aBkeY2mrJt+RXiBmqUPlmjV3MZ2sWoZk\nC8jHGNKxWUef3SLRFEE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 782,
|
|
"comment" : "r,s are large",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024201fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386407024201fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386406",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400eb62878040b4ca0c8c61afe7e195e22e395f69c7859ac2b79802967098325573b56d3d65b7bcf3111bc4859e1d0816c541473ac1ffcf4a2cc7d6e6aa591ba117af005bea26cac7ce213584b5d35ab22d8b45dc88ff26edbadd487aa98ccaa71613bb7b79dce67a9bc36d3e980fc10d4313ac20c4cf271ecc1f4adab39513971aa4fb9d",
|
|
"wx" : "00eb62878040b4ca0c8c61afe7e195e22e395f69c7859ac2b79802967098325573b56d3d65b7bcf3111bc4859e1d0816c541473ac1ffcf4a2cc7d6e6aa591ba117af",
|
|
"wy" : "5bea26cac7ce213584b5d35ab22d8b45dc88ff26edbadd487aa98ccaa71613bb7b79dce67a9bc36d3e980fc10d4313ac20c4cf271ecc1f4adab39513971aa4fb9d"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400eb62878040b4ca0c8c61afe7e195e22e395f69c7859ac2b79802967098325573b56d3d65b7bcf3111bc4859e1d0816c541473ac1ffcf4a2cc7d6e6aa591ba117af005bea26cac7ce213584b5d35ab22d8b45dc88ff26edbadd487aa98ccaa71613bb7b79dce67a9bc36d3e980fc10d4313ac20c4cf271ecc1f4adab39513971aa4fb9d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQA62KHgEC0ygyMYa/n4ZXiLjlfaceF\nmsK3mAKWcJgyVXO1bT1lt7zzERvEhZ4dCBbFQUc6wf/PSizH1uaqWRuhF68AW+om\nysfOITWEtdNasi2LRdyI/ybtut1IeqmMyqcWE7t7edzmepvDbT6YD8ENQxOsIMTP\nJx7MH0ras5UTlxqk+50=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 783,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe02420095e19fd2b755d603bf994562d9a11f63cf4eadecbdc0ecb5a394e54529e8da58a527bc6d85725043786362ab4de6cbc7d80e625ae0a98861aea1c7bf7109c91f66",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401296b049f1979785b3377c5e28edf4c2787f213f2836beaf5d61407870ade857d5083e01d8728b0ddde1ba1bb3e791617eddb02a52c78049791ca52b646f93117c200b977a711a5030c4ef6990833296132203badbdbc01407c4aceb49c96b658fc77ff1f655ad74e1344e2fc55c91c7fc3432355192db3d2c03cd134ba387ad3acde40",
|
|
"wx" : "01296b049f1979785b3377c5e28edf4c2787f213f2836beaf5d61407870ade857d5083e01d8728b0ddde1ba1bb3e791617eddb02a52c78049791ca52b646f93117c2",
|
|
"wy" : "00b977a711a5030c4ef6990833296132203badbdbc01407c4aceb49c96b658fc77ff1f655ad74e1344e2fc55c91c7fc3432355192db3d2c03cd134ba387ad3acde40"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401296b049f1979785b3377c5e28edf4c2787f213f2836beaf5d61407870ade857d5083e01d8728b0ddde1ba1bb3e791617eddb02a52c78049791ca52b646f93117c200b977a711a5030c4ef6990833296132203badbdbc01407c4aceb49c96b658fc77ff1f655ad74e1344e2fc55c91c7fc3432355192db3d2c03cd134ba387ad3acde40",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBKWsEnxl5eFszd8Xijt9MJ4fyE/KD\na+r11hQHhwrehX1Qg+Adhyiw3d4bobs+eRYX7dsCpSx4BJeRylK2RvkxF8IAuXen\nEaUDDE72mQgzKWEyIDutvbwBQHxKzrSclrZY/Hf/H2Va104TROL8Vckcf8NDI1UZ\nLbPSwDzRNLo4etOs3kA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 784,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe024115837645583a37a7a665f983c5e347f65dca47647aa80fd2498a791d44d9b2850a151a6e86fce7d7bb814e724ff11b9ef726bf36c6e7548c37f82a24902876ee19",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04005f5059308349f9ebbb4d1c55c0afccf62162ec1dd12ef3ed906656924ffd99cab9f06b0eb218cff078a4677a5ce1cc07652bc976aefc732c28f67ef078a434e99900a5d14df310630d76ec03cb6f9b95bf1a22438105c88cd9fd3dac80f857add38271d8ba901684b26d436d4a859ad4cda5e9677b73cab3f3e5e41a3d7996607279ab",
|
|
"wx" : "5f5059308349f9ebbb4d1c55c0afccf62162ec1dd12ef3ed906656924ffd99cab9f06b0eb218cff078a4677a5ce1cc07652bc976aefc732c28f67ef078a434e999",
|
|
"wy" : "00a5d14df310630d76ec03cb6f9b95bf1a22438105c88cd9fd3dac80f857add38271d8ba901684b26d436d4a859ad4cda5e9677b73cab3f3e5e41a3d7996607279ab"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004005f5059308349f9ebbb4d1c55c0afccf62162ec1dd12ef3ed906656924ffd99cab9f06b0eb218cff078a4677a5ce1cc07652bc976aefc732c28f67ef078a434e99900a5d14df310630d76ec03cb6f9b95bf1a22438105c88cd9fd3dac80f857add38271d8ba901684b26d436d4a859ad4cda5e9677b73cab3f3e5e41a3d7996607279ab",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAX1BZMINJ+eu7TRxVwK/M9iFi7B3R\nLvPtkGZWkk/9mcq58GsOshjP8HikZ3pc4cwHZSvJdq78cywo9n7weKQ06ZkApdFN\n8xBjDXbsA8tvm5W/GiJDgQXIjNn9PayA+Fet04Jx2LqQFoSybUNtSoWa1M2l6Wd7\nc8qz8+XkGj15lmByeas=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 785,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020101020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04001fb7064274ba3b5950f00a027cb2cf42d1ed69c89d944da0415e9086f35c85b44afdd635cdc1fade2ce71e62485e243ceb9f075a111476302e60d7d78b1207cda7006b4252077172332059a9c60f966893fda7e73377debcba9a8f69cee8f59d67a2ca892fad1df4463161f157c7c117c1bbfddc88441c4c8abc63667be5c1ff22f6e2",
|
|
"wx" : "1fb7064274ba3b5950f00a027cb2cf42d1ed69c89d944da0415e9086f35c85b44afdd635cdc1fade2ce71e62485e243ceb9f075a111476302e60d7d78b1207cda7",
|
|
"wy" : "6b4252077172332059a9c60f966893fda7e73377debcba9a8f69cee8f59d67a2ca892fad1df4463161f157c7c117c1bbfddc88441c4c8abc63667be5c1ff22f6e2"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004001fb7064274ba3b5950f00a027cb2cf42d1ed69c89d944da0415e9086f35c85b44afdd635cdc1fade2ce71e62485e243ceb9f075a111476302e60d7d78b1207cda7006b4252077172332059a9c60f966893fda7e73377debcba9a8f69cee8f59d67a2ca892fad1df4463161f157c7c117c1bbfddc88441c4c8abc63667be5c1ff22f6e2",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAH7cGQnS6O1lQ8AoCfLLPQtHtacid\nlE2gQV6QhvNchbRK/dY1zcH63iznHmJIXiQ8658HWhEUdjAuYNfXixIHzacAa0JS\nB3FyMyBZqcYPlmiT/afnM3fevLqaj2nO6PWdZ6LKiS+tHfRGMWHxV8fBF8G7/dyI\nRBxMirxjZnvlwf8i9uI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 786,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020101020102",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401877d42c110a9fbe3723e684ea01c552697a8e83678145cbadc2e27c33e76ef2ed885e7af77f83313213b04107b4b92f80aebfd670fd1467b2bb9333ac280ea9b6101acf4e85a0ccbdfc4703638c21eb45b4a93db3fa747b365238535cdaee4fc56aa95854b4ec9c451693aaf72a90d66d300d2211bdc1fa0cf85e5c24ae08ef2a24248",
|
|
"wx" : "01877d42c110a9fbe3723e684ea01c552697a8e83678145cbadc2e27c33e76ef2ed885e7af77f83313213b04107b4b92f80aebfd670fd1467b2bb9333ac280ea9b61",
|
|
"wy" : "01acf4e85a0ccbdfc4703638c21eb45b4a93db3fa747b365238535cdaee4fc56aa95854b4ec9c451693aaf72a90d66d300d2211bdc1fa0cf85e5c24ae08ef2a24248"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401877d42c110a9fbe3723e684ea01c552697a8e83678145cbadc2e27c33e76ef2ed885e7af77f83313213b04107b4b92f80aebfd670fd1467b2bb9333ac280ea9b6101acf4e85a0ccbdfc4703638c21eb45b4a93db3fa747b365238535cdaee4fc56aa95854b4ec9c451693aaf72a90d66d300d2211bdc1fa0cf85e5c24ae08ef2a24248",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBh31CwRCp++NyPmhOoBxVJpeo6DZ4\nFFy63C4nwz527y7Yheevd/gzEyE7BBB7S5L4Cuv9Zw/RRnsruTM6woDqm2EBrPTo\nWgzL38RwNjjCHrRbSpPbP6dHs2UjhTXNruT8VqqVhUtOycRRaTqvcqkNZtMA0iEb\n3B+gz4XlwkrgjvKiQkg=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 787,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020101020103",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 788,
|
|
"comment" : "r is larger than n",
|
|
"msg" : "54657374",
|
|
"sig" : "3047024201fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e9138640a020103",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04016eaf2c3043b10ad8a99be7f8ccc4931519b6ec59326f6a06f374cb4f86e1237df0f26df6a90cf86c30d42e3bd0583c744830decf78344545f4b6daea674a882db9006dfd09320a976d592c4d39d3090d6f4ad3992b700e3e90ed1a1346238c75f4baf493be8c1c16838ecec2d9994266042ff9c624869296ee9b023bbb12d40bc0af07",
|
|
"wx" : "016eaf2c3043b10ad8a99be7f8ccc4931519b6ec59326f6a06f374cb4f86e1237df0f26df6a90cf86c30d42e3bd0583c744830decf78344545f4b6daea674a882db9",
|
|
"wy" : "6dfd09320a976d592c4d39d3090d6f4ad3992b700e3e90ed1a1346238c75f4baf493be8c1c16838ecec2d9994266042ff9c624869296ee9b023bbb12d40bc0af07"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004016eaf2c3043b10ad8a99be7f8ccc4931519b6ec59326f6a06f374cb4f86e1237df0f26df6a90cf86c30d42e3bd0583c744830decf78344545f4b6daea674a882db9006dfd09320a976d592c4d39d3090d6f4ad3992b700e3e90ed1a1346238c75f4baf493be8c1c16838ecec2d9994266042ff9c624869296ee9b023bbb12d40bc0af07",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBbq8sMEOxCtipm+f4zMSTFRm27Fky\nb2oG83TLT4bhI33w8m32qQz4bDDULjvQWDx0SDDez3g0RUX0ttrqZ0qILbkAbf0J\nMgqXbVksTTnTCQ1vStOZK3AOPpDtGhNGI4x19Lr0k76MHBaDjs7C2ZlCZgQv+cYk\nhpKW7psCO7sS1AvArwc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 789,
|
|
"comment" : "s is larger than n",
|
|
"msg" : "54657374",
|
|
"sig" : "3047020101024201fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e914b3a90",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04018b70df396a6bd8418de6a1f7e80f915bcc079129cdcb4a1c76b0e1d2576910f1ae16f3c276718c841c03e18ce243ebae5aa618f09cddf470341224a5016f6f04e8017ad3c6102b2821200d373cffd5614a670bebdce6f244b34dce87dd8758786b7a2829cd53e59325dcebe94b5640b9d1ca775c52716a596d9e3a0840ffdbd64bf247",
|
|
"wx" : "018b70df396a6bd8418de6a1f7e80f915bcc079129cdcb4a1c76b0e1d2576910f1ae16f3c276718c841c03e18ce243ebae5aa618f09cddf470341224a5016f6f04e8",
|
|
"wy" : "017ad3c6102b2821200d373cffd5614a670bebdce6f244b34dce87dd8758786b7a2829cd53e59325dcebe94b5640b9d1ca775c52716a596d9e3a0840ffdbd64bf247"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004018b70df396a6bd8418de6a1f7e80f915bcc079129cdcb4a1c76b0e1d2576910f1ae16f3c276718c841c03e18ce243ebae5aa618f09cddf470341224a5016f6f04e8017ad3c6102b2821200d373cffd5614a670bebdce6f244b34dce87dd8758786b7a2829cd53e59325dcebe94b5640b9d1ca775c52716a596d9e3a0840ffdbd64bf247",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBi3DfOWpr2EGN5qH36A+RW8wHkSnN\ny0ocdrDh0ldpEPGuFvPCdnGMhBwD4YziQ+uuWqYY8Jzd9HA0EiSlAW9vBOgBetPG\nECsoISANNzz/1WFKZwvr3ObyRLNNzofdh1h4a3ooKc1T5ZMl3OvpS1ZAudHKd1xS\ncWpZbZ46CED/29ZL8kc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 790,
|
|
"comment" : "small r and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "304802020100024201efdfbf7efdfbf7efdfbf7efdfbf7efdfbf7efdfbf7efdfbf7efdfbf7efdfbf7ef87b4de1fc92dd757639408a50bee10764e326fdd2fa308dfde3e5243fdf4ac5ac",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04001333798864458808fd6b10a6c8251740da6d623440cdf1e3596e8312b58f23692d6a0210d1682c06a476f447034d7a346976d0c2ce1a583f96f79a5356b9a080b900643d23b521292fa96966b7f733cf208b6be75647df86e2e2ccda40ab3360ab1d631ef13fe66eb3e08faea19445b6f93e8323e17de290931fadbe2b6a7d2cdf33d7",
|
|
"wx" : "1333798864458808fd6b10a6c8251740da6d623440cdf1e3596e8312b58f23692d6a0210d1682c06a476f447034d7a346976d0c2ce1a583f96f79a5356b9a080b9",
|
|
"wy" : "643d23b521292fa96966b7f733cf208b6be75647df86e2e2ccda40ab3360ab1d631ef13fe66eb3e08faea19445b6f93e8323e17de290931fadbe2b6a7d2cdf33d7"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004001333798864458808fd6b10a6c8251740da6d623440cdf1e3596e8312b58f23692d6a0210d1682c06a476f447034d7a346976d0c2ce1a583f96f79a5356b9a080b900643d23b521292fa96966b7f733cf208b6be75647df86e2e2ccda40ab3360ab1d631ef13fe66eb3e08faea19445b6f93e8323e17de290931fadbe2b6a7d2cdf33d7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAEzN5iGRFiAj9axCmyCUXQNptYjRA\nzfHjWW6DErWPI2ktagIQ0WgsBqR29EcDTXo0aXbQws4aWD+W95pTVrmggLkAZD0j\ntSEpL6lpZrf3M88gi2vnVkffhuLizNpAqzNgqx1jHvE/5m6z4I+uoZRFtvk+gyPh\nfeKQkx+tvitqfSzfM9c=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 791,
|
|
"comment" : "smallish r and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "304d02072d9b4d347952cd02420100508d073413de829275e76509fd81cff49adf4c80ed2ddd4a7937d1d918796878fec24cc46570982c3fb8f5e92ccdcb3e677f07e9bd0db0b84814be1c7949b0de",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040153fa0be1f9d199ba62b1ea704893e9b34b4d91e38f16ae8c43cf3ba9e3b7b09b1f93cf87655363aefe9396348aafb71aefc156789050df46f8403b046e1a906aaf01c2c41a7fa00d0f7aeaeca1564dabe870c9097182551b1cefeba6b4673e557a1b297587113943e25c00c21a54f45f280e0fbc511664933567f79cbd0e9e2a5ada75",
|
|
"wx" : "0153fa0be1f9d199ba62b1ea704893e9b34b4d91e38f16ae8c43cf3ba9e3b7b09b1f93cf87655363aefe9396348aafb71aefc156789050df46f8403b046e1a906aaf",
|
|
"wy" : "01c2c41a7fa00d0f7aeaeca1564dabe870c9097182551b1cefeba6b4673e557a1b297587113943e25c00c21a54f45f280e0fbc511664933567f79cbd0e9e2a5ada75"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b8104002303818600040153fa0be1f9d199ba62b1ea704893e9b34b4d91e38f16ae8c43cf3ba9e3b7b09b1f93cf87655363aefe9396348aafb71aefc156789050df46f8403b046e1a906aaf01c2c41a7fa00d0f7aeaeca1564dabe870c9097182551b1cefeba6b4673e557a1b297587113943e25c00c21a54f45f280e0fbc511664933567f79cbd0e9e2a5ada75",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBU/oL4fnRmbpisepwSJPps0tNkeOP\nFq6MQ887qeO3sJsfk8+HZVNjrv6TljSKr7ca78FWeJBQ30b4QDsEbhqQaq8BwsQa\nf6AND3rq7KFWTavocMkJcYJVGxzv66a0Zz5VehspdYcROUPiXADCGlT0XygOD7xR\nFmSTNWf3nL0Onipa2nU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 792,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3053020d1033e67e37b32b445580bf4eff0242013cc33cc33cc33cc33cc33cc33cc33cc33cc33cc33cc33cc33cc33cc33cc33cc3393f632affd3eaa3c8fb64507bd5996497bd588fb9e3947c097ced7546b57c8998",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040152304599ba21fcf9ef247b99df12ada714c90673f31700a714bccaa647f6308089a438d95a462064624b8c16d42d660f3c16a27a823df1dd0398899028ef8be6c000e2e61a27e8fbf0b0afb1c3948e8b89375b6e5ecb5ddd46e1d2c2a196baae1ef8d68e4f0a924a9b6bf85e50fccf719db610aa004fafcef83d996cd1efcbd00828a6",
|
|
"wx" : "0152304599ba21fcf9ef247b99df12ada714c90673f31700a714bccaa647f6308089a438d95a462064624b8c16d42d660f3c16a27a823df1dd0398899028ef8be6c0",
|
|
"wy" : "00e2e61a27e8fbf0b0afb1c3948e8b89375b6e5ecb5ddd46e1d2c2a196baae1ef8d68e4f0a924a9b6bf85e50fccf719db610aa004fafcef83d996cd1efcbd00828a6"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b8104002303818600040152304599ba21fcf9ef247b99df12ada714c90673f31700a714bccaa647f6308089a438d95a462064624b8c16d42d660f3c16a27a823df1dd0398899028ef8be6c000e2e61a27e8fbf0b0afb1c3948e8b89375b6e5ecb5ddd46e1d2c2a196baae1ef8d68e4f0a924a9b6bf85e50fccf719db610aa004fafcef83d996cd1efcbd00828a6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBUjBFmboh/PnvJHuZ3xKtpxTJBnPz\nFwCnFLzKpkf2MICJpDjZWkYgZGJLjBbULWYPPBaieoI98d0DmImQKO+L5sAA4uYa\nJ+j78LCvscOUjouJN1tuXstd3Ubh0sKhlrquHvjWjk8Kkkqba/heUPzPcZ22EKoA\nT6/O+D2ZbNHvy9AIKKY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 793,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30480202010002420086ecbf54ab59a4e195f0be1402edd8657bb94618fab50f2fe20fe5ebbc9ff0e491397ed313cc918d438eedb9b5ecb4d9dfa305303505baf25400ed8c20fc3fc47b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400d03acceeddb7d8f60041205def82e09e64bc59811cf6502dea8f72a9a8e7dd3c6ab03e3e6d4d131b68857d0ae96fd4b59d4fac820b10648fb282df94e5d29c62d3010b01c8530a089b07b1b2a34fda9dfe97123b1c0ef97c7c9eb64f44a6c1acf2101157d8596a9bdbdb54ad79b3b4a36dd06764cab024751c3f84cd0a3cd714d7e49c",
|
|
"wx" : "00d03acceeddb7d8f60041205def82e09e64bc59811cf6502dea8f72a9a8e7dd3c6ab03e3e6d4d131b68857d0ae96fd4b59d4fac820b10648fb282df94e5d29c62d3",
|
|
"wy" : "010b01c8530a089b07b1b2a34fda9dfe97123b1c0ef97c7c9eb64f44a6c1acf2101157d8596a9bdbdb54ad79b3b4a36dd06764cab024751c3f84cd0a3cd714d7e49c"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400d03acceeddb7d8f60041205def82e09e64bc59811cf6502dea8f72a9a8e7dd3c6ab03e3e6d4d131b68857d0ae96fd4b59d4fac820b10648fb282df94e5d29c62d3010b01c8530a089b07b1b2a34fda9dfe97123b1c0ef97c7c9eb64f44a6c1acf2101157d8596a9bdbdb54ad79b3b4a36dd06764cab024751c3f84cd0a3cd714d7e49c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQA0DrM7t232PYAQSBd74LgnmS8WYEc\n9lAt6o9yqajn3TxqsD4+bU0TG2iFfQrpb9S1nU+sggsQZI+ygt+U5dKcYtMBCwHI\nUwoImwexsqNP2p3+lxI7HA75fHyetk9EpsGs8hARV9hZapvb21StebO0o23QZ2TK\nsCR1HD+EzQo81xTX5Jw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 794,
|
|
"comment" : "100-bit r and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3053020d062522bbd3ecbe7c39e93e7c2402420086ecbf54ab59a4e195f0be1402edd8657bb94618fab50f2fe20fe5ebbc9ff0e491397ed313cc918d438eedb9b5ecb4d9dfa305303505baf25400ed8c20fc3fc47b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401d929bab6105bedc9c5f1854ce3647422484e933a472c822f3fc88c768454039aa0dc1ec4f752157d46025ead0722b3cb86f682333e88ede6bd2f7487084873ad46005888243360b08ba6238d7c82d74920fb7c8d5ccaf92b2c47882e730e6a68a562474d3c4cd9cd1303574c290aeddac213cc831b6e710c9cd136892cacc7ac8e2e9a",
|
|
"wx" : "01d929bab6105bedc9c5f1854ce3647422484e933a472c822f3fc88c768454039aa0dc1ec4f752157d46025ead0722b3cb86f682333e88ede6bd2f7487084873ad46",
|
|
"wy" : "5888243360b08ba6238d7c82d74920fb7c8d5ccaf92b2c47882e730e6a68a562474d3c4cd9cd1303574c290aeddac213cc831b6e710c9cd136892cacc7ac8e2e9a"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401d929bab6105bedc9c5f1854ce3647422484e933a472c822f3fc88c768454039aa0dc1ec4f752157d46025ead0722b3cb86f682333e88ede6bd2f7487084873ad46005888243360b08ba6238d7c82d74920fb7c8d5ccaf92b2c47882e730e6a68a562474d3c4cd9cd1303574c290aeddac213cc831b6e710c9cd136892cacc7ac8e2e9a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQB2Sm6thBb7cnF8YVM42R0IkhOkzpH\nLIIvP8iMdoRUA5qg3B7E91IVfUYCXq0HIrPLhvaCMz6I7ea9L3SHCEhzrUYAWIgk\nM2Cwi6YjjXyC10kg+3yNXMr5KyxHiC5zDmpopWJHTTxM2c0TA1dMKQrt2sITzIMb\nbnEMnNE2iSysx6yOLpo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 795,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024201fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e9138638a0242015555555555555555555555555555555555555555555555555555555555555555518baf05027f750ef25532ab85fa066e8ad2793125b112da747cf524bf0b7aed5b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04017bfe3ada4a1a06e732f484f1830d0c0b71c47b74fa506de3abdea6d139ab21dd72c7b1c13035f0ffd125433d0100a7030337b99dd1626b91ca5723335853a0f67f007d28447c2fc4c29fc74a838e30eae399e282b607fff061a27b0d69321ccc3ceb0fc3ae86a58c774028dafd108bd874b8c44f34f5ab9d2e31ca77d2aab3cc5eacdb",
|
|
"wx" : "017bfe3ada4a1a06e732f484f1830d0c0b71c47b74fa506de3abdea6d139ab21dd72c7b1c13035f0ffd125433d0100a7030337b99dd1626b91ca5723335853a0f67f",
|
|
"wy" : "7d28447c2fc4c29fc74a838e30eae399e282b607fff061a27b0d69321ccc3ceb0fc3ae86a58c774028dafd108bd874b8c44f34f5ab9d2e31ca77d2aab3cc5eacdb"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004017bfe3ada4a1a06e732f484f1830d0c0b71c47b74fa506de3abdea6d139ab21dd72c7b1c13035f0ffd125433d0100a7030337b99dd1626b91ca5723335853a0f67f007d28447c2fc4c29fc74a838e30eae399e282b607fff061a27b0d69321ccc3ceb0fc3ae86a58c774028dafd108bd874b8c44f34f5ab9d2e31ca77d2aab3cc5eacdb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBe/462koaBucy9ITxgw0MC3HEe3T6\nUG3jq96m0TmrId1yx7HBMDXw/9ElQz0BAKcDAze5ndFia5HKVyMzWFOg9n8AfShE\nfC/Ewp/HSoOOMOrjmeKCtgf/8GGiew1pMhzMPOsPw66GpYx3QCja/RCL2HS4xE80\n9audLjHKd9Kqs8xerNs=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 796,
|
|
"comment" : "s == 1",
|
|
"msg" : "54657374",
|
|
"sig" : "3047024200aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa8c5d782813fba87792a9955c2fd033745693c9892d8896d3a3e7a925f85bd76ad020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 797,
|
|
"comment" : "s == 0",
|
|
"msg" : "54657374",
|
|
"sig" : "3047024200aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa8c5d782813fba87792a9955c2fd033745693c9892d8896d3a3e7a925f85bd76ad020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04013b73be0ec4f18b36fdc20aac9675580a20cc725ed0de6fea63ab6111b4aaecc69b1fdf05bb1c7a71c4b7a5a1eaaff23be15604f405b5ecd3b3ed6afea8e49cd64900912180c981f480d2b8b7438988b03a0c5efdbd2da094f082f7fa57ecc41fde8c65d3c9d80f34f9124e151da55d96d2a9b991672de79449bcc1c0192b7650ae90b7",
|
|
"wx" : "013b73be0ec4f18b36fdc20aac9675580a20cc725ed0de6fea63ab6111b4aaecc69b1fdf05bb1c7a71c4b7a5a1eaaff23be15604f405b5ecd3b3ed6afea8e49cd649",
|
|
"wy" : "00912180c981f480d2b8b7438988b03a0c5efdbd2da094f082f7fa57ecc41fde8c65d3c9d80f34f9124e151da55d96d2a9b991672de79449bcc1c0192b7650ae90b7"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004013b73be0ec4f18b36fdc20aac9675580a20cc725ed0de6fea63ab6111b4aaecc69b1fdf05bb1c7a71c4b7a5a1eaaff23be15604f405b5ecd3b3ed6afea8e49cd64900912180c981f480d2b8b7438988b03a0c5efdbd2da094f082f7fa57ecc41fde8c65d3c9d80f34f9124e151da55d96d2a9b991672de79449bcc1c0192b7650ae90b7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBO3O+DsTxizb9wgqslnVYCiDMcl7Q\n3m/qY6thEbSq7MabH98Fuxx6ccS3paHqr/I74VYE9AW17NOz7Wr+qOSc1kkAkSGA\nyYH0gNK4t0OJiLA6DF79vS2glPCC9/pX7MQf3oxl08nYDzT5Ek4VHaVdltKpuZFn\nLeeUSbzBwBkrdlCukLc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 798,
|
|
"comment" : "point at infinity during verify",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd28c343c1df97cb35bfe600a47b84d2e81ddae4dc44ce23d75db7db8f489c3204024200aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa8c5d782813fba87792a9955c2fd033745693c9892d8896d3a3e7a925f85bd76ad",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040043eb862a5a4dce6de4b0901b91df94fab278c326ac3498c481ae3f49b893ab8b31d809723c02a3ca5154e5d5b9e0d43fde8cbdfbb809b74620867483817d789fd8017f477e01968ac12977afffc393f51323ce4dba0ed0d3c700aa6b3b6fb492997b04bd09f64a7673b126234dc25b0239633a5cd3822896fbd1d5e271038a2f3b79b5",
|
|
"wx" : "43eb862a5a4dce6de4b0901b91df94fab278c326ac3498c481ae3f49b893ab8b31d809723c02a3ca5154e5d5b9e0d43fde8cbdfbb809b74620867483817d789fd8",
|
|
"wy" : "017f477e01968ac12977afffc393f51323ce4dba0ed0d3c700aa6b3b6fb492997b04bd09f64a7673b126234dc25b0239633a5cd3822896fbd1d5e271038a2f3b79b5"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b8104002303818600040043eb862a5a4dce6de4b0901b91df94fab278c326ac3498c481ae3f49b893ab8b31d809723c02a3ca5154e5d5b9e0d43fde8cbdfbb809b74620867483817d789fd8017f477e01968ac12977afffc393f51323ce4dba0ed0d3c700aa6b3b6fb492997b04bd09f64a7673b126234dc25b0239633a5cd3822896fbd1d5e271038a2f3b79b5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAQ+uGKlpNzm3ksJAbkd+U+rJ4wyas\nNJjEga4/SbiTq4sx2AlyPAKjylFU5dW54NQ/3oy9+7gJt0YghnSDgX14n9gBf0d+\nAZaKwSl3r//Dk/UTI85Nug7Q08cAqms7b7SSmXsEvQn2SnZzsSYjTcJbAjljOlzT\ngiiW+9HV4nEDii87ebU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 799,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd28c343c1df97cb35bfe600a47b84d2e81ddae4dc44ce23d75db7db8f489c3206024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd28c343c1df97cb35bfe600a47b84d2e81ddae4dc44ce23d75db7db8f489c3204",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04001985d19d131d76cf1da8887b314e2eeb481d141f8241fec46cf2779fa2042364a8a0c365621ef72e18c44ee4b6097f79552060d7a765d58f5240394e66c23bcfa8001db22a616d88693abd289cc77ddc5acbd00220de75da049a58ba30468e2ca256a723ba12a09d45871eadc37476cd2e52ccdf1e06c9a94ec52f75d29a19012fc696",
|
|
"wx" : "1985d19d131d76cf1da8887b314e2eeb481d141f8241fec46cf2779fa2042364a8a0c365621ef72e18c44ee4b6097f79552060d7a765d58f5240394e66c23bcfa8",
|
|
"wy" : "1db22a616d88693abd289cc77ddc5acbd00220de75da049a58ba30468e2ca256a723ba12a09d45871eadc37476cd2e52ccdf1e06c9a94ec52f75d29a19012fc696"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004001985d19d131d76cf1da8887b314e2eeb481d141f8241fec46cf2779fa2042364a8a0c365621ef72e18c44ee4b6097f79552060d7a765d58f5240394e66c23bcfa8001db22a616d88693abd289cc77ddc5acbd00220de75da049a58ba30468e2ca256a723ba12a09d45871eadc37476cd2e52ccdf1e06c9a94ec52f75d29a19012fc696",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAGYXRnRMdds8dqIh7MU4u60gdFB+C\nQf7EbPJ3n6IEI2SooMNlYh73LhjETuS2CX95VSBg16dl1Y9SQDlOZsI7z6gAHbIq\nYW2IaTq9KJzHfdxay9ACIN512gSaWLowRo4solanI7oSoJ1Fhx6tw3R2zS5SzN8e\nBsmpTsUvddKaGQEvxpY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 800,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd28c343c1df97cb35bfe600a47b84d2e81ddae4dc44ce23d75db7db8f489c3206024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd28c343c1df97cb35bfe600a47b84d2e81ddae4dc44ce23d75db7db8f489c3205",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401c01eab9ba6ddd21e33421034acd6ac923a409fab349e0380bfaa54b404890086a5e12fb09e1352712cfde15abc2563079a73d333c9c79c670fb06b5d802aa9b77600a76a28d03f657c61bf87ff78e7733a069556d2bd638b79316ab70b5a2809bc8a98a2a843238d4abe2698b2aa6aede1b2541bf3dcd007cf9cd5c4d4969c4f7ffccb",
|
|
"wx" : "01c01eab9ba6ddd21e33421034acd6ac923a409fab349e0380bfaa54b404890086a5e12fb09e1352712cfde15abc2563079a73d333c9c79c670fb06b5d802aa9b776",
|
|
"wy" : "00a76a28d03f657c61bf87ff78e7733a069556d2bd638b79316ab70b5a2809bc8a98a2a843238d4abe2698b2aa6aede1b2541bf3dcd007cf9cd5c4d4969c4f7ffccb"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401c01eab9ba6ddd21e33421034acd6ac923a409fab349e0380bfaa54b404890086a5e12fb09e1352712cfde15abc2563079a73d333c9c79c670fb06b5d802aa9b77600a76a28d03f657c61bf87ff78e7733a069556d2bd638b79316ab70b5a2809bc8a98a2a843238d4abe2698b2aa6aede1b2541bf3dcd007cf9cd5c4d4969c4f7ffccb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBwB6rm6bd0h4zQhA0rNaskjpAn6s0\nngOAv6pUtASJAIal4S+wnhNScSz94Vq8JWMHmnPTM8nHnGcPsGtdgCqpt3YAp2oo\n0D9lfGG/h/9453M6BpVW0r1ji3kxarcLWigJvIqYoqhDI41KviaYsqpq7eGyVBvz\n3NAHz5zVxNSWnE9//Ms=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 801,
|
|
"comment" : "u1 == 1",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024200aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa8c5d782813fba87792a9955c2fd033745693c9892d8896d3a3e7a925f85bd76ad024100c6ee9e33cf5c6715a1d148fd73f7318884b41adcb916021e2bc0e800a5c5dd97f5142178f6ae88c8fdd98e1afb0ce4c8d2c54b5f37b30b7da1997bb33b0b8a31",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400186365c73588807a51005412db004b45f5f7be3a6074e6119042978dbfbc5a431e16cc930747e6cd7511505b4c9349cedf908a5a9dbd33cdb0aeccbf69454457fb0014620a29a2691d8038d39e1e4de7c4243c8c42601e719945c1297c1a4b10d7415af37bf1ed0ddc9030bce530185dfdfc4658ff635f6bd9660becc8ff9eca4fddfa",
|
|
"wx" : "186365c73588807a51005412db004b45f5f7be3a6074e6119042978dbfbc5a431e16cc930747e6cd7511505b4c9349cedf908a5a9dbd33cdb0aeccbf69454457fb",
|
|
"wy" : "14620a29a2691d8038d39e1e4de7c4243c8c42601e719945c1297c1a4b10d7415af37bf1ed0ddc9030bce530185dfdfc4658ff635f6bd9660becc8ff9eca4fddfa"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400186365c73588807a51005412db004b45f5f7be3a6074e6119042978dbfbc5a431e16cc930747e6cd7511505b4c9349cedf908a5a9dbd33cdb0aeccbf69454457fb0014620a29a2691d8038d39e1e4de7c4243c8c42601e719945c1297c1a4b10d7415af37bf1ed0ddc9030bce530185dfdfc4658ff635f6bd9660becc8ff9eca4fddfa",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAGGNlxzWIgHpRAFQS2wBLRfX3vjpg\ndOYRkEKXjb+8WkMeFsyTB0fmzXURUFtMk0nO35CKWp29M82wrsy/aUVEV/sAFGIK\nKaJpHYA4054eTefEJDyMQmAecZlFwSl8GksQ10Fa83vx7Q3ckDC85TAYXf38Rlj/\nY19r2WYL7Mj/nspP3fo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 802,
|
|
"comment" : "u1 == n - 1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa8c5d782813fba87792a9955c2fd033745693c9892d8896d3a3e7a925f85bd76ad024201ff391161cc30a398ea5e2eb7028c08ce777b4be52346e9fde1d43f17ff5a3a22625c72660ac8810da281f2732dfbfcc10768f07e5951e93c3119d63b6b562cd9d8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04002e2a746b55e05bc130d374c8abb8bf651a2e2b025404f08545befcb95c9f7f681f6f5b9bf2ebc45d4c8572921d3ab5dce144ea5d50ebec89b8c8f010ea31494863008c816f122d5d63b5fea00d1a00ed23577f7ef7d48f3973568353d468368ec77cbc9e3c5012839b74833087d51ba3e680ab5375be680ea8c18f7b619f32b141f281",
|
|
"wx" : "2e2a746b55e05bc130d374c8abb8bf651a2e2b025404f08545befcb95c9f7f681f6f5b9bf2ebc45d4c8572921d3ab5dce144ea5d50ebec89b8c8f010ea31494863",
|
|
"wy" : "008c816f122d5d63b5fea00d1a00ed23577f7ef7d48f3973568353d468368ec77cbc9e3c5012839b74833087d51ba3e680ab5375be680ea8c18f7b619f32b141f281"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004002e2a746b55e05bc130d374c8abb8bf651a2e2b025404f08545befcb95c9f7f681f6f5b9bf2ebc45d4c8572921d3ab5dce144ea5d50ebec89b8c8f010ea31494863008c816f122d5d63b5fea00d1a00ed23577f7ef7d48f3973568353d468368ec77cbc9e3c5012839b74833087d51ba3e680ab5375be680ea8c18f7b619f32b141f281",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQALip0a1XgW8Ew03TIq7i/ZRouKwJU\nBPCFRb78uVyff2gfb1ub8uvEXUyFcpIdOrXc4UTqXVDr7Im4yPAQ6jFJSGMAjIFv\nEi1dY7X+oA0aAO0jV39+99SPOXNWg1PUaDaOx3y8njxQEoObdIMwh9Ubo+aAq1N1\nvmgOqMGPe2GfMrFB8oE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 803,
|
|
"comment" : "u2 == 1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa8c5d782813fba87792a9955c2fd033745693c9892d8896d3a3e7a925f85bd76ad024200aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa8c5d782813fba87792a9955c2fd033745693c9892d8896d3a3e7a925f85bd76ad",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400d379f79826b04198df371ab0519d1a7f0a4f199d6149ca8b7f13a5da09cba024fbe7d4ff7fd7a8a93b5cbcaf3c68243f630d47d8f2b652b6a7d6b1c522a75fa9f201c660722d95c83c6b9457944acc671e881e8d17b07362f2f82799456f2f15d662d36aa09d5a5236288d3c1382e3e2308f46867d53c588a370857fae4d32f0a3ddaf",
|
|
"wx" : "00d379f79826b04198df371ab0519d1a7f0a4f199d6149ca8b7f13a5da09cba024fbe7d4ff7fd7a8a93b5cbcaf3c68243f630d47d8f2b652b6a7d6b1c522a75fa9f2",
|
|
"wy" : "01c660722d95c83c6b9457944acc671e881e8d17b07362f2f82799456f2f15d662d36aa09d5a5236288d3c1382e3e2308f46867d53c588a370857fae4d32f0a3ddaf"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400d379f79826b04198df371ab0519d1a7f0a4f199d6149ca8b7f13a5da09cba024fbe7d4ff7fd7a8a93b5cbcaf3c68243f630d47d8f2b652b6a7d6b1c522a75fa9f201c660722d95c83c6b9457944acc671e881e8d17b07362f2f82799456f2f15d662d36aa09d5a5236288d3c1382e3e2308f46867d53c588a370857fae4d32f0a3ddaf",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQA03n3mCawQZjfNxqwUZ0afwpPGZ1h\nScqLfxOl2gnLoCT759T/f9eoqTtcvK88aCQ/Yw1H2PK2Uran1rHFIqdfqfIBxmBy\nLZXIPGuUV5RKzGceiB6NF7BzYvL4J5lFby8V1mLTaqCdWlI2KI08E4Lj4jCPRoZ9\nU8WIo3CFf65NMvCj3a8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 804,
|
|
"comment" : "u2 == n - 1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa8c5d782813fba87792a9955c2fd033745693c9892d8896d3a3e7a925f85bd76ad0242015555555555555555555555555555555555555555555555555555555555555555518baf05027f750ef25532ab85fa066e8ad2793125b112da747cf524bf0b7aed5c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401b9cc8cab6af3efce62a15de1f2adbbb22a4d2d74e8dcf32fec0a94a3da3508de1d4a073f5245f96c9a6aa3021e54eaa3533a7817c4e57944ab2174549b6b93eb5001712cdd8366c45118f016163a7347198f495a2a9bc427908dbc6dd4b330f56e1c1df4a9886f7fd63c49124ade60d5bf8e6b7ac3d69d38f9c4dbd8a1221638272ccb",
|
|
"wx" : "01b9cc8cab6af3efce62a15de1f2adbbb22a4d2d74e8dcf32fec0a94a3da3508de1d4a073f5245f96c9a6aa3021e54eaa3533a7817c4e57944ab2174549b6b93eb50",
|
|
"wy" : "01712cdd8366c45118f016163a7347198f495a2a9bc427908dbc6dd4b330f56e1c1df4a9886f7fd63c49124ade60d5bf8e6b7ac3d69d38f9c4dbd8a1221638272ccb"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401b9cc8cab6af3efce62a15de1f2adbbb22a4d2d74e8dcf32fec0a94a3da3508de1d4a073f5245f96c9a6aa3021e54eaa3533a7817c4e57944ab2174549b6b93eb5001712cdd8366c45118f016163a7347198f495a2a9bc427908dbc6dd4b330f56e1c1df4a9886f7fd63c49124ade60d5bf8e6b7ac3d69d38f9c4dbd8a1221638272ccb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBucyMq2rz785ioV3h8q27sipNLXTo\n3PMv7AqUo9o1CN4dSgc/UkX5bJpqowIeVOqjUzp4F8TleUSrIXRUm2uT61ABcSzd\ng2bEURjwFhY6c0cZj0laKpvEJ5CNvG3UszD1bhwd9KmIb3/WPEkSSt5g1b+Oa3rD\n1p04+cTb2KEiFjgnLMs=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 805,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308186024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0240424f8a11451ecd0735f06da9d15265d82c3c08f43db200b4b9404d558c9749dd51b1607da78f82eda9f32f5e53aef6ed9b97191fbd3bae7f35ddd3e66903d8bb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04003826c91aaa33a183de3f6e134d865308aebc790e9287bc7ae136ed59bf03be44a7b5b43a18ca8af1a14e8ca88efe1c65f894976c56c48af00b5ac1f3cbcdf588b601ac3bce5fae3c2bb6dcf19d9c275eb2eb5614523a04bf0e7f98a4a50be7f80c8ccee8a9e7b74c8af076341704a7ac23769a420717227d6f7d1bbcfcecf720ecac39",
|
|
"wx" : "3826c91aaa33a183de3f6e134d865308aebc790e9287bc7ae136ed59bf03be44a7b5b43a18ca8af1a14e8ca88efe1c65f894976c56c48af00b5ac1f3cbcdf588b6",
|
|
"wy" : "01ac3bce5fae3c2bb6dcf19d9c275eb2eb5614523a04bf0e7f98a4a50be7f80c8ccee8a9e7b74c8af076341704a7ac23769a420717227d6f7d1bbcfcecf720ecac39"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004003826c91aaa33a183de3f6e134d865308aebc790e9287bc7ae136ed59bf03be44a7b5b43a18ca8af1a14e8ca88efe1c65f894976c56c48af00b5ac1f3cbcdf588b601ac3bce5fae3c2bb6dcf19d9c275eb2eb5614523a04bf0e7f98a4a50be7f80c8ccee8a9e7b74c8af076341704a7ac23769a420717227d6f7d1bbcfcecf720ecac39",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAOCbJGqozoYPeP24TTYZTCK68eQ6S\nh7x64TbtWb8DvkSntbQ6GMqK8aFOjKiO/hxl+JSXbFbEivALWsHzy831iLYBrDvO\nX648K7bc8Z2cJ16y61YUUjoEvw5/mKSlC+f4DIzO6Knnt0yK8HY0FwSnrCN2mkIH\nFyJ9b30bvPzs9yDsrDk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 806,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024141eeab7d3d7e80937cad0b86d3e53e14830166c2efa89df18ec6f88fc6a8a580601a91934ba922bd746351a008ac4f86dcc4d13a7ff09420f897b52bf88a4c9269",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400c861b3d5977dafd321c42eab1913a2f1a734e9fb1a218f33c02a941dafa41e7f5fa5b4d73f52c74c35e6262b1c4a1545c5cddfa912fe442ee7a16aaae0c5c3f64300601db981ab9593c9405723caa86d862c575b5c54a487467c2340e495f26dbb1587570d10d38609b38c500948055f596b290194b1e66ea8d06ffa7554d1d8fb6b18",
|
|
"wx" : "00c861b3d5977dafd321c42eab1913a2f1a734e9fb1a218f33c02a941dafa41e7f5fa5b4d73f52c74c35e6262b1c4a1545c5cddfa912fe442ee7a16aaae0c5c3f643",
|
|
"wy" : "601db981ab9593c9405723caa86d862c575b5c54a487467c2340e495f26dbb1587570d10d38609b38c500948055f596b290194b1e66ea8d06ffa7554d1d8fb6b18"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400c861b3d5977dafd321c42eab1913a2f1a734e9fb1a218f33c02a941dafa41e7f5fa5b4d73f52c74c35e6262b1c4a1545c5cddfa912fe442ee7a16aaae0c5c3f64300601db981ab9593c9405723caa86d862c575b5c54a487467c2340e495f26dbb1587570d10d38609b38c500948055f596b290194b1e66ea8d06ffa7554d1d8fb6b18",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAyGGz1Zd9r9MhxC6rGROi8ac06fsa\nIY8zwCqUHa+kHn9fpbTXP1LHTDXmJiscShVFxc3fqRL+RC7noWqq4MXD9kMAYB25\ngauVk8lAVyPKqG2GLFdbXFSkh0Z8I0DklfJtuxWHVw0Q04YJs4xQCUgFX1lrKQGU\nseZuqNBv+nVU0dj7axg=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 807,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024201a2eb25c2d3f9db15f320a4dd42e236f98a5d8c6774c12f982e2bce6c5e16cb53dbc52da6e091201170c7b11463700865120b560f106e1448c57f957a3bec28db90",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04001f02da363829ee08b4cc93464e2d7b16f2c262ef7977a4b4d40f1384b40bde6808128860e5539fb91e9231048024999abce18f1fbeea8983487549a4043b53023800754a059a8ea11bca4c1f2c536fbbd910c50386acd554c27478090dfa92999f27e26e9c5f0c551f7b02aa1523dbf56063f7bb7004d64904c1aec35bc73aefe2e808",
|
|
"wx" : "1f02da363829ee08b4cc93464e2d7b16f2c262ef7977a4b4d40f1384b40bde6808128860e5539fb91e9231048024999abce18f1fbeea8983487549a4043b530238",
|
|
"wy" : "754a059a8ea11bca4c1f2c536fbbd910c50386acd554c27478090dfa92999f27e26e9c5f0c551f7b02aa1523dbf56063f7bb7004d64904c1aec35bc73aefe2e808"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004001f02da363829ee08b4cc93464e2d7b16f2c262ef7977a4b4d40f1384b40bde6808128860e5539fb91e9231048024999abce18f1fbeea8983487549a4043b53023800754a059a8ea11bca4c1f2c536fbbd910c50386acd554c27478090dfa92999f27e26e9c5f0c551f7b02aa1523dbf56063f7bb7004d64904c1aec35bc73aefe2e808",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAHwLaNjgp7gi0zJNGTi17FvLCYu95\nd6S01A8ThLQL3mgIEohg5VOfuR6SMQSAJJmavOGPH77qiYNIdUmkBDtTAjgAdUoF\nmo6hG8pMHyxTb7vZEMUDhqzVVMJ0eAkN+pKZnyfibpxfDFUfewKqFSPb9WBj97tw\nBNZJBMGuw1vHOu/i6Ag=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 808,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024200a521a445fe801dd1ff391161cc30a398ea5e2eb7028c08ce777b4be52346e9fddfff25612d4c640b972f4400e5bf597b342cc4a0e5e4d50ca579ce8a0ae09c0913",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04002ece2962ef4711f49b1697ac7fad0759167767a104b76ad87749c83ae2818bf66ab9d9509f73fb153eab8b54607dcca73d3c380975afa3ee393732b44a5934992c01186ad80bf123ba35bd5b21b3d95e2c672ad3b485f078620858cfb24f1bf61ead90fb1a2723ec501c2b7a97cdd1fc3e964e86d23c030a2ab90da6f3971da4f68c99",
|
|
"wx" : "2ece2962ef4711f49b1697ac7fad0759167767a104b76ad87749c83ae2818bf66ab9d9509f73fb153eab8b54607dcca73d3c380975afa3ee393732b44a5934992c",
|
|
"wy" : "01186ad80bf123ba35bd5b21b3d95e2c672ad3b485f078620858cfb24f1bf61ead90fb1a2723ec501c2b7a97cdd1fc3e964e86d23c030a2ab90da6f3971da4f68c99"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004002ece2962ef4711f49b1697ac7fad0759167767a104b76ad87749c83ae2818bf66ab9d9509f73fb153eab8b54607dcca73d3c380975afa3ee393732b44a5934992c01186ad80bf123ba35bd5b21b3d95e2c672ad3b485f078620858cfb24f1bf61ead90fb1a2723ec501c2b7a97cdd1fc3e964e86d23c030a2ab90da6f3971da4f68c99",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQALs4pYu9HEfSbFpesf60HWRZ3Z6EE\nt2rYd0nIOuKBi/ZqudlQn3P7FT6ri1RgfcynPTw4CXWvo+45NzK0Slk0mSwBGGrY\nC/EjujW9WyGz2V4sZyrTtIXweGIIWM+yTxv2Hq2Q+xonI+xQHCt6l83R/D6WTobS\nPAMKKrkNpvOXHaT2jJk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 809,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02411a445fe801dd1ff391161cc30a398ea5e2eb7028c08ce777b4be52346e9fde1d43a6e18df0b42a423dcc5bba72d6eaa3482d00750f395c72f7b528c14e6494fd8f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401ab981f507aac6c08a9af8d7963c0cc95d9a4176a30bd36d9b8b966697912f56908792ccf15c6ca418151aa2e841c17783f8414fa4d5c222e49c007adcab10aa034008d1a1688a839931084caede33758208656837292209a877fbc1c12eb56ff98508d23483d6e36a6d47e0f2217d258cddcc6f2effe243c0a33664e0aba0e46da33b9",
|
|
"wx" : "01ab981f507aac6c08a9af8d7963c0cc95d9a4176a30bd36d9b8b966697912f56908792ccf15c6ca418151aa2e841c17783f8414fa4d5c222e49c007adcab10aa034",
|
|
"wy" : "008d1a1688a839931084caede33758208656837292209a877fbc1c12eb56ff98508d23483d6e36a6d47e0f2217d258cddcc6f2effe243c0a33664e0aba0e46da33b9"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401ab981f507aac6c08a9af8d7963c0cc95d9a4176a30bd36d9b8b966697912f56908792ccf15c6ca418151aa2e841c17783f8414fa4d5c222e49c007adcab10aa034008d1a1688a839931084caede33758208656837292209a877fbc1c12eb56ff98508d23483d6e36a6d47e0f2217d258cddcc6f2effe243c0a33664e0aba0e46da33b9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBq5gfUHqsbAipr415Y8DMldmkF2ow\nvTbZuLlmaXkS9WkIeSzPFcbKQYFRqi6EHBd4P4QU+k1cIi5JwAetyrEKoDQAjRoW\niKg5kxCEyu3jN1gghlaDcpIgmod/vBwS61b/mFCNI0g9bjam1H4PIhfSWM3cxvLv\n/iQ8CjNmTgq6DkbaM7k=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 810,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02413488bfd003ba3fe7222c398614731d4bc5d6e0518119ceef697ca468dd3fbc3a874dc31be16854847b98b774e5add546905a00ea1e72b8e5ef6a51829cc929fb1e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400fefacf425661c8d3a2183fc4ce11b9a79798b923671e42c693c10bee06d8a7b461efa4a32573cac7a0164f2ba3e9f48366b8ad064170fbe798664b15389d8e8da4017f4b29cb1ae09f640a6abeb78a84677422befb80416341386adee4dae702c7e16ae83d024531e1b63b01acb2c46e4c0e25de56915bd4c90ef113e8779108fae267",
|
|
"wx" : "00fefacf425661c8d3a2183fc4ce11b9a79798b923671e42c693c10bee06d8a7b461efa4a32573cac7a0164f2ba3e9f48366b8ad064170fbe798664b15389d8e8da4",
|
|
"wy" : "017f4b29cb1ae09f640a6abeb78a84677422befb80416341386adee4dae702c7e16ae83d024531e1b63b01acb2c46e4c0e25de56915bd4c90ef113e8779108fae267"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400fefacf425661c8d3a2183fc4ce11b9a79798b923671e42c693c10bee06d8a7b461efa4a32573cac7a0164f2ba3e9f48366b8ad064170fbe798664b15389d8e8da4017f4b29cb1ae09f640a6abeb78a84677422befb80416341386adee4dae702c7e16ae83d024531e1b63b01acb2c46e4c0e25de56915bd4c90ef113e8779108fae267",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQA/vrPQlZhyNOiGD/EzhG5p5eYuSNn\nHkLGk8EL7gbYp7Rh76SjJXPKx6AWTyuj6fSDZritBkFw++eYZksVOJ2OjaQBf0sp\nyxrgn2QKar63ioRndCK++4BBY0E4at7k2ucCx+Fq6D0CRTHhtjsBrLLEbkwOJd5W\nkVvUyQ7xE+h3kQj64mc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 811,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024201fe801dd1ff391161cc30a398ea5e2eb7028c08ce777b4be52346e9fde1d43f17f9b003304fb6269c9f550768537b35f96443556a62b5ec77958bd8e4204d6354ce",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401ba563f243d8590233be59745dc8e311e87b6a9e32bddbdf40f0dc87a11bdd1d75d58d312c36dc8e272223690da1b6a058d5dab56f2fc6f297121a5ab288c269e7501e034d2e5ddb90efd4893e48694b4cf5c85e8bdcafbbcae51880d97e22d14d838f8162edb0e026f5ba88b150e3f2c1fc49ed2429793b76e92f1afa9f01805105cd8",
|
|
"wx" : "01ba563f243d8590233be59745dc8e311e87b6a9e32bddbdf40f0dc87a11bdd1d75d58d312c36dc8e272223690da1b6a058d5dab56f2fc6f297121a5ab288c269e75",
|
|
"wy" : "01e034d2e5ddb90efd4893e48694b4cf5c85e8bdcafbbcae51880d97e22d14d838f8162edb0e026f5ba88b150e3f2c1fc49ed2429793b76e92f1afa9f01805105cd8"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401ba563f243d8590233be59745dc8e311e87b6a9e32bddbdf40f0dc87a11bdd1d75d58d312c36dc8e272223690da1b6a058d5dab56f2fc6f297121a5ab288c269e7501e034d2e5ddb90efd4893e48694b4cf5c85e8bdcafbbcae51880d97e22d14d838f8162edb0e026f5ba88b150e3f2c1fc49ed2429793b76e92f1afa9f01805105cd8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBulY/JD2FkCM75ZdF3I4xHoe2qeMr\n3b30Dw3IehG90dddWNMSw23I4nIiNpDaG2oFjV2rVvL8bylxIaWrKIwmnnUB4DTS\n5d25Dv1Ik+SGlLTPXIXovcr7vK5RiA2X4i0U2Dj4Fi7bDgJvW6iLFQ4/LB/EntJC\nl5O3bpLxr6nwGAUQXNg=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 812,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0242014128151a7d33a465767e87681050667ae528af3c43cfc59e3c3c1c8037d941b12bed6b79efcbcacf25ad46226c5c2b2bbfa1360e23c331db67cede47d9b0aa3fd2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04002434cca27c3965d30c1ac37604fecd56f0d4ac701c1d7a4cc735774a1091365cc1a7cb5e2d66d89931551fdce04c0def1503e2ec2b7820c199ae990e36352386e5015a3bd7db62f9b5f96f50f14cf0b315aaa1342bf43525c9cd2eb04d2b83ec21404fe51f67511d1ee72967e7836b8316e8228477f8933e45df55b75feba4319953c6",
|
|
"wx" : "2434cca27c3965d30c1ac37604fecd56f0d4ac701c1d7a4cc735774a1091365cc1a7cb5e2d66d89931551fdce04c0def1503e2ec2b7820c199ae990e36352386e5",
|
|
"wy" : "015a3bd7db62f9b5f96f50f14cf0b315aaa1342bf43525c9cd2eb04d2b83ec21404fe51f67511d1ee72967e7836b8316e8228477f8933e45df55b75feba4319953c6"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004002434cca27c3965d30c1ac37604fecd56f0d4ac701c1d7a4cc735774a1091365cc1a7cb5e2d66d89931551fdce04c0def1503e2ec2b7820c199ae990e36352386e5015a3bd7db62f9b5f96f50f14cf0b315aaa1342bf43525c9cd2eb04d2b83ec21404fe51f67511d1ee72967e7836b8316e8228477f8933e45df55b75feba4319953c6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAJDTMonw5ZdMMGsN2BP7NVvDUrHAc\nHXpMxzV3ShCRNlzBp8teLWbYmTFVH9zgTA3vFQPi7Ct4IMGZrpkONjUjhuUBWjvX\n22L5tflvUPFM8LMVqqE0K/Q1JcnNLrBNK4PsIUBP5R9nUR0e5yln54NrgxboIoR3\n+JM+Rd9Vt1/rpDGZU8Y=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 813,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0242019bcf27559ab324f2a0ebc95d059edeccd613604232da95c84d41d4d990ae7bb2d12b8d297d99fb86b64572d6fce2a34e4fa5e168f6894d4a1a828e2c6dbbdf31a2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04003eeab7241b49825f8db39043c307a9dbbb626ccc306931c6a88d4245257ae005762d54944b8a97950fd3be02ee5bcbb5a10068b230c1bd21003073033b5b4072e20089b2134afaff1d7e19fc23d44110608efbc6e2b8120a16a63bdff2e065fcc942e796c6dbdff14fc179ab694ee865e83a28e70e8ba63565c2fa2f31ac3e71bdc46a",
|
|
"wx" : "3eeab7241b49825f8db39043c307a9dbbb626ccc306931c6a88d4245257ae005762d54944b8a97950fd3be02ee5bcbb5a10068b230c1bd21003073033b5b4072e2",
|
|
"wy" : "0089b2134afaff1d7e19fc23d44110608efbc6e2b8120a16a63bdff2e065fcc942e796c6dbdff14fc179ab694ee865e83a28e70e8ba63565c2fa2f31ac3e71bdc46a"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004003eeab7241b49825f8db39043c307a9dbbb626ccc306931c6a88d4245257ae005762d54944b8a97950fd3be02ee5bcbb5a10068b230c1bd21003073033b5b4072e20089b2134afaff1d7e19fc23d44110608efbc6e2b8120a16a63bdff2e065fcc942e796c6dbdff14fc179ab694ee865e83a28e70e8ba63565c2fa2f31ac3e71bdc46a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAPuq3JBtJgl+Ns5BDwwep27tibMww\naTHGqI1CRSV64AV2LVSUS4qXlQ/TvgLuW8u1oQBosjDBvSEAMHMDO1tAcuIAibIT\nSvr/HX4Z/CPUQRBgjvvG4rgSChamO9/y4GX8yULnlsbb3/FPwXmraU7oZeg6KOcO\ni6Y1ZcL6LzGsPnG9xGo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 814,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024200b6cd381945713041c7990356370a00a10888ce905df2c792226a96cadb61df94bc4277c04afbcdabf376f02d2a6addf4052ad7673b1ae1e1ec49af389066810792",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04017fb838ef9a6bc8876ef2188a5f0d36fb76642673ec222f23f49cfdd860c50534d3477609c3a1165e93dfafcc1034d6cf76296cd02f56e33f50efa202cdd7dd0a170100d275bcb8369c34cf3046d198ffaf4ccebb03139aad8e4401310f763e78b4ad0dd87fa6e0438bf430b2c10f25f8819dc546b6b06613eaf068c59cecb2bb91684a",
|
|
"wx" : "017fb838ef9a6bc8876ef2188a5f0d36fb76642673ec222f23f49cfdd860c50534d3477609c3a1165e93dfafcc1034d6cf76296cd02f56e33f50efa202cdd7dd0a17",
|
|
"wy" : "0100d275bcb8369c34cf3046d198ffaf4ccebb03139aad8e4401310f763e78b4ad0dd87fa6e0438bf430b2c10f25f8819dc546b6b06613eaf068c59cecb2bb91684a"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004017fb838ef9a6bc8876ef2188a5f0d36fb76642673ec222f23f49cfdd860c50534d3477609c3a1165e93dfafcc1034d6cf76296cd02f56e33f50efa202cdd7dd0a170100d275bcb8369c34cf3046d198ffaf4ccebb03139aad8e4401310f763e78b4ad0dd87fa6e0438bf430b2c10f25f8819dc546b6b06613eaf068c59cecb2bb91684a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBf7g475pryIdu8hiKXw02+3ZkJnPs\nIi8j9Jz92GDFBTTTR3YJw6EWXpPfr8wQNNbPdils0C9W4z9Q76ICzdfdChcBANJ1\nvLg2nDTPMEbRmP+vTM67AxOarY5EATEPdj54tK0N2H+m4EOL9DCywQ8l+IGdxUa2\nsGYT6vBoxZzssruRaEo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 815,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024200ffded83af75d70997c6507c92b1756cd13e9e1fb85e126ffa5a35fd95539b45b0e7fea93830bd009beeaec68f551ad5771500f584c66304c97c2c8f19c141a45a7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04013d2a5518c45b602f7b3eee2e261a997aa78a5a831c44e3ada16fdb0cf1b329269efb152cfe8e4e08077b67cc27ab4ae42995b7a9971efe5248175cb5d7ca63f78a00d2b676ca3d41f8ed8bb65309de6ec5379941a5f74a6d70ddcae1f7365ce71fdef03e372aa31408a8a51cc34cac54f6ab7366d98758b7f93fc976e0fe51f3871b82",
|
|
"wx" : "013d2a5518c45b602f7b3eee2e261a997aa78a5a831c44e3ada16fdb0cf1b329269efb152cfe8e4e08077b67cc27ab4ae42995b7a9971efe5248175cb5d7ca63f78a",
|
|
"wy" : "00d2b676ca3d41f8ed8bb65309de6ec5379941a5f74a6d70ddcae1f7365ce71fdef03e372aa31408a8a51cc34cac54f6ab7366d98758b7f93fc976e0fe51f3871b82"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004013d2a5518c45b602f7b3eee2e261a997aa78a5a831c44e3ada16fdb0cf1b329269efb152cfe8e4e08077b67cc27ab4ae42995b7a9971efe5248175cb5d7ca63f78a00d2b676ca3d41f8ed8bb65309de6ec5379941a5f74a6d70ddcae1f7365ce71fdef03e372aa31408a8a51cc34cac54f6ab7366d98758b7f93fc976e0fe51f3871b82",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBPSpVGMRbYC97Pu4uJhqZeqeKWoMc\nROOtoW/bDPGzKSae+xUs/o5OCAd7Z8wnq0rkKZW3qZce/lJIF1y118pj94oA0rZ2\nyj1B+O2LtlMJ3m7FN5lBpfdKbXDdyuH3NlznH97wPjcqoxQIqKUcw0ysVParc2bZ\nh1i3+T/JduD+UfOHG4I=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 816,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024201ffbdb075eebae132f8ca0f92562ead9a27d3c3f70bc24dff4b46bfb2aa7368b61cffd5270617a0137dd5d8d1eaa35aaee2a01eb098cc60992f8591e33828348b4e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400ac4e9ad1fad8054a2e13203fcc489333955bfb7762aed45b61e751826f8a130b5307c1f2f052001dc39f971f195d6a9c6a5ab5d02597822a892ae2be67143bf2ae005ce0fd82e350b85f2d7a2edbd595a1e890a143ee9a17f14aed31950d517d457e95ee160f818b7e7ae6b72135504516b4bbdbc85718f442a3dc9a21ee4da0f327b6",
|
|
"wx" : "00ac4e9ad1fad8054a2e13203fcc489333955bfb7762aed45b61e751826f8a130b5307c1f2f052001dc39f971f195d6a9c6a5ab5d02597822a892ae2be67143bf2ae",
|
|
"wy" : "5ce0fd82e350b85f2d7a2edbd595a1e890a143ee9a17f14aed31950d517d457e95ee160f818b7e7ae6b72135504516b4bbdbc85718f442a3dc9a21ee4da0f327b6"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400ac4e9ad1fad8054a2e13203fcc489333955bfb7762aed45b61e751826f8a130b5307c1f2f052001dc39f971f195d6a9c6a5ab5d02597822a892ae2be67143bf2ae005ce0fd82e350b85f2d7a2edbd595a1e890a143ee9a17f14aed31950d517d457e95ee160f818b7e7ae6b72135504516b4bbdbc85718f442a3dc9a21ee4da0f327b6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQArE6a0frYBUouEyA/zEiTM5Vb+3di\nrtRbYedRgm+KEwtTB8Hy8FIAHcOflx8ZXWqcalq10CWXgiqJKuK+ZxQ78q4AXOD9\nguNQuF8tei7b1ZWh6JChQ+6aF/FK7TGVDVF9RX6V7hYPgYt+eua3ITVQRRa0u9vI\nVxj0QqPcmiHuTaDzJ7Y=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 817,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024200ff9c88b0e61851cc752f175b814604673bbda5f291a374fef0ea1f8bffad1d11312e393305644086d140f93996fdfe6083b4783f2ca8f49e188ceb1db5ab166cec",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04009d1aefc011608774dde6b1574cf79735691bccd0d534979555b923e4803f496e096d95af7dbf8025955312cf3180f2b124e1404ba8bd462cf8c750bd157dbb18f1016e37365625e283c6447676bec298410a36b9c8c64ba5a1b69179179dd8b8f3e8e659ccac0cdf1c42f174d3580a0082c131a8865e50ad9af9088eb2d63f0b4768ae",
|
|
"wx" : "009d1aefc011608774dde6b1574cf79735691bccd0d534979555b923e4803f496e096d95af7dbf8025955312cf3180f2b124e1404ba8bd462cf8c750bd157dbb18f1",
|
|
"wy" : "016e37365625e283c6447676bec298410a36b9c8c64ba5a1b69179179dd8b8f3e8e659ccac0cdf1c42f174d3580a0082c131a8865e50ad9af9088eb2d63f0b4768ae"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004009d1aefc011608774dde6b1574cf79735691bccd0d534979555b923e4803f496e096d95af7dbf8025955312cf3180f2b124e1404ba8bd462cf8c750bd157dbb18f1016e37365625e283c6447676bec298410a36b9c8c64ba5a1b69179179dd8b8f3e8e659ccac0cdf1c42f174d3580a0082c131a8865e50ad9af9088eb2d63f0b4768ae",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAnRrvwBFgh3Td5rFXTPeXNWkbzNDV\nNJeVVbkj5IA/SW4JbZWvfb+AJZVTEs8xgPKxJOFAS6i9Riz4x1C9FX27GPEBbjc2\nViXig8ZEdna+wphBCja5yMZLpaG2kXkXndi48+jmWcysDN8cQvF001gKAILBMaiG\nXlCtmvkIjrLWPwtHaK4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 818,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024200d17592e169fced8af990526ea1711b7cc52ec633ba6097cc1715e7362f0b65a9ede296d370489008b863d88a31b804328905ab0788370a2462bfcabd1df6146dc8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04010f5824d11d100f9c1dea1f440fffe6aef143a8fc9aac9e64e14f7baff3a62a5ae9f6dd40dd368b65239aa80231869e2aa7aa24f058d17a6c359246bdf5ec85d705012d07c251fecbcf5016a8ea9e3c46bc53184bba961d4ae89dabfaa1aee334dcf94824cf1a6f840e9a8ba1cebfbb9881acc8e806284d0581b7c8598f3e7e466dea09",
|
|
"wx" : "010f5824d11d100f9c1dea1f440fffe6aef143a8fc9aac9e64e14f7baff3a62a5ae9f6dd40dd368b65239aa80231869e2aa7aa24f058d17a6c359246bdf5ec85d705",
|
|
"wy" : "012d07c251fecbcf5016a8ea9e3c46bc53184bba961d4ae89dabfaa1aee334dcf94824cf1a6f840e9a8ba1cebfbb9881acc8e806284d0581b7c8598f3e7e466dea09"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004010f5824d11d100f9c1dea1f440fffe6aef143a8fc9aac9e64e14f7baff3a62a5ae9f6dd40dd368b65239aa80231869e2aa7aa24f058d17a6c359246bdf5ec85d705012d07c251fecbcf5016a8ea9e3c46bc53184bba961d4ae89dabfaa1aee334dcf94824cf1a6f840e9a8ba1cebfbb9881acc8e806284d0581b7c8598f3e7e466dea09",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBD1gk0R0QD5wd6h9ED//mrvFDqPya\nrJ5k4U97r/OmKlrp9t1A3TaLZSOaqAIxhp4qp6ok8FjRemw1kka99eyF1wUBLQfC\nUf7Lz1AWqOqePEa8UxhLupYdSuidq/qhruM03PlIJM8ab4QOmouhzr+7mIGsyOgG\nKE0FgbfIWY8+fkZt6gk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 819,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02415555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555554",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401b557f6fc21f16e6a8e51b2904b24fb8c75c8fee4b1b0ff975fcd54c491a0e52758a3883038dbcf21f19e5791463c2d952bb4b0b6428f0ae7369b41d1d97661b29400f75c8593f9ecf54a26cc8c7b418f9fbca4296885b93670939942f5dcf6cb4a03c2344d0411df1e5a548652534c4b7dbcce9401697252267e8745d071388eec832e",
|
|
"wx" : "01b557f6fc21f16e6a8e51b2904b24fb8c75c8fee4b1b0ff975fcd54c491a0e52758a3883038dbcf21f19e5791463c2d952bb4b0b6428f0ae7369b41d1d97661b294",
|
|
"wy" : "00f75c8593f9ecf54a26cc8c7b418f9fbca4296885b93670939942f5dcf6cb4a03c2344d0411df1e5a548652534c4b7dbcce9401697252267e8745d071388eec832e"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401b557f6fc21f16e6a8e51b2904b24fb8c75c8fee4b1b0ff975fcd54c491a0e52758a3883038dbcf21f19e5791463c2d952bb4b0b6428f0ae7369b41d1d97661b29400f75c8593f9ecf54a26cc8c7b418f9fbca4296885b93670939942f5dcf6cb4a03c2344d0411df1e5a548652534c4b7dbcce9401697252267e8745d071388eec832e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBtVf2/CHxbmqOUbKQSyT7jHXI/uSx\nsP+XX81UxJGg5SdYo4gwONvPIfGeV5FGPC2VK7SwtkKPCuc2m0HR2XZhspQA91yF\nk/ns9UomzIx7QY+fvKQpaIW5NnCTmUL13PbLSgPCNE0EEd8eWlSGUlNMS328zpQB\naXJSJn6HRdBxOI7sgy4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 820,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0242009f57708fa97eba94c6d4782cdd4e33bb95c1353bde095232e3e2bab277bb5d2b48f55a53ffe928d034c29970a9e5f384a003907d3d9b82a86817cc61fb17f4c59e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400ce022b543a181fdd3130ce35926178a7f0ef971c5fe848b02dc1bf68c883b29aa35369abd199ed628ea8373a9660a1c085414a2c66de0128c08f8386efeca00d3f00a29c704baaea0214ab9444e92d47db59c448c65594b709c5bd4307897c98d0bccb4a9f351c51d2273ef2bb84d687c305e7636b55fd3e3854b4b34ca7ba71276aca",
|
|
"wx" : "00ce022b543a181fdd3130ce35926178a7f0ef971c5fe848b02dc1bf68c883b29aa35369abd199ed628ea8373a9660a1c085414a2c66de0128c08f8386efeca00d3f",
|
|
"wy" : "00a29c704baaea0214ab9444e92d47db59c448c65594b709c5bd4307897c98d0bccb4a9f351c51d2273ef2bb84d687c305e7636b55fd3e3854b4b34ca7ba71276aca"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400ce022b543a181fdd3130ce35926178a7f0ef971c5fe848b02dc1bf68c883b29aa35369abd199ed628ea8373a9660a1c085414a2c66de0128c08f8386efeca00d3f00a29c704baaea0214ab9444e92d47db59c448c65594b709c5bd4307897c98d0bccb4a9f351c51d2273ef2bb84d687c305e7636b55fd3e3854b4b34ca7ba71276aca",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAzgIrVDoYH90xMM41kmF4p/Dvlxxf\n6EiwLcG/aMiDspqjU2mr0ZntYo6oNzqWYKHAhUFKLGbeASjAj4OG7+ygDT8Aopxw\nS6rqAhSrlETpLUfbWcRIxlWUtwnFvUMHiXyY0LzLSp81HFHSJz7yu4TWh8MF52Nr\nVf0+OFS0s0ynunEnaso=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 821,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024168d98fa90736eff3e90f8fcfe50838b6fa0bf2cde77bc51e3f41019c8006f4e9cbaeadce7dbb44462da6425be9cfdaecb234c41749ce695be1b5ead2e6b1205f35",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400400d194f51d80218c0296e978b9b7a5ebb0d373d21e9ed7f4be8ae25ea5b6fceb580dc4510826525fe138d1a4e20cc293c530dba4b85c3d29bb874867c3684696a01537ba3c32c1f1f9b2d9e80f88ffcdc4aa5246e8145b87c37d473044234d8ad28c6abd5a186ed0ab61c6e72ddef77b099f51edc58ebeb433aed064503ca494c4c73",
|
|
"wx" : "400d194f51d80218c0296e978b9b7a5ebb0d373d21e9ed7f4be8ae25ea5b6fceb580dc4510826525fe138d1a4e20cc293c530dba4b85c3d29bb874867c3684696a",
|
|
"wy" : "01537ba3c32c1f1f9b2d9e80f88ffcdc4aa5246e8145b87c37d473044234d8ad28c6abd5a186ed0ab61c6e72ddef77b099f51edc58ebeb433aed064503ca494c4c73"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400400d194f51d80218c0296e978b9b7a5ebb0d373d21e9ed7f4be8ae25ea5b6fceb580dc4510826525fe138d1a4e20cc293c530dba4b85c3d29bb874867c3684696a01537ba3c32c1f1f9b2d9e80f88ffcdc4aa5246e8145b87c37d473044234d8ad28c6abd5a186ed0ab61c6e72ddef77b099f51edc58ebeb433aed064503ca494c4c73",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAQA0ZT1HYAhjAKW6Xi5t6XrsNNz0h\n6e1/S+iuJepbb861gNxFEIJlJf4TjRpOIMwpPFMNukuFw9KbuHSGfDaEaWoBU3uj\nwywfH5stnoD4j/zcSqUkboFFuHw31HMEQjTYrSjGq9Whhu0Kthxuct3vd7CZ9R7c\nWOvrQzrtBkUDyklMTHM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 822,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024200e97ae66bcd4cae36fffffffffffffffffffffffffffffffffffffffffffffffffd68bc9726f02dbf8598a98b3e5077eff6f2491eb678ed040fb338c084a9ea8a4c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040078266f579dca13ea14338c32a0d6812dfd98720a2a1ea2bfa44ba2b3fe15c63063c8cc793c96ee960cf537e34ad0cafa462192cf6285cb8c48d9399bf552d4fc6a0198bede612689d2289841e4905be766dba8a07b00a4d4a96f9a107160a9b26eb32fda799634e007ee50e34f6b25560d7eed1728d4b5edc4537df4f508910acef736",
|
|
"wx" : "78266f579dca13ea14338c32a0d6812dfd98720a2a1ea2bfa44ba2b3fe15c63063c8cc793c96ee960cf537e34ad0cafa462192cf6285cb8c48d9399bf552d4fc6a",
|
|
"wy" : "0198bede612689d2289841e4905be766dba8a07b00a4d4a96f9a107160a9b26eb32fda799634e007ee50e34f6b25560d7eed1728d4b5edc4537df4f508910acef736"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b8104002303818600040078266f579dca13ea14338c32a0d6812dfd98720a2a1ea2bfa44ba2b3fe15c63063c8cc793c96ee960cf537e34ad0cafa462192cf6285cb8c48d9399bf552d4fc6a0198bede612689d2289841e4905be766dba8a07b00a4d4a96f9a107160a9b26eb32fda799634e007ee50e34f6b25560d7eed1728d4b5edc4537df4f508910acef736",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAeCZvV53KE+oUM4wyoNaBLf2Ycgoq\nHqK/pEuis/4VxjBjyMx5PJbulgz1N+NK0Mr6RiGSz2KFy4xI2Tmb9VLU/GoBmL7e\nYSaJ0iiYQeSQW+dm26igewCk1KlvmhBxYKmybrMv2nmWNOAH7lDjT2slVg1+7Rco\n1LXtxFN99PUIkQrO9zY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 823,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024201ae66bcd4cae36ffffffffffffffffffffffffffffffffffffffffffffffffffffb3954212f8bea578d93e685e5dba329811b2542bb398233e2944bceb19263325d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04005c585c0fadec9a34fcc0804154f14cb5668b997f2e096da0974b23e9902e3499956037a178a5210833507e1e108ee5cd994f659e3e8caade9d2958ed48f66991c301282c1969a68e190c611ec0322352ef01c750dc87464aa01024b2c10c9d4b6a4a29f99ea740db8dafab65ed75423601654d68f4df642e80a4e79ca12dfb0ee42404",
|
|
"wx" : "5c585c0fadec9a34fcc0804154f14cb5668b997f2e096da0974b23e9902e3499956037a178a5210833507e1e108ee5cd994f659e3e8caade9d2958ed48f66991c3",
|
|
"wy" : "01282c1969a68e190c611ec0322352ef01c750dc87464aa01024b2c10c9d4b6a4a29f99ea740db8dafab65ed75423601654d68f4df642e80a4e79ca12dfb0ee42404"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004005c585c0fadec9a34fcc0804154f14cb5668b997f2e096da0974b23e9902e3499956037a178a5210833507e1e108ee5cd994f659e3e8caade9d2958ed48f66991c301282c1969a68e190c611ec0322352ef01c750dc87464aa01024b2c10c9d4b6a4a29f99ea740db8dafab65ed75423601654d68f4df642e80a4e79ca12dfb0ee42404",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAXFhcD63smjT8wIBBVPFMtWaLmX8u\nCW2gl0sj6ZAuNJmVYDeheKUhCDNQfh4QjuXNmU9lnj6Mqt6dKVjtSPZpkcMBKCwZ\naaaOGQxhHsAyI1LvAcdQ3IdGSqAQJLLBDJ1Lakop+Z6nQNuNr6tl7XVCNgFlTWj0\n32QugKTnnKEt+w7kJAQ=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 824,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0242015ccd79a995c6dffffffffffffffffffffffffffffffffffffffffffffffffffffc2121badb58a518afa8010a82c03cad31fa94bbbde96820166d27e644938e00b1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400919d0cbff7043de2eb024e5ece7a59de14b1bd8b084289587430056e350e49136bf892757b389735e775b352d774376fe29e62e4015253502e4ccc299f2575766a00403cdfa49fe4647794d679fd2889c3a6c2a651ebb04e4fee8468bd4c240d8ba722097eaebd5247b4bebc6e873b27011c49d1f8a131ea0f7a567a8c2a7c173289e2",
|
|
"wx" : "00919d0cbff7043de2eb024e5ece7a59de14b1bd8b084289587430056e350e49136bf892757b389735e775b352d774376fe29e62e4015253502e4ccc299f2575766a",
|
|
"wy" : "403cdfa49fe4647794d679fd2889c3a6c2a651ebb04e4fee8468bd4c240d8ba722097eaebd5247b4bebc6e873b27011c49d1f8a131ea0f7a567a8c2a7c173289e2"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400919d0cbff7043de2eb024e5ece7a59de14b1bd8b084289587430056e350e49136bf892757b389735e775b352d774376fe29e62e4015253502e4ccc299f2575766a00403cdfa49fe4647794d679fd2889c3a6c2a651ebb04e4fee8468bd4c240d8ba722097eaebd5247b4bebc6e873b27011c49d1f8a131ea0f7a567a8c2a7c173289e2",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAkZ0Mv/cEPeLrAk5eznpZ3hSxvYsI\nQolYdDAFbjUOSRNr+JJ1eziXNed1s1LXdDdv4p5i5AFSU1AuTMwpnyV1dmoAQDzf\npJ/kZHeU1nn9KInDpsKmUeuwTk/uhGi9TCQNi6ciCX6uvVJHtL68boc7JwEcSdH4\noTHqD3pWeowqfBcyieI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 825,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024201cd4cae36fffffffffffffffffffffffffffffffffffffffffffffffffffffffffae18dcc11dff7526233d923a0b202cb29e713f22de8bb6ab0a12821c5abbe3f23",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04013c89b68ee2165ce583e29a6b46303e51e49b6583b97fa48fc97f48ca8ad0ddd4ddd09dfadfcf7095f0ca18963432841c4eff915f6138d0ef591e8ae4be9f4a99750010829c296b49e83ea22018bd1d4be30cc33bfce205aaba5452e1049f78bede0b003ae2c27bafc0cd7f7ac1121089288bfe37e221e18f5a4fdd7d73b3c0e5ae6ad1",
|
|
"wx" : "013c89b68ee2165ce583e29a6b46303e51e49b6583b97fa48fc97f48ca8ad0ddd4ddd09dfadfcf7095f0ca18963432841c4eff915f6138d0ef591e8ae4be9f4a9975",
|
|
"wy" : "10829c296b49e83ea22018bd1d4be30cc33bfce205aaba5452e1049f78bede0b003ae2c27bafc0cd7f7ac1121089288bfe37e221e18f5a4fdd7d73b3c0e5ae6ad1"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004013c89b68ee2165ce583e29a6b46303e51e49b6583b97fa48fc97f48ca8ad0ddd4ddd09dfadfcf7095f0ca18963432841c4eff915f6138d0ef591e8ae4be9f4a99750010829c296b49e83ea22018bd1d4be30cc33bfce205aaba5452e1049f78bede0b003ae2c27bafc0cd7f7ac1121089288bfe37e221e18f5a4fdd7d73b3c0e5ae6ad1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBPIm2juIWXOWD4pprRjA+UeSbZYO5\nf6SPyX9IyorQ3dTd0J36389wlfDKGJY0MoQcTv+RX2E40O9ZHorkvp9KmXUAEIKc\nKWtJ6D6iIBi9HUvjDMM7/OIFqrpUUuEEn3i+3gsAOuLCe6/AzX96wRIQiSiL/jfi\nIeGPWk/dfXOzwOWuatE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 826,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024122e8ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8b9c4c3f73cc816143fac3412b62de4c63db08f8c57e4c58c31f1b457ca5e57e20a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401d91ca0ff790797a83c3be1c82425af917208087aa6735eebd349840fd9fbc3ba5962ee11f8043338c1b3f3504171faa8e8444880b6a5c55ae6667c52ca07ed3f7901f34786c2dc71704ac34634100a8e912a7c40637820e97cd32d5739d7034bc7f6874b90ee94cce07662a3b275b23fa20ae7fc8370d05baeefe0286168bd3417d13f",
|
|
"wx" : "01d91ca0ff790797a83c3be1c82425af917208087aa6735eebd349840fd9fbc3ba5962ee11f8043338c1b3f3504171faa8e8444880b6a5c55ae6667c52ca07ed3f79",
|
|
"wy" : "01f34786c2dc71704ac34634100a8e912a7c40637820e97cd32d5739d7034bc7f6874b90ee94cce07662a3b275b23fa20ae7fc8370d05baeefe0286168bd3417d13f"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401d91ca0ff790797a83c3be1c82425af917208087aa6735eebd349840fd9fbc3ba5962ee11f8043338c1b3f3504171faa8e8444880b6a5c55ae6667c52ca07ed3f7901f34786c2dc71704ac34634100a8e912a7c40637820e97cd32d5739d7034bc7f6874b90ee94cce07662a3b275b23fa20ae7fc8370d05baeefe0286168bd3417d13f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQB2Ryg/3kHl6g8O+HIJCWvkXIICHqm\nc17r00mED9n7w7pZYu4R+AQzOMGz81BBcfqo6ERIgLalxVrmZnxSygftP3kB80eG\nwtxxcErDRjQQCo6RKnxAY3gg6XzTLVc51wNLx/aHS5DulMzgdmKjsnWyP6IK5/yD\ncNBbru/gKGFovTQX0T8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 827,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0242010590b21642c8590b21642c8590b21642c8590b21642c8590b21642c8590b2164298eb57e5aff9343597a542d3132f9e734fdc305125e0ec139c5f780ee8e8cb9c2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040040af2f4ddc1e5272b2aed358b7776f28f0dc996f772f951f25d12f9f8b0f3de0d1c1d29b63b74a950db474701a34c8dd803b594e957bd6a3eb7e938be4511f4c7901c01b42c973d55fb8996e40ee68e112e58a892eab032c5cdd6db39fb2c11692e8b3cebdbbdc08fb3d95a2a7607005089f452cdeb9821b5a118401fcd029c9ad2484",
|
|
"wx" : "40af2f4ddc1e5272b2aed358b7776f28f0dc996f772f951f25d12f9f8b0f3de0d1c1d29b63b74a950db474701a34c8dd803b594e957bd6a3eb7e938be4511f4c79",
|
|
"wy" : "01c01b42c973d55fb8996e40ee68e112e58a892eab032c5cdd6db39fb2c11692e8b3cebdbbdc08fb3d95a2a7607005089f452cdeb9821b5a118401fcd029c9ad2484"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b8104002303818600040040af2f4ddc1e5272b2aed358b7776f28f0dc996f772f951f25d12f9f8b0f3de0d1c1d29b63b74a950db474701a34c8dd803b594e957bd6a3eb7e938be4511f4c7901c01b42c973d55fb8996e40ee68e112e58a892eab032c5cdd6db39fb2c11692e8b3cebdbbdc08fb3d95a2a7607005089f452cdeb9821b5a118401fcd029c9ad2484",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAQK8vTdweUnKyrtNYt3dvKPDcmW93\nL5UfJdEvn4sPPeDRwdKbY7dKlQ20dHAaNMjdgDtZTpV71qPrfpOL5FEfTHkBwBtC\nyXPVX7iZbkDuaOES5YqJLqsDLFzdbbOfssEWkuizzr273Aj7PZWip2BwBQifRSze\nuYIbWhGEAfzQKcmtJIQ=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 828,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024201a4924924924924924924924924924924924924924924924924924924924924924445e10670ed0437c9db4125ac4175fbd70e9bd1799a85f44ca0a8e61a3354e808",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040069e0b481db99f894f0780f84719de16aec599c765eba50b8615477073c32c26ab1e4e7ae5d1f952513ad323225203b4f0c65a24a8368cd322c23e92049d121747c0177901e379e5e724f416487fee7077e6aea81e5250caa3cffbb7d1b2270aa754b4fdae51e443050c33c7b8421c7b3c538c49a674a34e2278c7ea09d900cf5851dcf",
|
|
"wx" : "69e0b481db99f894f0780f84719de16aec599c765eba50b8615477073c32c26ab1e4e7ae5d1f952513ad323225203b4f0c65a24a8368cd322c23e92049d121747c",
|
|
"wy" : "0177901e379e5e724f416487fee7077e6aea81e5250caa3cffbb7d1b2270aa754b4fdae51e443050c33c7b8421c7b3c538c49a674a34e2278c7ea09d900cf5851dcf"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b8104002303818600040069e0b481db99f894f0780f84719de16aec599c765eba50b8615477073c32c26ab1e4e7ae5d1f952513ad323225203b4f0c65a24a8368cd322c23e92049d121747c0177901e379e5e724f416487fee7077e6aea81e5250caa3cffbb7d1b2270aa754b4fdae51e443050c33c7b8421c7b3c538c49a674a34e2278c7ea09d900cf5851dcf",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAaeC0gduZ+JTweA+EcZ3hauxZnHZe\nulC4YVR3Bzwywmqx5OeuXR+VJROtMjIlIDtPDGWiSoNozTIsI+kgSdEhdHwBd5Ae\nN55eck9BZIf+5wd+auqB5SUMqjz/u30bInCqdUtP2uUeRDBQwzx7hCHHs8U4xJpn\nSjTiJ4x+oJ2QDPWFHc8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 829,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024201d5555555555555555555555555555555555555555555555555555555555555554fa6dbdcd91484ebc0d521569e4c5efb25910b1f0ddef19d0410c50c73e68db95f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400a9c2c57f1a2e91c4ee6b3d03c0923b58d0ec409df88e4f3065ba8148bfcf7f71ceb2f1a1e99dc830084b16993454e7e18da23c1a1e77199491db5418ae28b76c67001c97ee720493b427fd33a13c8e87e842ec96e6903cc97cb0f69340498bfdc6f543ca8044eca511eae7f0dd562aac13f2c3f356d216c42b73ddad4756d032f69790",
|
|
"wx" : "00a9c2c57f1a2e91c4ee6b3d03c0923b58d0ec409df88e4f3065ba8148bfcf7f71ceb2f1a1e99dc830084b16993454e7e18da23c1a1e77199491db5418ae28b76c67",
|
|
"wy" : "1c97ee720493b427fd33a13c8e87e842ec96e6903cc97cb0f69340498bfdc6f543ca8044eca511eae7f0dd562aac13f2c3f356d216c42b73ddad4756d032f69790"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400a9c2c57f1a2e91c4ee6b3d03c0923b58d0ec409df88e4f3065ba8148bfcf7f71ceb2f1a1e99dc830084b16993454e7e18da23c1a1e77199491db5418ae28b76c67001c97ee720493b427fd33a13c8e87e842ec96e6903cc97cb0f69340498bfdc6f543ca8044eca511eae7f0dd562aac13f2c3f356d216c42b73ddad4756d032f69790",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAqcLFfxoukcTuaz0DwJI7WNDsQJ34\njk8wZbqBSL/Pf3HOsvGh6Z3IMAhLFpk0VOfhjaI8Gh53GZSR21QYrii3bGcAHJfu\ncgSTtCf9M6E8jofoQuyW5pA8yXyw9pNASYv9xvVDyoBE7KUR6ufw3VYqrBPyw/NW\n0hbEK3PdrUdW0DL2l5A=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 830,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024201aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4fc31322e69da41162a76abf3a1b4507ae66074633446f259661a61c93be30eb5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401df9a6ea5a8357e829e60bba711d11f86a2dd28c5efdbf968e9646dfbb0d27fa8bf4d81d46255c198df4a27e6ca315690b1ea68795297c365229bd6959b2964b4a301aab45a211e9012b2bc69abc0588a0de8e2c59334cd38a3c221defab789f9cfb4608794a8c51150a783e5956a0a9f9a2f547cde82d1b5d6cf51c566604b50bcf78d",
|
|
"wx" : "01df9a6ea5a8357e829e60bba711d11f86a2dd28c5efdbf968e9646dfbb0d27fa8bf4d81d46255c198df4a27e6ca315690b1ea68795297c365229bd6959b2964b4a3",
|
|
"wy" : "01aab45a211e9012b2bc69abc0588a0de8e2c59334cd38a3c221defab789f9cfb4608794a8c51150a783e5956a0a9f9a2f547cde82d1b5d6cf51c566604b50bcf78d"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401df9a6ea5a8357e829e60bba711d11f86a2dd28c5efdbf968e9646dfbb0d27fa8bf4d81d46255c198df4a27e6ca315690b1ea68795297c365229bd6959b2964b4a301aab45a211e9012b2bc69abc0588a0de8e2c59334cd38a3c221defab789f9cfb4608794a8c51150a783e5956a0a9f9a2f547cde82d1b5d6cf51c566604b50bcf78d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQB35pupag1foKeYLunEdEfhqLdKMXv\n2/lo6WRt+7DSf6i/TYHUYlXBmN9KJ+bKMVaQsepoeVKXw2Uim9aVmylktKMBqrRa\nIR6QErK8aavAWIoN6OLFkzTNOKPCId76t4n5z7Rgh5SoxRFQp4PllWoKn5ovVHze\ngtG11s9RxWZgS1C8940=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 831,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0242017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e9138640b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401df30ef26e160153a1468a5ddd06b02ccb164dfe3ac8c7f15f68d4f1907ef8be9cadc6be705a229442340670bd1186ed826d39ba4c2311b1df794001a293c027cdf00134f30e4435504102a54c344ed80009ce1b9c5092c40ba32df8053936a8cd8a941ae5284505fd1ae0c5302086c93a582830d24bb646272dd9dd2f2150425a2d7e5",
|
|
"wx" : "01df30ef26e160153a1468a5ddd06b02ccb164dfe3ac8c7f15f68d4f1907ef8be9cadc6be705a229442340670bd1186ed826d39ba4c2311b1df794001a293c027cdf",
|
|
"wy" : "134f30e4435504102a54c344ed80009ce1b9c5092c40ba32df8053936a8cd8a941ae5284505fd1ae0c5302086c93a582830d24bb646272dd9dd2f2150425a2d7e5"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401df30ef26e160153a1468a5ddd06b02ccb164dfe3ac8c7f15f68d4f1907ef8be9cadc6be705a229442340670bd1186ed826d39ba4c2311b1df794001a293c027cdf00134f30e4435504102a54c344ed80009ce1b9c5092c40ba32df8053936a8cd8a941ae5284505fd1ae0c5302086c93a582830d24bb646272dd9dd2f2150425a2d7e5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQB3zDvJuFgFToUaKXd0GsCzLFk3+Os\njH8V9o1PGQfvi+nK3GvnBaIpRCNAZwvRGG7YJtObpMIxGx33lAAaKTwCfN8AE08w\n5ENVBBAqVMNE7YAAnOG5xQksQLoy34BTk2qM2KlBrlKEUF/RrgxTAghsk6WCgw0k\nu2Rict2d0vIVBCWi1+U=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 832,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc024201346cc7d4839b77f9f487c7e7f2841c5b7d05f966f3bde28f1fa080ce40037a74e3001a2b00bd39ee4c93072e9963724941383cf0812c02d1c838ad4502a12c619f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401400fa3bc87482ec1ba75346a129ec8f79456e7d6343b2a6be22490884b8f8b89114c0e5f9558d7627adeae53ff8ce37baf94b99d04f75098ca8e3e77c6be02bc3e01690d770806bde9f4d2760293aba6076066f1762e8448f0d08724ef311ff7596f35e8b6a9346de65bea924b9d30bb972e3b38878172f9040378a0db47299e979856",
|
|
"wx" : "01400fa3bc87482ec1ba75346a129ec8f79456e7d6343b2a6be22490884b8f8b89114c0e5f9558d7627adeae53ff8ce37baf94b99d04f75098ca8e3e77c6be02bc3e",
|
|
"wy" : "01690d770806bde9f4d2760293aba6076066f1762e8448f0d08724ef311ff7596f35e8b6a9346de65bea924b9d30bb972e3b38878172f9040378a0db47299e979856"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401400fa3bc87482ec1ba75346a129ec8f79456e7d6343b2a6be22490884b8f8b89114c0e5f9558d7627adeae53ff8ce37baf94b99d04f75098ca8e3e77c6be02bc3e01690d770806bde9f4d2760293aba6076066f1762e8448f0d08724ef311ff7596f35e8b6a9346de65bea924b9d30bb972e3b38878172f9040378a0db47299e979856",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBQA+jvIdILsG6dTRqEp7I95RW59Y0\nOypr4iSQiEuPi4kRTA5flVjXYnrerlP/jON7r5S5nQT3UJjKjj53xr4CvD4BaQ13\nCAa96fTSdgKTq6YHYGbxdi6ESPDQhyTvMR/3WW816LapNG3mW+qSS50wu5cuOziH\ngXL5BAN4oNtHKZ6XmFY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 833,
|
|
"comment" : "point duplication during verification",
|
|
"msg" : "54657374",
|
|
"sig" : "30818802420090c8d0d718cb9d8d81094e6d068fb13c16b4df8c77bac676dddfe3e68855bed06b9ba8d0f8a80edce03a9fac7da561e24b1cd22d459239a146695a671f81f73aaf024200a24fbd602ff7012b6b00e9aa1683b45bfa2d62dc768737e8da92cad52f069efbea526acc68096fc0ef9960c6b989bf8922aea38fd463d02c0e7c25e336f32b0874",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401400fa3bc87482ec1ba75346a129ec8f79456e7d6343b2a6be22490884b8f8b89114c0e5f9558d7627adeae53ff8ce37baf94b99d04f75098ca8e3e77c6be02bc3e0096f288f7f942160b2d89fd6c5459f89f990e89d17bb70f2f78db10cee008a690ca174956cb9219a4156db462cf4468d1c4c7787e8d06fbfc875f24b8d6616867a9",
|
|
"wx" : "01400fa3bc87482ec1ba75346a129ec8f79456e7d6343b2a6be22490884b8f8b89114c0e5f9558d7627adeae53ff8ce37baf94b99d04f75098ca8e3e77c6be02bc3e",
|
|
"wy" : "0096f288f7f942160b2d89fd6c5459f89f990e89d17bb70f2f78db10cee008a690ca174956cb9219a4156db462cf4468d1c4c7787e8d06fbfc875f24b8d6616867a9"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401400fa3bc87482ec1ba75346a129ec8f79456e7d6343b2a6be22490884b8f8b89114c0e5f9558d7627adeae53ff8ce37baf94b99d04f75098ca8e3e77c6be02bc3e0096f288f7f942160b2d89fd6c5459f89f990e89d17bb70f2f78db10cee008a690ca174956cb9219a4156db462cf4468d1c4c7787e8d06fbfc875f24b8d6616867a9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBQA+jvIdILsG6dTRqEp7I95RW59Y0\nOypr4iSQiEuPi4kRTA5flVjXYnrerlP/jON7r5S5nQT3UJjKjj53xr4CvD4AlvKI\n9/lCFgstif1sVFn4n5kOidF7tw8veNsQzuAIppDKF0lWy5IZpBVttGLPRGjRxMd4\nfo0G+/yHXyS41mFoZ6k=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 834,
|
|
"comment" : "duplication bug",
|
|
"msg" : "54657374",
|
|
"sig" : "30818802420090c8d0d718cb9d8d81094e6d068fb13c16b4df8c77bac676dddfe3e68855bed06b9ba8d0f8a80edce03a9fac7da561e24b1cd22d459239a146695a671f81f73aaf024200a24fbd602ff7012b6b00e9aa1683b45bfa2d62dc768737e8da92cad52f069efbea526acc68096fc0ef9960c6b989bf8922aea38fd463d02c0e7c25e336f32b0874",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04009a7b52e1dff018058143cef15c702a7a094e81b3e665b52987a4b077d00c7d1cc398bdbe167d2a3c1ed9daff20f768acb3fd962c06b1fc16593a291734080f40c0008e44b444a3f66803ff3846f226dcf724ec3ce692e67ac991e062ae4a0e555a1ad184905d3231c3f058ae40c266547b076a7c8420d6a7e94aa300342aeeed1c5f7d",
|
|
"wx" : "009a7b52e1dff018058143cef15c702a7a094e81b3e665b52987a4b077d00c7d1cc398bdbe167d2a3c1ed9daff20f768acb3fd962c06b1fc16593a291734080f40c0",
|
|
"wy" : "008e44b444a3f66803ff3846f226dcf724ec3ce692e67ac991e062ae4a0e555a1ad184905d3231c3f058ae40c266547b076a7c8420d6a7e94aa300342aeeed1c5f7d"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004009a7b52e1dff018058143cef15c702a7a094e81b3e665b52987a4b077d00c7d1cc398bdbe167d2a3c1ed9daff20f768acb3fd962c06b1fc16593a291734080f40c0008e44b444a3f66803ff3846f226dcf724ec3ce692e67ac991e062ae4a0e555a1ad184905d3231c3f058ae40c266547b076a7c8420d6a7e94aa300342aeeed1c5f7d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAmntS4d/wGAWBQ87xXHAqeglOgbPm\nZbUph6Swd9AMfRzDmL2+Fn0qPB7Z2v8g92iss/2WLAax/BZZOikXNAgPQMAAjkS0\nRKP2aAP/OEbyJtz3JOw85pLmesmR4GKuSg5VWhrRhJBdMjHD8FiuQMJmVHsHanyE\nINan6UqjADQq7u0cX30=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 835,
|
|
"comment" : "point with x-coordinate 0",
|
|
"msg" : "54657374",
|
|
"sig" : "3047020101024200aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa8c5d782813fba87792a9955c2fd033745693c9892d8896d3a3e7a925f85bd76ad",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400e26ff0200b731450ad17bb6fef1a6e387a3ec41cd4d808234a64272e819c220266be79c5adae378254649ec8cca05ec92815b8b9eb3cec58693aa6abd0ba191abd01efc536ff700f3611d358e18291470d845473b5750b7525cd3709432ff2fa87743af92894a7a646a82fd24d3f6e0cc47ab673d68630d770bd0d724b0d60de6b51f6",
|
|
"wx" : "00e26ff0200b731450ad17bb6fef1a6e387a3ec41cd4d808234a64272e819c220266be79c5adae378254649ec8cca05ec92815b8b9eb3cec58693aa6abd0ba191abd",
|
|
"wy" : "01efc536ff700f3611d358e18291470d845473b5750b7525cd3709432ff2fa87743af92894a7a646a82fd24d3f6e0cc47ab673d68630d770bd0d724b0d60de6b51f6"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400e26ff0200b731450ad17bb6fef1a6e387a3ec41cd4d808234a64272e819c220266be79c5adae378254649ec8cca05ec92815b8b9eb3cec58693aa6abd0ba191abd01efc536ff700f3611d358e18291470d845473b5750b7525cd3709432ff2fa87743af92894a7a646a82fd24d3f6e0cc47ab673d68630d770bd0d724b0d60de6b51f6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQA4m/wIAtzFFCtF7tv7xpuOHo+xBzU\n2AgjSmQnLoGcIgJmvnnFra43glRknsjMoF7JKBW4ues87FhpOqar0LoZGr0B78U2\n/3APNhHTWOGCkUcNhFRztXULdSXNNwlDL/L6h3Q6+SiUp6ZGqC/STT9uDMR6tnPW\nhjDXcL0NcksNYN5rUfY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 836,
|
|
"comment" : "point with x-coordinate 0",
|
|
"msg" : "54657374",
|
|
"sig" : "3081870242020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024166666666666666666666666666666666666666666666666666666666666666666543814e4d8ca31e157ff599db649b87900bf128581b85a7efbf1657d2e9d81401",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040177d4130bb0ff5597f3a51f5a00f90213c1d8585389829ded631809c180a6656364483142aedad31486ff27a2aaabb0ed308896943ddf96590e1665450ba34c9e87002bba609ad8a4b4c894d303b3872c4f63939e19ae91d21b1a83cc2260700f8e0ec198a6f38da62a6ea5721e1364a5a7f02f60f5e8de53a97ce11c8666d588cbcdb3",
|
|
"wx" : "0177d4130bb0ff5597f3a51f5a00f90213c1d8585389829ded631809c180a6656364483142aedad31486ff27a2aaabb0ed308896943ddf96590e1665450ba34c9e87",
|
|
"wy" : "2bba609ad8a4b4c894d303b3872c4f63939e19ae91d21b1a83cc2260700f8e0ec198a6f38da62a6ea5721e1364a5a7f02f60f5e8de53a97ce11c8666d588cbcdb3"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b8104002303818600040177d4130bb0ff5597f3a51f5a00f90213c1d8585389829ded631809c180a6656364483142aedad31486ff27a2aaabb0ed308896943ddf96590e1665450ba34c9e87002bba609ad8a4b4c894d303b3872c4f63939e19ae91d21b1a83cc2260700f8e0ec198a6f38da62a6ea5721e1364a5a7f02f60f5e8de53a97ce11c8666d588cbcdb3",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBd9QTC7D/VZfzpR9aAPkCE8HYWFOJ\ngp3tYxgJwYCmZWNkSDFCrtrTFIb/J6Kqq7DtMIiWlD3fllkOFmVFC6NMnocAK7pg\nmtiktMiU0wOzhyxPY5OeGa6R0hsag8wiYHAPjg7BmKbzjaYqbqVyHhNkpafwL2D1\n6N5TqXzhHIZm1YjLzbM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 837,
|
|
"comment" : "comparison with point at infinity ",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024200aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa8c5d782813fba87792a9955c2fd033745693c9892d8896d3a3e7a925f85bd76ad024166666666666666666666666666666666666666666666666666666666666666666543814e4d8ca31e157ff599db649b87900bf128581b85a7efbf1657d2e9d81401",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040058d31b9f3ba34f384f2478fd60d54cfa693bbc547210281c0009589c0244ba1958f2ba91adf76a296c77566e8eaaec132b5cbd555b13edec0c0f0ae061e8c9a1b1018728b0dd02d131fc6805b75168c982a3fdb93fe85ca2b530d1d839cb534c0ebc021ae3723926a3002737b4b796c12688d768834d05e2516818438a38c023b52fcf",
|
|
"wx" : "58d31b9f3ba34f384f2478fd60d54cfa693bbc547210281c0009589c0244ba1958f2ba91adf76a296c77566e8eaaec132b5cbd555b13edec0c0f0ae061e8c9a1b1",
|
|
"wy" : "018728b0dd02d131fc6805b75168c982a3fdb93fe85ca2b530d1d839cb534c0ebc021ae3723926a3002737b4b796c12688d768834d05e2516818438a38c023b52fcf"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b8104002303818600040058d31b9f3ba34f384f2478fd60d54cfa693bbc547210281c0009589c0244ba1958f2ba91adf76a296c77566e8eaaec132b5cbd555b13edec0c0f0ae061e8c9a1b1018728b0dd02d131fc6805b75168c982a3fdb93fe85ca2b530d1d839cb534c0ebc021ae3723926a3002737b4b796c12688d768834d05e2516818438a38c023b52fcf",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAWNMbnzujTzhPJHj9YNVM+mk7vFRy\nECgcAAlYnAJEuhlY8rqRrfdqKWx3Vm6OquwTK1y9VVsT7ewMDwrgYejJobEBhyiw\n3QLRMfxoBbdRaMmCo/25P+hcorUw0dg5y1NMDrwCGuNyOSajACc3tLeWwSaI12iD\nTQXiUWgYQ4o4wCO1L88=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 838,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "54657374",
|
|
"sig" : "3081870241433c219024277e7e682fcb288148c282747403279b1ccc06352c6e5505d769be97b3b204da6ef55507aa104a3a35c5af41cf2fa364d60fd967f43e3933ba6d783d024200aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa8c5d782813fba87792a9955c2fd033745693c9892d8896d3a3e7a925f85bd76ad",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040051f9819380755fab58f496a81f8465554bcf907554e911580366215296d3a6d81ba22cec986ae33010d6416bf1db3b6637f64d240b6f4b5c7ea229f87e0fcd699f01812487275e672c364712783fe4a8a53729e3fc90138afe5b869c5068cb5d4554e1a7f1d8ac9dd78fbca9acab4ea791311d66e01e048201b40d9f383d0a0b068daa",
|
|
"wx" : "51f9819380755fab58f496a81f8465554bcf907554e911580366215296d3a6d81ba22cec986ae33010d6416bf1db3b6637f64d240b6f4b5c7ea229f87e0fcd699f",
|
|
"wy" : "01812487275e672c364712783fe4a8a53729e3fc90138afe5b869c5068cb5d4554e1a7f1d8ac9dd78fbca9acab4ea791311d66e01e048201b40d9f383d0a0b068daa"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b8104002303818600040051f9819380755fab58f496a81f8465554bcf907554e911580366215296d3a6d81ba22cec986ae33010d6416bf1db3b6637f64d240b6f4b5c7ea229f87e0fcd699f01812487275e672c364712783fe4a8a53729e3fc90138afe5b869c5068cb5d4554e1a7f1d8ac9dd78fbca9acab4ea791311d66e01e048201b40d9f383d0a0b068daa",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAUfmBk4B1X6tY9JaoH4RlVUvPkHVU\n6RFYA2YhUpbTptgboizsmGrjMBDWQWvx2ztmN/ZNJAtvS1x+oin4fg/NaZ8BgSSH\nJ15nLDZHEng/5KilNynj/JATiv5bhpxQaMtdRVThp/HYrJ3Xj7yprKtOp5ExHWbg\nHgSCAbQNnzg9CgsGjao=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 839,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3081860241433c219024277e7e682fcb288148c282747403279b1ccc06352c6e5505d769be97b3b204da6ef55507aa104a3a35c5af41cf2fa364d60fd967f43e3933ba6d783d0241492492492492492492492492492492492492492492492492492492492492492491795c5c808906cc587ff89278234a8566e3f565f5ca840a3d887dac7214bee9b8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401fca5b6da4b965f2c88b14f7a5844ce6f8276d2f5d03739db266c4f5d85fc9b3719be453ac8004f027f714cf07ac1b27c7b2a1ef92705d2a57bbdebf521647615b601a8dabcdbbf3510a509244dcd9af272abc560b30d874e92ad52c52ba64b19325b250e15e7eb5b04a190eb658e0cf663f0265c05bf4ab8eb960a7084c514250de790",
|
|
"wx" : "01fca5b6da4b965f2c88b14f7a5844ce6f8276d2f5d03739db266c4f5d85fc9b3719be453ac8004f027f714cf07ac1b27c7b2a1ef92705d2a57bbdebf521647615b6",
|
|
"wy" : "01a8dabcdbbf3510a509244dcd9af272abc560b30d874e92ad52c52ba64b19325b250e15e7eb5b04a190eb658e0cf663f0265c05bf4ab8eb960a7084c514250de790"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401fca5b6da4b965f2c88b14f7a5844ce6f8276d2f5d03739db266c4f5d85fc9b3719be453ac8004f027f714cf07ac1b27c7b2a1ef92705d2a57bbdebf521647615b601a8dabcdbbf3510a509244dcd9af272abc560b30d874e92ad52c52ba64b19325b250e15e7eb5b04a190eb658e0cf663f0265c05bf4ab8eb960a7084c514250de790",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQB/KW22kuWXyyIsU96WETOb4J20vXQ\nNznbJmxPXYX8mzcZvkU6yABPAn9xTPB6wbJ8eyoe+ScF0qV7vev1IWR2FbYBqNq8\n2781EKUJJE3NmvJyq8Vgsw2HTpKtUsUrpksZMlslDhXn61sEoZDrZY4M9mPwJlwF\nv0q465YKcITFFCUN55A=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 840,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3081870241433c219024277e7e682fcb288148c282747403279b1ccc06352c6e5505d769be97b3b204da6ef55507aa104a3a35c5af41cf2fa364d60fd967f43e3933ba6d783d0242019999999999999999999999999999999999999999999999999999999999999999950e053936328c7855ffd6676d926e1e402fc4a1606e169fbefc595f4ba7605007",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04004c8643e546a71b93185ca583ae5098c1e6c0b0d33fc2d618870f9438b1c595dbc8920084565f0074dafaca78bac2558ca623c251f6d530328c2734a0413821dfe5001d8ac0a7251b82046f9cf2ce679e12770f8681a43f0e27e553680fc5234295ac24212a25c857e152350676e4e52ca3044181b67110ce0129fa0bdc15a4d5a70e8e",
|
|
"wx" : "4c8643e546a71b93185ca583ae5098c1e6c0b0d33fc2d618870f9438b1c595dbc8920084565f0074dafaca78bac2558ca623c251f6d530328c2734a0413821dfe5",
|
|
"wy" : "1d8ac0a7251b82046f9cf2ce679e12770f8681a43f0e27e553680fc5234295ac24212a25c857e152350676e4e52ca3044181b67110ce0129fa0bdc15a4d5a70e8e"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004004c8643e546a71b93185ca583ae5098c1e6c0b0d33fc2d618870f9438b1c595dbc8920084565f0074dafaca78bac2558ca623c251f6d530328c2734a0413821dfe5001d8ac0a7251b82046f9cf2ce679e12770f8681a43f0e27e553680fc5234295ac24212a25c857e152350676e4e52ca3044181b67110ce0129fa0bdc15a4d5a70e8e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQATIZD5UanG5MYXKWDrlCYwebAsNM/\nwtYYhw+UOLHFldvIkgCEVl8AdNr6yni6wlWMpiPCUfbVMDKMJzSgQTgh3+UAHYrA\npyUbggRvnPLOZ54Sdw+GgaQ/DiflU2gPxSNClawkISolyFfhUjUGduTlLKMEQYG2\ncRDOASn6C9wVpNWnDo4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 841,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3081860241433c219024277e7e682fcb288148c282747403279b1ccc06352c6e5505d769be97b3b204da6ef55507aa104a3a35c5af41cf2fa364d60fd967f43e3933ba6d783d024166666666666666666666666666666666666666666666666666666666666666666543814e4d8ca31e157ff599db649b87900bf128581b85a7efbf1657d2e9d81402",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400a6597c76956046fcd03c444e9a4e13b9fb751ac91fb4fcba5fd33aff61f3305fa7b831e5227a5c0470e5e1fde4a25e539fc23773bb3a2cf41eee0fc678d050705a01f6f5ae4a3b994473679074f6ee6579c5005e6fd860cd4dd29e07d4475823af6be8af5d414bba47b42e601b97660d10a662e37b5180e8e69b33c5f7d798da18be49",
|
|
"wx" : "00a6597c76956046fcd03c444e9a4e13b9fb751ac91fb4fcba5fd33aff61f3305fa7b831e5227a5c0470e5e1fde4a25e539fc23773bb3a2cf41eee0fc678d050705a",
|
|
"wy" : "01f6f5ae4a3b994473679074f6ee6579c5005e6fd860cd4dd29e07d4475823af6be8af5d414bba47b42e601b97660d10a662e37b5180e8e69b33c5f7d798da18be49"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400a6597c76956046fcd03c444e9a4e13b9fb751ac91fb4fcba5fd33aff61f3305fa7b831e5227a5c0470e5e1fde4a25e539fc23773bb3a2cf41eee0fc678d050705a01f6f5ae4a3b994473679074f6ee6579c5005e6fd860cd4dd29e07d4475823af6be8af5d414bba47b42e601b97660d10a662e37b5180e8e69b33c5f7d798da18be49",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQApll8dpVgRvzQPEROmk4Tuft1Gskf\ntPy6X9M6/2HzMF+nuDHlInpcBHDl4f3kol5Tn8I3c7s6LPQe7g/GeNBQcFoB9vWu\nSjuZRHNnkHT27mV5xQBeb9hgzU3SngfUR1gjr2vor11BS7pHtC5gG5dmDRCmYuN7\nUYDo5pszxffXmNoYvkk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 842,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3081870241433c219024277e7e682fcb288148c282747403279b1ccc06352c6e5505d769be97b3b204da6ef55507aa104a3a35c5af41cf2fa364d60fd967f43e3933ba6d783d024201b6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db68d82a2b033628ca12ffd36ed0d3bf206957c063c2bf183d7132f20aac7c797a51",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401a72fa046b1157567b9913a8a61107fb4dd0e12b2b406ef219b767f93130f39d54998745c51d1aff51b68d78d34418d6128bf93ccdbe15f6476824e0b311bd267ad00f3e4d71961055a4c1763fc1eefa0800f84ac7c7bbc4fd8ed773b79b70a99e01d1a6c00965ee1ff6665093aa423f9d304792af7a4f4141c3a2a5d900524954a95d4",
|
|
"wx" : "01a72fa046b1157567b9913a8a61107fb4dd0e12b2b406ef219b767f93130f39d54998745c51d1aff51b68d78d34418d6128bf93ccdbe15f6476824e0b311bd267ad",
|
|
"wy" : "00f3e4d71961055a4c1763fc1eefa0800f84ac7c7bbc4fd8ed773b79b70a99e01d1a6c00965ee1ff6665093aa423f9d304792af7a4f4141c3a2a5d900524954a95d4"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401a72fa046b1157567b9913a8a61107fb4dd0e12b2b406ef219b767f93130f39d54998745c51d1aff51b68d78d34418d6128bf93ccdbe15f6476824e0b311bd267ad00f3e4d71961055a4c1763fc1eefa0800f84ac7c7bbc4fd8ed773b79b70a99e01d1a6c00965ee1ff6665093aa423f9d304792af7a4f4141c3a2a5d900524954a95d4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBpy+gRrEVdWe5kTqKYRB/tN0OErK0\nBu8hm3Z/kxMPOdVJmHRcUdGv9Rto1400QY1hKL+TzNvhX2R2gk4LMRvSZ60A8+TX\nGWEFWkwXY/we76CAD4SsfHu8T9jtdzt5twqZ4B0abACWXuH/ZmUJOqQj+dMEeSr3\npPQUHDoqXZAFJJVKldQ=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 843,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "54657374",
|
|
"sig" : "3081860241433c219024277e7e682fcb288148c282747403279b1ccc06352c6e5505d769be97b3b204da6ef55507aa104a3a35c5af41cf2fa364d60fd967f43e3933ba6d783d02410eb10e5ab95f2f26a40700b1300fb8c3c8d5384ffbecf1fdb9e11e67cb7fd6a7f503e6e25ac09bb88b6c3983df764d4d72bc2920e233f0f7974a234a21b00bb447",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400cf6df1caf02f9098be502e187a924fbe8cc10f0422dd66bfd9f9156cf22d830f084b8db3a4ee588fb108ba178103a1aa45aa687fe9b30173791b6efede4b60077400359b96e724fe869abb95f4549af40e13c664d1a009ad0205b454f1a495581a770e5c82aa984bd2a5cd2d359adf487c392e441048fe60c2696ffa958c807de097c9",
|
|
"wx" : "00cf6df1caf02f9098be502e187a924fbe8cc10f0422dd66bfd9f9156cf22d830f084b8db3a4ee588fb108ba178103a1aa45aa687fe9b30173791b6efede4b600774",
|
|
"wy" : "359b96e724fe869abb95f4549af40e13c664d1a009ad0205b454f1a495581a770e5c82aa984bd2a5cd2d359adf487c392e441048fe60c2696ffa958c807de097c9"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400cf6df1caf02f9098be502e187a924fbe8cc10f0422dd66bfd9f9156cf22d830f084b8db3a4ee588fb108ba178103a1aa45aa687fe9b30173791b6efede4b60077400359b96e724fe869abb95f4549af40e13c664d1a009ad0205b454f1a495581a770e5c82aa984bd2a5cd2d359adf487c392e441048fe60c2696ffa958c807de097c9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAz23xyvAvkJi+UC4YepJPvozBDwQi\n3Wa/2fkVbPItgw8IS42zpO5Yj7EIuheBA6GqRapof+mzAXN5G27+3ktgB3QANZuW\n5yT+hpq7lfRUmvQOE8Zk0aAJrQIFtFTxpJVYGncOXIKqmEvSpc0tNZrfSHw5LkQQ\nSP5gwmlv+pWMgH3gl8k=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 844,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66024200aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa8c5d782813fba87792a9955c2fd033745693c9892d8896d3a3e7a925f85bd76ad",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04006f839c4f23ef040b3a9991d47c9c4def6fdb0ecf6fc3b8295d07729beb37505cb4e9b10d68972f03b6ef5d669603c1515e26cdf3a7ff5d34cd4f70e7ad4b94a27b0054df97785db8216d9a5e21118bc6cca9597d89c66db1df90c9c8303a49001ab854fd39d3c18f2eb3736a0827a751011870c1db6a0013bdbf6175c2fbfe27d91fe5",
|
|
"wx" : "6f839c4f23ef040b3a9991d47c9c4def6fdb0ecf6fc3b8295d07729beb37505cb4e9b10d68972f03b6ef5d669603c1515e26cdf3a7ff5d34cd4f70e7ad4b94a27b",
|
|
"wy" : "54df97785db8216d9a5e21118bc6cca9597d89c66db1df90c9c8303a49001ab854fd39d3c18f2eb3736a0827a751011870c1db6a0013bdbf6175c2fbfe27d91fe5"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004006f839c4f23ef040b3a9991d47c9c4def6fdb0ecf6fc3b8295d07729beb37505cb4e9b10d68972f03b6ef5d669603c1515e26cdf3a7ff5d34cd4f70e7ad4b94a27b0054df97785db8216d9a5e21118bc6cca9597d89c66db1df90c9c8303a49001ab854fd39d3c18f2eb3736a0827a751011870c1db6a0013bdbf6175c2fbfe27d91fe5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAb4OcTyPvBAs6mZHUfJxN72/bDs9v\nw7gpXQdym+s3UFy06bENaJcvA7bvXWaWA8FRXibN86f/XTTNT3DnrUuUonsAVN+X\neF24IW2aXiERi8bMqVl9icZtsd+QycgwOkkAGrhU/TnTwY8us3NqCCenUQEYcMHb\nagATvb9hdcL7/ifZH+U=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 845,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024200c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd660241492492492492492492492492492492492492492492492492492492492492492491795c5c808906cc587ff89278234a8566e3f565f5ca840a3d887dac7214bee9b8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040150246dd427cacce66e6de57a8cc0dfe249969f3fcf4ed64de341339eb90331db1f05475292ce9c29916da65ceab6e67ef2dce13b1e17b8d1a2de7ffc1504f3fd9d019287f09186d2a7efd6c4bc5690429dc31a17ddea53d4aa662a58aa11feb40801dc9c750c187d4351f5990cdd1671ab9097baac0512b8ca37f557fecbf590fafd6a",
|
|
"wx" : "0150246dd427cacce66e6de57a8cc0dfe249969f3fcf4ed64de341339eb90331db1f05475292ce9c29916da65ceab6e67ef2dce13b1e17b8d1a2de7ffc1504f3fd9d",
|
|
"wy" : "019287f09186d2a7efd6c4bc5690429dc31a17ddea53d4aa662a58aa11feb40801dc9c750c187d4351f5990cdd1671ab9097baac0512b8ca37f557fecbf590fafd6a"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b8104002303818600040150246dd427cacce66e6de57a8cc0dfe249969f3fcf4ed64de341339eb90331db1f05475292ce9c29916da65ceab6e67ef2dce13b1e17b8d1a2de7ffc1504f3fd9d019287f09186d2a7efd6c4bc5690429dc31a17ddea53d4aa662a58aa11feb40801dc9c750c187d4351f5990cdd1671ab9097baac0512b8ca37f557fecbf590fafd6a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBUCRt1CfKzOZubeV6jMDf4kmWnz/P\nTtZN40EznrkDMdsfBUdSks6cKZFtplzqtuZ+8tzhOx4XuNGi3n/8FQTz/Z0Bkofw\nkYbSp+/WxLxWkEKdwxoX3epT1KpmKliqEf60CAHcnHUMGH1DUfWZDN0WcauQl7qs\nBRK4yjf1V/7L9ZD6/Wo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 846,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd660242019999999999999999999999999999999999999999999999999999999999999999950e053936328c7855ffd6676d926e1e402fc4a1606e169fbefc595f4ba7605007",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400d42b271445241e4e5136cf8e5b706ed4403234cca54821737169e9a60dec54745f1dc077c5ed9d60c2f572c5e5749f4f4431952561c2a30d9ac312fbc3e5dc9dca0179b7a63b67b345aa865db14d9147b36094a12164263e588e20996ad814b2f1ffd9681720305b3b03f6b948db03a7d89af2eff7dbdea0c411940ed80cce6d9b34c6",
|
|
"wx" : "00d42b271445241e4e5136cf8e5b706ed4403234cca54821737169e9a60dec54745f1dc077c5ed9d60c2f572c5e5749f4f4431952561c2a30d9ac312fbc3e5dc9dca",
|
|
"wy" : "0179b7a63b67b345aa865db14d9147b36094a12164263e588e20996ad814b2f1ffd9681720305b3b03f6b948db03a7d89af2eff7dbdea0c411940ed80cce6d9b34c6"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400d42b271445241e4e5136cf8e5b706ed4403234cca54821737169e9a60dec54745f1dc077c5ed9d60c2f572c5e5749f4f4431952561c2a30d9ac312fbc3e5dc9dca0179b7a63b67b345aa865db14d9147b36094a12164263e588e20996ad814b2f1ffd9681720305b3b03f6b948db03a7d89af2eff7dbdea0c411940ed80cce6d9b34c6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQA1CsnFEUkHk5RNs+OW3Bu1EAyNMyl\nSCFzcWnppg3sVHRfHcB3xe2dYML1csXldJ9PRDGVJWHCow2awxL7w+XcncoBebem\nO2ezRaqGXbFNkUezYJShIWQmPliOIJlq2BSy8f/ZaBcgMFs7A/a5SNsDp9ia8u/3\n296gxBGUDtgMzm2bNMY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 847,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024200c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66024166666666666666666666666666666666666666666666666666666666666666666543814e4d8ca31e157ff599db649b87900bf128581b85a7efbf1657d2e9d81402",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040070780ea3c2e73b2400f44f48a393b6c9019cfa788aa5e3d272ecbec9dc0dbcb35187d9575e1f5f15baf22f502e3ca9287c5224f587fbaf1d8894a1c33bd6d12aa6000e0bcd718484ed9f4da4d77a97f6b5a42ff82c0f25d3241ab0b2a1de2419bee04545ea159d8e564ec3bb91267cec492bfb9bfcaba8fda4e88051fcafc98a3f5336",
|
|
"wx" : "70780ea3c2e73b2400f44f48a393b6c9019cfa788aa5e3d272ecbec9dc0dbcb35187d9575e1f5f15baf22f502e3ca9287c5224f587fbaf1d8894a1c33bd6d12aa6",
|
|
"wy" : "0e0bcd718484ed9f4da4d77a97f6b5a42ff82c0f25d3241ab0b2a1de2419bee04545ea159d8e564ec3bb91267cec492bfb9bfcaba8fda4e88051fcafc98a3f5336"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b8104002303818600040070780ea3c2e73b2400f44f48a393b6c9019cfa788aa5e3d272ecbec9dc0dbcb35187d9575e1f5f15baf22f502e3ca9287c5224f587fbaf1d8894a1c33bd6d12aa6000e0bcd718484ed9f4da4d77a97f6b5a42ff82c0f25d3241ab0b2a1de2419bee04545ea159d8e564ec3bb91267cec492bfb9bfcaba8fda4e88051fcafc98a3f5336",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAcHgOo8LnOyQA9E9Io5O2yQGc+niK\npePScuy+ydwNvLNRh9lXXh9fFbryL1AuPKkofFIk9Yf7rx2IlKHDO9bRKqYADgvN\ncYSE7Z9NpNd6l/a1pC/4LA8l0yQasLKh3iQZvuBFReoVnY5WTsO7kSZ87Ekr+5v8\nq6j9pOiAUfyvyYo/UzY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 848,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024200c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66024201b6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db6db68d82a2b033628ca12ffd36ed0d3bf206957c063c2bf183d7132f20aac7c797a51",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401f988e92791f14ddbff35eab1dddd36f3167b514e95c70dfe6e616a77a0064721f8aef871d4c482524e5647ff20204fa4dafaeaa80dd3b7d99007e592ae5b589916003a9299ba5dfb5991c94e880ff6c614958ceee55e2ce5b22c0bfb0eb43759b4848ce007482e7421aef5c8da000ba224acb4dbbf73498d73705c06b67f267e5a8a10",
|
|
"wx" : "01f988e92791f14ddbff35eab1dddd36f3167b514e95c70dfe6e616a77a0064721f8aef871d4c482524e5647ff20204fa4dafaeaa80dd3b7d99007e592ae5b589916",
|
|
"wy" : "3a9299ba5dfb5991c94e880ff6c614958ceee55e2ce5b22c0bfb0eb43759b4848ce007482e7421aef5c8da000ba224acb4dbbf73498d73705c06b67f267e5a8a10"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401f988e92791f14ddbff35eab1dddd36f3167b514e95c70dfe6e616a77a0064721f8aef871d4c482524e5647ff20204fa4dafaeaa80dd3b7d99007e592ae5b589916003a9299ba5dfb5991c94e880ff6c614958ceee55e2ce5b22c0bfb0eb43759b4848ce007482e7421aef5c8da000ba224acb4dbbf73498d73705c06b67f267e5a8a10",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQB+YjpJ5HxTdv/Neqx3d028xZ7UU6V\nxw3+bmFqd6AGRyH4rvhx1MSCUk5WR/8gIE+k2vrqqA3Tt9mQB+WSrltYmRYAOpKZ\nul37WZHJTogP9sYUlYzu5V4s5bIsC/sOtDdZtISM4AdILnQhrvXI2gALoiSstNu/\nc0mNc3BcBrZ/Jn5aihA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 849,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024200c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd6602410eb10e5ab95f2f26a40700b1300fb8c3c8d5384ffbecf1fdb9e11e67cb7fd6a7f503e6e25ac09bb88b6c3983df764d4d72bc2920e233f0f7974a234a21b00bb447",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650",
|
|
"wx" : "00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66",
|
|
"wy" : "011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAxoWOBrcEBOnNnj7LZiOVtEKcZIE5\nBT+1Ifgor2BrTT26oUted+/nWSj+HcEnov+o3jNIs8GFakKb+X5+McLlvWYBGDkp\naniaO8AEXIpftCx9G9mY9URJV5tEaBevvRcnPmYsl+5ymV70JkDFULkBP60HYTU8\ncIaicsJAiL6Udp/RZlA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 850,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "308186024100c6ee9e33cf5c6715a1d148fd73f7318884b41adcb916021e2bc0e800a5c5dd97f5142178f6ae88c8fdd98e1afb0ce4c8d2c54b5f37b30b7da1997bb33b0b8a310241492492492492492492492492492492492492492492492492492492492492492491795c5c808906cc587ff89278234a8566e3f565f5ca840a3d887dac7214bee9b8",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 851,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024201ff391161cc30a398ea5e2eb7028c08ce777b4be52346e9fde1d43f17ff5a3a22625c72660ac8810da281f2732dfbfcc10768f07e5951e93c3119d63b6b562cd9d80241492492492492492492492492492492492492492492492492492492492492492491795c5c808906cc587ff89278234a8566e3f565f5ca840a3d887dac7214bee9b8",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd6600e7c6d6958765c43ffba375a04bd382e426670abbb6a864bb97e85042e8d8c199d368118d66a10bd9bf3aaf46fec052f89ecac38f795d8d3dbf77416b89602e99af",
|
|
"wx" : "00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66",
|
|
"wy" : "00e7c6d6958765c43ffba375a04bd382e426670abbb6a864bb97e85042e8d8c199d368118d66a10bd9bf3aaf46fec052f89ecac38f795d8d3dbf77416b89602e99af"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd6600e7c6d6958765c43ffba375a04bd382e426670abbb6a864bb97e85042e8d8c199d368118d66a10bd9bf3aaf46fec052f89ecac38f795d8d3dbf77416b89602e99af",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAxoWOBrcEBOnNnj7LZiOVtEKcZIE5\nBT+1Ifgor2BrTT26oUted+/nWSj+HcEnov+o3jNIs8GFakKb+X5+McLlvWYA58bW\nlYdlxD/7o3WgS9OC5CZnCru2qGS7l+hQQujYwZnTaBGNZqEL2b86r0b+wFL4nsrD\nj3ldjT2/d0FriWAuma8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 852,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "308186024100c6ee9e33cf5c6715a1d148fd73f7318884b41adcb916021e2bc0e800a5c5dd97f5142178f6ae88c8fdd98e1afb0ce4c8d2c54b5f37b30b7da1997bb33b0b8a310241492492492492492492492492492492492492492492492492492492492492492491795c5c808906cc587ff89278234a8566e3f565f5ca840a3d887dac7214bee9b8",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 853,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024201ff391161cc30a398ea5e2eb7028c08ce777b4be52346e9fde1d43f17ff5a3a22625c72660ac8810da281f2732dfbfcc10768f07e5951e93c3119d63b6b562cd9d80241492492492492492492492492492492492492492492492492492492492492492491795c5c808906cc587ff89278234a8566e3f565f5ca840a3d887dac7214bee9b8",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04873b01c3fbd1852fb7029e571eb0b6ee7a2cd85cdc3350332baf15b19b7892cd827fd418154a8436a2dbcff0ffde24cd1436e08161a7c9c1abf936c533bf2296",
|
|
"wx" : "00873b01c3fbd1852fb7029e571eb0b6ee7a2cd85cdc3350332baf15b19b7892cd",
|
|
"wy" : "00827fd418154a8436a2dbcff0ffde24cd1436e08161a7c9c1abf936c533bf2296"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004873b01c3fbd1852fb7029e571eb0b6ee7a2cd85cdc3350332baf15b19b7892cd827fd418154a8436a2dbcff0ffde24cd1436e08161a7c9c1abf936c533bf2296",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABIc7AcP70YUvtwKeVx6wtu56LNhc\n3DNQMyuvFbGbeJLNgn/UGBVKhDai28/w/94kzRQ24IFhp8nBq/k2xTO/IpY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 854,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"msg" : "54657374",
|
|
"sig" : "3036021100e2027b801fc479308ff5399a8825fccf022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 855,
|
|
"comment" : "r too large",
|
|
"msg" : "54657374",
|
|
"sig" : "3046022100a9fb57dba1eea9bc3e660a909d838d726e3bf623d52620282013481d1f6e5376022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a4",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040654f94b4ee20794db95a64f56fc4d823118c8a2df77c25dc49ab6172a43a5cb3e43eec1ceab77f227a84fc0a185ee368817419900117724edd476fc17ce0c99",
|
|
"wx" : "0654f94b4ee20794db95a64f56fc4d823118c8a2df77c25dc49ab6172a43a5cb",
|
|
"wy" : "3e43eec1ceab77f227a84fc0a185ee368817419900117724edd476fc17ce0c99"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200040654f94b4ee20794db95a64f56fc4d823118c8a2df77c25dc49ab6172a43a5cb3e43eec1ceab77f227a84fc0a185ee368817419900117724edd476fc17ce0c99",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABAZU+UtO4geU25WmT1b8TYIxGMii\n33fCXcSathcqQ6XLPkPuwc6rd/InqE/AoYXuNogXQZkAEXck7dR2/BfODJk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 856,
|
|
"comment" : "r,s are large",
|
|
"msg" : "54657374",
|
|
"sig" : "3046022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a3022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040bdcb6c8fd1409184869e266c97a59982d9c360114c1ec5fd5402bc638fcb27e055132e5ac1221bc4fc89161d2d56e113880292e4a3d4d9e43979bb66e5dc819",
|
|
"wx" : "0bdcb6c8fd1409184869e266c97a59982d9c360114c1ec5fd5402bc638fcb27e",
|
|
"wy" : "055132e5ac1221bc4fc89161d2d56e113880292e4a3d4d9e43979bb66e5dc819"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200040bdcb6c8fd1409184869e266c97a59982d9c360114c1ec5fd5402bc638fcb27e055132e5ac1221bc4fc89161d2d56e113880292e4a3d4d9e43979bb66e5dc819",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABAvctsj9FAkYSGniZsl6WZgtnDYB\nFMHsX9VAK8Y4/LJ+BVEy5awSIbxPyJFh0tVuETiAKS5KPU2eQ5ebtm5dyBk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 857,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff02204ab8de0a51481bc45794b924518f2dd6ac5cce31f3228d624c5a896f79a2d6a2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04656bd0903ccbd335f66090d6ed2ed1a9a6056142c5ccc55c38838a7f3847a4845ae6dc9d86de0b6f330344d9ed1683b6ec92184d8caf0c7837b1a8724125d7c9",
|
|
"wx" : "656bd0903ccbd335f66090d6ed2ed1a9a6056142c5ccc55c38838a7f3847a484",
|
|
"wy" : "5ae6dc9d86de0b6f330344d9ed1683b6ec92184d8caf0c7837b1a8724125d7c9"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004656bd0903ccbd335f66090d6ed2ed1a9a6056142c5ccc55c38838a7f3847a4845ae6dc9d86de0b6f330344d9ed1683b6ec92184d8caf0c7837b1a8724125d7c9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABGVr0JA8y9M19mCQ1u0u0ammBWFC\nxczFXDiDin84R6SEWubcnYbeC28zA0TZ7RaDtuySGE2Mrwx4N7GockEl18k=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 858,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0221008b1b5f89f5bb74caa42d36e601a9f3c20b4e6c91ceb98a52fbfa9f81781b8a17",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043794534eb2f575d7948fb331553b33aeaf395f66193c6f9eabd5e1b2a30b230c9afb63cb41720f4e915b630d4b088fb4fcea4d0849f3cc023a6ca59357f85c36",
|
|
"wx" : "3794534eb2f575d7948fb331553b33aeaf395f66193c6f9eabd5e1b2a30b230c",
|
|
"wy" : "009afb63cb41720f4e915b630d4b088fb4fcea4d0849f3cc023a6ca59357f85c36"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200043794534eb2f575d7948fb331553b33aeaf395f66193c6f9eabd5e1b2a30b230c9afb63cb41720f4e915b630d4b088fb4fcea4d0849f3cc023a6ca59357f85c36",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABDeUU06y9XXXlI+zMVU7M66vOV9m\nGTxvnqvV4bKjCyMMmvtjy0FyD06RW2MNSwiPtPzqTQhJ88wCOmylk1f4XDY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 859,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020101020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04380ec87cfe9da69e438357d9f68ed7ba59d43b164b1cb7ebdb5a8ba25ffb2abf832f8efce46b1c8a5ac4b4c39657432e0bfcf71bfccb08e236620f444148665c",
|
|
"wx" : "380ec87cfe9da69e438357d9f68ed7ba59d43b164b1cb7ebdb5a8ba25ffb2abf",
|
|
"wy" : "00832f8efce46b1c8a5ac4b4c39657432e0bfcf71bfccb08e236620f444148665c"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004380ec87cfe9da69e438357d9f68ed7ba59d43b164b1cb7ebdb5a8ba25ffb2abf832f8efce46b1c8a5ac4b4c39657432e0bfcf71bfccb08e236620f444148665c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABDgOyHz+naaeQ4NX2faO17pZ1DsW\nSxy369tai6Jf+yq/gy+O/ORrHIpaxLTDlldDLgv89xv8ywjiNmIPREFIZlw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 860,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020101020102",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041b93505886094d6e1df0393000b41d097906fdf03435e771082ddb6e7d53b347285ecd2cb254f514c566b3cfffc50db03f259155be368fe713e8a833a747f981",
|
|
"wx" : "1b93505886094d6e1df0393000b41d097906fdf03435e771082ddb6e7d53b347",
|
|
"wy" : "285ecd2cb254f514c566b3cfffc50db03f259155be368fe713e8a833a747f981"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200041b93505886094d6e1df0393000b41d097906fdf03435e771082ddb6e7d53b347285ecd2cb254f514c566b3cfffc50db03f259155be368fe713e8a833a747f981",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABBuTUFiGCU1uHfA5MAC0HQl5Bv3w\nNDXncQgt2259U7NHKF7NLLJU9RTFZrPP/8UNsD8lkVW+No/nE+ioM6dH+YE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 861,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020101020103",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 862,
|
|
"comment" : "r is larger than n",
|
|
"msg" : "54657374",
|
|
"sig" : "3026022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a8020103",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0403d1c0ee4010a27b1faddcdf256d0b6eb2a5bcc256e685d379f5ba20e93919f4658be2a06d5eb3205c2dbdb67d55413913b51d794c59e91d3e5b783d535ef5bc",
|
|
"wx" : "03d1c0ee4010a27b1faddcdf256d0b6eb2a5bcc256e685d379f5ba20e93919f4",
|
|
"wy" : "658be2a06d5eb3205c2dbdb67d55413913b51d794c59e91d3e5b783d535ef5bc"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000403d1c0ee4010a27b1faddcdf256d0b6eb2a5bcc256e685d379f5ba20e93919f4658be2a06d5eb3205c2dbdb67d55413913b51d794c59e91d3e5b783d535ef5bc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABAPRwO5AEKJ7H63c3yVtC26ypbzC\nVuaF03n1uiDpORn0ZYvioG1esyBcLb22fVVBORO1HXlMWekdPlt4PVNe9bw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 863,
|
|
"comment" : "s is larger than n",
|
|
"msg" : "54657374",
|
|
"sig" : "3026020101022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82975b2d2e",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04677ccca257fb6730e744de5013bf98ea8003e320b8ca70888a351aa7b0f8906f54ca266a5267503e1aa90c74a67006bff1a8461ce9526bf266b02b39448a0219",
|
|
"wx" : "677ccca257fb6730e744de5013bf98ea8003e320b8ca70888a351aa7b0f8906f",
|
|
"wy" : "54ca266a5267503e1aa90c74a67006bff1a8461ce9526bf266b02b39448a0219"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004677ccca257fb6730e744de5013bf98ea8003e320b8ca70888a351aa7b0f8906f54ca266a5267503e1aa90c74a67006bff1a8461ce9526bf266b02b39448a0219",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABGd8zKJX+2cw50TeUBO/mOqAA+Mg\nuMpwiIo1Gqew+JBvVMomalJnUD4aqQx0pnAGv/GoRhzpUmvyZrArOUSKAhk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 864,
|
|
"comment" : "small r and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30260202010102202827370584fdeb9f5d5a9fb9579a09390efb6f9d99b64fc188d8bce05c2d4eed",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0499a4b3ffdda680963d6a6f29d95eb6c1c653655437e028b92d8fa90b6e31649c28cbae0a35de3ad10e462c6854e95dfb5dfde9cb0575075c204ccf2edddbf725",
|
|
"wx" : "0099a4b3ffdda680963d6a6f29d95eb6c1c653655437e028b92d8fa90b6e31649c",
|
|
"wy" : "28cbae0a35de3ad10e462c6854e95dfb5dfde9cb0575075c204ccf2edddbf725"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000499a4b3ffdda680963d6a6f29d95eb6c1c653655437e028b92d8fa90b6e31649c28cbae0a35de3ad10e462c6854e95dfb5dfde9cb0575075c204ccf2edddbf725",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABJmks//dpoCWPWpvKdletsHGU2VU\nN+AouS2PqQtuMWScKMuuCjXeOtEORixoVOld+1396csFdQdcIEzPLt3b9yU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 865,
|
|
"comment" : "smallish r and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "302b02072d9b4d347952ce02204937a087731df4febc2c3a81ddfbab5dc3af950817f41b590d156ed409ad2869",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0463aeb7a8c99b569922290cfaf225e135c3110261987605d22edf37a3c6672d341acabe5a64f0c9ba20c665381ad24d275347ab6f54fb992d0d3f436c19d05cee",
|
|
"wx" : "63aeb7a8c99b569922290cfaf225e135c3110261987605d22edf37a3c6672d34",
|
|
"wy" : "1acabe5a64f0c9ba20c665381ad24d275347ab6f54fb992d0d3f436c19d05cee"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000463aeb7a8c99b569922290cfaf225e135c3110261987605d22edf37a3c6672d341acabe5a64f0c9ba20c665381ad24d275347ab6f54fb992d0d3f436c19d05cee",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABGOut6jJm1aZIikM+vIl4TXDEQJh\nmHYF0i7fN6PGZy00Gsq+WmTwybogxmU4GtJNJ1NHq29U+5ktDT9DbBnQXO4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 866,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3032020d1033e67e37b32b445580bf4efb02210091827d03bb6dac31940ba56ed88489048ff173f0bf20cab20dcc086fca37f285",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048e2fdf5606030d4c02117b6642699cd10b9f791bafa6952a6635939aa577ff3a350cd8e98725756cd384937e0599f38ee7cc16e85474c9bc6d6bbcb4a6ae3a82",
|
|
"wx" : "008e2fdf5606030d4c02117b6642699cd10b9f791bafa6952a6635939aa577ff3a",
|
|
"wy" : "350cd8e98725756cd384937e0599f38ee7cc16e85474c9bc6d6bbcb4a6ae3a82"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200048e2fdf5606030d4c02117b6642699cd10b9f791bafa6952a6635939aa577ff3a350cd8e98725756cd384937e0599f38ee7cc16e85474c9bc6d6bbcb4a6ae3a82",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABI4v31YGAw1MAhF7ZkJpnNELn3kb\nr6aVKmY1k5qld/86NQzY6YcldWzThJN+BZnzjufMFuhUdMm8bWu8tKauOoI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 867,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30260202010102203eb35fe7e8331f71e4c63b45f349a99d47a5e781798e579f2386195d3827bb15",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048854b415e4e34bb3e19a1c4bda67260f0518c320696b6e6393b3c7823d8a30a70e594403225c63da5138eb9067e86f638d91793b6410688c34cdf6c8d2ac601a",
|
|
"wx" : "008854b415e4e34bb3e19a1c4bda67260f0518c320696b6e6393b3c7823d8a30a7",
|
|
"wy" : "0e594403225c63da5138eb9067e86f638d91793b6410688c34cdf6c8d2ac601a"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200048854b415e4e34bb3e19a1c4bda67260f0518c320696b6e6393b3c7823d8a30a70e594403225c63da5138eb9067e86f638d91793b6410688c34cdf6c8d2ac601a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABIhUtBXk40uz4ZocS9pnJg8FGMMg\naWtuY5Ozx4I9ijCnDllEAyJcY9pROOuQZ+hvY42ReTtkEGiMNM32yNKsYBo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 868,
|
|
"comment" : "100-bit r and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3031020d062522bbd3ecbe7c39e93e7c2502203eb35fe7e8331f71e4c63b45f349a99d47a5e781798e579f2386195d3827bb15",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04595f3befe9ac34763eb99d6a95f8b45a94084406f165ea5781ccd39d923b61232508badaf61ae9c37742f03b8fbf48413ef9c512cfa63a299c1bea7d6a7cc583",
|
|
"wx" : "595f3befe9ac34763eb99d6a95f8b45a94084406f165ea5781ccd39d923b6123",
|
|
"wy" : "2508badaf61ae9c37742f03b8fbf48413ef9c512cfa63a299c1bea7d6a7cc583"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004595f3befe9ac34763eb99d6a95f8b45a94084406f165ea5781ccd39d923b61232508badaf61ae9c37742f03b8fbf48413ef9c512cfa63a299c1bea7d6a7cc583",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABFlfO+/prDR2PrmdapX4tFqUCEQG\n8WXqV4HM052SO2EjJQi62vYa6cN3QvA7j79IQT75xRLPpjopnBvqfWp8xYM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 869,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"msg" : "54657374",
|
|
"sig" : "3045022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e8297485628022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040f4c30d0099f1d1ce785714707f10172c0881cd1aec5daf4f849462688248fa00be78142c4538617830dcd2ef814cbe33c7dcf5cf6fb95217f7a76d118e029ed",
|
|
"wx" : "0f4c30d0099f1d1ce785714707f10172c0881cd1aec5daf4f849462688248fa0",
|
|
"wy" : "0be78142c4538617830dcd2ef814cbe33c7dcf5cf6fb95217f7a76d118e029ed"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200040f4c30d0099f1d1ce785714707f10172c0881cd1aec5daf4f849462688248fa00be78142c4538617830dcd2ef814cbe33c7dcf5cf6fb95217f7a76d118e029ed",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABA9MMNAJnx0c54VxRwfxAXLAiBzR\nrsXa9PhJRiaIJI+gC+eBQsRThheDDc0u+BTL4zx9z1z2+5Uhf3p20RjgKe0=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 870,
|
|
"comment" : "s == 1",
|
|
"msg" : "54657374",
|
|
"sig" : "3025022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 871,
|
|
"comment" : "s == 0",
|
|
"msg" : "54657374",
|
|
"sig" : "3025022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045866d53f9e14bb54784136192419568c060f30d7dfd771f5a3e4d6a0e8c2597c43a773b94d7d0a706b9ba3488389705e29d6809f93a92fa69786657364129202",
|
|
"wx" : "5866d53f9e14bb54784136192419568c060f30d7dfd771f5a3e4d6a0e8c2597c",
|
|
"wy" : "43a773b94d7d0a706b9ba3488389705e29d6809f93a92fa69786657364129202"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200045866d53f9e14bb54784136192419568c060f30d7dfd771f5a3e4d6a0e8c2597c43a773b94d7d0a706b9ba3488389705e29d6809f93a92fa69786657364129202",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABFhm1T+eFLtUeEE2GSQZVowGDzDX\n39dx9aPk1qDowll8Q6dzuU19CnBrm6NIg4lwXinWgJ+TqS+ml4Zlc2QSkgI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 872,
|
|
"comment" : "point at infinity during verify",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022054fdabedd0f754de1f3305484ec1c6b8c61cbd51dab0d37bc80f07414ba42b53022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044fd6d57851ff3ebd9e0daff312de272d8b08d67cc74e65902050da94a132fcea834f02dcaacd5e59ea09e58442e32fca5c0373a54afe0e72f7289b04f4251b81",
|
|
"wx" : "4fd6d57851ff3ebd9e0daff312de272d8b08d67cc74e65902050da94a132fcea",
|
|
"wy" : "00834f02dcaacd5e59ea09e58442e32fca5c0373a54afe0e72f7289b04f4251b81"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200044fd6d57851ff3ebd9e0daff312de272d8b08d67cc74e65902050da94a132fcea834f02dcaacd5e59ea09e58442e32fca5c0373a54afe0e72f7289b04f4251b81",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABE/W1XhR/z69ng2v8xLeJy2LCNZ8\nx05lkCBQ2pShMvzqg08C3KrNXlnqCeWEQuMvylwDc6VK/g5y9yibBPQlG4E=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 873,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022054fdabedd0f754de1f3305484ec1c6b8c61cbd51dab0d37bc80f07414ba42b53022054fdabedd0f754de1f3305484ec1c6b8c61cbd51dab0d37bc80f07414ba42b53",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0494511a495fb364699528b5aec858f8d8a184376db17f61ec1d82480adbf1c17941b3c9760b92fb467ae1d595527dd8144a29ddcc2c6c4bf0982f60d8a12b493e",
|
|
"wx" : "0094511a495fb364699528b5aec858f8d8a184376db17f61ec1d82480adbf1c179",
|
|
"wy" : "41b3c9760b92fb467ae1d595527dd8144a29ddcc2c6c4bf0982f60d8a12b493e"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000494511a495fb364699528b5aec858f8d8a184376db17f61ec1d82480adbf1c17941b3c9760b92fb467ae1d595527dd8144a29ddcc2c6c4bf0982f60d8a12b493e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABJRRGklfs2RplSi1rshY+NihhDdt\nsX9h7B2CSArb8cF5QbPJdguS+0Z64dWVUn3YFEop3cwsbEvwmC9g2KErST4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 874,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022054fdabedd0f754de1f3305484ec1c6b8c61cbd51dab0d37bc80f07414ba42b53022054fdabedd0f754de1f3305484ec1c6b8c61cbd51dab0d37bc80f07414ba42b54",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a60f67988936eb09516548355a6731e04c62f2fb5be99668a819d3f1edcfe8ac691ec942aaa90570c5a61c3bdb6c01085829e63b87ecb5e80fa9d305b1f3e151",
|
|
"wx" : "00a60f67988936eb09516548355a6731e04c62f2fb5be99668a819d3f1edcfe8ac",
|
|
"wy" : "691ec942aaa90570c5a61c3bdb6c01085829e63b87ecb5e80fa9d305b1f3e151"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004a60f67988936eb09516548355a6731e04c62f2fb5be99668a819d3f1edcfe8ac691ec942aaa90570c5a61c3bdb6c01085829e63b87ecb5e80fa9d305b1f3e151",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABKYPZ5iJNusJUWVINVpnMeBMYvL7\nW+mWaKgZ0/Htz+isaR7JQqqpBXDFphw722wBCFgp5juH7LXoD6nTBbHz4VE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 875,
|
|
"comment" : "u1 == 1",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce20220532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a68baf3367bc5d28f24eaa740ccb4f115f02e8e0d86d389d2f0679d522a21f3b57d331289faf2dc50f95d4e2cbfa7ace61c1fbbe73c628d78e78f1ed57e982e5",
|
|
"wx" : "00a68baf3367bc5d28f24eaa740ccb4f115f02e8e0d86d389d2f0679d522a21f3b",
|
|
"wy" : "57d331289faf2dc50f95d4e2cbfa7ace61c1fbbe73c628d78e78f1ed57e982e5"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004a68baf3367bc5d28f24eaa740ccb4f115f02e8e0d86d389d2f0679d522a21f3b57d331289faf2dc50f95d4e2cbfa7ace61c1fbbe73c628d78e78f1ed57e982e5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABKaLrzNnvF0o8k6qdAzLTxFfAujg\n2G04nS8GedUioh87V9MxKJ+vLcUPldTiy/p6zmHB+75zxijXjnjx7VfpguU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 876,
|
|
"comment" : "u1 == n - 1",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2022056ccad1e0c7a21ae7eef50d7d1830a456b928e9277f9845e3b1094148813f882",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040fd5ca9814b5dd0bb7dde76609785bc61ed9490ffff8e67d4d8cb67de0982ddda61b90df51db44af8adbbfd524b7eb3dd1eb652d13dd0a2e17049bed1ad20b23",
|
|
"wx" : "0fd5ca9814b5dd0bb7dde76609785bc61ed9490ffff8e67d4d8cb67de0982ddd",
|
|
"wy" : "00a61b90df51db44af8adbbfd524b7eb3dd1eb652d13dd0a2e17049bed1ad20b23"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200040fd5ca9814b5dd0bb7dde76609785bc61ed9490ffff8e67d4d8cb67de0982ddda61b90df51db44af8adbbfd524b7eb3dd1eb652d13dd0a2e17049bed1ad20b23",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABA/VypgUtd0Lt93nZgl4W8Ye2UkP\n//jmfU2Mtn3gmC3dphuQ31HbRK+K27/VJLfrPdHrZS0T3QouFwSb7RrSCyM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 877,
|
|
"comment" : "u2 == 1",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047289e13555ea568fe89151d61e5c072f4b35897600ae7bf9e2b2aa0e5fb3f0f33e3148ae84ca2d0bf8c771bf330be074b3524d7bf0d2bea2f5ae3ec101cca105",
|
|
"wx" : "7289e13555ea568fe89151d61e5c072f4b35897600ae7bf9e2b2aa0e5fb3f0f3",
|
|
"wy" : "3e3148ae84ca2d0bf8c771bf330be074b3524d7bf0d2bea2f5ae3ec101cca105"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200047289e13555ea568fe89151d61e5c072f4b35897600ae7bf9e2b2aa0e5fb3f0f33e3148ae84ca2d0bf8c771bf330be074b3524d7bf0d2bea2f5ae3ec101cca105",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABHKJ4TVV6laP6JFR1h5cBy9LNYl2\nAK57+eKyqg5fs/DzPjFIroTKLQv4x3G/MwvgdLNSTXvw0r6i9a4+wQHMoQU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 878,
|
|
"comment" : "u2 == n - 1",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2022071523a926bf4712829995c6069025e4bb2d0fc6d23966f4fb5695f01ba3039c5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040e5c985b558157eb8ea717ed9662ba521d3c54164d7fe2ce3aaff1d395f90c076dd5d9ad049a537b684974297a1f91eadb3b7a97164ec381efbb3b0526661047",
|
|
"wx" : "0e5c985b558157eb8ea717ed9662ba521d3c54164d7fe2ce3aaff1d395f90c07",
|
|
"wy" : "6dd5d9ad049a537b684974297a1f91eadb3b7a97164ec381efbb3b0526661047"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200040e5c985b558157eb8ea717ed9662ba521d3c54164d7fe2ce3aaff1d395f90c076dd5d9ad049a537b684974297a1f91eadb3b7a97164ec381efbb3b0526661047",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABA5cmFtVgVfrjqcX7ZZiulIdPFQW\nTX/izjqv8dOV+QwHbdXZrQSaU3toSXQpeh+R6ts7epcWTsOB77s7BSZmEEc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 879,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022054635633127665edff4996c3232c0589e44acce6fb989885a1b92da58cd43c44",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04389a0c6c57397a0e5dd0dc238ff253a82d3073b4e3fca8b5ffb5f205c34651d308a535730a6987df9717111c8272fad3ac1ffb5feb5e04541682c9440863f425",
|
|
"wx" : "389a0c6c57397a0e5dd0dc238ff253a82d3073b4e3fca8b5ffb5f205c34651d3",
|
|
"wy" : "08a535730a6987df9717111c8272fad3ac1ffb5feb5e04541682c9440863f425"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004389a0c6c57397a0e5dd0dc238ff253a82d3073b4e3fca8b5ffb5f205c34651d308a535730a6987df9717111c8272fad3ac1ffb5feb5e04541682c9440863f425",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABDiaDGxXOXoOXdDcI4/yU6gtMHO0\n4/yotf+18gXDRlHTCKU1cwpph9+XFxEcgnL606wf+1/rXgRUFoLJRAhj9CU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 880,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220028eb8f6fb8e5a3833700b5687f17948beeecf7c73aa9c14430ef3ca01602036",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041817c8914321f6d4dea4936b11500555e57c20651db6b478761c8ea1d58632a80067bccdae9389ca4cb6e3279b1896448ff22951e5065326833487066eeedcf9",
|
|
"wx" : "1817c8914321f6d4dea4936b11500555e57c20651db6b478761c8ea1d58632a8",
|
|
"wy" : "67bccdae9389ca4cb6e3279b1896448ff22951e5065326833487066eeedcf9"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200041817c8914321f6d4dea4936b11500555e57c20651db6b478761c8ea1d58632a80067bccdae9389ca4cb6e3279b1896448ff22951e5065326833487066eeedcf9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABBgXyJFDIfbU3qSTaxFQBVXlfCBl\nHba0eHYcjqHVhjKoAGe8za6TicpMtuMnmxiWRI/yKVHlBlMmgzSHBm7u3Pk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 881,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02207c04eb7f3730e231a1c6f86a11042f1a914b02bd83ca8e82670f9bf9d17d9e00",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04446e925eb47fb9e986762c3ad5600e44018b8928be7c61fee438db8f0fd76b185420796deda74ab9508ba6c45e826dbd47acbf943e87877478d6cd1b8825efad",
|
|
"wx" : "446e925eb47fb9e986762c3ad5600e44018b8928be7c61fee438db8f0fd76b18",
|
|
"wy" : "5420796deda74ab9508ba6c45e826dbd47acbf943e87877478d6cd1b8825efad"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004446e925eb47fb9e986762c3ad5600e44018b8928be7c61fee438db8f0fd76b185420796deda74ab9508ba6c45e826dbd47acbf943e87877478d6cd1b8825efad",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABERukl60f7nphnYsOtVgDkQBi4ko\nvnxh/uQ4248P12sYVCB5be2nSrlQi6bEXoJtvUesv5Q+h4d0eNbNG4gl760=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 882,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02203b3b272686d138084988ae23089d57b574fbabe983e1de35694442c2b9660070",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047742d14fff17f37674f3f1d4df982427dac545722aeafd8f3effbd40890900af693a32aa0b83dc4fe27a409e7a35f52827582d9c97f84acd24a4c3e3db67cdc6",
|
|
"wx" : "7742d14fff17f37674f3f1d4df982427dac545722aeafd8f3effbd40890900af",
|
|
"wy" : "693a32aa0b83dc4fe27a409e7a35f52827582d9c97f84acd24a4c3e3db67cdc6"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200047742d14fff17f37674f3f1d4df982427dac545722aeafd8f3effbd40890900af693a32aa0b83dc4fe27a409e7a35f52827582d9c97f84acd24a4c3e3db67cdc6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABHdC0U//F/N2dPPx1N+YJCfaxUVy\nKur9jz7/vUCJCQCvaToyqguD3E/iekCeejX1KCdYLZyX+ErNJKTD49tnzcY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 883,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02202e67ab256e246048b8154c6bd12de75f1657f9b20e8da09beca149a517cbfb1b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045cc07b0a02619c701b5b2112ee1e8152aa2a7d87880c2310409142046e962df40e74e8191e2ec76f8f9e3c54a59bc79ec68bff407e4ad4d6988f419b5671f25b",
|
|
"wx" : "5cc07b0a02619c701b5b2112ee1e8152aa2a7d87880c2310409142046e962df4",
|
|
"wy" : "0e74e8191e2ec76f8f9e3c54a59bc79ec68bff407e4ad4d6988f419b5671f25b"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200045cc07b0a02619c701b5b2112ee1e8152aa2a7d87880c2310409142046e962df40e74e8191e2ec76f8f9e3c54a59bc79ec68bff407e4ad4d6988f419b5671f25b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABFzAewoCYZxwG1shEu4egVKqKn2H\niAwjEECRQgRuli30DnToGR4ux2+PnjxUpZvHnsaL/0B+StTWmI9Bm1Zx8ls=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 884,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02205ccf564adc48c091702a98d7a25bcebe2caff3641d1b4137d942934a2f97f636",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045598267f28a0d095cac9d4b6e4f8157c73d48d6a76b72c8f3a8115ecfe5e28a72d651136d13e039ce4c134dd5572ffdc996bee018b3d01439df62a538ceac8a7",
|
|
"wx" : "5598267f28a0d095cac9d4b6e4f8157c73d48d6a76b72c8f3a8115ecfe5e28a7",
|
|
"wy" : "2d651136d13e039ce4c134dd5572ffdc996bee018b3d01439df62a538ceac8a7"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200045598267f28a0d095cac9d4b6e4f8157c73d48d6a76b72c8f3a8115ecfe5e28a72d651136d13e039ce4c134dd5572ffdc996bee018b3d01439df62a538ceac8a7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABFWYJn8ooNCVysnUtuT4FXxz1I1q\ndrcsjzqBFez+XiinLWURNtE+A5zkwTTdVXL/3Jlr7gGLPQFDnfYqU4zqyKc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 885,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0221008197dc78d6ccee9677df5d99f382c80c19dd0d78babbb86810d8398b0c911414",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0480e25f21cd7b8be2bab4183194edbd22b0ca53fd70f344e42988a396b0f2c6e2991e27d9c14c1dbb5e1889956a7328159da9dbac082b93b289cc90b28f96a65a",
|
|
"wx" : "0080e25f21cd7b8be2bab4183194edbd22b0ca53fd70f344e42988a396b0f2c6e2",
|
|
"wy" : "00991e27d9c14c1dbb5e1889956a7328159da9dbac082b93b289cc90b28f96a65a"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000480e25f21cd7b8be2bab4183194edbd22b0ca53fd70f344e42988a396b0f2c6e2991e27d9c14c1dbb5e1889956a7328159da9dbac082b93b289cc90b28f96a65a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABIDiXyHNe4viurQYMZTtvSKwylP9\ncPNE5CmIo5aw8sbimR4n2cFMHbteGImVanMoFZ2p26wIK5OyicyQso+Wplo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 886,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02207552d8ce45674b223735b1c2d0946581cd062d494a89f42f58f0ee1bc5c0f318",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04680de45fd1e6c38819ae4bdd43d61482752fa43e8138a9a390364cecf36b4ef28b90de2f260f747fee8a963ae308349aa6b816e6be814035cbc68448eae27272",
|
|
"wx" : "680de45fd1e6c38819ae4bdd43d61482752fa43e8138a9a390364cecf36b4ef2",
|
|
"wy" : "008b90de2f260f747fee8a963ae308349aa6b816e6be814035cbc68448eae27272"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004680de45fd1e6c38819ae4bdd43d61482752fa43e8138a9a390364cecf36b4ef28b90de2f260f747fee8a963ae308349aa6b816e6be814035cbc68448eae27272",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABGgN5F/R5sOIGa5L3UPWFIJ1L6Q+\ngTipo5A2TOzza07yi5DeLyYPdH/uipY64wg0mqa4Fua+gUA1y8aESOricnI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 887,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02202a988eeb5d91279714eb150faea4838ede06b16567dc73919515d28ff04a12d7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0452d9e8e7e7a728f24a61ef3713375ade942d708d9bc061f500fd32d493f48fbd0f3883d1a55680f69a0fe6909da55f506e9937837e244e20550019a17ba9c370",
|
|
"wx" : "52d9e8e7e7a728f24a61ef3713375ade942d708d9bc061f500fd32d493f48fbd",
|
|
"wy" : "0f3883d1a55680f69a0fe6909da55f506e9937837e244e20550019a17ba9c370"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000452d9e8e7e7a728f24a61ef3713375ade942d708d9bc061f500fd32d493f48fbd0f3883d1a55680f69a0fe6909da55f506e9937837e244e20550019a17ba9c370",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABFLZ6OfnpyjySmHvNxM3Wt6ULXCN\nm8Bh9QD9MtST9I+9DziD0aVWgPaaD+aQnaVfUG6ZN4N+JE4gVQAZoXupw3A=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 888,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220559801a88f7843ce3f1c73cd7a5787e7a7eeadbcb9c90e71ee64e0dd0a741a63",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a00c60235109352c589563a590d61adbe34d84bddd6e82c2f42efb871527011778035471de3b72ddc3caf6981824aa4ce301405610156deb90ea9aa316a8ba66",
|
|
"wx" : "00a00c60235109352c589563a590d61adbe34d84bddd6e82c2f42efb8715270117",
|
|
"wy" : "78035471de3b72ddc3caf6981824aa4ce301405610156deb90ea9aa316a8ba66"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004a00c60235109352c589563a590d61adbe34d84bddd6e82c2f42efb871527011778035471de3b72ddc3caf6981824aa4ce301405610156deb90ea9aa316a8ba66",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABKAMYCNRCTUsWJVjpZDWGtvjTYS9\n3W6CwvQu+4cVJwEXeANUcd47ct3DyvaYGCSqTOMBQFYQFW3rkOqaoxaoumY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 889,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02202b66568f063d10d73f77a86be8c18522b5c947493bfcc22f1d884a0a4409fc41",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045758f9e402a4bafd82594d0d26ed47a5f8e9c50526d34b34b47d0875b9fe7b1404f3f8095376d54dfc10d83c938a18175a64517e3b464edd058f5b8626d837c5",
|
|
"wx" : "5758f9e402a4bafd82594d0d26ed47a5f8e9c50526d34b34b47d0875b9fe7b14",
|
|
"wy" : "04f3f8095376d54dfc10d83c938a18175a64517e3b464edd058f5b8626d837c5"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200045758f9e402a4bafd82594d0d26ed47a5f8e9c50526d34b34b47d0875b9fe7b1404f3f8095376d54dfc10d83c938a18175a64517e3b464edd058f5b8626d837c5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABFdY+eQCpLr9gllNDSbtR6X46cUF\nJtNLNLR9CHW5/nsUBPP4CVN21U38ENg8k4oYF1pkUX47Rk7dBY9bhibYN8U=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 890,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02203e0275bf9b987118d0e37c350882178d48a5815ec1e547413387cdfce8becf00",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042fa1d8ac0d02da83a998f767bd854b1a043e383d5159e7077e35ed3a9ca8194212d7fb2b95e867ed0b24e45093d639f1fed68162aa51e60ad2e45de012b8e94a",
|
|
"wx" : "2fa1d8ac0d02da83a998f767bd854b1a043e383d5159e7077e35ed3a9ca81942",
|
|
"wy" : "12d7fb2b95e867ed0b24e45093d639f1fed68162aa51e60ad2e45de012b8e94a"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200042fa1d8ac0d02da83a998f767bd854b1a043e383d5159e7077e35ed3a9ca8194212d7fb2b95e867ed0b24e45093d639f1fed68162aa51e60ad2e45de012b8e94a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABC+h2KwNAtqDqZj3Z72FSxoEPjg9\nUVnnB3417TqcqBlCEtf7K5XoZ+0LJORQk9Y58f7WgWKqUeYK0uRd4BK46Uo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 891,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02206353c7f3e0a4e33ebf7758dadf2bd9d0841328e13c75e252855f5a2b87c2c78c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043e09805fe499d1bcd7a4388fe03c4bd3eaf6371cdb3e7afd748cde52ae897c0219e65e9b77ef754d77140c20b8c89074950f7e71cbc7d97e0dc879371aa3306c",
|
|
"wx" : "3e09805fe499d1bcd7a4388fe03c4bd3eaf6371cdb3e7afd748cde52ae897c02",
|
|
"wy" : "19e65e9b77ef754d77140c20b8c89074950f7e71cbc7d97e0dc879371aa3306c"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200043e09805fe499d1bcd7a4388fe03c4bd3eaf6371cdb3e7afd748cde52ae897c0219e65e9b77ef754d77140c20b8c89074950f7e71cbc7d97e0dc879371aa3306c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABD4JgF/kmdG816Q4j+A8S9Pq9jcc\n2z56/XSM3lKuiXwCGeZem3fvdU13FAwguMiQdJUPfnHLx9l+Dch5NxqjMGw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 892,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022014899bc6ff5e72338f3c9847fa6531c4337fde3fcf1c8c32f768fba3a402a964",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047e69909dbc544342a5bee9af766347526fea9bea526bd8a2728d80253c01c204a3490b6583c6bf44a3791b61a298dc18be55d3593c24b8a013747f9877f66e61",
|
|
"wx" : "7e69909dbc544342a5bee9af766347526fea9bea526bd8a2728d80253c01c204",
|
|
"wy" : "00a3490b6583c6bf44a3791b61a298dc18be55d3593c24b8a013747f9877f66e61"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200047e69909dbc544342a5bee9af766347526fea9bea526bd8a2728d80253c01c204a3490b6583c6bf44a3791b61a298dc18be55d3593c24b8a013747f9877f66e61",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABH5pkJ28VENCpb7pr3ZjR1Jv6pvq\nUmvYonKNgCU8AcIEo0kLZYPGv0SjeRthopjcGL5V01k8JLigE3R/mHf2bmE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 893,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022072655c5e4f1cefca22f413a612e5bfdd7ba9ae71053f68b0c74d9a73590013c3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046be621988af517a22e1549cb23416dc2cf8d8accdd8d083708e6d655f155ccfe8eb87277219356972a3bd0dac5f549ac52315c43e0edea9d6e24f2ff952029d0",
|
|
"wx" : "6be621988af517a22e1549cb23416dc2cf8d8accdd8d083708e6d655f155ccfe",
|
|
"wy" : "008eb87277219356972a3bd0dac5f549ac52315c43e0edea9d6e24f2ff952029d0"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200046be621988af517a22e1549cb23416dc2cf8d8accdd8d083708e6d655f155ccfe8eb87277219356972a3bd0dac5f549ac52315c43e0edea9d6e24f2ff952029d0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABGvmIZiK9ReiLhVJyyNBbcLPjYrM\n3Y0INwjm1lXxVcz+jrhydyGTVpcqO9DaxfVJrFIxXEPg7eqdbiTy/5UgKdA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 894,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100a2030dbf01d8c9de2900dc3845fda4e4c6bc049c4cd5717a9c629b9ed29d1859",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045ae6afae79752250b1ea02f49cd75aa899418631041172b2e3db31ca7abb2ab22bef1f798389a216b0322419fd7a76e4448b3d1abe425b47d84307e4553ad352",
|
|
"wx" : "5ae6afae79752250b1ea02f49cd75aa899418631041172b2e3db31ca7abb2ab2",
|
|
"wy" : "2bef1f798389a216b0322419fd7a76e4448b3d1abe425b47d84307e4553ad352"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200045ae6afae79752250b1ea02f49cd75aa899418631041172b2e3db31ca7abb2ab22bef1f798389a216b0322419fd7a76e4448b3d1abe425b47d84307e4553ad352",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABFrmr655dSJQseoC9JzXWqiZQYYx\nBBFysuPbMcp6uyqyK+8feYOJohawMiQZ/Xp25ESLPRq+QltH2EMH5FU601I=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 895,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100a1db7293b6f01594b808718e61a4d642dff4fee2fb471167ef7ab42959a473e7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0418350252507cc26e4a12bf3e483e02dee74809382c8e640ca635b06c27b51a4e97578f3ef03fae837a178d50a9c94d7af61d6070dd13a72409925ec6b331326c",
|
|
"wx" : "18350252507cc26e4a12bf3e483e02dee74809382c8e640ca635b06c27b51a4e",
|
|
"wy" : "0097578f3ef03fae837a178d50a9c94d7af61d6070dd13a72409925ec6b331326c"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000418350252507cc26e4a12bf3e483e02dee74809382c8e640ca635b06c27b51a4e97578f3ef03fae837a178d50a9c94d7af61d6070dd13a72409925ec6b331326c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABBg1AlJQfMJuShK/Pkg+At7nSAk4\nLI5kDKY1sGwntRpOl1ePPvA/roN6F41QqclNevYdYHDdE6ckCZJexrMxMmw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 896,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02210099bb8d4bcbf1816d31aad88c25c61f1433b08322412c7bd84ed759d01c009127",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040943cc104456d87a712b8aaf7113d43be64404dcd0f8ed707ae3286e3db5323f43862753ab1b05e3f8d425498514caf178a7602ebe43a71ceeec6da14f880e4c",
|
|
"wx" : "0943cc104456d87a712b8aaf7113d43be64404dcd0f8ed707ae3286e3db5323f",
|
|
"wy" : "43862753ab1b05e3f8d425498514caf178a7602ebe43a71ceeec6da14f880e4c"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200040943cc104456d87a712b8aaf7113d43be64404dcd0f8ed707ae3286e3db5323f43862753ab1b05e3f8d425498514caf178a7602ebe43a71ceeec6da14f880e4c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABAlDzBBEVth6cSuKr3ET1DvmRATc\n0PjtcHrjKG49tTI/Q4YnU6sbBeP41CVJhRTK8XinYC6+Q6cc7uxtoU+IDkw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 897,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022041cee82a6957ef02ab3aa07a3315accc0d0d66c2081d530246d6e681873c90d1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0464931339acdda82764a00229d8d266b131122302fa3eb440cfda72cf81ad554e92ddffa1e7690efc1a4a8408e1e3c5e599aa9811f26d51852c9ceeabdfe5e5c7",
|
|
"wx" : "64931339acdda82764a00229d8d266b131122302fa3eb440cfda72cf81ad554e",
|
|
"wy" : "0092ddffa1e7690efc1a4a8408e1e3c5e599aa9811f26d51852c9ceeabdfe5e5c7"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000464931339acdda82764a00229d8d266b131122302fa3eb440cfda72cf81ad554e92ddffa1e7690efc1a4a8408e1e3c5e599aa9811f26d51852c9ceeabdfe5e5c7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABGSTEzms3agnZKACKdjSZrExEiMC\n+j60QM/acs+BrVVOkt3/oedpDvwaSoQI4ePF5ZmqmBHybVGFLJzuq9/l5cc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 898,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220746d61572ecae774691e7809121986d9b93279b00934ff1def1f4798da89ad4c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04018d755e5540692f87b6e01864be3cc272a468f3fccdd535cc0c2f1c75e0abd04c7c7155f0e9686de0fcbcf93a39d50c2e2adf8b0362676b31e9a49bdcaadbb7",
|
|
"wx" : "018d755e5540692f87b6e01864be3cc272a468f3fccdd535cc0c2f1c75e0abd0",
|
|
"wy" : "4c7c7155f0e9686de0fcbcf93a39d50c2e2adf8b0362676b31e9a49bdcaadbb7"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004018d755e5540692f87b6e01864be3cc272a468f3fccdd535cc0c2f1c75e0abd04c7c7155f0e9686de0fcbcf93a39d50c2e2adf8b0362676b31e9a49bdcaadbb7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABAGNdV5VQGkvh7bgGGS+PMJypGjz\n/M3VNcwMLxx14KvQTHxxVfDpaG3g/Lz5OjnVDC4q34sDYmdrMemkm9yq27c=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 899,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220281b26a0908968099f8e1f610f4f358318baa21107b791ef6f24cb244677a64b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0453ee3f75ed7275550c4b1604f68fbc4c411006b13da809d5ae6a14cb37bafef57d26222d2d7236b9d7e3ac4225100d68764c37c77b80f24f7c65e579d13d9727",
|
|
"wx" : "53ee3f75ed7275550c4b1604f68fbc4c411006b13da809d5ae6a14cb37bafef5",
|
|
"wy" : "7d26222d2d7236b9d7e3ac4225100d68764c37c77b80f24f7c65e579d13d9727"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000453ee3f75ed7275550c4b1604f68fbc4c411006b13da809d5ae6a14cb37bafef57d26222d2d7236b9d7e3ac4225100d68764c37c77b80f24f7c65e579d13d9727",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABFPuP3XtcnVVDEsWBPaPvExBEAax\nPagJ1a5qFMs3uv71fSYiLS1yNrnX46xCJRANaHZMN8d7gPJPfGXledE9lyc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 900,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022046a78fe7c149c67d7eeeb1b5be57b3a1082651c278ebc4a50abeb4570f858f1b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0486fd25de250bd6e9c272d4a3e7f28edea934b7f043050b765ab755200f4e2900a2238299783c290a0b4d4f3bfe37645719967000466f29882e895f54c3eb7f8f",
|
|
"wx" : "0086fd25de250bd6e9c272d4a3e7f28edea934b7f043050b765ab755200f4e2900",
|
|
"wy" : "00a2238299783c290a0b4d4f3bfe37645719967000466f29882e895f54c3eb7f8f"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000486fd25de250bd6e9c272d4a3e7f28edea934b7f043050b765ab755200f4e2900a2238299783c290a0b4d4f3bfe37645719967000466f29882e895f54c3eb7f8f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABIb9Jd4lC9bpwnLUo+fyjt6pNLfw\nQwULdlq3VSAPTikAoiOCmXg8KQoLTU87/jdkVxmWcABGbymILolfVMPrf48=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 901,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022014fdabedd0f754de1f3305484ec1c6b8c61cbd51dab0d37bc80f07414ba42b55",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041cc2c242a63d44b90f67f35aca9fd5cc0b25d384ee9648a05279d476f9aa748c6cb072f7336cf89f483542721c9ba71197e9bf387299d9807ef7924b9e7c083c",
|
|
"wx" : "1cc2c242a63d44b90f67f35aca9fd5cc0b25d384ee9648a05279d476f9aa748c",
|
|
"wy" : "6cb072f7336cf89f483542721c9ba71197e9bf387299d9807ef7924b9e7c083c"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200041cc2c242a63d44b90f67f35aca9fd5cc0b25d384ee9648a05279d476f9aa748c6cb072f7336cf89f483542721c9ba71197e9bf387299d9807ef7924b9e7c083c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABBzCwkKmPUS5D2fzWsqf1cwLJdOE\n7pZIoFJ51Hb5qnSMbLBy9zNs+J9INUJyHJunEZfpvzhymdmAfveSS558CDw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 902,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0221008e305a1cf885ccc330ad0f1b5834a6a783f1948a5d5087d42bb5d47af8243535",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044533382e1caedbed8bdfa5f48c58bdfcb75d6811122bb016cf42e457989fb4386d34b899200cdd58ba2faa1d0169da8a5454de50d08a2e7f5362d60f6ec7c5de",
|
|
"wx" : "4533382e1caedbed8bdfa5f48c58bdfcb75d6811122bb016cf42e457989fb438",
|
|
"wy" : "6d34b899200cdd58ba2faa1d0169da8a5454de50d08a2e7f5362d60f6ec7c5de"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200044533382e1caedbed8bdfa5f48c58bdfcb75d6811122bb016cf42e457989fb4386d34b899200cdd58ba2faa1d0169da8a5454de50d08a2e7f5362d60f6ec7c5de",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABEUzOC4crtvti9+l9IxYvfy3XWgR\nEiuwFs9C5FeYn7Q4bTS4mSAM3Vi6L6odAWnailRU3lDQii5/U2LWD27Hxd4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 903,
|
|
"comment" : "point duplication during verification",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220074c035603e1eb49ab5382819bf82af82929b500c6e78841c1b2c3ff54a615dd022044088a0685df1955696286cc083d35afa8d2895927405b0731eadcd8a7233799",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044533382e1caedbed8bdfa5f48c58bdfcb75d6811122bb016cf42e457989fb4383cc69f4281e1cc63843660739c19b2e819e717d3049bf1a8ccb0720db0a68d99",
|
|
"wx" : "4533382e1caedbed8bdfa5f48c58bdfcb75d6811122bb016cf42e457989fb438",
|
|
"wy" : "3cc69f4281e1cc63843660739c19b2e819e717d3049bf1a8ccb0720db0a68d99"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200044533382e1caedbed8bdfa5f48c58bdfcb75d6811122bb016cf42e457989fb4383cc69f4281e1cc63843660739c19b2e819e717d3049bf1a8ccb0720db0a68d99",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABEUzOC4crtvti9+l9IxYvfy3XWgR\nEiuwFs9C5FeYn7Q4PMafQoHhzGOENmBznBmy6BnnF9MEm/GozLByDbCmjZk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 904,
|
|
"comment" : "duplication bug",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220074c035603e1eb49ab5382819bf82af82929b500c6e78841c1b2c3ff54a615dd022044088a0685df1955696286cc083d35afa8d2895927405b0731eadcd8a7233799",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a9011e3712e137ef2319b964c61ba2335399cb49d16f1939ca7f03c37c13bb0f93fdb94d60b34aa9e6919b62c24db2e57a07d593692f8ae924ee37a59f2fcd4e",
|
|
"wx" : "00a9011e3712e137ef2319b964c61ba2335399cb49d16f1939ca7f03c37c13bb0f",
|
|
"wy" : "0093fdb94d60b34aa9e6919b62c24db2e57a07d593692f8ae924ee37a59f2fcd4e"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004a9011e3712e137ef2319b964c61ba2335399cb49d16f1939ca7f03c37c13bb0f93fdb94d60b34aa9e6919b62c24db2e57a07d593692f8ae924ee37a59f2fcd4e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABKkBHjcS4TfvIxm5ZMYbojNTmctJ\n0W8ZOcp/A8N8E7sPk/25TWCzSqnmkZtiwk2y5XoH1ZNpL4rpJO43pZ8vzU4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 905,
|
|
"comment" : "comparison with point at infinity ",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2022021ff1192539621f272e135501f80b5e38271e553f11387cb1cd2cfb3b7db4487",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04616514d11e2e9b4f63725981f1d33a0e28973bc7719a4cc2969700913cd2f1b16071f71eff21d2bc254fcffede47a53b6b4e041ab97b6350d59485176ec9d72b",
|
|
"wx" : "616514d11e2e9b4f63725981f1d33a0e28973bc7719a4cc2969700913cd2f1b1",
|
|
"wy" : "6071f71eff21d2bc254fcffede47a53b6b4e041ab97b6350d59485176ec9d72b"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004616514d11e2e9b4f63725981f1d33a0e28973bc7719a4cc2969700913cd2f1b16071f71eff21d2bc254fcffede47a53b6b4e041ab97b6350d59485176ec9d72b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABGFlFNEeLptPY3JZgfHTOg4olzvH\ncZpMwpaXAJE80vGxYHH3Hv8h0rwlT8/+3kelO2tOBBq5e2NQ1ZSFF27J1ys=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 906,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220743cf1b8b5cd4f2eb55f8aa369593ac436ef044166699e37d51a14c2ce13ea0e022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048897c36dda8276cd506b8952172661188c0e0e793d3ae477bc7741f737ded270160f4a84f6678e8f4c91e462f80d83701754c4be2fcabf8ca507bf8652375c7f",
|
|
"wx" : "008897c36dda8276cd506b8952172661188c0e0e793d3ae477bc7741f737ded270",
|
|
"wy" : "160f4a84f6678e8f4c91e462f80d83701754c4be2fcabf8ca507bf8652375c7f"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200048897c36dda8276cd506b8952172661188c0e0e793d3ae477bc7741f737ded270160f4a84f6678e8f4c91e462f80d83701754c4be2fcabf8ca507bf8652375c7f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABIiXw23agnbNUGuJUhcmYRiMDg55\nPTrkd7x3Qfc33tJwFg9KhPZnjo9MkeRi+A2DcBdUxL4vyr+MpQe/hlI3XH8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 907,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220743cf1b8b5cd4f2eb55f8aa369593ac436ef044166699e37d51a14c2ce13ea0e0220796a6353bccf0b8675b699d502cbae2c88bb5799818ee4f9f93a0a5d477cd02e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0458961ab0292d1738fc4e560909b43b6f8f5674b2ea802550b50c78856371f6af86513e451cf349bf19f0362f3445efb4a0d0838a24333b943054f826d1bedd27",
|
|
"wx" : "58961ab0292d1738fc4e560909b43b6f8f5674b2ea802550b50c78856371f6af",
|
|
"wy" : "0086513e451cf349bf19f0362f3445efb4a0d0838a24333b943054f826d1bedd27"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000458961ab0292d1738fc4e560909b43b6f8f5674b2ea802550b50c78856371f6af86513e451cf349bf19f0362f3445efb4a0d0838a24333b943054f826d1bedd27",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABFiWGrApLRc4/E5WCQm0O2+PVnSy\n6oAlULUMeIVjcfavhlE+RRzzSb8Z8DYvNEXvtKDQg4okMzuUMFT4JtG+3Sc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 908,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30450220743cf1b8b5cd4f2eb55f8aa369593ac436ef044166699e37d51a14c2ce13ea0e02210087fc46494e5887c9cb84d5407e02d78e09c7954fc44e1f2c734b3ecedf6d121f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043925bdeea6e2f648ae6da3988b3a3ea9203829d28da4584f60e3bcbe5f82fa3069822ff194599d3b580f72fcf2a864c4138a12dbd980c2b3e2d7ef870c91cc6e",
|
|
"wx" : "3925bdeea6e2f648ae6da3988b3a3ea9203829d28da4584f60e3bcbe5f82fa30",
|
|
"wy" : "69822ff194599d3b580f72fcf2a864c4138a12dbd980c2b3e2d7ef870c91cc6e"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200043925bdeea6e2f648ae6da3988b3a3ea9203829d28da4584f60e3bcbe5f82fa3069822ff194599d3b580f72fcf2a864c4138a12dbd980c2b3e2d7ef870c91cc6e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABDklve6m4vZIrm2jmIs6PqkgOCnS\njaRYT2DjvL5fgvowaYIv8ZRZnTtYD3L88qhkxBOKEtvZgMKz4tfvhwyRzG4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 909,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220743cf1b8b5cd4f2eb55f8aa369593ac436ef044166699e37d51a14c2ce13ea0e022021ff1192539621f272e135501f80b5e38271e553f11387cb1cd2cfb3b7db4488",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04311f12cc03f64afdf6a8348926241d5aafbcfb6e604d50bc9f88018f6acc1b77940c3892867e5953730c3116d3f772feb777302cdf825193f81d19eb4e726eb6",
|
|
"wx" : "311f12cc03f64afdf6a8348926241d5aafbcfb6e604d50bc9f88018f6acc1b77",
|
|
"wy" : "00940c3892867e5953730c3116d3f772feb777302cdf825193f81d19eb4e726eb6"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004311f12cc03f64afdf6a8348926241d5aafbcfb6e604d50bc9f88018f6acc1b77940c3892867e5953730c3116d3f772feb777302cdf825193f81d19eb4e726eb6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABDEfEswD9kr99qg0iSYkHVqvvPtu\nYE1QvJ+IAY9qzBt3lAw4koZ+WVNzDDEW0/dy/rd3MCzfglGT+B0Z605ybrY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 910,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220743cf1b8b5cd4f2eb55f8aa369593ac436ef044166699e37d51a14c2ce13ea0e02203090f487e51f9e35c8af70bb9ab7df45037e230a33d2c1fd96e404254fcb8679",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0430291bca4eb93c41991daec0fd2e87c2778d958d9a8e2fa4e6d3835d485bc23e4217f684cfdd836d7cf6099a34c68261e5a094adb5b3e4a9262ff5957c1b1ba8",
|
|
"wx" : "30291bca4eb93c41991daec0fd2e87c2778d958d9a8e2fa4e6d3835d485bc23e",
|
|
"wy" : "4217f684cfdd836d7cf6099a34c68261e5a094adb5b3e4a9262ff5957c1b1ba8"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000430291bca4eb93c41991daec0fd2e87c2778d958d9a8e2fa4e6d3835d485bc23e4217f684cfdd836d7cf6099a34c68261e5a094adb5b3e4a9262ff5957c1b1ba8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABDApG8pOuTxBmR2uwP0uh8J3jZWN\nmo4vpObTg11IW8I+Qhf2hM/dg2189gmaNMaCYeWglK21s+SpJi/1lXwbG6g=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 911,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220743cf1b8b5cd4f2eb55f8aa369593ac436ef044166699e37d51a14c2ce13ea0e022077472d9a28b4ece71cf413a68eac0eb423a16fb462b1f48706fed48ca437bd2d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a12c7c13adff626ad31ffb8ba385c3092db1afe4a2a8e887d810a722048164cd8b1f3e67fde9ff0703f1e429f748c847997546ab1850ebc004535dccd453cf81",
|
|
"wx" : "00a12c7c13adff626ad31ffb8ba385c3092db1afe4a2a8e887d810a722048164cd",
|
|
"wy" : "008b1f3e67fde9ff0703f1e429f748c847997546ab1850ebc004535dccd453cf81"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004a12c7c13adff626ad31ffb8ba385c3092db1afe4a2a8e887d810a722048164cd8b1f3e67fde9ff0703f1e429f748c847997546ab1850ebc004535dccd453cf81",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABKEsfBOt/2Jq0x/7i6OFwwktsa/k\noqjoh9gQpyIEgWTNix8+Z/3p/wcD8eQp90jIR5l1RqsYUOvABFNdzNRTz4E=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 912,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "54657374",
|
|
"sig" : "30450221008bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048b0a02e69359fe5e11e15f765277d4bbd31e898a7daa1fca22d6841037c8d7ab7e771e124db6c35c8ae8d262140c4e47de301d8b0fddfc25a7338b08ab2d698b",
|
|
"wx" : "008b0a02e69359fe5e11e15f765277d4bbd31e898a7daa1fca22d6841037c8d7ab",
|
|
"wy" : "7e771e124db6c35c8ae8d262140c4e47de301d8b0fddfc25a7338b08ab2d698b"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200048b0a02e69359fe5e11e15f765277d4bbd31e898a7daa1fca22d6841037c8d7ab7e771e124db6c35c8ae8d262140c4e47de301d8b0fddfc25a7338b08ab2d698b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABIsKAuaTWf5eEeFfdlJ31LvTHomK\nfaofyiLWhBA3yNerfnceEk22w1yK6NJiFAxOR94wHYsP3fwlpzOLCKstaYs=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 913,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30450221008bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace32620220796a6353bccf0b8675b699d502cbae2c88bb5799818ee4f9f93a0a5d477cd02e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04714d086c1016bc3c73cbe008fe42e4418af114e17ad5fd06b357f443bbf947d017ff32e299fd7e3ec73d93374753a62d227324a25daf47ec5d0630ffe2c0219a",
|
|
"wx" : "714d086c1016bc3c73cbe008fe42e4418af114e17ad5fd06b357f443bbf947d0",
|
|
"wy" : "17ff32e299fd7e3ec73d93374753a62d227324a25daf47ec5d0630ffe2c0219a"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004714d086c1016bc3c73cbe008fe42e4418af114e17ad5fd06b357f443bbf947d017ff32e299fd7e3ec73d93374753a62d227324a25daf47ec5d0630ffe2c0219a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABHFNCGwQFrw8c8vgCP5C5EGK8RTh\netX9BrNX9EO7+UfQF/8y4pn9fj7HPZM3R1OmLSJzJKJdr0fsXQYw/+LAIZo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 914,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30460221008bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace326202210087fc46494e5887c9cb84d5407e02d78e09c7954fc44e1f2c734b3ecedf6d121f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0458e260beaa2177f61a1aa24b70b104f3ed7ce997e1e764f2f7af8809c83299ac41cce510d2abd1b9ae5d6d621bf76476c3804c1d9df0dcf368ff214689f20a92",
|
|
"wx" : "58e260beaa2177f61a1aa24b70b104f3ed7ce997e1e764f2f7af8809c83299ac",
|
|
"wy" : "41cce510d2abd1b9ae5d6d621bf76476c3804c1d9df0dcf368ff214689f20a92"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000458e260beaa2177f61a1aa24b70b104f3ed7ce997e1e764f2f7af8809c83299ac41cce510d2abd1b9ae5d6d621bf76476c3804c1d9df0dcf368ff214689f20a92",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABFjiYL6qIXf2GhqiS3CxBPPtfOmX\n4edk8veviAnIMpmsQczlENKr0bmuXW1iG/dkdsOATB2d8NzzaP8hRonyCpI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 915,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30450221008bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262022021ff1192539621f272e135501f80b5e38271e553f11387cb1cd2cfb3b7db4488",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046e7f19d3f4b8a5443f4b460446099c71c1aca4f7e3b40152e25e332e14cdb7d833295afc0cb4f8dd478589ec32fd30de716c3788c35f15f1a0eb3fe6cad085fe",
|
|
"wx" : "6e7f19d3f4b8a5443f4b460446099c71c1aca4f7e3b40152e25e332e14cdb7d8",
|
|
"wy" : "33295afc0cb4f8dd478589ec32fd30de716c3788c35f15f1a0eb3fe6cad085fe"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200046e7f19d3f4b8a5443f4b460446099c71c1aca4f7e3b40152e25e332e14cdb7d833295afc0cb4f8dd478589ec32fd30de716c3788c35f15f1a0eb3fe6cad085fe",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABG5/GdP0uKVEP0tGBEYJnHHBrKT3\n47QBUuJeMy4UzbfYMyla/Ay0+N1HhYnsMv0w3nFsN4jDXxXxoOs/5srQhf4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 916,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30450221008bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace326202203090f487e51f9e35c8af70bb9ab7df45037e230a33d2c1fd96e404254fcb8679",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a888899c0d571168431730d7f24018d340f0a14fd45d8ba747a028de41dd38724541c38e87f62f2f1294923c28f79b3802deb6634366f17d3e5b699e9c4c8534",
|
|
"wx" : "00a888899c0d571168431730d7f24018d340f0a14fd45d8ba747a028de41dd3872",
|
|
"wy" : "4541c38e87f62f2f1294923c28f79b3802deb6634366f17d3e5b699e9c4c8534"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004a888899c0d571168431730d7f24018d340f0a14fd45d8ba747a028de41dd38724541c38e87f62f2f1294923c28f79b3802deb6634366f17d3e5b699e9c4c8534",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABKiIiZwNVxFoQxcw1/JAGNNA8KFP\n1F2Lp0egKN5B3ThyRUHDjof2Ly8SlJI8KPebOALetmNDZvF9PltpnpxMhTQ=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 917,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "54657374",
|
|
"sig" : "30450221008bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262022077472d9a28b4ece71cf413a68eac0eb423a16fb462b1f48706fed48ca437bd2d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262547ef835c3dac4fd97f8461a14611dc9c27745132ded8e545c1d54c72f046997",
|
|
"wx" : "008bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262",
|
|
"wy" : "547ef835c3dac4fd97f8461a14611dc9c27745132ded8e545c1d54c72f046997"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200048bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262547ef835c3dac4fd97f8461a14611dc9c27745132ded8e545c1d54c72f046997",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABIvSrrnLflfLLEtIL/yBt6+53ifh\n470jwjpEU72azjJiVH74NcPaxP2X+EYaFGEdycJ3RRMt7Y5UXB1Uxy8EaZc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 918,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25022018487a43f28fcf1ae457b85dcd5befa281bf118519e960fecb720212a7e5c33c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 919,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022056ccad1e0c7a21ae7eef50d7d1830a456b928e9277f9845e3b1094148813f882022018487a43f28fcf1ae457b85dcd5befa281bf118519e960fecb720212a7e5c33c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262557c5fa5de13e4bea66dc47689226fa8abc4b110a73891d3c3f5f355f069e9e0",
|
|
"wx" : "008bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262",
|
|
"wy" : "557c5fa5de13e4bea66dc47689226fa8abc4b110a73891d3c3f5f355f069e9e0"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200048bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262557c5fa5de13e4bea66dc47689226fa8abc4b110a73891d3c3f5f355f069e9e0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABIvSrrnLflfLLEtIL/yBt6+53ifh\n470jwjpEU72azjJiVXxfpd4T5L6mbcR2iSJvqKvEsRCnOJHTw/XzVfBp6eA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 920,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25022018487a43f28fcf1ae457b85dcd5befa281bf118519e960fecb720212a7e5c33c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 921,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022056ccad1e0c7a21ae7eef50d7d1830a456b928e9277f9845e3b1094148813f882022018487a43f28fcf1ae457b85dcd5befa281bf118519e960fecb720212a7e5c33c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04231ea76f9414e4667265c9750666b38b6e9bde67fb074f78d25e7b1807a45a46182e262b4038cc6868516fbf12bd4dca207c17564e5a049c60b5d5dd09c73d22",
|
|
"wx" : "231ea76f9414e4667265c9750666b38b6e9bde67fb074f78d25e7b1807a45a46",
|
|
"wy" : "182e262b4038cc6868516fbf12bd4dca207c17564e5a049c60b5d5dd09c73d22"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004231ea76f9414e4667265c9750666b38b6e9bde67fb074f78d25e7b1807a45a46182e262b4038cc6868516fbf12bd4dca207c17564e5a049c60b5d5dd09c73d22",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABCMep2+UFORmcmXJdQZms4tum95n\n+wdPeNJeexgHpFpGGC4mK0A4zGhoUW+/Er1NyiB8F1ZOWgScYLXV3QnHPSI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 922,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"msg" : "54657374",
|
|
"sig" : "3036021100e2027b801fc479308ff5399a8825fcce022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 923,
|
|
"comment" : "r too large",
|
|
"msg" : "54657374",
|
|
"sig" : "3046022100a9fb57dba1eea9bc3e660a909d838d726e3bf623d52620282013481d1f6e5375022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a4",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0485d4be1e69cb9b5a0c3be6fd07576bffa61e9a430b2fa4a80ef860ca6de2a4e58003cfc8de01db91d37dc76d1e3bd95aea47c301f1b987cd2ddaf5e91be77f15",
|
|
"wx" : "0085d4be1e69cb9b5a0c3be6fd07576bffa61e9a430b2fa4a80ef860ca6de2a4e5",
|
|
"wy" : "008003cfc8de01db91d37dc76d1e3bd95aea47c301f1b987cd2ddaf5e91be77f15"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000485d4be1e69cb9b5a0c3be6fd07576bffa61e9a430b2fa4a80ef860ca6de2a4e58003cfc8de01db91d37dc76d1e3bd95aea47c301f1b987cd2ddaf5e91be77f15",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABIXUvh5py5taDDvm/QdXa/+mHppD\nCy+kqA74YMpt4qTlgAPPyN4B25HTfcdtHjvZWupHwwHxuYfNLdr16RvnfxU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 924,
|
|
"comment" : "r,s are large",
|
|
"msg" : "54657374",
|
|
"sig" : "3046022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a4022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043b0a4f1e4d84c6bfd203a0ea04d7a9419bcd59b0ff8757609701b61881eda3b79bc84764caa0dd0815ca06fc0b38d7e840eabccf945697438944d5859772aeb4",
|
|
"wx" : "3b0a4f1e4d84c6bfd203a0ea04d7a9419bcd59b0ff8757609701b61881eda3b7",
|
|
"wy" : "009bc84764caa0dd0815ca06fc0b38d7e840eabccf945697438944d5859772aeb4"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200043b0a4f1e4d84c6bfd203a0ea04d7a9419bcd59b0ff8757609701b61881eda3b79bc84764caa0dd0815ca06fc0b38d7e840eabccf945697438944d5859772aeb4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABDsKTx5NhMa/0gOg6gTXqUGbzVmw\n/4dXYJcBthiB7aO3m8hHZMqg3QgVygb8CzjX6EDqvM+UVpdDiUTVhZdyrrQ=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 925,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff02204ab8de0a51481bc45794b924518f2dd6ac5cce31f3228d624c5a896f79a2d6a2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045a40fcf15f9749254ebcc9c8e1fecebb1248f5ce29dddc26702357bedebfa0154e25e19b6b63fe08914f4062c0a564ac5333632f1086415464d671626bc4dc56",
|
|
"wx" : "5a40fcf15f9749254ebcc9c8e1fecebb1248f5ce29dddc26702357bedebfa015",
|
|
"wy" : "4e25e19b6b63fe08914f4062c0a564ac5333632f1086415464d671626bc4dc56"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200045a40fcf15f9749254ebcc9c8e1fecebb1248f5ce29dddc26702357bedebfa0154e25e19b6b63fe08914f4062c0a564ac5333632f1086415464d671626bc4dc56",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABFpA/PFfl0klTrzJyOH+zrsSSPXO\nKd3cJnAjV77ev6AVTiXhm2tj/giRT0BiwKVkrFMzYy8QhkFUZNZxYmvE3FY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 926,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0221008b1b5f89f5bb74caa42d36e601a9f3c20b4e6c91ceb98a52fbfa9f81781b8a17",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044ee4aff9868419906d5946b3cc338fa4db92a1d016a5c6c697062d2c39dff57a7a308c37a2610abc9e604666c53495bd4359903e47119570935984b34d118018",
|
|
"wx" : "4ee4aff9868419906d5946b3cc338fa4db92a1d016a5c6c697062d2c39dff57a",
|
|
"wy" : "7a308c37a2610abc9e604666c53495bd4359903e47119570935984b34d118018"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200044ee4aff9868419906d5946b3cc338fa4db92a1d016a5c6c697062d2c39dff57a7a308c37a2610abc9e604666c53495bd4359903e47119570935984b34d118018",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABE7kr/mGhBmQbVlGs8wzj6TbkqHQ\nFqXGxpcGLSw53/V6ejCMN6JhCryeYEZmxTSVvUNZkD5HEZVwk1mEs00RgBg=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 927,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020101020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045ef5efbfaeb5cb4c2c9f8db76cdb6f832adabda8c3a882e99f9ab23d8962b7cb33097ad4f67e9cbb90b8bbd2b71f4554818ac5aeb1f396ac6d49626edd51b0c2",
|
|
"wx" : "5ef5efbfaeb5cb4c2c9f8db76cdb6f832adabda8c3a882e99f9ab23d8962b7cb",
|
|
"wy" : "33097ad4f67e9cbb90b8bbd2b71f4554818ac5aeb1f396ac6d49626edd51b0c2"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200045ef5efbfaeb5cb4c2c9f8db76cdb6f832adabda8c3a882e99f9ab23d8962b7cb33097ad4f67e9cbb90b8bbd2b71f4554818ac5aeb1f396ac6d49626edd51b0c2",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABF7177+utctMLJ+Nt2zbb4Mq2r2o\nw6iC6Z+asj2JYrfLMwl61PZ+nLuQuLvStx9FVIGKxa6x85asbUlibt1RsMI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 928,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020101020102",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043e8403566c4bd45dc1a3e33ffc44482c103eab150327e52879d91faec4b41ba27fa87129ced313ce073e9772f0d4862d879c39e5d1512e1a47e43303d9ddfb1d",
|
|
"wx" : "3e8403566c4bd45dc1a3e33ffc44482c103eab150327e52879d91faec4b41ba2",
|
|
"wy" : "7fa87129ced313ce073e9772f0d4862d879c39e5d1512e1a47e43303d9ddfb1d"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200043e8403566c4bd45dc1a3e33ffc44482c103eab150327e52879d91faec4b41ba27fa87129ced313ce073e9772f0d4862d879c39e5d1512e1a47e43303d9ddfb1d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABD6EA1ZsS9RdwaPjP/xESCwQPqsV\nAyflKHnZH67EtBuif6hxKc7TE84HPpdy8NSGLYecOeXRUS4aR+QzA9nd+x0=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 929,
|
|
"comment" : "small r and s",
|
|
"msg" : "54657374",
|
|
"sig" : "3006020101020103",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 930,
|
|
"comment" : "r is larger than n",
|
|
"msg" : "54657374",
|
|
"sig" : "3026022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a8020103",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0414033c115778c47034a8dcd20912fa3dfa7c68aaf24b5cabc4c8d032f32758f855ec2a8c3033a2a832fc2f496d8fc067547bbffd37e7ea7314bba8a0e2e38bc8",
|
|
"wx" : "14033c115778c47034a8dcd20912fa3dfa7c68aaf24b5cabc4c8d032f32758f8",
|
|
"wy" : "55ec2a8c3033a2a832fc2f496d8fc067547bbffd37e7ea7314bba8a0e2e38bc8"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000414033c115778c47034a8dcd20912fa3dfa7c68aaf24b5cabc4c8d032f32758f855ec2a8c3033a2a832fc2f496d8fc067547bbffd37e7ea7314bba8a0e2e38bc8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABBQDPBFXeMRwNKjc0gkS+j36fGiq\n8ktcq8TI0DLzJ1j4VewqjDAzoqgy/C9JbY/AZ1R7v/035+pzFLuooOLji8g=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 931,
|
|
"comment" : "s is larger than n",
|
|
"msg" : "54657374",
|
|
"sig" : "3026020101022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82975b2d2e",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048a9fcc60103a2ca5b2c4d88843e224785a2b0540bd89a14d2f320a953aac5d789f2153a664aa7e150c0e267921894696c6cecbaba854457fc42c9d24864a08a1",
|
|
"wx" : "008a9fcc60103a2ca5b2c4d88843e224785a2b0540bd89a14d2f320a953aac5d78",
|
|
"wy" : "009f2153a664aa7e150c0e267921894696c6cecbaba854457fc42c9d24864a08a1"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200048a9fcc60103a2ca5b2c4d88843e224785a2b0540bd89a14d2f320a953aac5d789f2153a664aa7e150c0e267921894696c6cecbaba854457fc42c9d24864a08a1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABIqfzGAQOiylssTYiEPiJHhaKwVA\nvYmhTS8yCpU6rF14nyFTpmSqfhUMDiZ5IYlGlsbOy6uoVEV/xCydJIZKCKE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 932,
|
|
"comment" : "small r and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30260202010202202827370584fdeb9f5d5a9fb9579a09390efb6f9d99b64fc188d8bce05c2d4eed",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047eb86f8e5d2adf7cc4cbd8849ca3ac811540fd35f60bd691dbc666a894ee6e5c6c1daa6faf62318dc5f1dba736f841bb21af46aa6ac17f78662018d45fbdcc3f",
|
|
"wx" : "7eb86f8e5d2adf7cc4cbd8849ca3ac811540fd35f60bd691dbc666a894ee6e5c",
|
|
"wy" : "6c1daa6faf62318dc5f1dba736f841bb21af46aa6ac17f78662018d45fbdcc3f"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200047eb86f8e5d2adf7cc4cbd8849ca3ac811540fd35f60bd691dbc666a894ee6e5c6c1daa6faf62318dc5f1dba736f841bb21af46aa6ac17f78662018d45fbdcc3f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABH64b45dKt98xMvYhJyjrIEVQP01\n9gvWkdvGZqiU7m5cbB2qb69iMY3F8dunNvhBuyGvRqpqwX94ZiAY1F+9zD8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 933,
|
|
"comment" : "smallish r and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "302b02072d9b4d347952cc02204937a087731df4febc2c3a81ddfbab5dc3af950817f41b590d156ed409ad2869",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041206e3a802f59b8ed707474530c37a8c25efdfb1bcb2cfea3c813b58eb667e1715e78dc70170f2720cf0331432d61148591ebcfc4d20c6a3fd01afd9fa6a9e80",
|
|
"wx" : "1206e3a802f59b8ed707474530c37a8c25efdfb1bcb2cfea3c813b58eb667e17",
|
|
"wy" : "15e78dc70170f2720cf0331432d61148591ebcfc4d20c6a3fd01afd9fa6a9e80"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200041206e3a802f59b8ed707474530c37a8c25efdfb1bcb2cfea3c813b58eb667e1715e78dc70170f2720cf0331432d61148591ebcfc4d20c6a3fd01afd9fa6a9e80",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABBIG46gC9ZuO1wdHRTDDeowl79+x\nvLLP6jyBO1jrZn4XFeeNxwFw8nIM8DMUMtYRSFkevPxNIMaj/QGv2fpqnoA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 934,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3032020d1033e67e37b32b445580bf4efc02210091827d03bb6dac31940ba56ed88489048ff173f0bf20cab20dcc086fca37f285",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048a33c9017ba0f19ed44cbdf7c9817024c3f095a899adafdcfe7dd6f51ffef9518c56c09ccfcbe2250838630e26764ba9e1bc1092bccec6135c29f31f617c14ca",
|
|
"wx" : "008a33c9017ba0f19ed44cbdf7c9817024c3f095a899adafdcfe7dd6f51ffef951",
|
|
"wy" : "008c56c09ccfcbe2250838630e26764ba9e1bc1092bccec6135c29f31f617c14ca"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200048a33c9017ba0f19ed44cbdf7c9817024c3f095a899adafdcfe7dd6f51ffef9518c56c09ccfcbe2250838630e26764ba9e1bc1092bccec6135c29f31f617c14ca",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABIozyQF7oPGe1Ey998mBcCTD8JWo\nma2v3P591vUf/vlRjFbAnM/L4iUIOGMOJnZLqeG8EJK8zsYTXCnzH2F8FMo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 935,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30260202010202203eb35fe7e8331f71e4c63b45f349a99d47a5e781798e579f2386195d3827bb15",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a5d5c0efc3901f308bf4251bb0cc2844e5abcee9096d118134fd714d13f2d0308ef80671c71bd6bf6e333325b561b3c0c3d1a4db1ac7ed8b0fe09b3b3253cd56",
|
|
"wx" : "00a5d5c0efc3901f308bf4251bb0cc2844e5abcee9096d118134fd714d13f2d030",
|
|
"wy" : "008ef80671c71bd6bf6e333325b561b3c0c3d1a4db1ac7ed8b0fe09b3b3253cd56"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004a5d5c0efc3901f308bf4251bb0cc2844e5abcee9096d118134fd714d13f2d0308ef80671c71bd6bf6e333325b561b3c0c3d1a4db1ac7ed8b0fe09b3b3253cd56",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABKXVwO/DkB8wi/QlG7DMKETlq87p\nCW0RgTT9cU0T8tAwjvgGcccb1r9uMzMltWGzwMPRpNsax+2LD+CbOzJTzVY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 936,
|
|
"comment" : "100-bit r and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3031020d062522bbd3ecbe7c39e93e7c2502203eb35fe7e8331f71e4c63b45f349a99d47a5e781798e579f2386195d3827bb15",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048aede4648355451e9ac82e480fee5c4c90492d053ece6f77d153878b51e13a4e9c3fd7e229ec77ab92ba6ca57005cb25313b3629d33409b15d34cabe08fec31a",
|
|
"wx" : "008aede4648355451e9ac82e480fee5c4c90492d053ece6f77d153878b51e13a4e",
|
|
"wy" : "009c3fd7e229ec77ab92ba6ca57005cb25313b3629d33409b15d34cabe08fec31a"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200048aede4648355451e9ac82e480fee5c4c90492d053ece6f77d153878b51e13a4e9c3fd7e229ec77ab92ba6ca57005cb25313b3629d33409b15d34cabe08fec31a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABIrt5GSDVUUemsguSA/uXEyQSS0F\nPs5vd9FTh4tR4TpOnD/X4insd6uSumylcAXLJTE7NinTNAmxXTTKvgj+wxo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 937,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"msg" : "54657374",
|
|
"sig" : "3045022100a9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e8297485629022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a3e82d3f4e532da8f2fb627e07436c86923e7bcd3055706250074257fad3f1052d01c6d7e6d065c3b25e4f85d211e060208d7dad38a56bbd397f785ab77820a8",
|
|
"wx" : "00a3e82d3f4e532da8f2fb627e07436c86923e7bcd3055706250074257fad3f105",
|
|
"wy" : "2d01c6d7e6d065c3b25e4f85d211e060208d7dad38a56bbd397f785ab77820a8"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004a3e82d3f4e532da8f2fb627e07436c86923e7bcd3055706250074257fad3f1052d01c6d7e6d065c3b25e4f85d211e060208d7dad38a56bbd397f785ab77820a8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABKPoLT9OUy2o8vtifgdDbIaSPnvN\nMFVwYlAHQlf60/EFLQHG1+bQZcOyXk+F0hHgYCCNfa04pWu9OX94Wrd4IKg=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 938,
|
|
"comment" : "s == 1",
|
|
"msg" : "54657374",
|
|
"sig" : "3025022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce4020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 939,
|
|
"comment" : "s == 0",
|
|
"msg" : "54657374",
|
|
"sig" : "3025022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce4020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04938461391ad301808f26169b23999507de65e9af8af7e1f8e480336765ef4a8b3a858dbd1ef2cca29203ee738dacb20e0c57f1bc77653a0bb4929bc1fc4fe792",
|
|
"wx" : "00938461391ad301808f26169b23999507de65e9af8af7e1f8e480336765ef4a8b",
|
|
"wy" : "3a858dbd1ef2cca29203ee738dacb20e0c57f1bc77653a0bb4929bc1fc4fe792"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004938461391ad301808f26169b23999507de65e9af8af7e1f8e480336765ef4a8b3a858dbd1ef2cca29203ee738dacb20e0c57f1bc77653a0bb4929bc1fc4fe792",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABJOEYTka0wGAjyYWmyOZlQfeZemv\nivfh+OSAM2dl70qLOoWNvR7yzKKSA+5zjayyDgxX8bx3ZToLtJKbwfxP55I=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 940,
|
|
"comment" : "point at infinity during verify",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022054fdabedd0f754de1f3305484ec1c6b8c61cbd51dab0d37bc80f07414ba42b53022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a848774c6071359d134f312ab714c133196bdc84ccb6393db520455ed3899a2774cd1b4fd6f33a06b1c0d59b1948ab75fe7395d1f928ea717621edeecd16af13",
|
|
"wx" : "00a848774c6071359d134f312ab714c133196bdc84ccb6393db520455ed3899a27",
|
|
"wy" : "74cd1b4fd6f33a06b1c0d59b1948ab75fe7395d1f928ea717621edeecd16af13"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004a848774c6071359d134f312ab714c133196bdc84ccb6393db520455ed3899a2774cd1b4fd6f33a06b1c0d59b1948ab75fe7395d1f928ea717621edeecd16af13",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABKhId0xgcTWdE08xKrcUwTMZa9yE\nzLY5PbUgRV7TiZondM0bT9bzOgaxwNWbGUirdf5zldH5KOpxdiHt7s0WrxM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 941,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022054fdabedd0f754de1f3305484ec1c6b8c61cbd51dab0d37bc80f07414ba42b53022054fdabedd0f754de1f3305484ec1c6b8c61cbd51dab0d37bc80f07414ba42b53",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045be4852d1bd13d4dbd74bf826faa08322ec4324ac5a311b0ed60107fdffdf6ef3b0783aa6ddef8291371ce0b583142e282692b993afa81fd023491921406b3f1",
|
|
"wx" : "5be4852d1bd13d4dbd74bf826faa08322ec4324ac5a311b0ed60107fdffdf6ef",
|
|
"wy" : "3b0783aa6ddef8291371ce0b583142e282692b993afa81fd023491921406b3f1"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200045be4852d1bd13d4dbd74bf826faa08322ec4324ac5a311b0ed60107fdffdf6ef3b0783aa6ddef8291371ce0b583142e282692b993afa81fd023491921406b3f1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABFvkhS0b0T1NvXS/gm+qCDIuxDJK\nxaMRsO1gEH/f/fbvOweDqm3e+CkTcc4LWDFC4oJpK5k6+oH9AjSRkhQGs/E=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 942,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022054fdabedd0f754de1f3305484ec1c6b8c61cbd51dab0d37bc80f07414ba42b53022054fdabedd0f754de1f3305484ec1c6b8c61cbd51dab0d37bc80f07414ba42b54",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0495d81e1dd9790ff561dc95495371397250466122ef461ebf706de39e1f35929f18736e96131c0cb92c504dc26025db20bd124ece9c5c04182b3f0dd79bbdaa55",
|
|
"wx" : "0095d81e1dd9790ff561dc95495371397250466122ef461ebf706de39e1f35929f",
|
|
"wy" : "18736e96131c0cb92c504dc26025db20bd124ece9c5c04182b3f0dd79bbdaa55"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000495d81e1dd9790ff561dc95495371397250466122ef461ebf706de39e1f35929f18736e96131c0cb92c504dc26025db20bd124ece9c5c04182b3f0dd79bbdaa55",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABJXYHh3ZeQ/1YdyVSVNxOXJQRmEi\n70Yev3Bt454fNZKfGHNulhMcDLksUE3CYCXbIL0STs6cXAQYKz8N15u9qlU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 943,
|
|
"comment" : "u1 == 1",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce00220532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0482fd28b9fad4a324f2f1124c8c3bf4577b6ac6635377d01dc539399dfc48fe8e54435ac2fa06f4e74b8ec7276a185b15419182366e4bee335335a2b87f27a9bc",
|
|
"wx" : "0082fd28b9fad4a324f2f1124c8c3bf4577b6ac6635377d01dc539399dfc48fe8e",
|
|
"wy" : "54435ac2fa06f4e74b8ec7276a185b15419182366e4bee335335a2b87f27a9bc"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000482fd28b9fad4a324f2f1124c8c3bf4577b6ac6635377d01dc539399dfc48fe8e54435ac2fa06f4e74b8ec7276a185b15419182366e4bee335335a2b87f27a9bc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABIL9KLn61KMk8vESTIw79Fd7asZj\nU3fQHcU5OZ38SP6OVENawvoG9OdLjscnahhbFUGRgjZuS+4zUzWiuH8nqbw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 944,
|
|
"comment" : "u1 == n - 1",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce0022056ccad1e0c7a21ae7eef50d7d1830a456b928e9277f9845e3b1094148813f882",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042ec2ca240d708aee13f51f45e3d81caf3abc0a12056c6473f4ac77d06a9243593074913904d9383dc793a752bb29085bebbcbd221080f05137ea2633e00c9f38",
|
|
"wx" : "2ec2ca240d708aee13f51f45e3d81caf3abc0a12056c6473f4ac77d06a924359",
|
|
"wy" : "3074913904d9383dc793a752bb29085bebbcbd221080f05137ea2633e00c9f38"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200042ec2ca240d708aee13f51f45e3d81caf3abc0a12056c6473f4ac77d06a9243593074913904d9383dc793a752bb29085bebbcbd221080f05137ea2633e00c9f38",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABC7CyiQNcIruE/UfRePYHK86vAoS\nBWxkc/Ssd9BqkkNZMHSROQTZOD3Hk6dSuykIW+u8vSIQgPBRN+omM+AMnzg=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 945,
|
|
"comment" : "u2 == 1",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce0022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0437e96dd49cec4da55325782300d56bad85ceb0bb89a68f489d58b0cab883bdd745684243865d704269ceb1d8682dd370c4b5456ebda33d60dba0c1fba8493db7",
|
|
"wx" : "37e96dd49cec4da55325782300d56bad85ceb0bb89a68f489d58b0cab883bdd7",
|
|
"wy" : "45684243865d704269ceb1d8682dd370c4b5456ebda33d60dba0c1fba8493db7"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000437e96dd49cec4da55325782300d56bad85ceb0bb89a68f489d58b0cab883bdd745684243865d704269ceb1d8682dd370c4b5456ebda33d60dba0c1fba8493db7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABDfpbdSc7E2lUyV4IwDVa62FzrC7\niaaPSJ1YsMq4g73XRWhCQ4ZdcEJpzrHYaC3TcMS1RW69oz1g26DB+6hJPbc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 946,
|
|
"comment" : "u2 == n - 1",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce0022071523a926bf4712829995c6069025e4bb2d0fc6d23966f4fb5695f01ba3039c7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "049f787c4b132b722d1c5a34042e8587d001b379a0f884bff21335a91e7e393b798a1c1eaf1520068b6e891222a434e9c61f3490fffdd855e4f54765105a6fccd6",
|
|
"wx" : "009f787c4b132b722d1c5a34042e8587d001b379a0f884bff21335a91e7e393b79",
|
|
"wy" : "008a1c1eaf1520068b6e891222a434e9c61f3490fffdd855e4f54765105a6fccd6"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200049f787c4b132b722d1c5a34042e8587d001b379a0f884bff21335a91e7e393b798a1c1eaf1520068b6e891222a434e9c61f3490fffdd855e4f54765105a6fccd6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABJ94fEsTK3ItHFo0BC6Fh9ABs3mg\n+IS/8hM1qR5+OTt5ihwerxUgBotuiRIipDTpxh80kP/92FXk9UdlEFpvzNY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 947,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022054635633127665edff4996c3232c0589e44acce6fb989885a1b92da58cd43c44",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0485b0ab50fcd2814f9e98712fd08bf77e95b95fa0a3203b14e9d64511f498dd535af793c11e554ce787e6e44037ce1449ef4eca6f1087e72b809e128fed50c1e7",
|
|
"wx" : "0085b0ab50fcd2814f9e98712fd08bf77e95b95fa0a3203b14e9d64511f498dd53",
|
|
"wy" : "5af793c11e554ce787e6e44037ce1449ef4eca6f1087e72b809e128fed50c1e7"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000485b0ab50fcd2814f9e98712fd08bf77e95b95fa0a3203b14e9d64511f498dd535af793c11e554ce787e6e44037ce1449ef4eca6f1087e72b809e128fed50c1e7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABIWwq1D80oFPnphxL9CL936VuV+g\noyA7FOnWRRH0mN1TWveTwR5VTOeH5uRAN84USe9Oym8Qh+crgJ4Sj+1Qwec=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 948,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0220028eb8f6fb8e5a3833700b5687f17948beeecf7c73aa9c14430ef3ca01602036",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0482958c572d5b3db6e18567361b715b1e3aea2a399f0a3c0723fa7f39ac6ec997201815b8ab4412a36334844afb6b407290240282b4036112ddf61f281057c862",
|
|
"wx" : "0082958c572d5b3db6e18567361b715b1e3aea2a399f0a3c0723fa7f39ac6ec997",
|
|
"wy" : "201815b8ab4412a36334844afb6b407290240282b4036112ddf61f281057c862"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000482958c572d5b3db6e18567361b715b1e3aea2a399f0a3c0723fa7f39ac6ec997201815b8ab4412a36334844afb6b407290240282b4036112ddf61f281057c862",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABIKVjFctWz224YVnNhtxWx466io5\nnwo8ByP6fzmsbsmXIBgVuKtEEqNjNIRK+2tAcpAkAoK0A2ES3fYfKBBXyGI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 949,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02207c04eb7f3730e231a1c6f86a11042f1a914b02bd83ca8e82670f9bf9d17d9e00",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043269930ec284341b0d34ffaa187f69ca4d1599daa85ff7c2ef069d75d62a2e189eb2b5ed183a18c369626e4eff08f42fb9d3286de2bcdb7c145507bd57e37a78",
|
|
"wx" : "3269930ec284341b0d34ffaa187f69ca4d1599daa85ff7c2ef069d75d62a2e18",
|
|
"wy" : "009eb2b5ed183a18c369626e4eff08f42fb9d3286de2bcdb7c145507bd57e37a78"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200043269930ec284341b0d34ffaa187f69ca4d1599daa85ff7c2ef069d75d62a2e189eb2b5ed183a18c369626e4eff08f42fb9d3286de2bcdb7c145507bd57e37a78",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABDJpkw7ChDQbDTT/qhh/acpNFZna\nqF/3wu8GnXXWKi4YnrK17Rg6GMNpYm5O/wj0L7nTKG3ivNt8FFUHvVfjeng=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 950,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203b3b272686d138084988ae23089d57b574fbabe983e1de35694442c2b9660070",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042ebdb7c2caec4073589afde56e0f7ecd8983fcc80eac1450af82dca4328c9b7198509d877261e2f71b05059e71f9f81fe91466e51ea1b8621407ce182ffadb45",
|
|
"wx" : "2ebdb7c2caec4073589afde56e0f7ecd8983fcc80eac1450af82dca4328c9b71",
|
|
"wy" : "0098509d877261e2f71b05059e71f9f81fe91466e51ea1b8621407ce182ffadb45"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200042ebdb7c2caec4073589afde56e0f7ecd8983fcc80eac1450af82dca4328c9b7198509d877261e2f71b05059e71f9f81fe91466e51ea1b8621407ce182ffadb45",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABC69t8LK7EBzWJr95W4Pfs2Jg/zI\nDqwUUK+C3KQyjJtxmFCdh3Jh4vcbBQWecfn4H+kUZuUeobhiFAfOGC/620U=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 951,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202e67ab256e246048b8154c6bd12de75f1657f9b20e8da09beca149a517cbfb1b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042bb609b2926d816280a8104377abab010feb15a0c537081bdf3d5152ce94e5765a84ed06d11a4bfddfdc5465b1c0e4f891119cdcbaaad52eee39b046afb2c6cb",
|
|
"wx" : "2bb609b2926d816280a8104377abab010feb15a0c537081bdf3d5152ce94e576",
|
|
"wy" : "5a84ed06d11a4bfddfdc5465b1c0e4f891119cdcbaaad52eee39b046afb2c6cb"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200042bb609b2926d816280a8104377abab010feb15a0c537081bdf3d5152ce94e5765a84ed06d11a4bfddfdc5465b1c0e4f891119cdcbaaad52eee39b046afb2c6cb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABCu2CbKSbYFigKgQQ3erqwEP6xWg\nxTcIG989UVLOlOV2WoTtBtEaS/3f3FRlscDk+JERnNy6qtUu7jmwRq+yxss=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 952,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02205ccf564adc48c091702a98d7a25bcebe2caff3641d1b4137d942934a2f97f636",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045c52ce74f8178b363464f21ad35af0e4eb944c64006590b00d1f110ce66d19b696777c5dd01e7c522bccd704adeb236697617ef70b2ba24a7b8e19b02fc1dd88",
|
|
"wx" : "5c52ce74f8178b363464f21ad35af0e4eb944c64006590b00d1f110ce66d19b6",
|
|
"wy" : "0096777c5dd01e7c522bccd704adeb236697617ef70b2ba24a7b8e19b02fc1dd88"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200045c52ce74f8178b363464f21ad35af0e4eb944c64006590b00d1f110ce66d19b696777c5dd01e7c522bccd704adeb236697617ef70b2ba24a7b8e19b02fc1dd88",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABFxSznT4F4s2NGTyGtNa8OTrlExk\nAGWQsA0fEQzmbRm2lnd8XdAefFIrzNcEresjZpdhfvcLK6JKe44ZsC/B3Yg=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 953,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0221008197dc78d6ccee9677df5d99f382c80c19dd0d78babbb86810d8398b0c911414",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042ffe3a34411ff56f7c7de85601cf4a07bfb39623ef660ceb0ab4493be8911362735028764c6e7812195d792ebc7e5954755f3e35c28467f72a7890bbbf403f7f",
|
|
"wx" : "2ffe3a34411ff56f7c7de85601cf4a07bfb39623ef660ceb0ab4493be8911362",
|
|
"wy" : "735028764c6e7812195d792ebc7e5954755f3e35c28467f72a7890bbbf403f7f"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200042ffe3a34411ff56f7c7de85601cf4a07bfb39623ef660ceb0ab4493be8911362735028764c6e7812195d792ebc7e5954755f3e35c28467f72a7890bbbf403f7f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABC/+OjRBH/VvfH3oVgHPSge/s5Yj\n72YM6wq0STvokRNic1AodkxueBIZXXkuvH5ZVHVfPjXChGf3KniQu79AP38=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 954,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02207552d8ce45674b223735b1c2d0946581cd062d494a89f42f58f0ee1bc5c0f318",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0464aa0c89a2b612b682080395da8601d8d19cd7ca163c01ee8d012ddace8e82ec4114ff212a262a25f7983ef1caa8fc5c781a06462c7f556e69f164aaf9ec0f40",
|
|
"wx" : "64aa0c89a2b612b682080395da8601d8d19cd7ca163c01ee8d012ddace8e82ec",
|
|
"wy" : "4114ff212a262a25f7983ef1caa8fc5c781a06462c7f556e69f164aaf9ec0f40"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000464aa0c89a2b612b682080395da8601d8d19cd7ca163c01ee8d012ddace8e82ec4114ff212a262a25f7983ef1caa8fc5c781a06462c7f556e69f164aaf9ec0f40",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABGSqDImithK2gggDldqGAdjRnNfK\nFjwB7o0BLdrOjoLsQRT/ISomKiX3mD7xyqj8XHgaBkYsf1VuafFkqvnsD0A=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 955,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202a988eeb5d91279714eb150faea4838ede06b16567dc73919515d28ff04a12d7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0480af66c253b93acb4d5c06d22fba4dfec149d243af9fad96b9b0ab792ba38c4f171eb35aee0ad693d6ac63adf2813840f13e6432cb498ad9eb0356f6abe7d503",
|
|
"wx" : "0080af66c253b93acb4d5c06d22fba4dfec149d243af9fad96b9b0ab792ba38c4f",
|
|
"wy" : "171eb35aee0ad693d6ac63adf2813840f13e6432cb498ad9eb0356f6abe7d503"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000480af66c253b93acb4d5c06d22fba4dfec149d243af9fad96b9b0ab792ba38c4f171eb35aee0ad693d6ac63adf2813840f13e6432cb498ad9eb0356f6abe7d503",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABICvZsJTuTrLTVwG0i+6Tf7BSdJD\nr5+tlrmwq3kro4xPFx6zWu4K1pPWrGOt8oE4QPE+ZDLLSYrZ6wNW9qvn1QM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 956,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0220559801a88f7843ce3f1c73cd7a5787e7a7eeadbcb9c90e71ee64e0dd0a741a63",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0420d1a06bd6fda62e0a9ee8be88681234d04a519a44b25a8515746c44aad5787226d00ef3ec03a34b07efbbf1185bc6ce1f30ed780812dcebefe046fc9be6d9dc",
|
|
"wx" : "20d1a06bd6fda62e0a9ee8be88681234d04a519a44b25a8515746c44aad57872",
|
|
"wy" : "26d00ef3ec03a34b07efbbf1185bc6ce1f30ed780812dcebefe046fc9be6d9dc"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000420d1a06bd6fda62e0a9ee8be88681234d04a519a44b25a8515746c44aad5787226d00ef3ec03a34b07efbbf1185bc6ce1f30ed780812dcebefe046fc9be6d9dc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABCDRoGvW/aYuCp7ovohoEjTQSlGa\nRLJahRV0bESq1XhyJtAO8+wDo0sH77vxGFvGzh8w7XgIEtzr7+BG/Jvm2dw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 957,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202b66568f063d10d73f77a86be8c18522b5c947493bfcc22f1d884a0a4409fc41",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "049b3fc0ecd0fc126fa2c539e0f0b1eb3228829664c841775a4d35032500a8a04522de521356799e53e43a4f5a62ddfc98aae4a3cb9f0ae2096224df1e84e90dd6",
|
|
"wx" : "009b3fc0ecd0fc126fa2c539e0f0b1eb3228829664c841775a4d35032500a8a045",
|
|
"wy" : "22de521356799e53e43a4f5a62ddfc98aae4a3cb9f0ae2096224df1e84e90dd6"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200049b3fc0ecd0fc126fa2c539e0f0b1eb3228829664c841775a4d35032500a8a04522de521356799e53e43a4f5a62ddfc98aae4a3cb9f0ae2096224df1e84e90dd6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABJs/wOzQ/BJvosU54PCx6zIogpZk\nyEF3Wk01AyUAqKBFIt5SE1Z5nlPkOk9aYt38mKrko8ufCuIJYiTfHoTpDdY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 958,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203e0275bf9b987118d0e37c350882178d48a5815ec1e547413387cdfce8becf00",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04265900656b73d7f3023419513d3809a9f7553280756451a4f5b9696f4ec4630b8b4ab325d5fa8831b16699993dc49cc87db870fd1789869614653b38e0c74219",
|
|
"wx" : "265900656b73d7f3023419513d3809a9f7553280756451a4f5b9696f4ec4630b",
|
|
"wy" : "008b4ab325d5fa8831b16699993dc49cc87db870fd1789869614653b38e0c74219"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004265900656b73d7f3023419513d3809a9f7553280756451a4f5b9696f4ec4630b8b4ab325d5fa8831b16699993dc49cc87db870fd1789869614653b38e0c74219",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABCZZAGVrc9fzAjQZUT04Can3VTKA\ndWRRpPW5aW9OxGMLi0qzJdX6iDGxZpmZPcScyH24cP0XiYaWFGU7OODHQhk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 959,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0221009bfce53d169f1bd2d444070b13ad08f65d7ba717ce4119fa601409ac64dae46e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042c26be9c36920f0066ec7816cf910e99cff1ed2a4f76f2762a8a9bb2312247152f594f09d6ac32cf0b761eea8a29ba67511765ffc5c67ca093e92a09171b4e4a",
|
|
"wx" : "2c26be9c36920f0066ec7816cf910e99cff1ed2a4f76f2762a8a9bb231224715",
|
|
"wy" : "2f594f09d6ac32cf0b761eea8a29ba67511765ffc5c67ca093e92a09171b4e4a"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200042c26be9c36920f0066ec7816cf910e99cff1ed2a4f76f2762a8a9bb2312247152f594f09d6ac32cf0b761eea8a29ba67511765ffc5c67ca093e92a09171b4e4a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABCwmvpw2kg8AZux4Fs+RDpnP8e0q\nT3bydiqKm7IxIkcVL1lPCdasMs8Ldh7qiim6Z1EXZf/Fxnygk+kqCRcbTko=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 960,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022073cc15985005002b760de9b44659915f135c8ab1915ba5c83b2c80b6c1a82969",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040cde1d4275e01f57e5a78968b6da29d704b12d7ee15ffdbf67edb53937f575504c95a2f102571f765c509a89ac7a6ced5fede55b339eed9032f49bd627f75280",
|
|
"wx" : "0cde1d4275e01f57e5a78968b6da29d704b12d7ee15ffdbf67edb53937f57550",
|
|
"wy" : "4c95a2f102571f765c509a89ac7a6ced5fede55b339eed9032f49bd627f75280"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200040cde1d4275e01f57e5a78968b6da29d704b12d7ee15ffdbf67edb53937f575504c95a2f102571f765c509a89ac7a6ced5fede55b339eed9032f49bd627f75280",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABAzeHUJ14B9X5aeJaLbaKdcEsS1+\n4V/9v2fttTk39XVQTJWi8QJXH3ZcUJqJrHps7V/t5Vsznu2QMvSb1if3UoA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 961,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202734eb40a83223e55a56bdd25adaa186476696d438be1c46a9a8c442bc7a8b3f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043795af819ed2bafdc708718f4f0b10c1362ae0210bd7c63c4f243ca7ce725e8927952b02af7554f50f4e0c71150b6a03c864479bfeca00a799a13212288c1c01",
|
|
"wx" : "3795af819ed2bafdc708718f4f0b10c1362ae0210bd7c63c4f243ca7ce725e89",
|
|
"wy" : "27952b02af7554f50f4e0c71150b6a03c864479bfeca00a799a13212288c1c01"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200043795af819ed2bafdc708718f4f0b10c1362ae0210bd7c63c4f243ca7ce725e8927952b02af7554f50f4e0c71150b6a03c864479bfeca00a799a13212288c1c01",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABDeVr4Ge0rr9xwhxj08LEME2KuAh\nC9fGPE8kPKfOcl6JJ5UrAq91VPUPTgxxFQtqA8hkR5v+ygCnmaEyEiiMHAE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 962,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0221009f5af50acc7c29e9a1df221ad37bacb5da3cdd447f515fa64b241ffd910eae3f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0459dcdf8fd82ad6aacf29c588ffdf9aeab54c89f6729cdc0c286d5c115bb5309071d4aec02802a39e801f793e87c96dfb7ff414adb24e609fd811835e5947bbb4",
|
|
"wx" : "59dcdf8fd82ad6aacf29c588ffdf9aeab54c89f6729cdc0c286d5c115bb53090",
|
|
"wy" : "71d4aec02802a39e801f793e87c96dfb7ff414adb24e609fd811835e5947bbb4"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000459dcdf8fd82ad6aacf29c588ffdf9aeab54c89f6729cdc0c286d5c115bb5309071d4aec02802a39e801f793e87c96dfb7ff414adb24e609fd811835e5947bbb4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABFnc34/YKtaqzynFiP/fmuq1TIn2\ncpzcDChtXBFbtTCQcdSuwCgCo56AH3k+h8lt+3/0FK2yTmCf2BGDXllHu7Q=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 963,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0221009f262626689b3c3235e93e8da30543ddfbde2af812938a380f4440b645187da7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04133904e1f94786758e63ddf382bd25b59793ce16e81dc33f794e9581cde8da644a099fe3b67dace481cae93f0ae7ece905e5ff3b411c0a6a2db4e20a228fe61f",
|
|
"wx" : "133904e1f94786758e63ddf382bd25b59793ce16e81dc33f794e9581cde8da64",
|
|
"wy" : "4a099fe3b67dace481cae93f0ae7ece905e5ff3b411c0a6a2db4e20a228fe61f"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004133904e1f94786758e63ddf382bd25b59793ce16e81dc33f794e9581cde8da644a099fe3b67dace481cae93f0ae7ece905e5ff3b411c0a6a2db4e20a228fe61f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABBM5BOH5R4Z1jmPd84K9JbWXk84W\n6B3DP3lOlYHN6NpkSgmf47Z9rOSByuk/Cufs6QXl/ztBHApqLbTiCiKP5h8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 964,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0221009450f4712f47cea82d6c728aa886fa4a6b82db4c6fc56d788e6a72e9f2e8a4a7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046d36cf5d643e4c77be28a30ef74d5016c5dfcba4f181467a0d8d419c28c0e9010f09dad5ab90679b3baf6cce79d8d87c07005a868133dcc898da81c2c760ae55",
|
|
"wx" : "6d36cf5d643e4c77be28a30ef74d5016c5dfcba4f181467a0d8d419c28c0e901",
|
|
"wy" : "0f09dad5ab90679b3baf6cce79d8d87c07005a868133dcc898da81c2c760ae55"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200046d36cf5d643e4c77be28a30ef74d5016c5dfcba4f181467a0d8d419c28c0e9010f09dad5ab90679b3baf6cce79d8d87c07005a868133dcc898da81c2c760ae55",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABG02z11kPkx3viijDvdNUBbF38uk\n8YFGeg2NQZwowOkBDwna1auQZ5s7r2zOedjYfAcAWoaBM9zImNqBwsdgrlU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 965,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02201f156d9a2bd05b6f7a2c27c80f9bb73f8d540acc23b13705d91483d681e34edf",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04346a4c284d5f5aab6577fa8eaab3f465bd8dc99f91c0fc327d0dcf9f330293c24acc9f6c82b403b78f97b31e5f5ebadee52429716a3bd484478497ae649d2e66",
|
|
"wx" : "346a4c284d5f5aab6577fa8eaab3f465bd8dc99f91c0fc327d0dcf9f330293c2",
|
|
"wy" : "4acc9f6c82b403b78f97b31e5f5ebadee52429716a3bd484478497ae649d2e66"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004346a4c284d5f5aab6577fa8eaab3f465bd8dc99f91c0fc327d0dcf9f330293c24acc9f6c82b403b78f97b31e5f5ebadee52429716a3bd484478497ae649d2e66",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABDRqTChNX1qrZXf6jqqz9GW9jcmf\nkcD8Mn0Nz58zApPCSsyfbIK0A7ePl7MeX1663uUkKXFqO9SER4SXrmSdLmY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 966,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022033d58cc129940d5af53f5f8a6fd82d430e26df908bf649e8d1f5235cfd35de4a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046af61f84384de5591090cb3b6d8c592094f3702c2401eee392c920a43e927390a87f47a6d5db9e88ac2001e1843a3ce4c664bc33aedccef5f104f3d38501ca92",
|
|
"wx" : "6af61f84384de5591090cb3b6d8c592094f3702c2401eee392c920a43e927390",
|
|
"wy" : "00a87f47a6d5db9e88ac2001e1843a3ce4c664bc33aedccef5f104f3d38501ca92"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200046af61f84384de5591090cb3b6d8c592094f3702c2401eee392c920a43e927390a87f47a6d5db9e88ac2001e1843a3ce4c664bc33aedccef5f104f3d38501ca92",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABGr2H4Q4TeVZEJDLO22MWSCU83As\nJAHu45LJIKQ+knOQqH9HptXbnoisIAHhhDo85MZkvDOu3M718QTz04UBypI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 967,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02201ea9a1bf078a5e9b9c16ad03b139ada7747e8d07ef6b08a8cab1588ecc48f6d0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046c98913484d659ac8bb2d2dec96505eadca3b1d9703a71c558655b8a9f3513c66f905ec936941a5798720c32847c2166a91e875f66d1949b9bfc9b3a7217c80a",
|
|
"wx" : "6c98913484d659ac8bb2d2dec96505eadca3b1d9703a71c558655b8a9f3513c6",
|
|
"wy" : "6f905ec936941a5798720c32847c2166a91e875f66d1949b9bfc9b3a7217c80a"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200046c98913484d659ac8bb2d2dec96505eadca3b1d9703a71c558655b8a9f3513c66f905ec936941a5798720c32847c2166a91e875f66d1949b9bfc9b3a7217c80a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABGyYkTSE1lmsi7LS3sllBerco7HZ\ncDpxxVhlW4qfNRPGb5BeyTaUGleYcgwyhHwhZqkeh19m0ZSbm/ybOnIXyAo=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 968,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02200dfe729e8b4f8de96a22038589d6847b2ebdd38be7208cfd300a04d6326d7239",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040c30a40dbad124c50fc8b4000a51545523384fdc0cdc267cf734f65fb55902fd4630e4eaed17c12345efc9c8b5de7fc04271bf65ede03ee3df4668a9619d935f",
|
|
"wx" : "0c30a40dbad124c50fc8b4000a51545523384fdc0cdc267cf734f65fb55902fd",
|
|
"wy" : "4630e4eaed17c12345efc9c8b5de7fc04271bf65ede03ee3df4668a9619d935f"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200040c30a40dbad124c50fc8b4000a51545523384fdc0cdc267cf734f65fb55902fd4630e4eaed17c12345efc9c8b5de7fc04271bf65ede03ee3df4668a9619d935f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABAwwpA260STFD8i0AApRVFUjOE/c\nDNwmfPc09l+1WQL9RjDk6u0XwSNF78nItd5/wEJxv2Xt4D7j30ZoqWGdk18=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 969,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022069fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046ca3fc25839a95af403e37794bad8a08e0f87fceb7ac68468704284807f65601681f87c95a55f1e210fe96f2d89c330b45fa034006c5280ce5c1770f091138b6",
|
|
"wx" : "6ca3fc25839a95af403e37794bad8a08e0f87fceb7ac68468704284807f65601",
|
|
"wy" : "681f87c95a55f1e210fe96f2d89c330b45fa034006c5280ce5c1770f091138b6"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200046ca3fc25839a95af403e37794bad8a08e0f87fceb7ac68468704284807f65601681f87c95a55f1e210fe96f2d89c330b45fa034006c5280ce5c1770f091138b6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABGyj/CWDmpWvQD43eUutigjg+H/O\nt6xoRocEKEgH9lYBaB+HyVpV8eIQ/pby2JwzC0X6A0AGxSgM5cF3DwkROLY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 970,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "54657374",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02206898218e251066d0cc5e64317c2f177be9d008bbf70fe19f1ce36962a9e170f3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043b0d31e4ec39f194146e3fe9648bba4e6cd9d5ca5f8dd1304cdec0d396b254471c1b4633bf35e53fcfdd6ec8bd1d30e94d342809e19e651ea265b9b09b7240c1",
|
|
"wx" : "3b0d31e4ec39f194146e3fe9648bba4e6cd9d5ca5f8dd1304cdec0d396b25447",
|
|
"wy" : "1c1b4633bf35e53fcfdd6ec8bd1d30e94d342809e19e651ea265b9b09b7240c1"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200043b0d31e4ec39f194146e3fe9648bba4e6cd9d5ca5f8dd1304cdec0d396b254471c1b4633bf35e53fcfdd6ec8bd1d30e94d342809e19e651ea265b9b09b7240c1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABDsNMeTsOfGUFG4/6WSLuk5s2dXK\nX43RMEzewNOWslRHHBtGM7815T/P3W7IvR0w6U00KAnhnmUeomW5sJtyQME=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 971,
|
|
"comment" : "point duplication during verification",
|
|
"msg" : "54657374",
|
|
"sig" : "304402205b22974296c093fcc9930e14215bb19875a7d1efb2efe0154d4e6196ddb34d44022044088a0685df1955696286cc083d35afa8d2895927405b0731eadcd8a7233799",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043b0d31e4ec39f194146e3fe9648bba4e6cd9d5ca5f8dd1304cdec0d396b254478de011a7e2b8c47c6e889bc7e0665c892107ce19f387bb097dad8e6c83fc12b6",
|
|
"wx" : "3b0d31e4ec39f194146e3fe9648bba4e6cd9d5ca5f8dd1304cdec0d396b25447",
|
|
"wy" : "008de011a7e2b8c47c6e889bc7e0665c892107ce19f387bb097dad8e6c83fc12b6"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200043b0d31e4ec39f194146e3fe9648bba4e6cd9d5ca5f8dd1304cdec0d396b254478de011a7e2b8c47c6e889bc7e0665c892107ce19f387bb097dad8e6c83fc12b6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABDsNMeTsOfGUFG4/6WSLuk5s2dXK\nX43RMEzewNOWslRHjeARp+K4xHxuiJvH4GZciSEHzhnzh7sJfa2ObIP8ErY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 972,
|
|
"comment" : "duplication bug",
|
|
"msg" : "54657374",
|
|
"sig" : "304402205b22974296c093fcc9930e14215bb19875a7d1efb2efe0154d4e6196ddb34d44022044088a0685df1955696286cc083d35afa8d2895927405b0731eadcd8a7233799",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0452987319644a827a6d82083352487688f33e2095faeacbc83ec9c4e53e0338f115b7ed0718c3b21da8ae42a0b3735eb4fc7fdadbec883f3545698bd3305c0843",
|
|
"wx" : "52987319644a827a6d82083352487688f33e2095faeacbc83ec9c4e53e0338f1",
|
|
"wy" : "15b7ed0718c3b21da8ae42a0b3735eb4fc7fdadbec883f3545698bd3305c0843"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000452987319644a827a6d82083352487688f33e2095faeacbc83ec9c4e53e0338f115b7ed0718c3b21da8ae42a0b3735eb4fc7fdadbec883f3545698bd3305c0843",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABFKYcxlkSoJ6bYIIM1JIdojzPiCV\n+urLyD7JxOU+AzjxFbftBxjDsh2orkKgs3NetPx/2tvsiD81RWmL0zBcCEM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 973,
|
|
"comment" : "comparison with point at infinity ",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2022021ff1192539621f272e135501f80b5e38271e553f11387cb1cd2cfb3b7db4487",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041d30cc1c88b587fe248d14ae8391e2204517611dacd43eea92795327d3e177487f90837130c328b9396d81061094e9741d07578ad937e12b45551463866c8367",
|
|
"wx" : "1d30cc1c88b587fe248d14ae8391e2204517611dacd43eea92795327d3e17748",
|
|
"wy" : "7f90837130c328b9396d81061094e9741d07578ad937e12b45551463866c8367"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200041d30cc1c88b587fe248d14ae8391e2204517611dacd43eea92795327d3e177487f90837130c328b9396d81061094e9741d07578ad937e12b45551463866c8367",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABB0wzByItYf+JI0UroOR4iBFF2Ed\nrNQ+6pJ5UyfT4XdIf5CDcTDDKLk5bYEGEJTpdB0HV4rZN+ErRVUUY4Zsg2c=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 974,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "54657374",
|
|
"sig" : "30450221008338427c7cf4d11cb981d9b18793e3779c494c502c75bd739e578de2a700578d022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04122f70e98579bab33d717664868d56d5b00683b5d532091eed7f56c9b9bee5cf2269ae98c2c40ccdaf447851e36bd4d6c5d46f57d7ecd8a4cc415514e481bf11",
|
|
"wx" : "122f70e98579bab33d717664868d56d5b00683b5d532091eed7f56c9b9bee5cf",
|
|
"wy" : "2269ae98c2c40ccdaf447851e36bd4d6c5d46f57d7ecd8a4cc415514e481bf11"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004122f70e98579bab33d717664868d56d5b00683b5d532091eed7f56c9b9bee5cf2269ae98c2c40ccdaf447851e36bd4d6c5d46f57d7ecd8a4cc415514e481bf11",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABBIvcOmFebqzPXF2ZIaNVtWwBoO1\n1TIJHu1/Vsm5vuXPImmumMLEDM2vRHhR42vU1sXUb1fX7NikzEFVFOSBvxE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 975,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30450221008338427c7cf4d11cb981d9b18793e3779c494c502c75bd739e578de2a700578d0220796a6353bccf0b8675b699d502cbae2c88bb5799818ee4f9f93a0a5d477cd02e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04904c3d1a939ac75edbe7c66cbcb751f7ab369b684930eaaa3c54420367ab009a7e9b8347ee4db666e78be870a732c6f471c20b2cbf61cce59d81475e4a3e6a0f",
|
|
"wx" : "00904c3d1a939ac75edbe7c66cbcb751f7ab369b684930eaaa3c54420367ab009a",
|
|
"wy" : "7e9b8347ee4db666e78be870a732c6f471c20b2cbf61cce59d81475e4a3e6a0f"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004904c3d1a939ac75edbe7c66cbcb751f7ab369b684930eaaa3c54420367ab009a7e9b8347ee4db666e78be870a732c6f471c20b2cbf61cce59d81475e4a3e6a0f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABJBMPRqTmsde2+fGbLy3UferNpto\nSTDqqjxUQgNnqwCafpuDR+5Ntmbni+hwpzLG9HHCCyy/YczlnYFHXko+ag8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 976,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30460221008338427c7cf4d11cb981d9b18793e3779c494c502c75bd739e578de2a700578d02210087fc46494e5887c9cb84d5407e02d78e09c7954fc44e1f2c734b3ecedf6d121f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043f9e34f512b8588b6b2c4384fcbb395979e6142ec13d8af937c725185d1329b254eba9f00758e1642c694a1958b4f79b1de97595f492d7eeb970824f326d914e",
|
|
"wx" : "3f9e34f512b8588b6b2c4384fcbb395979e6142ec13d8af937c725185d1329b2",
|
|
"wy" : "54eba9f00758e1642c694a1958b4f79b1de97595f492d7eeb970824f326d914e"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200043f9e34f512b8588b6b2c4384fcbb395979e6142ec13d8af937c725185d1329b254eba9f00758e1642c694a1958b4f79b1de97595f492d7eeb970824f326d914e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABD+eNPUSuFiLayxDhPy7OVl55hQu\nwT2K+TfHJRhdEymyVOup8AdY4WQsaUoZWLT3mx3pdZX0ktfuuXCCTzJtkU4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 977,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30450221008338427c7cf4d11cb981d9b18793e3779c494c502c75bd739e578de2a700578d022021ff1192539621f272e135501f80b5e38271e553f11387cb1cd2cfb3b7db4488",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044424f09e4f869231e47b1e3426ec269e5bef19ec64cc96da5b2efdd2116b83f07a863d25743bb260a638de649796c676e13805865c8bb9dac38e16fae54b0cef",
|
|
"wx" : "4424f09e4f869231e47b1e3426ec269e5bef19ec64cc96da5b2efdd2116b83f0",
|
|
"wy" : "7a863d25743bb260a638de649796c676e13805865c8bb9dac38e16fae54b0cef"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200044424f09e4f869231e47b1e3426ec269e5bef19ec64cc96da5b2efdd2116b83f07a863d25743bb260a638de649796c676e13805865c8bb9dac38e16fae54b0cef",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABEQk8J5PhpIx5HseNCbsJp5b7xns\nZMyW2lsu/dIRa4PweoY9JXQ7smCmON5kl5bGduE4BYZci7naw44W+uVLDO8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 978,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "30450221008338427c7cf4d11cb981d9b18793e3779c494c502c75bd739e578de2a700578d02203090f487e51f9e35c8af70bb9ab7df45037e230a33d2c1fd96e404254fcb8679",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04395d3e0debc6f3f5c33cdd6b5d0b4e457cfd94a7c29b05a490ff4e0397d73dca49268faa790b51955b297aa06fbb7c6f92b9d588d04325415f08d1fbe97c7c09",
|
|
"wx" : "395d3e0debc6f3f5c33cdd6b5d0b4e457cfd94a7c29b05a490ff4e0397d73dca",
|
|
"wy" : "49268faa790b51955b297aa06fbb7c6f92b9d588d04325415f08d1fbe97c7c09"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004395d3e0debc6f3f5c33cdd6b5d0b4e457cfd94a7c29b05a490ff4e0397d73dca49268faa790b51955b297aa06fbb7c6f92b9d588d04325415f08d1fbe97c7c09",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABDldPg3rxvP1wzzda10LTkV8/ZSn\nwpsFpJD/TgOX1z3KSSaPqnkLUZVbKXqgb7t8b5K51YjQQyVBXwjR++l8fAk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 979,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "54657374",
|
|
"sig" : "30450221008338427c7cf4d11cb981d9b18793e3779c494c502c75bd739e578de2a700578d022077472d9a28b4ece71cf413a68eac0eb423a16fb462b1f48706fed48ca437bd2d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042d373920bf3f9957e92d328be30b9c3ef5da0def50544577194d167ff55e55fd51d21be506e0aa233fad3869d197e4474d2a9039850c229ab772e510c06b20d5",
|
|
"wx" : "2d373920bf3f9957e92d328be30b9c3ef5da0def50544577194d167ff55e55fd",
|
|
"wy" : "51d21be506e0aa233fad3869d197e4474d2a9039850c229ab772e510c06b20d5"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200042d373920bf3f9957e92d328be30b9c3ef5da0def50544577194d167ff55e55fd51d21be506e0aa233fad3869d197e4474d2a9039850c229ab772e510c06b20d5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABC03OSC/P5lX6S0yi+MLnD712g3v\nUFRFdxlNFn/1XlX9UdIb5QbgqiM/rThp0ZfkR00qkDmFDCKat3LlEMBrINU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 980,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "54657374",
|
|
"sig" : "3045022100a3e8eb3cc1cfe7b7732213b23a656149afa142c47aafbc2b79a191562e1305f4022038a91d4935fa389414ccae3034812f25d9687e3691cb37a7dab4af80dd181ce2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048f99ece4442ea6ec2b4e412c6167f847a3ec781998148cd58255c9ea34d379b4080a032469e7bcc64f0c387b36525239090604c115fe89bae2e462ccc26c417b",
|
|
"wx" : "008f99ece4442ea6ec2b4e412c6167f847a3ec781998148cd58255c9ea34d379b4",
|
|
"wy" : "080a032469e7bcc64f0c387b36525239090604c115fe89bae2e462ccc26c417b"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200048f99ece4442ea6ec2b4e412c6167f847a3ec781998148cd58255c9ea34d379b4080a032469e7bcc64f0c387b36525239090604c115fe89bae2e462ccc26c417b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABI+Z7ORELqbsK05BLGFn+Eej7HgZ\nmBSM1YJVyeo003m0CAoDJGnnvMZPDDh7NlJSOQkGBMEV/om64uRizMJsQXs=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 981,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3045022100a3e8eb3cc1cfe7b7732213b23a656149afa142c47aafbc2b79a191562e1305f40220796a6353bccf0b8675b699d502cbae2c88bb5799818ee4f9f93a0a5d477cd02e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0406bd17d0d354ecd7e8c7ecc9020b1a781743b2462671d19ecf7ee69137d23e2609c5f605d0cf1b8ce96b4d1b7039599dd4e6726fd27b34aecc9fc07d90ad7ff8",
|
|
"wx" : "06bd17d0d354ecd7e8c7ecc9020b1a781743b2462671d19ecf7ee69137d23e26",
|
|
"wy" : "09c5f605d0cf1b8ce96b4d1b7039599dd4e6726fd27b34aecc9fc07d90ad7ff8"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000406bd17d0d354ecd7e8c7ecc9020b1a781743b2462671d19ecf7ee69137d23e2609c5f605d0cf1b8ce96b4d1b7039599dd4e6726fd27b34aecc9fc07d90ad7ff8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABAa9F9DTVOzX6MfsyQILGngXQ7JG\nJnHRns9+5pE30j4mCcX2BdDPG4zpa00bcDlZndTmcm/SezSuzJ/AfZCtf/g=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 982,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3046022100a3e8eb3cc1cfe7b7732213b23a656149afa142c47aafbc2b79a191562e1305f402210087fc46494e5887c9cb84d5407e02d78e09c7954fc44e1f2c734b3ecedf6d121f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045f894cbb72549ded11d41abcc30bd0634ea4508ad11b323a74a31a95be5b7c99996d7de228ad0c2309be12a33a86c170870f4a93b8f6ce4c2f347b9ecc715bbb",
|
|
"wx" : "5f894cbb72549ded11d41abcc30bd0634ea4508ad11b323a74a31a95be5b7c99",
|
|
"wy" : "00996d7de228ad0c2309be12a33a86c170870f4a93b8f6ce4c2f347b9ecc715bbb"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200045f894cbb72549ded11d41abcc30bd0634ea4508ad11b323a74a31a95be5b7c99996d7de228ad0c2309be12a33a86c170870f4a93b8f6ce4c2f347b9ecc715bbb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABF+JTLtyVJ3tEdQavMML0GNOpFCK\n0RsyOnSjGpW+W3yZmW194iitDCMJvhKjOobBcIcPSpO49s5MLzR7nsxxW7s=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 983,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3045022100a3e8eb3cc1cfe7b7732213b23a656149afa142c47aafbc2b79a191562e1305f4022021ff1192539621f272e135501f80b5e38271e553f11387cb1cd2cfb3b7db4488",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0478e1d4be5068250d2cb266397e727c066e5f2f747a8666cd8af070d5b9ed6a4168a546bec874dfaa1300421e2ce7646b6dfd8e7e5ac5a82129d759ffe4aeefff",
|
|
"wx" : "78e1d4be5068250d2cb266397e727c066e5f2f747a8666cd8af070d5b9ed6a41",
|
|
"wy" : "68a546bec874dfaa1300421e2ce7646b6dfd8e7e5ac5a82129d759ffe4aeefff"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101080342000478e1d4be5068250d2cb266397e727c066e5f2f747a8666cd8af070d5b9ed6a4168a546bec874dfaa1300421e2ce7646b6dfd8e7e5ac5a82129d759ffe4aeefff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABHjh1L5QaCUNLLJmOX5yfAZuXy90\neoZmzYrwcNW57WpBaKVGvsh036oTAEIeLOdka239jn5axaghKddZ/+Su7/8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 984,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "54657374",
|
|
"sig" : "3045022100a3e8eb3cc1cfe7b7732213b23a656149afa142c47aafbc2b79a191562e1305f402203090f487e51f9e35c8af70bb9ab7df45037e230a33d2c1fd96e404254fcb8679",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048eea4918015d5d0bf2d8bc047a1b2ced1da6889ee4dfa58461a351ce36bff8f8197ede0e92b1001f0fd82cf66f96f51471d48a6dfff52aec62a9e1a361cd7d49",
|
|
"wx" : "008eea4918015d5d0bf2d8bc047a1b2ced1da6889ee4dfa58461a351ce36bff8f8",
|
|
"wy" : "197ede0e92b1001f0fd82cf66f96f51471d48a6dfff52aec62a9e1a361cd7d49"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200048eea4918015d5d0bf2d8bc047a1b2ced1da6889ee4dfa58461a351ce36bff8f8197ede0e92b1001f0fd82cf66f96f51471d48a6dfff52aec62a9e1a361cd7d49",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABI7qSRgBXV0L8ti8BHobLO0dpoie\n5N+lhGGjUc42v/j4GX7eDpKxAB8P2Cz2b5b1FHHUim3/9SrsYqnho2HNfUk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 985,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "54657374",
|
|
"sig" : "3045022100a3e8eb3cc1cfe7b7732213b23a656149afa142c47aafbc2b79a191562e1305f4022077472d9a28b4ece71cf413a68eac0eb423a16fb462b1f48706fed48ca437bd2d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a3e8eb3cc1cfe7b7732213b23a656149afa142c47aafbc2b79a191562e1305f42d996c823439c56d7f7b22e14644417e69bcb6de39d027001dabe8f35b25c9be",
|
|
"wx" : "00a3e8eb3cc1cfe7b7732213b23a656149afa142c47aafbc2b79a191562e1305f4",
|
|
"wy" : "2d996c823439c56d7f7b22e14644417e69bcb6de39d027001dabe8f35b25c9be"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004a3e8eb3cc1cfe7b7732213b23a656149afa142c47aafbc2b79a191562e1305f42d996c823439c56d7f7b22e14644417e69bcb6de39d027001dabe8f35b25c9be",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABKPo6zzBz+e3cyITsjplYUmvoULE\neq+8K3mhkVYuEwX0LZlsgjQ5xW1/eyLhRkRBfmm8tt450CcAHavo81slyb4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 986,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25022018487a43f28fcf1ae457b85dcd5befa281bf118519e960fecb720212a7e5c33c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 987,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022056ccad1e0c7a21ae7eef50d7d1830a456b928e9277f9845e3b1094148813f882022018487a43f28fcf1ae457b85dcd5befa281bf118519e960fecb720212a7e5c33c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a3e8eb3cc1cfe7b7732213b23a656149afa142c47aafbc2b79a191562e1305f47c61eb596db4e44ebeeae7af573f4bf4047f3f459b55f92802675f29c44889b9",
|
|
"wx" : "00a3e8eb3cc1cfe7b7732213b23a656149afa142c47aafbc2b79a191562e1305f4",
|
|
"wy" : "7c61eb596db4e44ebeeae7af573f4bf4047f3f459b55f92802675f29c44889b9"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004a3e8eb3cc1cfe7b7732213b23a656149afa142c47aafbc2b79a191562e1305f47c61eb596db4e44ebeeae7af573f4bf4047f3f459b55f92802675f29c44889b9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABKPo6zzBz+e3cyITsjplYUmvoULE\neq+8K3mhkVYuEwX0fGHrWW205E6+6uevVz9L9AR/P0WbVfkoAmdfKcRIibk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 988,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "30440220532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25022018487a43f28fcf1ae457b85dcd5befa281bf118519e960fecb720212a7e5c33c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 989,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022056ccad1e0c7a21ae7eef50d7d1830a456b928e9277f9845e3b1094148813f882022018487a43f28fcf1ae457b85dcd5befa281bf118519e960fecb720212a7e5c33c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b21ecd48cc46fb306ed54e88adb615208457bd257e7e9d81db5bd1f56100a7aebb1386465507bbf386224cb383815e1babe561dcb6f49af0073e1bfda366066ef62440fc81dec7eca021cb0c05091dfb",
|
|
"wx" : "00b21ecd48cc46fb306ed54e88adb615208457bd257e7e9d81db5bd1f56100a7aebb1386465507bbf3",
|
|
"wy" : "0086224cb383815e1babe561dcb6f49af0073e1bfda366066ef62440fc81dec7eca021cb0c05091dfb"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004b21ecd48cc46fb306ed54e88adb615208457bd257e7e9d81db5bd1f56100a7aebb1386465507bbf386224cb383815e1babe561dcb6f49af0073e1bfda366066ef62440fc81dec7eca021cb0c05091dfb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABLIezUjMRvswbtVOiK22FSCEV70l\nfn6dgdtb0fVhAKeuuxOGRlUHu/OGIkyzg4FeG6vlYdy29JrwBz4b/aNmBm72JED8\ngd7H7KAhywwFCR37\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 990,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"msg" : "313233343030",
|
|
"sig" : "30420215014064fb4c224a8b248a0d933f7642bd56aced9b12022900d35e472036bc4fb7e13c785ed201e065f98fcfa5b68f12a32d482ec7ee8658e98691555b44c5930e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 991,
|
|
"comment" : "r too large",
|
|
"msg" : "313233343030",
|
|
"sig" : "3056022900d35e472036bc4fb7e13c785ed201e065f98fcfa6f6f40def4f92b9ec7893ec28fcd412b1f1b32e23022900d35e472036bc4fb7e13c785ed201e065f98fcfa5b68f12a32d482ec7ee8658e98691555b44c5930e",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "049c9701de2ffdb296e6d56a5f3c189ecbb0e4448e38ed65da46eeaa51a7b34e650a91da95faf179001e0a98a598523a34c4918d4180f87d641e4626ce11fa3a244abfb2450736693d38652309240ebda9",
|
|
"wx" : "009c9701de2ffdb296e6d56a5f3c189ecbb0e4448e38ed65da46eeaa51a7b34e650a91da95faf17900",
|
|
"wy" : "1e0a98a598523a34c4918d4180f87d641e4626ce11fa3a244abfb2450736693d38652309240ebda9"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200049c9701de2ffdb296e6d56a5f3c189ecbb0e4448e38ed65da46eeaa51a7b34e650a91da95faf179001e0a98a598523a34c4918d4180f87d641e4626ce11fa3a244abfb2450736693d38652309240ebda9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABJyXAd4v/bKW5tVqXzwYnsuw5ESO\nOO1l2kbuqlGns05lCpHalfrxeQAeCpilmFI6NMSRjUGA+H1kHkYmzhH6OiRKv7JF\nBzZpPThlIwkkDr2p\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 992,
|
|
"comment" : "r,s are large",
|
|
"msg" : "313233343030",
|
|
"sig" : "3056022900d35e472036bc4fb7e13c785ed201e065f98fcfa5b68f12a32d482ec7ee8658e98691555b44c5930f022900d35e472036bc4fb7e13c785ed201e065f98fcfa5b68f12a32d482ec7ee8658e98691555b44c5930e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b6f0ddc834ef8a67903681ea02b788fcff82d12307c8c3f4a44b30d7c5f614dafcc9a839991f8ee427538e30ae5102b2043957dd6124fba3a1b601c04bddaf6c929ffdf2f7796fd7098c387dbc0b26fb",
|
|
"wx" : "00b6f0ddc834ef8a67903681ea02b788fcff82d12307c8c3f4a44b30d7c5f614dafcc9a839991f8ee4",
|
|
"wy" : "27538e30ae5102b2043957dd6124fba3a1b601c04bddaf6c929ffdf2f7796fd7098c387dbc0b26fb"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004b6f0ddc834ef8a67903681ea02b788fcff82d12307c8c3f4a44b30d7c5f614dafcc9a839991f8ee427538e30ae5102b2043957dd6124fba3a1b601c04bddaf6c929ffdf2f7796fd7098c387dbc0b26fb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABLbw3cg074pnkDaB6gK3iPz/gtEj\nB8jD9KRLMNfF9hTa/MmoOZkfjuQnU44wrlECsgQ5V91hJPujobYBwEvdr2ySn/3y\n93lv1wmMOH28Cyb7\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 993,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0229008c0736554dbc446063e8e15f297fd4b66fa8879945bbb5c22714a9645f4fa4ef9d710eafa6b226d8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046df44321d4a5f6af63e01b79bb608ea04ac6f35f795044a04ff400f547fd34d9b78c12c45978f96fb52901cece48aab432c3dbdcbc0e270b2cc9b9915cc1ffb69a365d84c39186c48177387aa9ee0a48",
|
|
"wx" : "6df44321d4a5f6af63e01b79bb608ea04ac6f35f795044a04ff400f547fd34d9b78c12c45978f96f",
|
|
"wy" : "00b52901cece48aab432c3dbdcbc0e270b2cc9b9915cc1ffb69a365d84c39186c48177387aa9ee0a48"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200046df44321d4a5f6af63e01b79bb608ea04ac6f35f795044a04ff400f547fd34d9b78c12c45978f96fb52901cece48aab432c3dbdcbc0e270b2cc9b9915cc1ffb69a365d84c39186c48177387aa9ee0a48",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABG30QyHUpfavY+AbebtgjqBKxvNf\neVBEoE/0APVH/TTZt4wSxFl4+W+1KQHOzkiqtDLD29y8DicLLMm5kVzB/7aaNl2E\nw5GGxIF3OHqp7gpI\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 994,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff02285407cdd593acb501fc2848351f9d2e6b5457d3de43c3130e3b74e6a9242b3cce1c24f094f118bcd6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044e496f056ab5d07f96562c683643440e31fea26d35e6c5b69eefaa4107d345c807bf279f2ea26b60288539766fc726cb9e841db5dcfbbb792cade3c1ef64b69dcbda7f5e497b455a911ce2f0ebcacaad",
|
|
"wx" : "4e496f056ab5d07f96562c683643440e31fea26d35e6c5b69eefaa4107d345c807bf279f2ea26b60",
|
|
"wy" : "288539766fc726cb9e841db5dcfbbb792cade3c1ef64b69dcbda7f5e497b455a911ce2f0ebcacaad"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200044e496f056ab5d07f96562c683643440e31fea26d35e6c5b69eefaa4107d345c807bf279f2ea26b60288539766fc726cb9e841db5dcfbbb792cade3c1ef64b69dcbda7f5e497b455a911ce2f0ebcacaad",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABE5JbwVqtdB/llYsaDZDRA4x/qJt\nNebFtp7vqkEH00XIB78nny6ia2AohTl2b8cmy56EHbXc+7t5LK3jwe9ktp3L2n9e\nSXtFWpEc4vDrysqt\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 995,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0411e094f470948e4eaa6aa13fab4e063386e91a638fa226d988d0693dea719ca95f61e493e9835af43f533e89aa2085a9f8121086a2597f1060f73c8d75d66940e50eead73dfd03c476ea1947cdd4dd3f",
|
|
"wx" : "11e094f470948e4eaa6aa13fab4e063386e91a638fa226d988d0693dea719ca95f61e493e9835af4",
|
|
"wy" : "3f533e89aa2085a9f8121086a2597f1060f73c8d75d66940e50eead73dfd03c476ea1947cdd4dd3f"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000411e094f470948e4eaa6aa13fab4e063386e91a638fa226d988d0693dea719ca95f61e493e9835af43f533e89aa2085a9f8121086a2597f1060f73c8d75d66940e50eead73dfd03c476ea1947cdd4dd3f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABBHglPRwlI5OqmqhP6tOBjOG6Rpj\nj6Im2YjQaT3qcZypX2Hkk+mDWvQ/Uz6JqiCFqfgSEIaiWX8QYPc8jXXWaUDlDurX\nPf0DxHbqGUfN1N0/\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 996,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020102",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0416517a7d7beab6472ea8f6bc20412a3cd96d242c246ce9f983b2ef08b284cfad1ac28563b56edafb9f56fe2df78c239aa16c3c318bc9191a16ec407a700354173f8b862d9a0aa10d67397f26e7c9c0be",
|
|
"wx" : "16517a7d7beab6472ea8f6bc20412a3cd96d242c246ce9f983b2ef08b284cfad1ac28563b56edafb",
|
|
"wy" : "009f56fe2df78c239aa16c3c318bc9191a16ec407a700354173f8b862d9a0aa10d67397f26e7c9c0be"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000416517a7d7beab6472ea8f6bc20412a3cd96d242c246ce9f983b2ef08b284cfad1ac28563b56edafb9f56fe2df78c239aa16c3c318bc9191a16ec407a700354173f8b862d9a0aa10d67397f26e7c9c0be",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABBZRen176rZHLqj2vCBBKjzZbSQs\nJGzp+YOy7wiyhM+tGsKFY7Vu2vufVv4t94wjmqFsPDGLyRkaFuxAenADVBc/i4Yt\nmgqhDWc5fybnycC+\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 997,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020103",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 998,
|
|
"comment" : "r is larger than n",
|
|
"msg" : "313233343030",
|
|
"sig" : "302e022900d35e472036bc4fb7e13c785ed201e065f98fcfa5b68f12a32d482ec7ee8658e98691555b44c59312020103",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043a2668bc09614d2638ed58f1c421bb61f2d499a86fe7d573bd1392acef9e296b1ef2b10d7f4ec524d1b78eb2716ce668054d29677c6f4d3235f27d3a9295ecef9ddfd2f658ba002052d0e1e671721e2e",
|
|
"wx" : "3a2668bc09614d2638ed58f1c421bb61f2d499a86fe7d573bd1392acef9e296b1ef2b10d7f4ec524",
|
|
"wy" : "00d1b78eb2716ce668054d29677c6f4d3235f27d3a9295ecef9ddfd2f658ba002052d0e1e671721e2e"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200043a2668bc09614d2638ed58f1c421bb61f2d499a86fe7d573bd1392acef9e296b1ef2b10d7f4ec524d1b78eb2716ce668054d29677c6f4d3235f27d3a9295ecef9ddfd2f658ba002052d0e1e671721e2e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABDomaLwJYU0mOO1Y8cQhu2Hy1Jmo\nb+fVc70TkqzvnilrHvKxDX9OxSTRt46ycWzmaAVNKWd8b00yNfJ9OpKV7O+d39L2\nWLoAIFLQ4eZxch4u\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 999,
|
|
"comment" : "s is larger than n",
|
|
"msg" : "313233343030",
|
|
"sig" : "302e020101022900d35e472036bc4fb7e13c785ed201e065f98fcfa5b68f12a32d482ec7ee8658e98691555b44d86998",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04cd1697c6e107f3d90b8df462eb368b75eba585635950177e0a64b1ad4be527c90957fbdf203d67c84b003f20e81659099b7e466618f2610c6f1df315b2011db07b90f3662b51561fffdf3ebb5d443440",
|
|
"wx" : "00cd1697c6e107f3d90b8df462eb368b75eba585635950177e0a64b1ad4be527c90957fbdf203d67c8",
|
|
"wy" : "4b003f20e81659099b7e466618f2610c6f1df315b2011db07b90f3662b51561fffdf3ebb5d443440"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004cd1697c6e107f3d90b8df462eb368b75eba585635950177e0a64b1ad4be527c90957fbdf203d67c84b003f20e81659099b7e466618f2610c6f1df315b2011db07b90f3662b51561fffdf3ebb5d443440",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABM0Wl8bhB/PZC430Yus2i3XrpYVj\nWVAXfgpksa1L5SfJCVf73yA9Z8hLAD8g6BZZCZt+RmYY8mEMbx3zFbIBHbB7kPNm\nK1FWH//fPrtdRDRA\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1000,
|
|
"comment" : "small r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "302e02020100022821494db879806d4f59e53d4963977a03f6ec51140c9f9a1dba8857ff3bbc76d2214947e60edc982b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b1e3619d9e35873e959bb7de7740e927e3cb7fcf4413bfdbbed72ecc9a86a50d7029cae08ec285ab486b5d2f7c9b9314420bc864cfe29b4064bf7b922bbb5bbcd16f3a81ea7d0a61b0a09a62959b7690",
|
|
"wx" : "00b1e3619d9e35873e959bb7de7740e927e3cb7fcf4413bfdbbed72ecc9a86a50d7029cae08ec285ab",
|
|
"wy" : "486b5d2f7c9b9314420bc864cfe29b4064bf7b922bbb5bbcd16f3a81ea7d0a61b0a09a62959b7690"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004b1e3619d9e35873e959bb7de7740e927e3cb7fcf4413bfdbbed72ecc9a86a50d7029cae08ec285ab486b5d2f7c9b9314420bc864cfe29b4064bf7b922bbb5bbcd16f3a81ea7d0a61b0a09a62959b7690",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABLHjYZ2eNYc+lZu33ndA6Sfjy3/P\nRBO/277XLsyahqUNcCnK4I7ChatIa10vfJuTFEILyGTP4ptAZL97kiu7W7zRbzqB\n6n0KYbCgmmKVm3aQ\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1001,
|
|
"comment" : "smallish r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "303302072d9b4d347952cc022843becc876a63564b458280199e382cbad8ef68d406665bbf307ffea45845a9ac69345a84a5a72b87",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0497cfebab588a54242a4d962ef803376c3f43079aa50a8871d6e776f7a0b33aea46ab9a2da63a33d8c81af34af2e9a0c571effb501c4a27fd2aedc13623447af2bc8b6d5e7208c23e87e2d797cc3cf57e",
|
|
"wx" : "0097cfebab588a54242a4d962ef803376c3f43079aa50a8871d6e776f7a0b33aea46ab9a2da63a33d8",
|
|
"wy" : "00c81af34af2e9a0c571effb501c4a27fd2aedc13623447af2bc8b6d5e7208c23e87e2d797cc3cf57e"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000497cfebab588a54242a4d962ef803376c3f43079aa50a8871d6e776f7a0b33aea46ab9a2da63a33d8c81af34af2e9a0c571effb501c4a27fd2aedc13623447af2bc8b6d5e7208c23e87e2d797cc3cf57e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABJfP66tYilQkKk2WLvgDN2w/Qwea\npQqIcdbndvegszrqRquaLaY6M9jIGvNK8umgxXHv+1AcSif9Ku3BNiNEevK8i21e\ncgjCPofi15fMPPV+\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1002,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3039020d1033e67e37b32b445580bf4efc02283992353d916617b49303856488e39fbc26173b8bc426f8207de3d8f1b97f3d12c803b99d57768fa7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04296e0067947efc07a06ae218fb00164d1ebebcd3787f793481407e2796248e8b65eac57db0c14606729e8094b9a54eeac23d98d51d662eff2df33a8693008fd02a0429ef6851ecbdcd93aac67c2fbdb6",
|
|
"wx" : "296e0067947efc07a06ae218fb00164d1ebebcd3787f793481407e2796248e8b65eac57db0c14606",
|
|
"wy" : "729e8094b9a54eeac23d98d51d662eff2df33a8693008fd02a0429ef6851ecbdcd93aac67c2fbdb6"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004296e0067947efc07a06ae218fb00164d1ebebcd3787f793481407e2796248e8b65eac57db0c14606729e8094b9a54eeac23d98d51d662eff2df33a8693008fd02a0429ef6851ecbdcd93aac67c2fbdb6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABCluAGeUfvwHoGriGPsAFk0evrzT\neH95NIFAfieWJI6LZerFfbDBRgZynoCUuaVO6sI9mNUdZi7/LfM6hpMAj9AqBCnv\naFHsvc2TqsZ8L722\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1003,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "302f0202010002290084380881b243236967227191398a3a4909000425576c79465bdaaa0a03267b9e48f68fa0a68b29e3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a3783b01455d92080f520d171f92abeaf48c7238e168b2931f2b322f9c0faa69a24097836cb0a6851cbf1a22bac2437551244605682dabcdd4cf39ff9d08443921c99448cbcea5deb85ad952dbb2b967",
|
|
"wx" : "00a3783b01455d92080f520d171f92abeaf48c7238e168b2931f2b322f9c0faa69a24097836cb0a685",
|
|
"wy" : "1cbf1a22bac2437551244605682dabcdd4cf39ff9d08443921c99448cbcea5deb85ad952dbb2b967"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004a3783b01455d92080f520d171f92abeaf48c7238e168b2931f2b322f9c0faa69a24097836cb0a6851cbf1a22bac2437551244605682dabcdd4cf39ff9d08443921c99448cbcea5deb85ad952dbb2b967",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABKN4OwFFXZIID1INFx+Sq+r0jHI4\n4Wiykx8rMi+cD6ppokCXg2ywpoUcvxoiusJDdVEkRgVoLavN1M85/50IRDkhyZRI\ny86l3rha2VLbsrln\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1004,
|
|
"comment" : "100-bit r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "303a020d062522bbd3ecbe7c39e93e7c2402290084380881b243236967227191398a3a4909000425576c79465bdaaa0a03267b9e48f68fa0a68b29e3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0470d5fd41c416d5b7cdbcb944205bd69ff00ed6354aa502757e089cb19af6f777beb0f6921c0fafac22ae7cc65e0e7b617423750b8493a58512e379c00de626c17f7c82bfc907f26610a3f1e4d132c575",
|
|
"wx" : "70d5fd41c416d5b7cdbcb944205bd69ff00ed6354aa502757e089cb19af6f777beb0f6921c0fafac",
|
|
"wy" : "22ae7cc65e0e7b617423750b8493a58512e379c00de626c17f7c82bfc907f26610a3f1e4d132c575"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000470d5fd41c416d5b7cdbcb944205bd69ff00ed6354aa502757e089cb19af6f777beb0f6921c0fafac22ae7cc65e0e7b617423750b8493a58512e379c00de626c17f7c82bfc907f26610a3f1e4d132c575",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABHDV/UHEFtW3zby5RCBb1p/wDtY1\nSqUCdX4InLGa9vd3vrD2khwPr6wirnzGXg57YXQjdQuEk6WFEuN5wA3mJsF/fIK/\nyQfyZhCj8eTRMsV1\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1005,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"msg" : "313233343030",
|
|
"sig" : "3056022900d35e472036bc4fb7e13c785ed201e065f98fcfa5b68f12a32d482ec7ee8658e98691555b44c592940229008ce984c0247d8a7a9628503f36abeaeea65fdfc3cf0a0c6cc8dac9da9f043b4659b638e7832e620b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0406828ce63f3b0d694ce2999d06947fa9e2d1c18ab8032652fa7a98c678cf6bb2c52e7369085e4ef7c56df69128962fbefc2aef1b3f6c467b72fc305acf51b339643ca2ed6bde56317c4cf59895923ded",
|
|
"wx" : "06828ce63f3b0d694ce2999d06947fa9e2d1c18ab8032652fa7a98c678cf6bb2c52e7369085e4ef7",
|
|
"wy" : "00c56df69128962fbefc2aef1b3f6c467b72fc305acf51b339643ca2ed6bde56317c4cf59895923ded"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000406828ce63f3b0d694ce2999d06947fa9e2d1c18ab8032652fa7a98c678cf6bb2c52e7369085e4ef7c56df69128962fbefc2aef1b3f6c467b72fc305acf51b339643ca2ed6bde56317c4cf59895923ded",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABAaCjOY/Ow1pTOKZnQaUf6ni0cGK\nuAMmUvp6mMZ4z2uyxS5zaQheTvfFbfaRKJYvvvwq7xs/bEZ7cvwwWs9RszlkPKLt\na95WMXxM9ZiVkj3t\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1006,
|
|
"comment" : "s == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "302d02284674c260123ec53d4b14281f9b55f577532fefe1e7850636646d64ed4f821da32cdb1c73c1973105020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1007,
|
|
"comment" : "s == 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "302d02284674c260123ec53d4b14281f9b55f577532fefe1e7850636646d64ed4f821da32cdb1c73c1973105020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04202516ad663775f12155521079037f3fca50c64faa4afd886add4daab927f3f62aa2dae684a635d6632aedd530e61dab35916962ee8f23ed688198afd5ad6b0705e2ef9d0ba3c5333b15bdab432ee342",
|
|
"wx" : "202516ad663775f12155521079037f3fca50c64faa4afd886add4daab927f3f62aa2dae684a635d6",
|
|
"wy" : "632aedd530e61dab35916962ee8f23ed688198afd5ad6b0705e2ef9d0ba3c5333b15bdab432ee342"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004202516ad663775f12155521079037f3fca50c64faa4afd886add4daab927f3f62aa2dae684a635d6632aedd530e61dab35916962ee8f23ed688198afd5ad6b0705e2ef9d0ba3c5333b15bdab432ee342",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABCAlFq1mN3XxIVVSEHkDfz/KUMZP\nqkr9iGrdTaq5J/P2KqLa5oSmNdZjKu3VMOYdqzWRaWLujyPtaIGYr9WtawcF4u+d\nC6PFMzsVvatDLuNC\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1008,
|
|
"comment" : "point at infinity during verify",
|
|
"msg" : "313233343030",
|
|
"sig" : "3054022869af23901b5e27dbf09e3c2f6900f032fcc7e7d2db47895196a41763f7432c74c348aaada262c98802284674c260123ec53d4b14281f9b55f577532fefe1e7850636646d64ed4f821da32cdb1c73c1973105",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04823a830c58d9dd370f687ff819142b644ac9dc18a94681e2245eb22f27e333e62fece397231769da36a7e237ea2f3e2472de147e166ce4bd8248208df538ac00f5b2299e2d729b0dd80e3e106c060844",
|
|
"wx" : "00823a830c58d9dd370f687ff819142b644ac9dc18a94681e2245eb22f27e333e62fece397231769da",
|
|
"wy" : "36a7e237ea2f3e2472de147e166ce4bd8248208df538ac00f5b2299e2d729b0dd80e3e106c060844"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004823a830c58d9dd370f687ff819142b644ac9dc18a94681e2245eb22f27e333e62fece397231769da36a7e237ea2f3e2472de147e166ce4bd8248208df538ac00f5b2299e2d729b0dd80e3e106c060844",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABII6gwxY2d03D2h/+BkUK2RKydwY\nqUaB4iResi8n4zPmL+zjlyMXado2p+I36i8+JHLeFH4WbOS9gkggjfU4rAD1sime\nLXKbDdgOPhBsBghE\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1009,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "313233343030",
|
|
"sig" : "3054022869af23901b5e27dbf09e3c2f6900f032fcc7e7d2db47895196a41763f7432c74c348aaada262c988022869af23901b5e27dbf09e3c2f6900f032fcc7e7d2db47895196a41763f7432c74c348aaada262c988",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04387a759284f65d2d93f541f2766f846abdec239190e8cddba9b7564a83d58162a489f25f0d43b4f8424625a6c1e1589474c30e6383c925b363239d1a87b9634fd8aac2eb0ce39e3763873de77358bd4b",
|
|
"wx" : "387a759284f65d2d93f541f2766f846abdec239190e8cddba9b7564a83d58162a489f25f0d43b4f8",
|
|
"wy" : "424625a6c1e1589474c30e6383c925b363239d1a87b9634fd8aac2eb0ce39e3763873de77358bd4b"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004387a759284f65d2d93f541f2766f846abdec239190e8cddba9b7564a83d58162a489f25f0d43b4f8424625a6c1e1589474c30e6383c925b363239d1a87b9634fd8aac2eb0ce39e3763873de77358bd4b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABDh6dZKE9l0tk/VB8nZvhGq97COR\nkOjN26m3VkqD1YFipInyXw1DtPhCRiWmweFYlHTDDmODySWzYyOdGoe5Y0/YqsLr\nDOOeN2OHPedzWL1L\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1010,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "313233343030",
|
|
"sig" : "3054022869af23901b5e27dbf09e3c2f6900f032fcc7e7d2db47895196a41763f7432c74c348aaada262c988022869af23901b5e27dbf09e3c2f6900f032fcc7e7d2db47895196a41763f7432c74c348aaada262c989",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046b4327117e9c04d7a58259c5207a36e8d278e873b92b5b3a70a3c4742cc583b41408aaab23a12a9c9b0b26160c548abacd7f0e37276f917c09721b3844d0b26e9ed5c76c99787992259bf0f7b02445d3",
|
|
"wx" : "6b4327117e9c04d7a58259c5207a36e8d278e873b92b5b3a70a3c4742cc583b41408aaab23a12a9c",
|
|
"wy" : "009b0b26160c548abacd7f0e37276f917c09721b3844d0b26e9ed5c76c99787992259bf0f7b02445d3"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200046b4327117e9c04d7a58259c5207a36e8d278e873b92b5b3a70a3c4742cc583b41408aaab23a12a9c9b0b26160c548abacd7f0e37276f917c09721b3844d0b26e9ed5c76c99787992259bf0f7b02445d3",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABGtDJxF+nATXpYJZxSB6NujSeOhz\nuStbOnCjxHQsxYO0FAiqqyOhKpybCyYWDFSKus1/Djcnb5F8CXIbOETQsm6e1cds\nmXh5kiWb8PewJEXT\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1011,
|
|
"comment" : "u1 == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502284674c260123ec53d4b14281f9b55f577532fefe1e7850636646d64ed4f821da32cdb1c73c1973105022900f9b127f0d81ebcd17b7ba0ea131c660d340b05ce557c82160e0f793de07d38179023942871acb700",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04277f487faf77a65dbb791536e863b8c70f904fcdcaf52740d4bd5c469731e58ea6bd53e8d77202282d346f2b4ca7bacb882fef749c2713f1a75f00827e8b9b9f744a0e1e34bcf80799a120950de95d99",
|
|
"wx" : "277f487faf77a65dbb791536e863b8c70f904fcdcaf52740d4bd5c469731e58ea6bd53e8d7720228",
|
|
"wy" : "2d346f2b4ca7bacb882fef749c2713f1a75f00827e8b9b9f744a0e1e34bcf80799a120950de95d99"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004277f487faf77a65dbb791536e863b8c70f904fcdcaf52740d4bd5c469731e58ea6bd53e8d77202282d346f2b4ca7bacb882fef749c2713f1a75f00827e8b9b9f744a0e1e34bcf80799a120950de95d99",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABCd/SH+vd6Zdu3kVNuhjuMcPkE/N\nyvUnQNS9XEaXMeWOpr1T6NdyAigtNG8rTKe6y4gv73ScJxPxp18Agn6Lm590Sg4e\nNLz4B5mhIJUN6V2Z\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1012,
|
|
"comment" : "u1 == n - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502284674c260123ec53d4b14281f9b55f577532fefe1e7850636646d64ed4f821da32cdb1c73c1973105022900ad0b664f9559e29e46fd4fd390e75abebf14997d17a1a3304c80e451fc8f79bb7cff168e17de6f22",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0473bd62f3bb329d65092b5d13c5746d462401d2600994d8fe2ec5ef5b9f3399084b1ddc64cb334baec1d1ac4f9a0c2a79ef7ccc4ae9165ddfa76138235718cf24032c33f9db4a26b2b03692a56f5202eb",
|
|
"wx" : "73bd62f3bb329d65092b5d13c5746d462401d2600994d8fe2ec5ef5b9f3399084b1ddc64cb334bae",
|
|
"wy" : "00c1d1ac4f9a0c2a79ef7ccc4ae9165ddfa76138235718cf24032c33f9db4a26b2b03692a56f5202eb"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000473bd62f3bb329d65092b5d13c5746d462401d2600994d8fe2ec5ef5b9f3399084b1ddc64cb334baec1d1ac4f9a0c2a79ef7ccc4ae9165ddfa76138235718cf24032c33f9db4a26b2b03692a56f5202eb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABHO9YvO7Mp1lCStdE8V0bUYkAdJg\nCZTY/i7F71ufM5kISx3cZMszS67B0axPmgwqee98zErpFl3fp2E4I1cYzyQDLDP5\n20omsrA2kqVvUgLr\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1013,
|
|
"comment" : "u2 == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402284674c260123ec53d4b14281f9b55f577532fefe1e7850636646d64ed4f821da32cdb1c73c197310502284674c260123ec53d4b14281f9b55f577532fefe1e7850636646d64ed4f821da32cdb1c73c1973105",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0420a75551035db95d7a1a673d464d276da0861008e4644c582bc10a1beeaeb070823fd064a2625ebb5d47f0c77fc57e3bb0e153bbc7e9bbde8db98b0c46c58154af5b9786b10ba12ab3ba8533a3992883",
|
|
"wx" : "20a75551035db95d7a1a673d464d276da0861008e4644c582bc10a1beeaeb070823fd064a2625ebb",
|
|
"wy" : "5d47f0c77fc57e3bb0e153bbc7e9bbde8db98b0c46c58154af5b9786b10ba12ab3ba8533a3992883"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000420a75551035db95d7a1a673d464d276da0861008e4644c582bc10a1beeaeb070823fd064a2625ebb5d47f0c77fc57e3bb0e153bbc7e9bbde8db98b0c46c58154af5b9786b10ba12ab3ba8533a3992883",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABCCnVVEDXbldehpnPUZNJ22ghhAI\n5GRMWCvBChvurrBwgj/QZKJiXrtdR/DHf8V+O7DhU7vH6bvejbmLDEbFgVSvW5eG\nsQuhKrO6hTOjmSiD\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1014,
|
|
"comment" : "u2 == n - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502284674c260123ec53d4b14281f9b55f577532fefe1e7850636646d64ed4f821da32cdb1c73c19731050229008ce984c0247d8a7a9628503f36abeaeea65fdfc3cf0a0c6cc8dac9da9f043b4659b638e7832e620c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043f436d07cb0264b13f92fd696334a4e51b7d6619e2d043b2d0d278963f2516200ef905ebf671666340e642b6c966072b79278003651128879f19dee01273b66bead8045194277c9284093348d90569b1",
|
|
"wx" : "3f436d07cb0264b13f92fd696334a4e51b7d6619e2d043b2d0d278963f2516200ef905ebf6716663",
|
|
"wy" : "40e642b6c966072b79278003651128879f19dee01273b66bead8045194277c9284093348d90569b1"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200043f436d07cb0264b13f92fd696334a4e51b7d6619e2d043b2d0d278963f2516200ef905ebf671666340e642b6c966072b79278003651128879f19dee01273b66bead8045194277c9284093348d90569b1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABD9DbQfLAmSxP5L9aWM0pOUbfWYZ\n4tBDstDSeJY/JRYgDvkF6/ZxZmNA5kK2yWYHK3kngANlESiHnxne4BJztmvq2ARR\nlCd8koQJM0jZBWmx\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1015,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02280cc64af035cb79b3336a62d915b381e268d3bcb834f9cfd0f597c37ca5fcf50f588614ef0ef7b6a5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04c16fbe6d0d77327cf9a65f987c2fe7ee1807851c0e1c8bc4f0622807dcd4a88b3b912eb0475471e575421c40540050507a163f23cc7cb90acc52822d01d245ab70dcaac06e2ea644327a85f595d026ef",
|
|
"wx" : "00c16fbe6d0d77327cf9a65f987c2fe7ee1807851c0e1c8bc4f0622807dcd4a88b3b912eb0475471e5",
|
|
"wy" : "75421c40540050507a163f23cc7cb90acc52822d01d245ab70dcaac06e2ea644327a85f595d026ef"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004c16fbe6d0d77327cf9a65f987c2fe7ee1807851c0e1c8bc4f0622807dcd4a88b3b912eb0475471e575421c40540050507a163f23cc7cb90acc52822d01d245ab70dcaac06e2ea644327a85f595d026ef",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABMFvvm0NdzJ8+aZfmHwv5+4YB4Uc\nDhyLxPBiKAfc1KiLO5EusEdUceV1QhxAVABQUHoWPyPMfLkKzFKCLQHSRatw3KrA\nbi6mRDJ6hfWV0Cbv\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1016,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0229008e765d0d1cf9539f682a4155b6d60eb6aa6862b2af9e9d3f94c9ad46d332f0e029775522815c0e5a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04be924007d6e22b944ac76da7fc2660d1aefab69471bd835bd78edd2c10621e76f718bfd0a5e2307ec62583d5ba5cc1c547630476b399866e7ed953b538f76c86afe9cfd0854b57e33691c77e444ccab8",
|
|
"wx" : "00be924007d6e22b944ac76da7fc2660d1aefab69471bd835bd78edd2c10621e76f718bfd0a5e2307e",
|
|
"wy" : "00c62583d5ba5cc1c547630476b399866e7ed953b538f76c86afe9cfd0854b57e33691c77e444ccab8"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004be924007d6e22b944ac76da7fc2660d1aefab69471bd835bd78edd2c10621e76f718bfd0a5e2307ec62583d5ba5cc1c547630476b399866e7ed953b538f76c86afe9cfd0854b57e33691c77e444ccab8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABL6SQAfW4iuUSsdtp/wmYNGu+raU\ncb2DW9eO3SwQYh529xi/0KXiMH7GJYPVulzBxUdjBHazmYZuftlTtTj3bIav6c/Q\nhUtX4zaRx35ETMq4\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1017,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02287225a960d967cfe52ac126a50fd79fa85a586397c0b298c8adfaf138317b0f794b24f53bd920c1cf",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04acf240130d47d4a57d606595f989129fea7e9744b1e53f5ce679c244c85af35c618607e2ecce1a431b696a7959fe30d049100dd54258181b08a2fe442e41ff29523c11a3e01028eb64b321c2b702579c",
|
|
"wx" : "00acf240130d47d4a57d606595f989129fea7e9744b1e53f5ce679c244c85af35c618607e2ecce1a43",
|
|
"wy" : "1b696a7959fe30d049100dd54258181b08a2fe442e41ff29523c11a3e01028eb64b321c2b702579c"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004acf240130d47d4a57d606595f989129fea7e9744b1e53f5ce679c244c85af35c618607e2ecce1a431b696a7959fe30d049100dd54258181b08a2fe442e41ff29523c11a3e01028eb64b321c2b702579c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABKzyQBMNR9SlfWBllfmJEp/qfpdE\nseU/XOZ5wkTIWvNcYYYH4uzOGkMbaWp5Wf4w0EkQDdVCWBgbCKL+RC5B/ylSPBGj\n4BAo62SzIcK3Alec\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1018,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022900874f311b6b9ac74fc34c60c0941873651b3c0ec1d097a7861e0c7fbec3226f23a5e2c929d856ecb3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0446243b39e77639ac19e9be53669317d9598e03ec30a0cf6930f800009833826a59ade5321933ff2f69d770b978ccc36c90b748e5010636e7004ddc19885da7bb90dbfad479fc52dce4b9281405f1c6bd",
|
|
"wx" : "46243b39e77639ac19e9be53669317d9598e03ec30a0cf6930f800009833826a59ade5321933ff2f",
|
|
"wy" : "69d770b978ccc36c90b748e5010636e7004ddc19885da7bb90dbfad479fc52dce4b9281405f1c6bd"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000446243b39e77639ac19e9be53669317d9598e03ec30a0cf6930f800009833826a59ade5321933ff2f69d770b978ccc36c90b748e5010636e7004ddc19885da7bb90dbfad479fc52dce4b9281405f1c6bd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABEYkOznndjmsGem+U2aTF9lZjgPs\nMKDPaTD4AACYM4JqWa3lMhkz/y9p13C5eMzDbJC3SOUBBjbnAE3cGYhdp7uQ2/rU\nefxS3OS5KBQF8ca9\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1019,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022813753ac90fbc7edfdcb32e1697fdfd41b1fb59c5ad177e96feacc87522ef928de80a60bb0f32e7e2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b4b9b6ba3c0e7509c275894e84e818d71de14577bdb4bf0b8e5e1332d1087f3c333b73e8ab75f2c94f33d0e2ab342d2e1968ce3e1c47be87e39ee88273ae4cf777869d3a1703b63a983d2d43c59303e5",
|
|
"wx" : "00b4b9b6ba3c0e7509c275894e84e818d71de14577bdb4bf0b8e5e1332d1087f3c333b73e8ab75f2c9",
|
|
"wy" : "4f33d0e2ab342d2e1968ce3e1c47be87e39ee88273ae4cf777869d3a1703b63a983d2d43c59303e5"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004b4b9b6ba3c0e7509c275894e84e818d71de14577bdb4bf0b8e5e1332d1087f3c333b73e8ab75f2c94f33d0e2ab342d2e1968ce3e1c47be87e39ee88273ae4cf777869d3a1703b63a983d2d43c59303e5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABLS5tro8DnUJwnWJToToGNcd4UV3\nvbS/C45eEzLRCH88Mztz6Kt18slPM9DiqzQtLhlozj4cR76H457ognOuTPd3hp06\nFwO2Opg9LUPFkwPl\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1020,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022826ea75921f78fdbfb9665c2d2ffbfa8363f6b38b5a2efd2dfd5990ea45df251bd014c1761e65cfc4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0403015b3ca67683467c79446d4b93d10978330856eee40d6d58683ac73500ae315c5b582351c4226b18d89561d3ffa0f9311aa616547f7eb1d36e73a6cc4bd230df34a1f319be66bcb2fb0e1f68cc192e",
|
|
"wx" : "03015b3ca67683467c79446d4b93d10978330856eee40d6d58683ac73500ae315c5b582351c4226b",
|
|
"wy" : "18d89561d3ffa0f9311aa616547f7eb1d36e73a6cc4bd230df34a1f319be66bcb2fb0e1f68cc192e"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000403015b3ca67683467c79446d4b93d10978330856eee40d6d58683ac73500ae315c5b582351c4226b18d89561d3ffa0f9311aa616547f7eb1d36e73a6cc4bd230df34a1f319be66bcb2fb0e1f68cc192e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABAMBWzymdoNGfHlEbUuT0Ql4MwhW\n7uQNbVhoOsc1AK4xXFtYI1HEImsY2JVh0/+g+TEaphZUf36x025zpsxL0jDfNKHz\nGb5mvLL7Dh9ozBku\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1021,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0229009fee192930d30502c05e56adf086ecd13a92cd43ce0c72ea65ead43667890ae19be835333c32c5f0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04187d93f84a0e6043f097d0a87f8dca07739cf44548a7d3403e039e49c4c51285482975af54ec056c0623c57538fefb7231d619bbefd4cab373a54b361354e586b1d9981a8835e9c6beab082cb93e13b6",
|
|
"wx" : "187d93f84a0e6043f097d0a87f8dca07739cf44548a7d3403e039e49c4c51285482975af54ec056c",
|
|
"wy" : "0623c57538fefb7231d619bbefd4cab373a54b361354e586b1d9981a8835e9c6beab082cb93e13b6"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004187d93f84a0e6043f097d0a87f8dca07739cf44548a7d3403e039e49c4c51285482975af54ec056c0623c57538fefb7231d619bbefd4cab373a54b361354e586b1d9981a8835e9c6beab082cb93e13b6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABBh9k/hKDmBD8JfQqH+NygdznPRF\nSKfTQD4DnknExRKFSCl1r1TsBWwGI8V1OP77cjHWGbvv1Mqzc6VLNhNU5Yax2Zga\niDXpxr6rCCy5PhO2\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1022,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022900963f97cb35a321df62fc219eb2f3703949c483165d06db13c403080a86c1e5d9b43d2e8dd9643cde",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040855cc20351126b38f934fbb56c302f62a360e62493c2d529fb87caea0d71bfdaf5fcc3368d495fd1ce7578610cbec465398b2c1238b3e23b9e29b476196106430d76316aaf29937ace658b69c8bfb99",
|
|
"wx" : "0855cc20351126b38f934fbb56c302f62a360e62493c2d529fb87caea0d71bfdaf5fcc3368d495fd",
|
|
"wy" : "1ce7578610cbec465398b2c1238b3e23b9e29b476196106430d76316aaf29937ace658b69c8bfb99"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200040855cc20351126b38f934fbb56c302f62a360e62493c2d529fb87caea0d71bfdaf5fcc3368d495fd1ce7578610cbec465398b2c1238b3e23b9e29b476196106430d76316aaf29937ace658b69c8bfb99",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABAhVzCA1ESazj5NPu1bDAvYqNg5i\nSTwtUp+4fK6g1xv9r1/MM2jUlf0c51eGEMvsRlOYssEjiz4jueKbR2GWEGQw12MW\nqvKZN6zmWLaci/uZ\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1023,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022813dbff9e667e7bcd44950226f93b09738e793517c02886ae9f2b3dededa756c9049ab9a46bc7c93e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0494c54919004079be0db4c92dc1fc947d79eb0f8e869d94813886ada4254f1dadb4d87a6112a5833686d8b5beac00fafd647ef8b631e899a6a8b72a511d4f50ce156648ad9cb708fb2fb2c638fdb9f332",
|
|
"wx" : "0094c54919004079be0db4c92dc1fc947d79eb0f8e869d94813886ada4254f1dadb4d87a6112a58336",
|
|
"wy" : "0086d8b5beac00fafd647ef8b631e899a6a8b72a511d4f50ce156648ad9cb708fb2fb2c638fdb9f332"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000494c54919004079be0db4c92dc1fc947d79eb0f8e869d94813886ada4254f1dadb4d87a6112a5833686d8b5beac00fafd647ef8b631e899a6a8b72a511d4f50ce156648ad9cb708fb2fb2c638fdb9f332",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABJTFSRkAQHm+DbTJLcH8lH156w+O\nhp2UgTiGraQlTx2ttNh6YRKlgzaG2LW+rAD6/WR++LYx6JmmqLcqUR1PUM4VZkit\nnLcI+y+yxjj9ufMy\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1024,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022900852466cef316992b3ca25cc54b7f4fda2e8a819e7c4b040543e94f9caca02937681c2019bb49ee43",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042bca76043728b5eeefde89d25acdf2e0b160c5ae0ccdab6bd3baa479f17753c3c000ccf8ba8623de92f0c2d68a1bd405e449823fe63b21402aef3e9a017dcbc30af18bcc79a85264834398c72fa2bb16",
|
|
"wx" : "2bca76043728b5eeefde89d25acdf2e0b160c5ae0ccdab6bd3baa479f17753c3c000ccf8ba8623de",
|
|
"wy" : "0092f0c2d68a1bd405e449823fe63b21402aef3e9a017dcbc30af18bcc79a85264834398c72fa2bb16"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200042bca76043728b5eeefde89d25acdf2e0b160c5ae0ccdab6bd3baa479f17753c3c000ccf8ba8623de92f0c2d68a1bd405e449823fe63b21402aef3e9a017dcbc30af18bcc79a85264834398c72fa2bb16",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABCvKdgQ3KLXu796J0lrN8uCxYMWu\nDM2ra9O6pHnxd1PDwADM+LqGI96S8MLWihvUBeRJgj/mOyFAKu8+mgF9y8MK8YvM\neahSZINDmMcvorsW\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1025,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0228634bfe1800786b0256e90ac2de272f41c85e0976c0caa1691bd835a5a444b1ed1705a0361ae6ee36",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041c013b3a3260ccfb53e3f6ce93e6984865dc8e1293e92301f4cb3a554bd5da8a53ee101b3e1a300997d2901e26729303e1cb93a8b72dc2afc90ff5b44fd5b6624455487974ed71c7833eff03cc128d0c",
|
|
"wx" : "1c013b3a3260ccfb53e3f6ce93e6984865dc8e1293e92301f4cb3a554bd5da8a53ee101b3e1a3009",
|
|
"wy" : "0097d2901e26729303e1cb93a8b72dc2afc90ff5b44fd5b6624455487974ed71c7833eff03cc128d0c"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200041c013b3a3260ccfb53e3f6ce93e6984865dc8e1293e92301f4cb3a554bd5da8a53ee101b3e1a300997d2901e26729303e1cb93a8b72dc2afc90ff5b44fd5b6624455487974ed71c7833eff03cc128d0c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABBwBOzoyYMz7U+P2zpPmmEhl3I4S\nk+kjAfTLOlVL1dqKU+4QGz4aMAmX0pAeJnKTA+HLk6i3LcKvyQ/1tE/VtmJEVUh5\ndO1xx4M+/wPMEo0M\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1026,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022900c697fc3000f0d604add21585bc4e5e8390bc12ed819542d237b06b4b488963da2e0b406c35cddc6c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04624bec4520e6044abed1eee4964668775181464c5d6bf5a8b539f1156f3248c02271bf9425b966b547f406bcc143226d814cdb988d76412ad186bdeeb869ad78a32fe87c76f2545447ddf8fbd0430811",
|
|
"wx" : "624bec4520e6044abed1eee4964668775181464c5d6bf5a8b539f1156f3248c02271bf9425b966b5",
|
|
"wy" : "47f406bcc143226d814cdb988d76412ad186bdeeb869ad78a32fe87c76f2545447ddf8fbd0430811"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004624bec4520e6044abed1eee4964668775181464c5d6bf5a8b539f1156f3248c02271bf9425b966b547f406bcc143226d814cdb988d76412ad186bdeeb869ad78a32fe87c76f2545447ddf8fbd0430811",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABGJL7EUg5gRKvtHu5JZGaHdRgUZM\nXWv1qLU58RVvMkjAInG/lCW5ZrVH9Aa8wUMibYFM25iNdkEq0Ya97rhprXijL+h8\ndvJUVEfd+PvQQwgR\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1027,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02285685b327caacf14f237ea7e9c873ad5f5f8a4cbe8bd0d19826407228fe47bcddbe7f8b470bef3791",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041b2b2738e3055d1596f64176cf0ac381b3a8178a2f021403350218fa18f9f860c1bba39fc524bc8209fbafca1afc5af7598b878d69cb875be0d39f41ff01b09388693eb310adc9d4836e226c23677e51",
|
|
"wx" : "1b2b2738e3055d1596f64176cf0ac381b3a8178a2f021403350218fa18f9f860c1bba39fc524bc82",
|
|
"wy" : "09fbafca1afc5af7598b878d69cb875be0d39f41ff01b09388693eb310adc9d4836e226c23677e51"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200041b2b2738e3055d1596f64176cf0ac381b3a8178a2f021403350218fa18f9f860c1bba39fc524bc8209fbafca1afc5af7598b878d69cb875be0d39f41ff01b09388693eb310adc9d4836e226c23677e51",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABBsrJzjjBV0VlvZBds8Kw4GzqBeK\nLwIUAzUCGPoY+fhgwbujn8UkvIIJ+6/KGvxa91mLh41py4db4NOfQf8BsJOIaT6z\nEK3J1INuImwjZ35R\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1028,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022900a2c1f84088120fce85fecf81f0ecc00729f4199ebba0d5b5eda190001000b43168db254b8ef32a70",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0440902bf6b239d2f3588260e9d7f512253fa44f308a0ab81dff05b8fa2e25814d65c2018d49390aae016f8ae5691938402adc0ffa29bb87ef0af0ecf3cd446d97c3e8d12b3b09eb78909c1b91b1b8785f",
|
|
"wx" : "40902bf6b239d2f3588260e9d7f512253fa44f308a0ab81dff05b8fa2e25814d65c2018d49390aae",
|
|
"wy" : "016f8ae5691938402adc0ffa29bb87ef0af0ecf3cd446d97c3e8d12b3b09eb78909c1b91b1b8785f"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000440902bf6b239d2f3588260e9d7f512253fa44f308a0ab81dff05b8fa2e25814d65c2018d49390aae016f8ae5691938402adc0ffa29bb87ef0af0ecf3cd446d97c3e8d12b3b09eb78909c1b91b1b8785f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABECQK/ayOdLzWIJg6df1EiU/pE8w\nigq4Hf8FuPouJYFNZcIBjUk5Cq4Bb4rlaRk4QCrcD/opu4fvCvDs881EbZfD6NEr\nOwnreJCcG5GxuHhf\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1029,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0228711f6d0abce96fe7f5bed2ca4600a021fdda9a8c922fb0e10f180f97fa2cc84dd785c71e6c41dbaf",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04726533e26773ac720a115b02de89ac15966677e239b7c577a1c15b81027b1feb73e673601e211aa92accb585bc06cc274b61c9e614746edd248d1cccf8d8b1ab4bc15cc58cdf116065ce9767f2a3223d",
|
|
"wx" : "726533e26773ac720a115b02de89ac15966677e239b7c577a1c15b81027b1feb73e673601e211aa9",
|
|
"wy" : "2accb585bc06cc274b61c9e614746edd248d1cccf8d8b1ab4bc15cc58cdf116065ce9767f2a3223d"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004726533e26773ac720a115b02de89ac15966677e239b7c577a1c15b81027b1feb73e673601e211aa92accb585bc06cc274b61c9e614746edd248d1cccf8d8b1ab4bc15cc58cdf116065ce9767f2a3223d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABHJlM+Jnc6xyChFbAt6JrBWWZnfi\nObfFd6HBW4ECex/rc+ZzYB4hGqkqzLWFvAbMJ0thyeYUdG7dJI0czPjYsatLwVzF\njN8RYGXOl2fyoyI9\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1030,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022802a6eb408443d24e96be4ca0278442a8a426087f9beb03ffe5526162bf1dc30434cf7ea79574b19b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0453c3da4de14f7d35775f9beca6d53ee78dac73cd3f18c6fbf709b4ffa7dd3e70b436409b9b285d1c2a5b60e457e58422c959142b5ecff236dfd76c99c3018cea904058099a13647db08898cfd0509e84",
|
|
"wx" : "53c3da4de14f7d35775f9beca6d53ee78dac73cd3f18c6fbf709b4ffa7dd3e70b436409b9b285d1c",
|
|
"wy" : "2a5b60e457e58422c959142b5ecff236dfd76c99c3018cea904058099a13647db08898cfd0509e84"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000453c3da4de14f7d35775f9beca6d53ee78dac73cd3f18c6fbf709b4ffa7dd3e70b436409b9b285d1c2a5b60e457e58422c959142b5ecff236dfd76c99c3018cea904058099a13647db08898cfd0509e84",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABFPD2k3hT301d1+b7KbVPueNrHPN\nPxjG+/cJtP+n3T5wtDZAm5soXRwqW2DkV+WEIslZFCtez/I239dsmcMBjOqQQFgJ\nmhNkfbCImM/QUJ6E\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1031,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022900b6ba1aecd240debe77213a4228b125603671c9d5147b6c0b36dd23e42b7cb5078a1b8fdf1b98b93a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04cd24ae7f7523adf859db92e51d48746b8b2f868620898a9c42f8bae8173e3646f586fd818712430e55b12d59f7344168f796fe59c026eaaa139745a8ace97df1d5c6bcc21f0cfa6860f9c8c75f391629",
|
|
"wx" : "00cd24ae7f7523adf859db92e51d48746b8b2f868620898a9c42f8bae8173e3646f586fd818712430e",
|
|
"wy" : "55b12d59f7344168f796fe59c026eaaa139745a8ace97df1d5c6bcc21f0cfa6860f9c8c75f391629"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004cd24ae7f7523adf859db92e51d48746b8b2f868620898a9c42f8bae8173e3646f586fd818712430e55b12d59f7344168f796fe59c026eaaa139745a8ace97df1d5c6bcc21f0cfa6860f9c8c75f391629",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABM0krn91I634WduS5R1IdGuLL4aG\nIImKnEL4uugXPjZG9Yb9gYcSQw5VsS1Z9zRBaPeW/lnAJuqqE5dFqKzpffHVxrzC\nHwz6aGD5yMdfORYp\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1032,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022900957b383ba1cebf5ca579ef6ed10027988f8424f42ffbea2e51b3340df9f8c3c60b558d6dc2df10f3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044db460209972c8e9c365119546ac457add157f0c4d2b3cd65c635dcaeca617029cabf75c06101bb69ef8b7626e6b2f9845b0086d2a964018b9b25eb8db426bc90694cc614b7602b1fd6087a9a71cbf1f",
|
|
"wx" : "4db460209972c8e9c365119546ac457add157f0c4d2b3cd65c635dcaeca617029cabf75c06101bb6",
|
|
"wy" : "009ef8b7626e6b2f9845b0086d2a964018b9b25eb8db426bc90694cc614b7602b1fd6087a9a71cbf1f"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200044db460209972c8e9c365119546ac457add157f0c4d2b3cd65c635dcaeca617029cabf75c06101bb69ef8b7626e6b2f9845b0086d2a964018b9b25eb8db426bc90694cc614b7602b1fd6087a9a71cbf1f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABE20YCCZcsjpw2URlUasRXrdFX8M\nTSs81lxjXcrsphcCnKv3XAYQG7ae+LdibmsvmEWwCG0qlkAYubJeuNtCa8kGlMxh\nS3YCsf1gh6mnHL8f\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1033,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02290098ff1db1b9affa33a2e53c684d3f07611772405e8c200f2af2afa9e53c6e8ef30cc143b3f5ff7fb0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043e7ab850840d75987d33837ead46499ce433f3fce67383b2e325dd2fc7e0f500769cbb67b4550a28c30314487a87094750334499dbfbeb2d5cb976ee2d47997321597a41124a038fe867be0ef668c4ce",
|
|
"wx" : "3e7ab850840d75987d33837ead46499ce433f3fce67383b2e325dd2fc7e0f500769cbb67b4550a28",
|
|
"wy" : "00c30314487a87094750334499dbfbeb2d5cb976ee2d47997321597a41124a038fe867be0ef668c4ce"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200043e7ab850840d75987d33837ead46499ce433f3fce67383b2e325dd2fc7e0f500769cbb67b4550a28c30314487a87094750334499dbfbeb2d5cb976ee2d47997321597a41124a038fe867be0ef668c4ce",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABD56uFCEDXWYfTODfq1GSZzkM/P8\n5nODsuMl3S/H4PUAdpy7Z7RVCijDAxRIeocJR1AzRJnb++stXLl27i1HmXMhWXpB\nEkoDj+hnvg72aMTO\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1034,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02285e9ff4433ca3a4af648e0071c87c2e5c3554b11761b10bb2b81725028a56c4fc92f1320ca7396c4f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047acc919934b0fd90011cd96f59ddba52e12094dac18a2cadcb03a0f31ac72d3fd5984a11e9220f8c0629bc5f3f0dabbd3fdd30f47a0a5bea3052892f8e50a4033be4795b32c6671d141b473080e57911",
|
|
"wx" : "7acc919934b0fd90011cd96f59ddba52e12094dac18a2cadcb03a0f31ac72d3fd5984a11e9220f8c",
|
|
"wy" : "0629bc5f3f0dabbd3fdd30f47a0a5bea3052892f8e50a4033be4795b32c6671d141b473080e57911"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200047acc919934b0fd90011cd96f59ddba52e12094dac18a2cadcb03a0f31ac72d3fd5984a11e9220f8c0629bc5f3f0dabbd3fdd30f47a0a5bea3052892f8e50a4033be4795b32c6671d141b473080e57911",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABHrMkZk0sP2QARzZb1ndulLhIJTa\nwYosrcsDoPMaxy0/1ZhKEekiD4wGKbxfPw2rvT/dMPR6ClvqMFKJL45QpAM75Hlb\nMsZnHRQbRzCA5XkR\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1035,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022900c76ce53560163f157b11e4d05c61540a5df6b8241cbd3ba7d911a7541eec55e986ebf811ae50a8b9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0412c163fe25cb79ad59c76b5280dc6706a42c58596230bf7ba7206e6ce2b467e1b7a7063e59b0bed6ccbeaf22accb1ac41ed43ac775b97aea3a688e2f096c3a5e59f868bc919da5ce252cf5d712e7de40",
|
|
"wx" : "12c163fe25cb79ad59c76b5280dc6706a42c58596230bf7ba7206e6ce2b467e1b7a7063e59b0bed6",
|
|
"wy" : "00ccbeaf22accb1ac41ed43ac775b97aea3a688e2f096c3a5e59f868bc919da5ce252cf5d712e7de40"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000412c163fe25cb79ad59c76b5280dc6706a42c58596230bf7ba7206e6ce2b467e1b7a7063e59b0bed6ccbeaf22accb1ac41ed43ac775b97aea3a688e2f096c3a5e59f868bc919da5ce252cf5d712e7de40",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABBLBY/4ly3mtWcdrUoDcZwakLFhZ\nYjC/e6cgbmzitGfht6cGPlmwvtbMvq8irMsaxB7UOsd1uXrqOmiOLwlsOl5Z+Gi8\nkZ2lziUs9dcS595A\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1036,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02284218a45116ea65b283cc7d90a510f077b1b09eddbcfca3e7d2896b869dd3ba556c4f10590b0e08cf",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046960bfcddd0021fcb8a3d7aa85f96cf360a7113e3824508525021f83e3085989c35e0c57726503305c1275b9d8b5199d461fcb9d34f8857b65a140462fd5cdc7a33e5cf7f4e2d08a5a34d9ae00b2939a",
|
|
"wx" : "6960bfcddd0021fcb8a3d7aa85f96cf360a7113e3824508525021f83e3085989c35e0c5772650330",
|
|
"wy" : "5c1275b9d8b5199d461fcb9d34f8857b65a140462fd5cdc7a33e5cf7f4e2d08a5a34d9ae00b2939a"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200046960bfcddd0021fcb8a3d7aa85f96cf360a7113e3824508525021f83e3085989c35e0c57726503305c1275b9d8b5199d461fcb9d34f8857b65a140462fd5cdc7a33e5cf7f4e2d08a5a34d9ae00b2939a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABGlgv83dACH8uKPXqoX5bPNgpxE+\nOCRQhSUCH4PjCFmJw14MV3JlAzBcEnW52LUZnUYfy500+IV7ZaFARi/VzcejPlz3\n9OLQilo02a4AspOa\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1037,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02285e5f32423bad3644be718d8195341362c9cba52b330f913b1521af6e5e3eb2069421b05dcac299f7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0466ad2c26012388c8b9046a466b87bd71b64ab81b54cffc5a611f4b7581ad8365edd08e6afd4a52f61a3066c0b3b703ddce746239a4d3dbf1938945f15ea9497bbfc45b389e130350b9945922b87ce374",
|
|
"wx" : "66ad2c26012388c8b9046a466b87bd71b64ab81b54cffc5a611f4b7581ad8365edd08e6afd4a52f6",
|
|
"wy" : "1a3066c0b3b703ddce746239a4d3dbf1938945f15ea9497bbfc45b389e130350b9945922b87ce374"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000466ad2c26012388c8b9046a466b87bd71b64ab81b54cffc5a611f4b7581ad8365edd08e6afd4a52f61a3066c0b3b703ddce746239a4d3dbf1938945f15ea9497bbfc45b389e130350b9945922b87ce374",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABGatLCYBI4jIuQRqRmuHvXG2Srgb\nVM/8WmEfS3WBrYNl7dCOav1KUvYaMGbAs7cD3c50Yjmk09vxk4lF8V6pSXu/xFs4\nnhMDULmUWSK4fON0\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1038,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022900ac07aaade5c5fb2fe5a18bbefd262e0e439fd68e0a317db06ff4ba623a2a03114ec5b6e084171058",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040cfa6e3838d8113a24d87db97417d68f00c426e9b8550d8a951fed531572e7cca66ffe0ae176ff0e312fa02e5cc77c21f4a6630e25bcb987dc1eef14aec80c15b9b292e3acfb30bc2c0438f0a9831c07",
|
|
"wx" : "0cfa6e3838d8113a24d87db97417d68f00c426e9b8550d8a951fed531572e7cca66ffe0ae176ff0e",
|
|
"wy" : "312fa02e5cc77c21f4a6630e25bcb987dc1eef14aec80c15b9b292e3acfb30bc2c0438f0a9831c07"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200040cfa6e3838d8113a24d87db97417d68f00c426e9b8550d8a951fed531572e7cca66ffe0ae176ff0e312fa02e5cc77c21f4a6630e25bcb987dc1eef14aec80c15b9b292e3acfb30bc2c0438f0a9831c07",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABAz6bjg42BE6JNh9uXQX1o8AxCbp\nuFUNipUf7VMVcufMpm/+CuF2/w4xL6AuXMd8IfSmYw4lvLmH3B7vFK7IDBW5spLj\nrPswvCwEOPCpgxwH\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1039,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0228311f6d0abce96fe7f5bed2ca4600a021fdda9a8c922fb0e10f180f97fa2cc84dd785c71e6c41dbb1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043dabbc36a455ba07432da1aa7239aefdefb72ac09313c3a7f3439850f602543eb4affc5d8225b5eece48e2f67e82d448b3d8b9b0fc200832a3d1ac88058872762fcbf027e9f5705d8f5812e507dae125",
|
|
"wx" : "3dabbc36a455ba07432da1aa7239aefdefb72ac09313c3a7f3439850f602543eb4affc5d8225b5ee",
|
|
"wy" : "00ce48e2f67e82d448b3d8b9b0fc200832a3d1ac88058872762fcbf027e9f5705d8f5812e507dae125"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200043dabbc36a455ba07432da1aa7239aefdefb72ac09313c3a7f3439850f602543eb4affc5d8225b5eece48e2f67e82d448b3d8b9b0fc200832a3d1ac88058872762fcbf027e9f5705d8f5812e507dae125",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABD2rvDakVboHQy2hqnI5rv3vtyrA\nkxPDp/NDmFD2AlQ+tK/8XYIlte7OSOL2foLUSLPYubD8IAgyo9GsiAWIcnYvy/An\n6fVwXY9YEuUH2uEl\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1040,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0228623eda1579d2dfcfeb7da5948c014043fbb53519245f61c21e301f2ff459909baf0b8e3cd883b762",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048a9658dc5f91aa577706f1d91d2252cb0d09f2053e561129105c7f37ddb2f972b3224f12cf9e43fe08782ec6105f4c06587eb1ececb2f4f4a04e236304dc75eb2efff0be66b977fa804af73bfcbac78e",
|
|
"wx" : "008a9658dc5f91aa577706f1d91d2252cb0d09f2053e561129105c7f37ddb2f972b3224f12cf9e43fe",
|
|
"wy" : "08782ec6105f4c06587eb1ececb2f4f4a04e236304dc75eb2efff0be66b977fa804af73bfcbac78e"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200048a9658dc5f91aa577706f1d91d2252cb0d09f2053e561129105c7f37ddb2f972b3224f12cf9e43fe08782ec6105f4c06587eb1ececb2f4f4a04e236304dc75eb2efff0be66b977fa804af73bfcbac78e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABIqWWNxfkapXdwbx2R0iUssNCfIF\nPlYRKRBcfzfdsvlysyJPEs+eQ/4IeC7GEF9MBlh+sezssvT0oE4jYwTcdesu//C+\nZrl3+oBK9zv8useO\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1041,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022900935e472036bc4fb7e13c785ed201e065f98fcfa5b68f12a32d482ec7ee8658e98691555b44c59313",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0406b43bb9587ee158ad5752d1ad11f6f0f5e316ad21937cdd9253f3844857f0a25e7b677bbf9994449705362334bdceb68ae6a584640c95cb10789b19953f5e119973eed735177aabfcb263fc8ef5ef97",
|
|
"wx" : "06b43bb9587ee158ad5752d1ad11f6f0f5e316ad21937cdd9253f3844857f0a25e7b677bbf999444",
|
|
"wy" : "009705362334bdceb68ae6a584640c95cb10789b19953f5e119973eed735177aabfcb263fc8ef5ef97"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000406b43bb9587ee158ad5752d1ad11f6f0f5e316ad21937cdd9253f3844857f0a25e7b677bbf9994449705362334bdceb68ae6a584640c95cb10789b19953f5e119973eed735177aabfcb263fc8ef5ef97",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABAa0O7lYfuFYrVdS0a0R9vD14xat\nIZN83ZJT84RIV/CiXntne7+ZlESXBTYjNL3OtormpYRkDJXLEHibGZU/XhGZc+7X\nNRd6q/yyY/yO9e+X\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1042,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02285b5d0d7669206f5f3b909d21145892b01b38e4ea8a3db6059b6e91f215be5a83c50dc7ef8dcc5c9d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04568803da071e6b9f4380e39954f2b0fc0f5bb58a0f68b5d1a42c7e9052ece2a0fc7acadc0f423999c08367945495d933f206927a2b7f5b74b22f973a898355aa2f7e295e06ef3a4f561546db97f79afa",
|
|
"wx" : "568803da071e6b9f4380e39954f2b0fc0f5bb58a0f68b5d1a42c7e9052ece2a0fc7acadc0f423999",
|
|
"wy" : "00c08367945495d933f206927a2b7f5b74b22f973a898355aa2f7e295e06ef3a4f561546db97f79afa"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004568803da071e6b9f4380e39954f2b0fc0f5bb58a0f68b5d1a42c7e9052ece2a0fc7acadc0f423999c08367945495d933f206927a2b7f5b74b22f973a898355aa2f7e295e06ef3a4f561546db97f79afa",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABFaIA9oHHmufQ4DjmVTysPwPW7WK\nD2i10aQsfpBS7OKg/HrK3A9COZnAg2eUVJXZM/IGknorf1t0si+XOomDVaovfile\nBu86T1YVRtuX95r6\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1043,
|
|
"comment" : "point duplication during verification",
|
|
"msg" : "313233343030",
|
|
"sig" : "30560229009563bd68545ccd185ae724d8efcd4cc23234934eef10f280792b2f930c97a6c1e00829a8b975b9ee022900c5e79c49abb135129f0636e18e2e73bced30855deeba1477d9521b33a32865155177d946e1babcb4",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04568803da071e6b9f4380e39954f2b0fc0f5bb58a0f68b5d1a42c7e9052ece2a0fc7acadc0f42399912dadf8be2267683ef35e5e4a68284f14760386c6d70b8452014908e71a4b1d9a6becbd659bb932d",
|
|
"wx" : "568803da071e6b9f4380e39954f2b0fc0f5bb58a0f68b5d1a42c7e9052ece2a0fc7acadc0f423999",
|
|
"wy" : "12dadf8be2267683ef35e5e4a68284f14760386c6d70b8452014908e71a4b1d9a6becbd659bb932d"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004568803da071e6b9f4380e39954f2b0fc0f5bb58a0f68b5d1a42c7e9052ece2a0fc7acadc0f42399912dadf8be2267683ef35e5e4a68284f14760386c6d70b8452014908e71a4b1d9a6becbd659bb932d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABFaIA9oHHmufQ4DjmVTysPwPW7WK\nD2i10aQsfpBS7OKg/HrK3A9COZkS2t+L4iZ2g+815eSmgoTxR2A4bG1wuEUgFJCO\ncaSx2aa+y9ZZu5Mt\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1044,
|
|
"comment" : "duplication bug",
|
|
"msg" : "313233343030",
|
|
"sig" : "30560229009563bd68545ccd185ae724d8efcd4cc23234934eef10f280792b2f930c97a6c1e00829a8b975b9ee022900c5e79c49abb135129f0636e18e2e73bced30855deeba1477d9521b33a32865155177d946e1babcb4",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045d1a100118bd3610f10e13b5adcc7a90a37f4f988cfa4e22cca77e88444b00216dcfe5f68418d3425d5b88c9b8c92b3dec7f7bcc688a6d18e6cdeb9176150d4b1062a832c8a3bc377f8d7e98b1db0b9d",
|
|
"wx" : "5d1a100118bd3610f10e13b5adcc7a90a37f4f988cfa4e22cca77e88444b00216dcfe5f68418d342",
|
|
"wy" : "5d5b88c9b8c92b3dec7f7bcc688a6d18e6cdeb9176150d4b1062a832c8a3bc377f8d7e98b1db0b9d"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200045d1a100118bd3610f10e13b5adcc7a90a37f4f988cfa4e22cca77e88444b00216dcfe5f68418d3425d5b88c9b8c92b3dec7f7bcc688a6d18e6cdeb9176150d4b1062a832c8a3bc377f8d7e98b1db0b9d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABF0aEAEYvTYQ8Q4Tta3MepCjf0+Y\njPpOIsynfohESwAhbc/l9oQY00JdW4jJuMkrPex/e8xoim0Y5s3rkXYVDUsQYqgy\nyKO8N3+Nfpix2wud\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1045,
|
|
"comment" : "comparison with point at infinity ",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402284674c260123ec53d4b14281f9b55f577532fefe1e7850636646d64ed4f821da32cdb1c73c197310502282a460e39a48c0ff193727e795d339347984ff65457b636ed6f74d627fc8144fb81504445742783d0",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04cca9ac38de5b36cf79d8e415cb729e685e0bbdafe161c5e7ecfa4177e826e815d66526aa5daf32279b7799bcefc6b5d8d09ff1a0739fd423188126f80af703314da0d26ba6714aa197a6582c36b0f05d",
|
|
"wx" : "00cca9ac38de5b36cf79d8e415cb729e685e0bbdafe161c5e7ecfa4177e826e815d66526aa5daf3227",
|
|
"wy" : "009b7799bcefc6b5d8d09ff1a0739fd423188126f80af703314da0d26ba6714aa197a6582c36b0f05d"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004cca9ac38de5b36cf79d8e415cb729e685e0bbdafe161c5e7ecfa4177e826e815d66526aa5daf32279b7799bcefc6b5d8d09ff1a0739fd423188126f80af703314da0d26ba6714aa197a6582c36b0f05d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABMyprDjeWzbPedjkFctynmheC72v\n4WHF5+z6QXfoJugV1mUmql2vMiebd5m878a12NCf8aBzn9QjGIEm+Ar3AzFNoNJr\npnFKoZemWCw2sPBd\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1046,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402282fb412f03e6debdfbfa3a3092f21c4619e04279be0931694ab99c6503e5a894def8377ed059a6de802284674c260123ec53d4b14281f9b55f577532fefe1e7850636646d64ed4f821da32cdb1c73c1973105",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04cceaa1203bdcbe15e20434d624f0ed9aca81d4c82f840bba3a86c6756262aa37efed62f5f1d097f7457057b98d2b9ea6bd28581d40ac20fcc9d536a117769203447bf41e10ce4da1ad794ca20f8ee146",
|
|
"wx" : "00cceaa1203bdcbe15e20434d624f0ed9aca81d4c82f840bba3a86c6756262aa37efed62f5f1d097f7",
|
|
"wy" : "457057b98d2b9ea6bd28581d40ac20fcc9d536a117769203447bf41e10ce4da1ad794ca20f8ee146"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004cceaa1203bdcbe15e20434d624f0ed9aca81d4c82f840bba3a86c6756262aa37efed62f5f1d097f7457057b98d2b9ea6bd28581d40ac20fcc9d536a117769203447bf41e10ce4da1ad794ca20f8ee146",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABMzqoSA73L4V4gQ01iTw7ZrKgdTI\nL4QLujqGxnViYqo37+1i9fHQl/dFcFe5jSuepr0oWB1ArCD8ydU2oRd2kgNEe/Qe\nEM5Noa15TKIPjuFG\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1047,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402282fb412f03e6debdfbfa3a3092f21c4619e04279be0931694ab99c6503e5a894def8377ed059a6de802281e320a292c640b636951c80d8bb7200e915daff31a147060742ee21c8fca0cb3a58279e87789f070",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04cc9ed25f13e94a6ebd531f3b142fabc4ed522dc6127861528830c6787d6ecfd4b704e1774e9118ed68e4e172f93f1d5b8d7860fae2c115f4aa0daaf6df5ca3809d79acfdb9ed2be19995658d2f44d235",
|
|
"wx" : "00cc9ed25f13e94a6ebd531f3b142fabc4ed522dc6127861528830c6787d6ecfd4b704e1774e9118ed",
|
|
"wy" : "68e4e172f93f1d5b8d7860fae2c115f4aa0daaf6df5ca3809d79acfdb9ed2be19995658d2f44d235"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004cc9ed25f13e94a6ebd531f3b142fabc4ed522dc6127861528830c6787d6ecfd4b704e1774e9118ed68e4e172f93f1d5b8d7860fae2c115f4aa0daaf6df5ca3809d79acfdb9ed2be19995658d2f44d235",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABMye0l8T6UpuvVMfOxQvq8TtUi3G\nEnhhUogwxnh9bs/UtwThd06RGO1o5OFy+T8dW414YPriwRX0qg2q9t9co4Cdeaz9\nue0r4ZmVZY0vRNI1\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1048,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402282fb412f03e6debdfbfa3a3092f21c4619e04279be0931694ab99c6503e5a894def8377ed059a6de802282a460e39a48c0ff193727e795d339347984ff65457b636ed6f74d627fc8144fb81504445742783d0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046a3cae0edc8455ae16b5eeb6569603bdaeb5793699e85d372857f1319c70dd525b1ea30a0f5c7b44075537cd822d9ee2d0e7a49c4c3141445d01b789bbcad02ec4249c2e2355d61db5581dbdb342c993",
|
|
"wx" : "6a3cae0edc8455ae16b5eeb6569603bdaeb5793699e85d372857f1319c70dd525b1ea30a0f5c7b44",
|
|
"wy" : "075537cd822d9ee2d0e7a49c4c3141445d01b789bbcad02ec4249c2e2355d61db5581dbdb342c993"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200046a3cae0edc8455ae16b5eeb6569603bdaeb5793699e85d372857f1319c70dd525b1ea30a0f5c7b44075537cd822d9ee2d0e7a49c4c3141445d01b789bbcad02ec4249c2e2355d61db5581dbdb342c993",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABGo8rg7chFWuFrXutlaWA72utXk2\nmehdNyhX8TGccN1SWx6jCg9ce0QHVTfNgi2e4tDnpJxMMUFEXQG3ibvK0C7EJJwu\nI1XWHbVYHb2zQsmT\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1049,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502282fb412f03e6debdfbfa3a3092f21c4619e04279be0931694ab99c6503e5a894def8377ed059a6de8022900a91838e692303fc64dc9f9e574ce4d1e613fd9515ed8dbb5bdd3589ff20513ee05411115d09e0f41",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044efb5161ca1a1eeb59a5fc39cd521d40bd3e034512fa2a1eaf3b7e92bb9e95c06a4c726ceccdf9bc6bfa801b067137f1b6b4506041130b4d402d90087ad005e3f652e1d91c9d344cd1eeffff61d3a306",
|
|
"wx" : "4efb5161ca1a1eeb59a5fc39cd521d40bd3e034512fa2a1eaf3b7e92bb9e95c06a4c726ceccdf9bc",
|
|
"wy" : "6bfa801b067137f1b6b4506041130b4d402d90087ad005e3f652e1d91c9d344cd1eeffff61d3a306"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200044efb5161ca1a1eeb59a5fc39cd521d40bd3e034512fa2a1eaf3b7e92bb9e95c06a4c726ceccdf9bc6bfa801b067137f1b6b4506041130b4d402d90087ad005e3f652e1d91c9d344cd1eeffff61d3a306",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABE77UWHKGh7rWaX8Oc1SHUC9PgNF\nEvoqHq87fpK7npXAakxybOzN+bxr+oAbBnE38ba0UGBBEwtNQC2QCHrQBeP2UuHZ\nHJ00TNHu//9h06MG\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1050,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "305502282fb412f03e6debdfbfa3a3092f21c4619e04279be0931694ab99c6503e5a894def8377ed059a6de8022900b52c3cf70a58445477eab051464ac05768321fb29c7aa242b9194cab5ebc4c35e10edb72cd3ba2a1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045f658687e6a542a91d893b48776a86d528fd399781bbb9305be0797e3a6f36118ae19e68dc1673f6676e536c7897a0002f9664929631f418c4537d23749220c50a32121c434dcad2a6cdc203cd035a32",
|
|
"wx" : "5f658687e6a542a91d893b48776a86d528fd399781bbb9305be0797e3a6f36118ae19e68dc1673f6",
|
|
"wy" : "676e536c7897a0002f9664929631f418c4537d23749220c50a32121c434dcad2a6cdc203cd035a32"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200045f658687e6a542a91d893b48776a86d528fd399781bbb9305be0797e3a6f36118ae19e68dc1673f6676e536c7897a0002f9664929631f418c4537d23749220c50a32121c434dcad2a6cdc203cd035a32",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABF9lhofmpUKpHYk7SHdqhtUo/TmX\ngbu5MFvgeX46bzYRiuGeaNwWc/ZnblNseJegAC+WZJKWMfQYxFN9I3SSIMUKMhIc\nQ03K0qbNwgPNA1oy\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1051,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402282fb412f03e6debdfbfa3a3092f21c4619e04279be0931694ab99c6503e5a894def8377ed059a6de8022853bf06e43fcc4236b2ec0d88471379053f1f3437207c5a75b09036b1c40fa8f3128277894a4c96cf",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0490537a6827a25060273d44d4846aea596682df0a59d0ffe79be2a1ebe918703cabfac64da5e591003309180d9da5e78237b95403c52f3ceee503067b672715e97d8b6369342684a72f467698741b1a1f",
|
|
"wx" : "0090537a6827a25060273d44d4846aea596682df0a59d0ffe79be2a1ebe918703cabfac64da5e59100",
|
|
"wy" : "3309180d9da5e78237b95403c52f3ceee503067b672715e97d8b6369342684a72f467698741b1a1f"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000490537a6827a25060273d44d4846aea596682df0a59d0ffe79be2a1ebe918703cabfac64da5e591003309180d9da5e78237b95403c52f3ceee503067b672715e97d8b6369342684a72f467698741b1a1f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABJBTemgnolBgJz1E1IRq6llmgt8K\nWdD/55vioevpGHA8q/rGTaXlkQAzCRgNnaXngje5VAPFLzzu5QMGe2cnFel9i2Np\nNCaEpy9Gdph0Gxof\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1052,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3054022843bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c710af8d0d39e2061102284674c260123ec53d4b14281f9b55f577532fefe1e7850636646d64ed4f821da32cdb1c73c1973105",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a81ccbf4fc4457033bd49ceac8fa52e459400730b877305be0418153d278d30b5973777a7dd1c2c17544ff1b76208e841053ecaef7a5869e92da08c5c4c3d0a167d5685eb721d620339cc9b00149838e",
|
|
"wx" : "00a81ccbf4fc4457033bd49ceac8fa52e459400730b877305be0418153d278d30b5973777a7dd1c2c1",
|
|
"wy" : "7544ff1b76208e841053ecaef7a5869e92da08c5c4c3d0a167d5685eb721d620339cc9b00149838e"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004a81ccbf4fc4457033bd49ceac8fa52e459400730b877305be0418153d278d30b5973777a7dd1c2c17544ff1b76208e841053ecaef7a5869e92da08c5c4c3d0a167d5685eb721d620339cc9b00149838e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABKgcy/T8RFcDO9Sc6sj6UuRZQAcw\nuHcwW+BBgVPSeNMLWXN3en3RwsF1RP8bdiCOhBBT7K73pYaektoIxcTD0KFn1Whe\ntyHWIDOcybABSYOO\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1053,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3054022843bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c710af8d0d39e2061102281e320a292c640b636951c80d8bb7200e915daff31a147060742ee21c8fca0cb3a58279e87789f070",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ba160089327cf8ba163eefa476a4eafd0f6ce9d55292f6724d020f0efac54bf684f9d5f5695f89c2b4de70dc4ab265761827323da3b2b055ac1187fc5341e4555ebc6f6993b4c3fdd89863fc55ea38b4",
|
|
"wx" : "00ba160089327cf8ba163eefa476a4eafd0f6ce9d55292f6724d020f0efac54bf684f9d5f5695f89c2",
|
|
"wy" : "00b4de70dc4ab265761827323da3b2b055ac1187fc5341e4555ebc6f6993b4c3fdd89863fc55ea38b4"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004ba160089327cf8ba163eefa476a4eafd0f6ce9d55292f6724d020f0efac54bf684f9d5f5695f89c2b4de70dc4ab265761827323da3b2b055ac1187fc5341e4555ebc6f6993b4c3fdd89863fc55ea38b4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABLoWAIkyfPi6Fj7vpHak6v0PbOnV\nUpL2ck0CDw76xUv2hPnV9WlficK03nDcSrJldhgnMj2jsrBVrBGH/FNB5FVevG9p\nk7TD/diYY/xV6ji0\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1054,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3054022843bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c710af8d0d39e2061102282a460e39a48c0ff193727e795d339347984ff65457b636ed6f74d627fc8144fb81504445742783d0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044a5cf447550f0ff2efa193c3e185db604fcfd7de5c47a59a392da0c7572f061038c6af5afcfa9bd530b7682b82010c39334ba2edecf0a23bca09e810d745bdf73e445e80ace0e5399fa26102cb3faee6",
|
|
"wx" : "4a5cf447550f0ff2efa193c3e185db604fcfd7de5c47a59a392da0c7572f061038c6af5afcfa9bd5",
|
|
"wy" : "30b7682b82010c39334ba2edecf0a23bca09e810d745bdf73e445e80ace0e5399fa26102cb3faee6"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200044a5cf447550f0ff2efa193c3e185db604fcfd7de5c47a59a392da0c7572f061038c6af5afcfa9bd530b7682b82010c39334ba2edecf0a23bca09e810d745bdf73e445e80ace0e5399fa26102cb3faee6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABEpc9EdVDw/y76GTw+GF22BPz9fe\nXEelmjktoMdXLwYQOMavWvz6m9Uwt2grggEMOTNLou3s8KI7ygnoENdFvfc+RF6A\nrODlOZ+iYQLLP67m\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1055,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3055022843bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c710af8d0d39e20611022900a91838e692303fc64dc9f9e574ce4d1e613fd9515ed8dbb5bdd3589ff20513ee05411115d09e0f41",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045d3fef1b96dbc8ca9330508ad4ced491e627eb67cba8c6b1537937498ee3021b45ca6759117d89c4ad2b699e3ef9516fff2ed2e134931c96d28d3e14dd51c5b87589a8fa88af2529b8caa0f785ce2033",
|
|
"wx" : "5d3fef1b96dbc8ca9330508ad4ced491e627eb67cba8c6b1537937498ee3021b45ca6759117d89c4",
|
|
"wy" : "00ad2b699e3ef9516fff2ed2e134931c96d28d3e14dd51c5b87589a8fa88af2529b8caa0f785ce2033"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b2403030208010109035200045d3fef1b96dbc8ca9330508ad4ced491e627eb67cba8c6b1537937498ee3021b45ca6759117d89c4ad2b699e3ef9516fff2ed2e134931c96d28d3e14dd51c5b87589a8fa88af2529b8caa0f785ce2033",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABF0/7xuW28jKkzBQitTO1JHmJ+tn\ny6jGsVN5N0mO4wIbRcpnWRF9icStK2mePvlRb/8u0uE0kxyW0o0+FN1Rxbh1iaj6\niK8lKbjKoPeFziAz\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1056,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3055022843bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c710af8d0d39e20611022900b52c3cf70a58445477eab051464ac05768321fb29c7aa242b9194cab5ebc4c35e10edb72cd3ba2a1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a8336702c158dcae495f1c9cd720c39f15c123a67750dcd74520c34cf67907e49220bcd020cc3a60151a432ee3e23a74c8b8a98d8e7c672216df48d8a60d3f592f6673830ac9ecfbcd00550db7ad5c62",
|
|
"wx" : "00a8336702c158dcae495f1c9cd720c39f15c123a67750dcd74520c34cf67907e49220bcd020cc3a60",
|
|
"wy" : "151a432ee3e23a74c8b8a98d8e7c672216df48d8a60d3f592f6673830ac9ecfbcd00550db7ad5c62"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010903520004a8336702c158dcae495f1c9cd720c39f15c123a67750dcd74520c34cf67907e49220bcd020cc3a60151a432ee3e23a74c8b8a98d8e7c672216df48d8a60d3f592f6673830ac9ecfbcd00550db7ad5c62",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABKgzZwLBWNyuSV8cnNcgw58VwSOm\nd1Dc10Ugw0z2eQfkkiC80CDMOmAVGkMu4+I6dMi4qY2OfGciFt9I2KYNP1kvZnOD\nCsns+80AVQ23rVxi\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1057,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "313233343030",
|
|
"sig" : "3054022843bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c710af8d0d39e20611022853bf06e43fcc4236b2ec0d88471379053f1f3437207c5a75b09036b1c40fa8f3128277894a4c96cf",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0443bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c710af8d0d39e2061114fdd05545ec1cc8ab4093247f77275e0743ffed117182eaa9c77877aaac6ac7d35245d1692e8ee1",
|
|
"wx" : "43bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c710af8d0d39e20611",
|
|
"wy" : "14fdd05545ec1cc8ab4093247f77275e0743ffed117182eaa9c77877aaac6ac7d35245d1692e8ee1"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000443bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c710af8d0d39e2061114fdd05545ec1cc8ab4093247f77275e0743ffed117182eaa9c77877aaac6ac7d35245d1692e8ee1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABEO9fpr7U9i4Uom8xI7lv+byATfR\nCgh+tueHHioQpZnHEK+NDTniBhEU/dBVRewcyKtAkyR/dydeB0P/7RFxguqpx3h3\nqqxqx9NSRdFpLo7h\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1058,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3055022900f9b127f0d81ebcd17b7ba0ea131c660d340b05ce557c82160e0f793de07d38179023942871acb70002281e320a292c640b636951c80d8bb7200e915daff31a147060742ee21c8fca0cb3a58279e87789f070",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1059,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3055022900ad0b664f9559e29e46fd4fd390e75abebf14997d17a1a3304c80e451fc8f79bb7cff168e17de6f2202281e320a292c640b636951c80d8bb7200e915daff31a147060742ee21c8fca0cb3a58279e87789f070",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0443bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c710af8d0d39e20611be6076caf0d032ef35fbe53a528ab907f24bcfb9e5828b04a5cb4174cde781612981cce088849f46",
|
|
"wx" : "43bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c710af8d0d39e20611",
|
|
"wy" : "00be6076caf0d032ef35fbe53a528ab907f24bcfb9e5828b04a5cb4174cde781612981cce088849f46"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000443bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c710af8d0d39e20611be6076caf0d032ef35fbe53a528ab907f24bcfb9e5828b04a5cb4174cde781612981cce088849f46",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABEO9fpr7U9i4Uom8xI7lv+byATfR\nCgh+tueHHioQpZnHEK+NDTniBhG+YHbK8NAy7zX75TpSirkH8kvPueWCiwSly0F0\nzeeBYSmBzOCIhJ9G\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1060,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3055022900f9b127f0d81ebcd17b7ba0ea131c660d340b05ce557c82160e0f793de07d38179023942871acb70002281e320a292c640b636951c80d8bb7200e915daff31a147060742ee21c8fca0cb3a58279e87789f070",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1061,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3055022900ad0b664f9559e29e46fd4fd390e75abebf14997d17a1a3304c80e451fc8f79bb7cff168e17de6f2202281e320a292c640b636951c80d8bb7200e915daff31a147060742ee21c8fca0cb3a58279e87789f070",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048a94164dc7654fda3cd4301d3e972024c2daba71d442128c7f3faecdb9e375a85aa80c4ac28889f258e6cba886d47636548b3bf1b675f2318c3d8ab7a1c281a33241c121b3590bfdf703c7cd4bae8f451886d989234c1b8c589614554d429392",
|
|
"wx" : "008a94164dc7654fda3cd4301d3e972024c2daba71d442128c7f3faecdb9e375a85aa80c4ac28889f258e6cba886d47636",
|
|
"wy" : "548b3bf1b675f2318c3d8ab7a1c281a33241c121b3590bfdf703c7cd4bae8f451886d989234c1b8c589614554d429392"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200048a94164dc7654fda3cd4301d3e972024c2daba71d442128c7f3faecdb9e375a85aa80c4ac28889f258e6cba886d47636548b3bf1b675f2318c3d8ab7a1c281a33241c121b3590bfdf703c7cd4bae8f451886d989234c1b8c589614554d429392",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABIqUFk3HZU/aPNQwHT6XICTC2rpx\n1EISjH8/rs2543WoWqgMSsKIifJY5suohtR2NlSLO/G2dfIxjD2Kt6HCgaMyQcEh\ns1kL/fcDx81Lro9FGIbZiSNMG4xYlhRVTUKTkg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1062,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"msg" : "313233343030",
|
|
"sig" : "304e021900f39b6bacd3b2eb7bdd98f07a249d57614bbece10480386e80231008cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e9046562",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1063,
|
|
"comment" : "r too large",
|
|
"msg" : "313233343030",
|
|
"sig" : "30660231008cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b412b1da197fb71123acd3a729901d1a71874700133107ec4d0231008cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e9046562",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0473f84ab63789301e88b4cb82cb935decffb8f42b2c9784c7544615b9076ec7a7ab94702ca7f1d9aacfb90537b5d368dc502cb7c8c18285994c7b19fa3e2401fdc26de54ffe006bb79bdd7852c666d730bdf76a16c0792a6c6681ed6b647fc81b",
|
|
"wx" : "73f84ab63789301e88b4cb82cb935decffb8f42b2c9784c7544615b9076ec7a7ab94702ca7f1d9aacfb90537b5d368dc",
|
|
"wy" : "502cb7c8c18285994c7b19fa3e2401fdc26de54ffe006bb79bdd7852c666d730bdf76a16c0792a6c6681ed6b647fc81b"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000473f84ab63789301e88b4cb82cb935decffb8f42b2c9784c7544615b9076ec7a7ab94702ca7f1d9aacfb90537b5d368dc502cb7c8c18285994c7b19fa3e2401fdc26de54ffe006bb79bdd7852c666d730bdf76a16c0792a6c6681ed6b647fc81b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABHP4SrY3iTAeiLTLgsuTXez/uPQr\nLJeEx1RGFbkHbsenq5RwLKfx2arPuQU3tdNo3FAst8jBgoWZTHsZ+j4kAf3CbeVP\n/gBrt5vdeFLGZtcwvfdqFsB5Kmxmge1rZH/IGw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1064,
|
|
"comment" : "r,s are large",
|
|
"msg" : "313233343030",
|
|
"sig" : "30660231008cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e90465640231008cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e9046563",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04895e8461eddbe21367a95b25cd85cd31e80ecf1f95539056fb7e10b4aa49900b2194d919b29cd9bf373a1d53ef571174767c02e36b935a65e5a9cbb35589a2a018482065c5e33da8ce483dc7f7fe441574f9e7ab0614bdcfc61022c780a30009",
|
|
"wx" : "00895e8461eddbe21367a95b25cd85cd31e80ecf1f95539056fb7e10b4aa49900b2194d919b29cd9bf373a1d53ef571174",
|
|
"wy" : "767c02e36b935a65e5a9cbb35589a2a018482065c5e33da8ce483dc7f7fe441574f9e7ab0614bdcfc61022c780a30009"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b03620004895e8461eddbe21367a95b25cd85cd31e80ecf1f95539056fb7e10b4aa49900b2194d919b29cd9bf373a1d53ef571174767c02e36b935a65e5a9cbb35589a2a018482065c5e33da8ce483dc7f7fe441574f9e7ab0614bdcfc61022c780a30009",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABIlehGHt2+ITZ6lbJc2FzTHoDs8f\nlVOQVvt+ELSqSZALIZTZGbKc2b83Oh1T71cRdHZ8AuNrk1pl5anLs1WJoqAYSCBl\nxeM9qM5IPcf3/kQVdPnnqwYUvc/GECLHgKMACQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1065,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0230480eca2874aa6ba71e7fb5711339ac0a7bf84065b3c7d59c64a2c6015e6f794e7dfa2b1fec73a72adb32bdb7dd55cd04",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04618ad81912e4c31f23eab2f0c693b3ef8404074ab1dce01dc82a768151c9fa0393b4d6aeaeec6858d3f419957a5b997f31fa809b1b44677cc5aef1894846142c3e44bba6c471123fa14feb8f3aa9e92f769be549cef9c1d55bc6f1f4f841813d",
|
|
"wx" : "618ad81912e4c31f23eab2f0c693b3ef8404074ab1dce01dc82a768151c9fa0393b4d6aeaeec6858d3f419957a5b997f",
|
|
"wy" : "31fa809b1b44677cc5aef1894846142c3e44bba6c471123fa14feb8f3aa9e92f769be549cef9c1d55bc6f1f4f841813d"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b03620004618ad81912e4c31f23eab2f0c693b3ef8404074ab1dce01dc82a768151c9fa0393b4d6aeaeec6858d3f419957a5b997f31fa809b1b44677cc5aef1894846142c3e44bba6c471123fa14feb8f3aa9e92f769be549cef9c1d55bc6f1f4f841813d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABGGK2BkS5MMfI+qy8MaTs++EBAdK\nsdzgHcgqdoFRyfoDk7TWrq7saFjT9BmVeluZfzH6gJsbRGd8xa7xiUhGFCw+RLum\nxHESP6FP6486qekvdpvlSc75wdVbxvH0+EGBPQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1066,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe02301629ef2d7182d67b6bd9cf6842251fe09c96bfe022b8ad9a0e546fdc8ecf5dc8636fa13059d7e9d83fde50e0d2b392c8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0479583b4968b576811b567e1620e00b0aab8aa223c5e655b27b1ebeaf83bcd35f4205a5a0e51a2052fffe9fd23785c98f77357c8a1008fcb7a3579614c2ff47980fa9e44b6b5ea3f8a33c919dd2aea5dad0ca1a01a9e2106518b1642906e4f275",
|
|
"wx" : "79583b4968b576811b567e1620e00b0aab8aa223c5e655b27b1ebeaf83bcd35f4205a5a0e51a2052fffe9fd23785c98f",
|
|
"wy" : "77357c8a1008fcb7a3579614c2ff47980fa9e44b6b5ea3f8a33c919dd2aea5dad0ca1a01a9e2106518b1642906e4f275"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000479583b4968b576811b567e1620e00b0aab8aa223c5e655b27b1ebeaf83bcd35f4205a5a0e51a2052fffe9fd23785c98f77357c8a1008fcb7a3579614c2ff47980fa9e44b6b5ea3f8a33c919dd2aea5dad0ca1a01a9e2106518b1642906e4f275",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABHlYO0lotXaBG1Z+FiDgCwqriqIj\nxeZVsnsevq+DvNNfQgWloOUaIFL//p/SN4XJj3c1fIoQCPy3o1eWFML/R5gPqeRL\na16j+KM8kZ3SrqXa0MoaAaniEGUYsWQpBuTydQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1067,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0489657bac216c3ac4a3a2d5afd342ad24a4eb103d4dbe2e4461e03c7011826513fe82bd06e17e3ae8eb5811da0bec88bb33ee1eddd5d49dd86e785fbfebb9288661964e6fbe0c07af9a4ba3145fc4be11e5484b650c97096db82ebb0ca2bb84ed",
|
|
"wx" : "0089657bac216c3ac4a3a2d5afd342ad24a4eb103d4dbe2e4461e03c7011826513fe82bd06e17e3ae8eb5811da0bec88bb",
|
|
"wy" : "33ee1eddd5d49dd86e785fbfebb9288661964e6fbe0c07af9a4ba3145fc4be11e5484b650c97096db82ebb0ca2bb84ed"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000489657bac216c3ac4a3a2d5afd342ad24a4eb103d4dbe2e4461e03c7011826513fe82bd06e17e3ae8eb5811da0bec88bb33ee1eddd5d49dd86e785fbfebb9288661964e6fbe0c07af9a4ba3145fc4be11e5484b650c97096db82ebb0ca2bb84ed",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABIlle6whbDrEo6LVr9NCrSSk6xA9\nTb4uRGHgPHARgmUT/oK9BuF+OujrWBHaC+yIuzPuHt3V1J3Ybnhfv+u5KIZhlk5v\nvgwHr5pLoxRfxL4R5UhLZQyXCW24LrsMoruE7Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1068,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020102",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045876f414fa385b403a2d10da5d89b110344ad005bfaf8c759ab1e3561a39ff0db9ff91ec6040316e2fca3654a48c0e890dcb77f896ea475cb97672a8400329554c941b61b4a84bde1f8c8fc5250c29161fc3ca50458a41c77a48bb336882f2ea",
|
|
"wx" : "5876f414fa385b403a2d10da5d89b110344ad005bfaf8c759ab1e3561a39ff0db9ff91ec6040316e2fca3654a48c0e89",
|
|
"wy" : "0dcb77f896ea475cb97672a8400329554c941b61b4a84bde1f8c8fc5250c29161fc3ca50458a41c77a48bb336882f2ea"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200045876f414fa385b403a2d10da5d89b110344ad005bfaf8c759ab1e3561a39ff0db9ff91ec6040316e2fca3654a48c0e890dcb77f896ea475cb97672a8400329554c941b61b4a84bde1f8c8fc5250c29161fc3ca50458a41c77a48bb336882f2ea",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABFh29BT6OFtAOi0Q2l2JsRA0StAF\nv6+MdZqx41YaOf8Nuf+R7GBAMW4vyjZUpIwOiQ3Ld/iW6kdcuXZyqEADKVVMlBth\ntKhL3h+Mj8UlDCkWH8PKUEWKQcd6SLszaILy6g==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1069,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020103",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1070,
|
|
"comment" : "r is larger than n",
|
|
"msg" : "313233343030",
|
|
"sig" : "30360231008cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e9046566020103",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041bee741fa192a9bd0535d00627737079e98f00076394c978a96a0f9fba64e9e21decff6b4b8fe11f60b18d5d758684de06d19321eab7e8601f8f4606fe93fd3b2f02986a58ca56413282c66dd36ba6724a3cbceee79948ba2d55c756586b58e2",
|
|
"wx" : "1bee741fa192a9bd0535d00627737079e98f00076394c978a96a0f9fba64e9e21decff6b4b8fe11f60b18d5d758684de",
|
|
"wy" : "06d19321eab7e8601f8f4606fe93fd3b2f02986a58ca56413282c66dd36ba6724a3cbceee79948ba2d55c756586b58e2"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200041bee741fa192a9bd0535d00627737079e98f00076394c978a96a0f9fba64e9e21decff6b4b8fe11f60b18d5d758684de06d19321eab7e8601f8f4606fe93fd3b2f02986a58ca56413282c66dd36ba6724a3cbceee79948ba2d55c756586b58e2",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABBvudB+hkqm9BTXQBidzcHnpjwAH\nY5TJeKlqD5+6ZOniHez/a0uP4R9gsY1ddYaE3gbRkyHqt+hgH49GBv6T/TsvAphq\nWMpWQTKCxm3Ta6ZySjy87ueZSLotVcdWWGtY4g==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1071,
|
|
"comment" : "s is larger than n",
|
|
"msg" : "313233343030",
|
|
"sig" : "30360201010231008cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e9173bec",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046b25f8c1629f7579e3c7ee4b029cc029b4bdbed88b9b399303e4a14352d1f3f6048ecdd062d37cba7b70bcbd587231e7621313f93d310f144bd3322582804639dd2960969a993a9f2a3609f856e1415a0a4dcf58a7864e41e2a8c80dfc158a30",
|
|
"wx" : "6b25f8c1629f7579e3c7ee4b029cc029b4bdbed88b9b399303e4a14352d1f3f6048ecdd062d37cba7b70bcbd587231e7",
|
|
"wy" : "621313f93d310f144bd3322582804639dd2960969a993a9f2a3609f856e1415a0a4dcf58a7864e41e2a8c80dfc158a30"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200046b25f8c1629f7579e3c7ee4b029cc029b4bdbed88b9b399303e4a14352d1f3f6048ecdd062d37cba7b70bcbd587231e7621313f93d310f144bd3322582804639dd2960969a993a9f2a3609f856e1415a0a4dcf58a7864e41e2a8c80dfc158a30",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABGsl+MFin3V548fuSwKcwCm0vb7Y\ni5s5kwPkoUNS0fP2BI7N0GLTfLp7cLy9WHIx52ITE/k9MQ8US9MyJYKARjndKWCW\nmpk6nyo2CfhW4UFaCk3PWKeGTkHiqMgN/BWKMA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1072,
|
|
"comment" : "small r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "303702020101023100896621d23283b12111048d1c978e2c286d60b6ef7ce37af36cf7aa4de268d626de7ddcb356d167c7483c69455c752c93",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045d082cde6086f8ea6994f46e9dc06c1c1d2c3a3c2dc5c97bf137653d9b2ed21101bad843d46e4b7925b9af7034c6d02112c7f56e65d233104063391fb3828b3990e6893d77746e42305e6a5ba111d976d693f595af858f19fac7234f7484c489",
|
|
"wx" : "5d082cde6086f8ea6994f46e9dc06c1c1d2c3a3c2dc5c97bf137653d9b2ed21101bad843d46e4b7925b9af7034c6d021",
|
|
"wy" : "12c7f56e65d233104063391fb3828b3990e6893d77746e42305e6a5ba111d976d693f595af858f19fac7234f7484c489"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200045d082cde6086f8ea6994f46e9dc06c1c1d2c3a3c2dc5c97bf137653d9b2ed21101bad843d46e4b7925b9af7034c6d02112c7f56e65d233104063391fb3828b3990e6893d77746e42305e6a5ba111d976d693f595af858f19fac7234f7484c489",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABF0ILN5ghvjqaZT0bp3AbBwdLDo8\nLcXJe/E3ZT2bLtIRAbrYQ9RuS3klua9wNMbQIRLH9W5l0jMQQGM5H7OCizmQ5ok9\nd3RuQjBealuhEdl21pP1la+Fjxn6xyNPdITEiQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1073,
|
|
"comment" : "smallish r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "303b02072d9b4d347952cc023038e8dae216c63f06b3edbd0f9ba7a5e4a332ec187251e3d627839d1baac667d7caad2ab0a1ea9fbb12dc5a71e3b49bc9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047407ca6c2a183f9ca1376609e9c78a8d080effad15a4f63cbb7a168e3c789b8b59ce4d3122ca08a86907ba487f717fbc3e2c56a9b3460a5136b213be8d48cb3dc9c7ad945b1dcecbf93fa6cfaaf8dbd70f1040b97ad8e3ac30f2e64fd7cc76d6",
|
|
"wx" : "7407ca6c2a183f9ca1376609e9c78a8d080effad15a4f63cbb7a168e3c789b8b59ce4d3122ca08a86907ba487f717fbc",
|
|
"wy" : "3e2c56a9b3460a5136b213be8d48cb3dc9c7ad945b1dcecbf93fa6cfaaf8dbd70f1040b97ad8e3ac30f2e64fd7cc76d6"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200047407ca6c2a183f9ca1376609e9c78a8d080effad15a4f63cbb7a168e3c789b8b59ce4d3122ca08a86907ba487f717fbc3e2c56a9b3460a5136b213be8d48cb3dc9c7ad945b1dcecbf93fa6cfaaf8dbd70f1040b97ad8e3ac30f2e64fd7cc76d6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABHQHymwqGD+coTdmCenHio0IDv+t\nFaT2PLt6Fo48eJuLWc5NMSLKCKhpB7pIf3F/vD4sVqmzRgpRNrITvo1Iyz3Jx62U\nWx3Oy/k/ps+q+NvXDxBAuXrY46ww8uZP18x21g==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1074,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3041020d1033e67e37b32b445580bf4efc02300d2436a599b396a51c546e05d1c3d25a8f6d05935ae5031dad3cdd7cb36cf6912a433de28f8475d3b1e2e1ce77610879",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044fc32a5226820ec9c3fff2c74e0b36d7de028e59fc005f3807a3bd59892c9ad20dba7168ef9ed9bf99b25ed01bcfc6ca6a13da2e852777a6f99d04322a1b9fb4227684bf7c40d4d3ef92798003a3bf2da158d5686457c33d0e24be5c265fc473",
|
|
"wx" : "4fc32a5226820ec9c3fff2c74e0b36d7de028e59fc005f3807a3bd59892c9ad20dba7168ef9ed9bf99b25ed01bcfc6ca",
|
|
"wy" : "6a13da2e852777a6f99d04322a1b9fb4227684bf7c40d4d3ef92798003a3bf2da158d5686457c33d0e24be5c265fc473"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200044fc32a5226820ec9c3fff2c74e0b36d7de028e59fc005f3807a3bd59892c9ad20dba7168ef9ed9bf99b25ed01bcfc6ca6a13da2e852777a6f99d04322a1b9fb4227684bf7c40d4d3ef92798003a3bf2da158d5686457c33d0e24be5c265fc473",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABE/DKlImgg7Jw//yx04LNtfeAo5Z\n/ABfOAejvVmJLJrSDbpxaO+e2b+Zsl7QG8/GymoT2i6FJ3em+Z0EMiobn7QidoS/\nfEDU0++SeYADo78toVjVaGRXwz0OJL5cJl/Ecw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1075,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "30360202010102304a289adad7ceec67ae99ef5da797b6bb17d9c168428ab30ea9a68b89652c4b9e9bae876ab3d7fbdf1eb92ed422bd3b93",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047350a7d00d7719a318522ef4c5e6be24b3b2cb300c596f79e8dd31a4688fe65a54b2d7497a06821eecbaf31b2fa7cdcb4bd72fc7f05e32457fda0cc3f321157744f1841c30bd086e6ddd5bf415eb71ecbe36f0f3fd23d3c41487fb283e0e9794",
|
|
"wx" : "7350a7d00d7719a318522ef4c5e6be24b3b2cb300c596f79e8dd31a4688fe65a54b2d7497a06821eecbaf31b2fa7cdcb",
|
|
"wy" : "4bd72fc7f05e32457fda0cc3f321157744f1841c30bd086e6ddd5bf415eb71ecbe36f0f3fd23d3c41487fb283e0e9794"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200047350a7d00d7719a318522ef4c5e6be24b3b2cb300c596f79e8dd31a4688fe65a54b2d7497a06821eecbaf31b2fa7cdcb4bd72fc7f05e32457fda0cc3f321157744f1841c30bd086e6ddd5bf415eb71ecbe36f0f3fd23d3c41487fb283e0e9794",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABHNQp9ANdxmjGFIu9MXmviSzsssw\nDFlveejdMaRoj+ZaVLLXSXoGgh7suvMbL6fNy0vXL8fwXjJFf9oMw/MhFXdE8YQc\nML0Ibm3dW/QV63Hsvjbw8/0j08QUh/soPg6XlA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1076,
|
|
"comment" : "100-bit r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3041020d062522bbd3ecbe7c39e93e7c2402304a289adad7ceec67ae99ef5da797b6bb17d9c168428ab30ea9a68b89652c4b9e9bae876ab3d7fbdf1eb92ed422bd3b93",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0461498ad31a84eed102ba2712eb8a7bd92320bda4ac6d07b4326a30869d19eb1b96229d21efd711dcf73048bf166800e30cfcc13a0914132284dbeab6fcf5d70b34ca86a681157e4874abffaeebb69b8b71f69d332306567823dde5407ce739e8",
|
|
"wx" : "61498ad31a84eed102ba2712eb8a7bd92320bda4ac6d07b4326a30869d19eb1b96229d21efd711dcf73048bf166800e3",
|
|
"wy" : "0cfcc13a0914132284dbeab6fcf5d70b34ca86a681157e4874abffaeebb69b8b71f69d332306567823dde5407ce739e8"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000461498ad31a84eed102ba2712eb8a7bd92320bda4ac6d07b4326a30869d19eb1b96229d21efd711dcf73048bf166800e30cfcc13a0914132284dbeab6fcf5d70b34ca86a681157e4874abffaeebb69b8b71f69d332306567823dde5407ce739e8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABGFJitMahO7RAronEuuKe9kjIL2k\nrG0HtDJqMIadGesbliKdIe/XEdz3MEi/FmgA4wz8wToJFBMihNvqtvz11ws0yoam\ngRV+SHSr/67rtpuLcfadMyMGVngj3eVAfOc56A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1077,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"msg" : "313233343030",
|
|
"sig" : "30650231008cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e90464e502305dd0bf01c2259e1ab4e8f4fee099813f6374f6069e3839ccbf64499dc802c3c534d1cf1f9cffd76027b021574602ee43",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04050592f34db0263df4c669b8991941be18237a1045bfd165ea4af385376564edf6654a0dff7b5d84474090f265c46b511545918cd8f22260ce21a584edfa0b1644488c997d956529262aef400cc0320ed27ddcec3bde6b9fd79b374af688fa9f",
|
|
"wx" : "050592f34db0263df4c669b8991941be18237a1045bfd165ea4af385376564edf6654a0dff7b5d84474090f265c46b51",
|
|
"wy" : "1545918cd8f22260ce21a584edfa0b1644488c997d956529262aef400cc0320ed27ddcec3bde6b9fd79b374af688fa9f"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b03620004050592f34db0263df4c669b8991941be18237a1045bfd165ea4af385376564edf6654a0dff7b5d84474090f265c46b511545918cd8f22260ce21a584edfa0b1644488c997d956529262aef400cc0320ed27ddcec3bde6b9fd79b374af688fa9f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABAUFkvNNsCY99MZpuJkZQb4YI3oQ\nRb/RZepK84U3ZWTt9mVKDf97XYRHQJDyZcRrURVFkYzY8iJgziGlhO36CxZESIyZ\nfZVlKSYq70AMwDIO0n3c7Dvea5/XmzdK9oj6nw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1078,
|
|
"comment" : "s == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "303502302ee85f80e112cf0d5a747a7f704cc09fb1ba7b034f1c1ce65fb224cee40161e29a68e78fce7febb013d810aba3017721020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1079,
|
|
"comment" : "s == 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "303502302ee85f80e112cf0d5a747a7f704cc09fb1ba7b034f1c1ce65fb224cee40161e29a68e78fce7febb013d810aba3017721020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044df898544c2b10dc3c4d3249fca5130e753d26e08320bd823926acb050d8b6a4feadf29bef07ecdb00e85b341f22069a003343695d1e0ac0a78b38490d97c1e90e4ff4ca0d2140b9101f1b63f29ca4f2bf9176e1600483916216bd35abce6741",
|
|
"wx" : "4df898544c2b10dc3c4d3249fca5130e753d26e08320bd823926acb050d8b6a4feadf29bef07ecdb00e85b341f22069a",
|
|
"wy" : "3343695d1e0ac0a78b38490d97c1e90e4ff4ca0d2140b9101f1b63f29ca4f2bf9176e1600483916216bd35abce6741"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200044df898544c2b10dc3c4d3249fca5130e753d26e08320bd823926acb050d8b6a4feadf29bef07ecdb00e85b341f22069a003343695d1e0ac0a78b38490d97c1e90e4ff4ca0d2140b9101f1b63f29ca4f2bf9176e1600483916216bd35abce6741",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABE34mFRMKxDcPE0ySfylEw51PSbg\ngyC9gjkmrLBQ2Lak/q3ym+8H7NsA6Fs0HyIGmgAzQ2ldHgrAp4s4SQ2XwekOT/TK\nDSFAuRAfG2PynKTyv5F24WAEg5FiFr01q85nQQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1080,
|
|
"comment" : "point at infinity during verify",
|
|
"msg" : "313233343030",
|
|
"sig" : "30640230465c8f41519c369407aeb7bf287320ef8a97b884f6aa2b598f8b3736560212d3e79d5b57b5bfe1881dc41901748232b202302ee85f80e112cf0d5a747a7f704cc09fb1ba7b034f1c1ce65fb224cee40161e29a68e78fce7febb013d810aba3017721",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043e955d284589775837c9b83dbcb49186d695d6b53f5771689f6458e40a2b6dad6254cbb227de4675849d11e0fdf321143c4f0ae8803367716186174f91b7035b35bf8490e49f9c46147b6d3b71d96f74abfa5e40f33c100f79d459624191cee0",
|
|
"wx" : "3e955d284589775837c9b83dbcb49186d695d6b53f5771689f6458e40a2b6dad6254cbb227de4675849d11e0fdf32114",
|
|
"wy" : "3c4f0ae8803367716186174f91b7035b35bf8490e49f9c46147b6d3b71d96f74abfa5e40f33c100f79d459624191cee0"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200043e955d284589775837c9b83dbcb49186d695d6b53f5771689f6458e40a2b6dad6254cbb227de4675849d11e0fdf321143c4f0ae8803367716186174f91b7035b35bf8490e49f9c46147b6d3b71d96f74abfa5e40f33c100f79d459624191cee0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABD6VXShFiXdYN8m4Pby0kYbWlda1\nP1dxaJ9kWOQKK22tYlTLsifeRnWEnRHg/fMhFDxPCuiAM2dxYYYXT5G3A1s1v4SQ\n5J+cRhR7bTtx2W90q/peQPM8EA951FliQZHO4A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1081,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "313233343030",
|
|
"sig" : "30640230465c8f41519c369407aeb7bf287320ef8a97b884f6aa2b598f8b3736560212d3e79d5b57b5bfe1881dc41901748232b70230465c8f41519c369407aeb7bf287320ef8a97b884f6aa2b598f8b3736560212d3e79d5b57b5bfe1881dc41901748232b2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0439c44873ccab023c4b366a646decb4beb5672b6d2140fa0fd200374aa01301008c0419c3392c589000816e1f18059a4c2b6104be5e26c657aa1f6fa4addf3ff52a45679800dd28cd628711f2d1c11153a36c6c42fba6954cd37fd252112de1a4",
|
|
"wx" : "39c44873ccab023c4b366a646decb4beb5672b6d2140fa0fd200374aa01301008c0419c3392c589000816e1f18059a4c",
|
|
"wy" : "2b6104be5e26c657aa1f6fa4addf3ff52a45679800dd28cd628711f2d1c11153a36c6c42fba6954cd37fd252112de1a4"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000439c44873ccab023c4b366a646decb4beb5672b6d2140fa0fd200374aa01301008c0419c3392c589000816e1f18059a4c2b6104be5e26c657aa1f6fa4addf3ff52a45679800dd28cd628711f2d1c11153a36c6c42fba6954cd37fd252112de1a4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABDnESHPMqwI8SzZqZG3stL61Zytt\nIUD6D9IAN0qgEwEAjAQZwzksWJAAgW4fGAWaTCthBL5eJsZXqh9vpK3fP/UqRWeY\nAN0ozWKHEfLRwRFTo2xsQvumlUzTf9JSES3hpA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1082,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "313233343030",
|
|
"sig" : "30640230465c8f41519c369407aeb7bf287320ef8a97b884f6aa2b598f8b3736560212d3e79d5b57b5bfe1881dc41901748232b70230465c8f41519c369407aeb7bf287320ef8a97b884f6aa2b598f8b3736560212d3e79d5b57b5bfe1881dc41901748232b3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045d77134e890ac72f9c69fcc3f181ae746fefffdafc1dfc791cf33a22fb0f8e586188cf2d5d060ddb04004baf56191c9f0e7401ddcc47a09b5ecf2719cc936010a9371a7f7624e63e7a00550a13d035cf586d3b522c7fd06251adbb0f0aad3dd7",
|
|
"wx" : "5d77134e890ac72f9c69fcc3f181ae746fefffdafc1dfc791cf33a22fb0f8e586188cf2d5d060ddb04004baf56191c9f",
|
|
"wy" : "0e7401ddcc47a09b5ecf2719cc936010a9371a7f7624e63e7a00550a13d035cf586d3b522c7fd06251adbb0f0aad3dd7"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200045d77134e890ac72f9c69fcc3f181ae746fefffdafc1dfc791cf33a22fb0f8e586188cf2d5d060ddb04004baf56191c9f0e7401ddcc47a09b5ecf2719cc936010a9371a7f7624e63e7a00550a13d035cf586d3b522c7fd06251adbb0f0aad3dd7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABF13E06JCscvnGn8w/GBrnRv7//a\n/B38eRzzOiL7D45YYYjPLV0GDdsEAEuvVhkcnw50Ad3MR6CbXs8nGcyTYBCpNxp/\ndiTmPnoAVQoT0DXPWG07Uix/0GJRrbsPCq091w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1083,
|
|
"comment" : "u1 == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502302ee85f80e112cf0d5a747a7f704cc09fb1ba7b034f1c1ce65fb224cee40161e29a68e78fce7febb013d810aba3017721023100f9b127f0d81ebcd17b7ba0ea131c660d340b05ce557c82160e0f793de07d38179023942871acb7002dfafdfffc8deace",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04607cd94c42f5bbfcf857a708ac163f0afc0a65c8d88725f18c4bf7eb7cf5d34aca6008a27b4e5fd9476134ed85fcd32c89f248290c59b8fb963e90bab9b0b3e313d3b8e0a6c8901455a22b7b74a108152c5b814ba575de8de07cdb8d67ba2b50",
|
|
"wx" : "607cd94c42f5bbfcf857a708ac163f0afc0a65c8d88725f18c4bf7eb7cf5d34aca6008a27b4e5fd9476134ed85fcd32c",
|
|
"wy" : "0089f248290c59b8fb963e90bab9b0b3e313d3b8e0a6c8901455a22b7b74a108152c5b814ba575de8de07cdb8d67ba2b50"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b03620004607cd94c42f5bbfcf857a708ac163f0afc0a65c8d88725f18c4bf7eb7cf5d34aca6008a27b4e5fd9476134ed85fcd32c89f248290c59b8fb963e90bab9b0b3e313d3b8e0a6c8901455a22b7b74a108152c5b814ba575de8de07cdb8d67ba2b50",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABGB82UxC9bv8+FenCKwWPwr8CmXI\n2Icl8YxL9+t89dNKymAIontOX9lHYTTthfzTLInySCkMWbj7lj6Qurmws+MT07jg\npsiQFFWiK3t0oQgVLFuBS6V13o3gfNuNZ7orUA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1084,
|
|
"comment" : "u1 == n - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402302ee85f80e112cf0d5a747a7f704cc09fb1ba7b034f1c1ce65fb224cee40161e29a68e78fce7febb013d810aba301772102301fc115146e521d7ea33f3e128eb01db0f653dc45852c2b50301d639b778b13380e51d9366552cf2049156605d57adffc",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044b4afbd91746b1a4df6d0d717afc7528fa4a9dda9a62afee19a72fc0019aa2ea89a125bea7675506230656caaff52c735f5c3575bf669637efdb672477500f1fe37b45dcf879487ad6ca36c4147329fb741706ce9b928ce47bf6dc0f9e44017f",
|
|
"wx" : "4b4afbd91746b1a4df6d0d717afc7528fa4a9dda9a62afee19a72fc0019aa2ea89a125bea7675506230656caaff52c73",
|
|
"wy" : "5f5c3575bf669637efdb672477500f1fe37b45dcf879487ad6ca36c4147329fb741706ce9b928ce47bf6dc0f9e44017f"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200044b4afbd91746b1a4df6d0d717afc7528fa4a9dda9a62afee19a72fc0019aa2ea89a125bea7675506230656caaff52c735f5c3575bf669637efdb672477500f1fe37b45dcf879487ad6ca36c4147329fb741706ce9b928ce47bf6dc0f9e44017f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABEtK+9kXRrGk320NcXr8dSj6Sp3a\nmmKv7hmnL8ABmqLqiaElvqdnVQYjBlbKr/Usc19cNXW/ZpY379tnJHdQDx/je0Xc\n+HlIetbKNsQUcyn7dBcGzpuSjOR79twPnkQBfw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1085,
|
|
"comment" : "u2 == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402302ee85f80e112cf0d5a747a7f704cc09fb1ba7b034f1c1ce65fb224cee40161e29a68e78fce7febb013d810aba301772102302ee85f80e112cf0d5a747a7f704cc09fb1ba7b034f1c1ce65fb224cee40161e29a68e78fce7febb013d810aba3017721",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040d8b246c623188b7455716ac189b9af441676a1c41cd575754bd02ae4d6825304b961ddf0826bb161e3d63e9bc71f1d46edbeddc2d40dafdccac90ae85cd616a0ea1e4a08ae8fc3358ce7d5142eee8f3bebdc14591c4c9b15bff12b8cf08334a",
|
|
"wx" : "0d8b246c623188b7455716ac189b9af441676a1c41cd575754bd02ae4d6825304b961ddf0826bb161e3d63e9bc71f1d4",
|
|
"wy" : "6edbeddc2d40dafdccac90ae85cd616a0ea1e4a08ae8fc3358ce7d5142eee8f3bebdc14591c4c9b15bff12b8cf08334a"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200040d8b246c623188b7455716ac189b9af441676a1c41cd575754bd02ae4d6825304b961ddf0826bb161e3d63e9bc71f1d46edbeddc2d40dafdccac90ae85cd616a0ea1e4a08ae8fc3358ce7d5142eee8f3bebdc14591c4c9b15bff12b8cf08334a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABA2LJGxiMYi3RVcWrBibmvRBZ2oc\nQc1XV1S9Aq5NaCUwS5Yd3wgmuxYePWPpvHHx1G7b7dwtQNr9zKyQroXNYWoOoeSg\niuj8M1jOfVFC7ujzvr3BRZHEybFb/xK4zwgzSg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1086,
|
|
"comment" : "u2 == n - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402302ee85f80e112cf0d5a747a7f704cc09fb1ba7b034f1c1ce65fb224cee40161e29a68e78fce7febb013d810aba301772102305dd0bf01c2259e1ab4e8f4fee099813f6374f6069e3839ccbf64499dc802c3c534d1cf1f9cffd76027b021574602ee44",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0404d9d4a62d6eb02073e738b1e439cecd5440031911f45190eb6062a33535fc5269bcfc25d4afc1dae0ebad948d7732d8029af37e89a3cea7df38b020f624906fca6d944e1486853fe8e5ba9cfba2d74a852ec587d46fe49917c364418ef7eca5",
|
|
"wx" : "04d9d4a62d6eb02073e738b1e439cecd5440031911f45190eb6062a33535fc5269bcfc25d4afc1dae0ebad948d7732d8",
|
|
"wy" : "029af37e89a3cea7df38b020f624906fca6d944e1486853fe8e5ba9cfba2d74a852ec587d46fe49917c364418ef7eca5"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000404d9d4a62d6eb02073e738b1e439cecd5440031911f45190eb6062a33535fc5269bcfc25d4afc1dae0ebad948d7732d8029af37e89a3cea7df38b020f624906fca6d944e1486853fe8e5ba9cfba2d74a852ec587d46fe49917c364418ef7eca5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABATZ1KYtbrAgc+c4seQ5zs1UQAMZ\nEfRRkOtgYqM1NfxSabz8JdSvwdrg662UjXcy2AKa836Jo86n3ziwIPYkkG/KbZRO\nFIaFP+jlupz7otdKhS7Fh9Rv5JkXw2RBjvfspQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1087,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0230533b0d50480a3ef07e7e8af8b1097759bc03ac9a1c7ed6075a052869f57f12b285613162d08ee7aab9fe54aaa984a39a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041a4a55c9b0ce43d7ed78a98d9bf6459ccf349466fccc457598fc15a1d6956d8ce8348b2332fffb3d516b078d28d329dd73f45a4ce1f5dc772f3c3283af6564e6e410f9d5064b6484065966936693f62ac9940eb28914a091d2964cd843b41028",
|
|
"wx" : "1a4a55c9b0ce43d7ed78a98d9bf6459ccf349466fccc457598fc15a1d6956d8ce8348b2332fffb3d516b078d28d329dd",
|
|
"wy" : "73f45a4ce1f5dc772f3c3283af6564e6e410f9d5064b6484065966936693f62ac9940eb28914a091d2964cd843b41028"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200041a4a55c9b0ce43d7ed78a98d9bf6459ccf349466fccc457598fc15a1d6956d8ce8348b2332fffb3d516b078d28d329dd73f45a4ce1f5dc772f3c3283af6564e6e410f9d5064b6484065966936693f62ac9940eb28914a091d2964cd843b41028",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABBpKVcmwzkPX7XipjZv2RZzPNJRm\n/MxFdZj8FaHWlW2M6DSLIzL/+z1RaweNKNMp3XP0Wkzh9dx3Lzwyg69lZObkEPnV\nBktkhAZZZpNmk/YqyZQOsokUoJHSlkzYQ7QQKA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1088,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc023070a8e817f4ea82b831ba5e671830b4312846b23da14ff7d43baf3a7ee7aa061c86422aaf27ffc5c655406868b5bf19bf",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04373ac98f088268a86d136de4fa0ce2c41042cd33ed2d07250f53cd4ed43fa1da425da597bd5b413d56cfff954267104f069e0453bbbd79280316f8c1c161a846af379a941ed286e593e7f289ba4fff42458b273a3ba499574e134e7fb4a7dc19",
|
|
"wx" : "373ac98f088268a86d136de4fa0ce2c41042cd33ed2d07250f53cd4ed43fa1da425da597bd5b413d56cfff954267104f",
|
|
"wy" : "069e0453bbbd79280316f8c1c161a846af379a941ed286e593e7f289ba4fff42458b273a3ba499574e134e7fb4a7dc19"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b03620004373ac98f088268a86d136de4fa0ce2c41042cd33ed2d07250f53cd4ed43fa1da425da597bd5b413d56cfff954267104f069e0453bbbd79280316f8c1c161a846af379a941ed286e593e7f289ba4fff42458b273a3ba499574e134e7fb4a7dc19",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABDc6yY8IgmiobRNt5PoM4sQQQs0z\n7S0HJQ9TzU7UP6HaQl2ll71bQT1Wz/+VQmcQTwaeBFO7vXkoAxb4wcFhqEavN5qU\nHtKG5ZPn8om6T/9CRYsnOjukmVdOE05/tKfcGQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1089,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0230326c0872a7224e7a104087acf4c4b4e3e5aba4ffe4625fc3955ce9647bf71fb596b83971ad2b52473a2821991c808905",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047e6ab429b9e33a974f6ab9a49eb152c484575fad5d9bcddcb87edce16e79333a937276f36aec9121de450384cb20bb2e8595f6c2880d89198e1b625e65056d0a19a58d1d1c551bcc5dd39d281d726dad4108488c8f941ac983169cace3ecc71b",
|
|
"wx" : "7e6ab429b9e33a974f6ab9a49eb152c484575fad5d9bcddcb87edce16e79333a937276f36aec9121de450384cb20bb2e",
|
|
"wy" : "008595f6c2880d89198e1b625e65056d0a19a58d1d1c551bcc5dd39d281d726dad4108488c8f941ac983169cace3ecc71b"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200047e6ab429b9e33a974f6ab9a49eb152c484575fad5d9bcddcb87edce16e79333a937276f36aec9121de450384cb20bb2e8595f6c2880d89198e1b625e65056d0a19a58d1d1c551bcc5dd39d281d726dad4108488c8f941ac983169cace3ecc71b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABH5qtCm54zqXT2q5pJ6xUsSEV1+t\nXZvN3Lh+3OFueTM6k3J282rskSHeRQOEyyC7LoWV9sKIDYkZjhtiXmUFbQoZpY0d\nHFUbzF3TnSgdcm2tQQhIjI+UGsmDFpys4+zHGw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1090,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc023065cf0a5bce70af078af6d5a14545ca619e47d6eb0fd0531ecc743a7685530284a83289c2d09e024384ae5e778799e414",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041fbb37f75195c3f2de3afcc88ad7eb32108144608943face3a890005ff2a3e0b558079c5842620f44adc0c38dd88aac551734f8eb827df929d7317714a29cf8ba432caf689094d00eb9d63cbc908ba76ca5b1f93d229477c960842940f4224d3",
|
|
"wx" : "1fbb37f75195c3f2de3afcc88ad7eb32108144608943face3a890005ff2a3e0b558079c5842620f44adc0c38dd88aac5",
|
|
"wy" : "51734f8eb827df929d7317714a29cf8ba432caf689094d00eb9d63cbc908ba76ca5b1f93d229477c960842940f4224d3"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200041fbb37f75195c3f2de3afcc88ad7eb32108144608943face3a890005ff2a3e0b558079c5842620f44adc0c38dd88aac551734f8eb827df929d7317714a29cf8ba432caf689094d00eb9d63cbc908ba76ca5b1f93d229477c960842940f4224d3",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABB+7N/dRlcPy3jr8yIrX6zIQgURg\niUP6zjqJAAX/Kj4LVYB5xYQmIPRK3Aw43YiqxVFzT464J9+SnXMXcUopz4ukMsr2\niQlNAOudY8vJCLp2ylsfk9IpR3yWCEKUD0Ik0w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1091,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02302e099adfe4d9120596e8a1520399b0e249555b171e0a71967307548a3c28753fa40bbcb0a8658369dc8ca0caa05fb001",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0407fa30c837c8ad029326a1d448bd27521b5d26aad4d8244b7242493df70172e6dd1daf5c7e07f4fa102f5c415a4ec61f0904527df877527f7d0f5a7f71b6d9c03f2de1df8804868e7337da35c9b1ffc9bf2e279c3af8a0786e6f39832cc6ed1b",
|
|
"wx" : "07fa30c837c8ad029326a1d448bd27521b5d26aad4d8244b7242493df70172e6dd1daf5c7e07f4fa102f5c415a4ec61f",
|
|
"wy" : "0904527df877527f7d0f5a7f71b6d9c03f2de1df8804868e7337da35c9b1ffc9bf2e279c3af8a0786e6f39832cc6ed1b"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000407fa30c837c8ad029326a1d448bd27521b5d26aad4d8244b7242493df70172e6dd1daf5c7e07f4fa102f5c415a4ec61f0904527df877527f7d0f5a7f71b6d9c03f2de1df8804868e7337da35c9b1ffc9bf2e279c3af8a0786e6f39832cc6ed1b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABAf6MMg3yK0Ckyah1Ei9J1IbXSaq\n1NgkS3JCST33AXLm3R2vXH4H9PoQL1xBWk7GHwkEUn34d1J/fQ9af3G22cA/LeHf\niASGjnM32jXJsf/Jvy4nnDr4oHhubzmDLMbtGw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1092,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02305c1335bfc9b2240b2dd142a4073361c492aab62e3c14e32ce60ea9147850ea7f4817796150cb06d3b919419540bf6002",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0461397ae7fe8e7e894bfa689e5813514293a0f1b9f1090c0d9696379b61287a752a3f7d1d2480fe4127498d0eeda84c630c2fadd37ea36bfe532b5d3a0f101ddd3ac59458399648f3efaf5833dec1c8c8ece05515893553ef4d58120d37ce2ecd",
|
|
"wx" : "61397ae7fe8e7e894bfa689e5813514293a0f1b9f1090c0d9696379b61287a752a3f7d1d2480fe4127498d0eeda84c63",
|
|
"wy" : "0c2fadd37ea36bfe532b5d3a0f101ddd3ac59458399648f3efaf5833dec1c8c8ece05515893553ef4d58120d37ce2ecd"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000461397ae7fe8e7e894bfa689e5813514293a0f1b9f1090c0d9696379b61287a752a3f7d1d2480fe4127498d0eeda84c630c2fadd37ea36bfe532b5d3a0f101ddd3ac59458399648f3efaf5833dec1c8c8ece05515893553ef4d58120d37ce2ecd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABGE5euf+jn6JS/ponlgTUUKToPG5\n8QkMDZaWN5thKHp1Kj99HSSA/kEnSY0O7ahMYwwvrdN+o2v+UytdOg8QHd06xZRY\nOZZI8++vWDPewcjI7OBVFYk1U+9NWBINN84uzQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1093,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0230259160b321c350f4f2299aa77c72a09248927957b6414308bf8c7fb4f2dbba5ca79198f80a150e1ceb5a9845144eee9b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047f166efa8d8416d922f57673a2180cfbb49e8d160d60ba5ec90ba547f3eccd22ce6afd99a0fb292cfd16b0692b9cab03418579e67c87b359912f6cb4158bdd7ea130b5007726df2fce319915deedc4f7e89ee23f786e25373c9937498bab81b4",
|
|
"wx" : "7f166efa8d8416d922f57673a2180cfbb49e8d160d60ba5ec90ba547f3eccd22ce6afd99a0fb292cfd16b0692b9cab03",
|
|
"wy" : "418579e67c87b359912f6cb4158bdd7ea130b5007726df2fce319915deedc4f7e89ee23f786e25373c9937498bab81b4"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200047f166efa8d8416d922f57673a2180cfbb49e8d160d60ba5ec90ba547f3eccd22ce6afd99a0fb292cfd16b0692b9cab03418579e67c87b359912f6cb4158bdd7ea130b5007726df2fce319915deedc4f7e89ee23f786e25373c9937498bab81b4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABH8WbvqNhBbZIvV2c6IYDPu0no0W\nDWC6XskLpUfz7M0izmr9maD7KSz9FrBpK5yrA0GFeeZ8h7NZkS9stBWL3X6hMLUA\ndybfL84xmRXe7cT36J7iP3huJTc8mTdJi6uBtA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1094,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc023100881964e1bba9a28c7a1d84379c65bb3da72f3cc879f7f579d2f9b34a574432d6c7d1c229ee227d4ddbdd9f15df9978c0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0477c9c2e658b004ab6840d7c33a5e7eb5f93ba3a7c5b32f7275fd75b07c1c92f5ae31576b9cbca046337e6d6ea76c145e67c56010dd9749e2d90b3eb57ef1c4c73741233a32a6a4355b8c4e3a24bcf5986627c7480783161db1d2a5332bd75fef",
|
|
"wx" : "77c9c2e658b004ab6840d7c33a5e7eb5f93ba3a7c5b32f7275fd75b07c1c92f5ae31576b9cbca046337e6d6ea76c145e",
|
|
"wy" : "67c56010dd9749e2d90b3eb57ef1c4c73741233a32a6a4355b8c4e3a24bcf5986627c7480783161db1d2a5332bd75fef"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000477c9c2e658b004ab6840d7c33a5e7eb5f93ba3a7c5b32f7275fd75b07c1c92f5ae31576b9cbca046337e6d6ea76c145e67c56010dd9749e2d90b3eb57ef1c4c73741233a32a6a4355b8c4e3a24bcf5986627c7480783161db1d2a5332bd75fef",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABHfJwuZYsASraEDXwzpefrX5O6On\nxbMvcnX9dbB8HJL1rjFXa5y8oEYzfm1up2wUXmfFYBDdl0ni2Qs+tX7xxMc3QSM6\nMqakNVuMTjokvPWYZifHSAeDFh2x0qUzK9df7w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1095,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02300e3c83bb59abc57220170152251cf010b0081fecca2c957ca7ec1a33dae3ca1d7094b1c0f71b03e008bbe64659119f09",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0464d9a317d5b41af30fdfc7389460f357fa9978304d026b312aa5ca04a19bdc0c56440cfd14a0b060c3b8f4ee8d4a5a3777299b2280ab4c857ed2531e8db027f8c7238028bd7f7ba59bc80547d4f10da6f2e613580553406f0427ecbd7b75916e",
|
|
"wx" : "64d9a317d5b41af30fdfc7389460f357fa9978304d026b312aa5ca04a19bdc0c56440cfd14a0b060c3b8f4ee8d4a5a37",
|
|
"wy" : "77299b2280ab4c857ed2531e8db027f8c7238028bd7f7ba59bc80547d4f10da6f2e613580553406f0427ecbd7b75916e"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000464d9a317d5b41af30fdfc7389460f357fa9978304d026b312aa5ca04a19bdc0c56440cfd14a0b060c3b8f4ee8d4a5a3777299b2280ab4c857ed2531e8db027f8c7238028bd7f7ba59bc80547d4f10da6f2e613580553406f0427ecbd7b75916e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABGTZoxfVtBrzD9/HOJRg81f6mXgw\nTQJrMSqlygShm9wMVkQM/RSgsGDDuPTujUpaN3cpmyKAq0yFftJTHo2wJ/jHI4Ao\nvX97pZvIBUfU8Q2m8uYTWAVTQG8EJ+y9e3WRbg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1096,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0230631b97da7f334dafd01e2a01f8618632372d9abcdf14ebaf7213da37b1449c4e8c8a1dfe03384f3ade8907ad94421398",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04264ba447f80d721bf1e79877f27a23ee58565e88c49f6b9cd6448c024b6ff53aebb2b08cec22eb2eb38e30fd54727f01801887f9f94dce625ed1d56350a4b252e0dcfc0984928f25ad22a13135baf996bfa82809fbe79c0979670fddc9fba9e6",
|
|
"wx" : "264ba447f80d721bf1e79877f27a23ee58565e88c49f6b9cd6448c024b6ff53aebb2b08cec22eb2eb38e30fd54727f01",
|
|
"wy" : "00801887f9f94dce625ed1d56350a4b252e0dcfc0984928f25ad22a13135baf996bfa82809fbe79c0979670fddc9fba9e6"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b03620004264ba447f80d721bf1e79877f27a23ee58565e88c49f6b9cd6448c024b6ff53aebb2b08cec22eb2eb38e30fd54727f01801887f9f94dce625ed1d56350a4b252e0dcfc0984928f25ad22a13135baf996bfa82809fbe79c0979670fddc9fba9e6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABCZLpEf4DXIb8eeYd/J6I+5YVl6I\nxJ9rnNZEjAJLb/U667KwjOwi6y6zjjD9VHJ/AYAYh/n5Tc5iXtHVY1CkslLg3PwJ\nhJKPJa0ioTE1uvmWv6goCfvnnAl5Zw/dyfup5g==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1097,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0230397e11325b2e2e3790dee4859fdcca85592bc46fd0d580abc5114602b68512f549d9854c9af0db658189dd583f7fc1cb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0404918040a58dc477a7245561273df2d8bd977e5fd39c40d3011536cb2b9cfee82e2ab5f539e5908dcbf3ff24c645db4e5969a9d8df5cdaafe3490caa4946acf5ebe3e93aab28a8d4a6f61e2c8e5c02dc605c75806dddddebe23915631159c1f7",
|
|
"wx" : "04918040a58dc477a7245561273df2d8bd977e5fd39c40d3011536cb2b9cfee82e2ab5f539e5908dcbf3ff24c645db4e",
|
|
"wy" : "5969a9d8df5cdaafe3490caa4946acf5ebe3e93aab28a8d4a6f61e2c8e5c02dc605c75806dddddebe23915631159c1f7"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000404918040a58dc477a7245561273df2d8bd977e5fd39c40d3011536cb2b9cfee82e2ab5f539e5908dcbf3ff24c645db4e5969a9d8df5cdaafe3490caa4946acf5ebe3e93aab28a8d4a6f61e2c8e5c02dc605c75806dddddebe23915631159c1f7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABASRgECljcR3pyRVYSc98ti9l35f\n05xA0wEVNssrnP7oLiq19TnlkI3L8/8kxkXbTllpqdjfXNqv40kMqklGrPXr4+k6\nqyio1Kb2HiyOXALcYFx1gG3d3eviORVjEVnB9w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1098,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02300fe08a8a37290ebf519f9f0947580ed87b29ee22c29615a8180eb1cdbbc5899c0728ec9b32a96790248ab302eabd6ffe",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0422e44ebe0a351e4c91f7bdfc0c0c3c6e1c679da84a32539c2dbb41ea31061b0825e3f34d7b0ad525261eb9e457c408196089e33034731ba8e9f95f5a234bf8d3539c8381f4d95510d5e0f145fd48205e5c60218c3f84b189c8e4fd5608b49778",
|
|
"wx" : "22e44ebe0a351e4c91f7bdfc0c0c3c6e1c679da84a32539c2dbb41ea31061b0825e3f34d7b0ad525261eb9e457c40819",
|
|
"wy" : "6089e33034731ba8e9f95f5a234bf8d3539c8381f4d95510d5e0f145fd48205e5c60218c3f84b189c8e4fd5608b49778"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000422e44ebe0a351e4c91f7bdfc0c0c3c6e1c679da84a32539c2dbb41ea31061b0825e3f34d7b0ad525261eb9e457c408196089e33034731ba8e9f95f5a234bf8d3539c8381f4d95510d5e0f145fd48205e5c60218c3f84b189c8e4fd5608b49778",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABCLkTr4KNR5Mkfe9/AwMPG4cZ52o\nSjJTnC27QeoxBhsIJePzTXsK1SUmHrnkV8QIGWCJ4zA0cxuo6flfWiNL+NNTnIOB\n9NlVENXg8UX9SCBeXGAhjD+EsYnI5P1WCLSXeA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1099,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02305f92937aa52d5dd10fcefb95a2d57b617d6d8b04e8db5b3b5a39abe893fda2aeb2f978108c558aabbad829ce02c27735",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0466ed49779ed6a7b10c812bc7ee7b47a5d11c5ea50277273da140bc1b0cf5b8210a6a737f7e9d92eee6d845137e5c44a28accb8f637385cf6519bfae3ed3ae4d0acaa19a260a01bd8cb53ad24dacab1954b20d1472cf3975e87cc733f329ab6bd",
|
|
"wx" : "66ed49779ed6a7b10c812bc7ee7b47a5d11c5ea50277273da140bc1b0cf5b8210a6a737f7e9d92eee6d845137e5c44a2",
|
|
"wy" : "008accb8f637385cf6519bfae3ed3ae4d0acaa19a260a01bd8cb53ad24dacab1954b20d1472cf3975e87cc733f329ab6bd"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000466ed49779ed6a7b10c812bc7ee7b47a5d11c5ea50277273da140bc1b0cf5b8210a6a737f7e9d92eee6d845137e5c44a28accb8f637385cf6519bfae3ed3ae4d0acaa19a260a01bd8cb53ad24dacab1954b20d1472cf3975e87cc733f329ab6bd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABGbtSXee1qexDIErx+57R6XRHF6l\nAncnPaFAvBsM9bghCmpzf36dku7m2EUTflxEoorMuPY3OFz2UZv64+065NCsqhmi\nYKAb2MtTrSTayrGVSyDRRyzzl16HzHM/Mpq2vQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1100,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc023059930a2b8bbd79b8051f252a1af76b4a5c6525adf9c6c7910a5ccf798eac0c8d4513923a792a965abe82bb564dac21cb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043024912041bc989a936fb4dcdd178b15e03a0aa94abafb4465b4a89d4416b7a8b029d47c17e69a25962ff3aefe862dcb249ee9252b5713e747a2da8aac2b961ee2b6aca157a44888748648fbcdc5661cd4a169bb92c9c1ce50a79a63735002a1",
|
|
"wx" : "3024912041bc989a936fb4dcdd178b15e03a0aa94abafb4465b4a89d4416b7a8b029d47c17e69a25962ff3aefe862dcb",
|
|
"wy" : "249ee9252b5713e747a2da8aac2b961ee2b6aca157a44888748648fbcdc5661cd4a169bb92c9c1ce50a79a63735002a1"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200043024912041bc989a936fb4dcdd178b15e03a0aa94abafb4465b4a89d4416b7a8b029d47c17e69a25962ff3aefe862dcb249ee9252b5713e747a2da8aac2b961ee2b6aca157a44888748648fbcdc5661cd4a169bb92c9c1ce50a79a63735002a1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABDAkkSBBvJiak2+03N0XixXgOgqp\nSrr7RGW0qJ1EFreosCnUfBfmmiWWL/Ou/oYtyySe6SUrVxPnR6Laiqwrlh7itqyh\nV6RIiHSGSPvNxWYc1KFpu5LJwc5Qp5pjc1ACoQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1101,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02301449901ce4b00f0e3a5ff84cff8c134854b808e504d1b8f027ace9591234e3f62ce70c35a8aa8e60cafe1e0df3ed80e7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046c9393b00e9a62ce0b83674cdcca59b18d5b34246348e37c1d78898a522d813c49d08efc5f3f7ef33f3dc9dd1bc2e5c2000b9410ce04a64cd095ae1194bc1f514c7009a4e06871b557154cf492e7c57749487ecfcd04cb31426ab785ffa95e2f",
|
|
"wx" : "6c9393b00e9a62ce0b83674cdcca59b18d5b34246348e37c1d78898a522d813c49d08efc5f3f7ef33f3dc9dd1bc2e5c2",
|
|
"wy" : "0b9410ce04a64cd095ae1194bc1f514c7009a4e06871b557154cf492e7c57749487ecfcd04cb31426ab785ffa95e2f"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200046c9393b00e9a62ce0b83674cdcca59b18d5b34246348e37c1d78898a522d813c49d08efc5f3f7ef33f3dc9dd1bc2e5c2000b9410ce04a64cd095ae1194bc1f514c7009a4e06871b557154cf492e7c57749487ecfcd04cb31426ab785ffa95e2f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABGyTk7AOmmLOC4NnTNzKWbGNWzQk\nY0jjfB14iYpSLYE8SdCO/F8/fvM/PcndG8LlwgALlBDOBKZM0JWuEZS8H1FMcAmk\n4GhxtVcVTPSS58V3SUh+z80EyzFCareF/6leLw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1102,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02310089ae6f8e215bcf35c7e2afed1a6b9855171687d9edbea8af5bf8e9ddc667aac4e166f05097385fa9ea3a6245fc07b4ad",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042c58277aaa61c400d7036183af49c99a97fea5a8d5f8608c4c6ac7a282757e4dc4b6f92d82a10272f2a19696a48fa79f5a8adb770740669d6010e55f6625b141be469fe1779f4adfe64eab2e4a9ac5bf1c25b3de0b74b8f9644fc216010d9659",
|
|
"wx" : "2c58277aaa61c400d7036183af49c99a97fea5a8d5f8608c4c6ac7a282757e4dc4b6f92d82a10272f2a19696a48fa79f",
|
|
"wy" : "5a8adb770740669d6010e55f6625b141be469fe1779f4adfe64eab2e4a9ac5bf1c25b3de0b74b8f9644fc216010d9659"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200042c58277aaa61c400d7036183af49c99a97fea5a8d5f8608c4c6ac7a282757e4dc4b6f92d82a10272f2a19696a48fa79f5a8adb770740669d6010e55f6625b141be469fe1779f4adfe64eab2e4a9ac5bf1c25b3de0b74b8f9644fc216010d9659",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABCxYJ3qqYcQA1wNhg69JyZqX/qWo\n1fhgjExqx6KCdX5NxLb5LYKhAnLyoZaWpI+nn1qK23cHQGadYBDlX2YlsUG+Rp/h\nd59K3+ZOqy5KmsW/HCWz3gt0uPlkT8IWAQ2WWQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1103,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02303fc16256a0914ce2661a54688af4b2546b1b59b043667da6abb5b1a1e0e2e6ab862fe8bb749f7251572bc160567530a7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046e5f827e1aa225c4b95db52655f67d654bdc69a4bf8f49c19d1e65dcf12ca511505aa1726ca2f5cdf8ab376f94a0c5bd5daec6f35f1dfbc68fba024cc8c5f79ce9baa86adfd8d2ba53a798cdcc9025eb9797d3be207bc694abb338e43778ffdd",
|
|
"wx" : "6e5f827e1aa225c4b95db52655f67d654bdc69a4bf8f49c19d1e65dcf12ca511505aa1726ca2f5cdf8ab376f94a0c5bd",
|
|
"wy" : "5daec6f35f1dfbc68fba024cc8c5f79ce9baa86adfd8d2ba53a798cdcc9025eb9797d3be207bc694abb338e43778ffdd"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200046e5f827e1aa225c4b95db52655f67d654bdc69a4bf8f49c19d1e65dcf12ca511505aa1726ca2f5cdf8ab376f94a0c5bd5daec6f35f1dfbc68fba024cc8c5f79ce9baa86adfd8d2ba53a798cdcc9025eb9797d3be207bc694abb338e43778ffdd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABG5fgn4aoiXEuV21JlX2fWVL3Gmk\nv49JwZ0eZdzxLKURUFqhcmyi9c34qzdvlKDFvV2uxvNfHfvGj7oCTMjF95zpuqhq\n39jSulOnmM3MkCXrl5fTviB7xpSrszjkN3j/3Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1104,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc023064c1556c5eef311a4f3ba46316adf73732d6ed47b1ba2ecd178ff89bbc5ddd6c6419f62e045ea2d35c33a250dc2fb925",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047fe852a7612a673df351f05afeafcbb16ce4cadf85681b2b5f46cc31ef33d6b695378e7325e9cb3185d7137b2b1700465cbd4c810076d135316887e94b14b4b0108db1c944794c398938d42176c32575b6428b3e37b602211c574acafef0911e",
|
|
"wx" : "7fe852a7612a673df351f05afeafcbb16ce4cadf85681b2b5f46cc31ef33d6b695378e7325e9cb3185d7137b2b170046",
|
|
"wy" : "5cbd4c810076d135316887e94b14b4b0108db1c944794c398938d42176c32575b6428b3e37b602211c574acafef0911e"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200047fe852a7612a673df351f05afeafcbb16ce4cadf85681b2b5f46cc31ef33d6b695378e7325e9cb3185d7137b2b1700465cbd4c810076d135316887e94b14b4b0108db1c944794c398938d42176c32575b6428b3e37b602211c574acafef0911e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABH/oUqdhKmc981HwWv6vy7Fs5Mrf\nhWgbK19GzDHvM9a2lTeOcyXpyzGF1xN7KxcARly9TIEAdtE1MWiH6UsUtLAQjbHJ\nRHlMOYk41CF2wyV1tkKLPje2AiEcV0rK/vCRHg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1105,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02303cc98c561aa5f50c8f19d947dc75ac8f507e6985762006e7100982caccb79530f8f935ac9d3d82967cdf129ecf5b0ce5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040a49dc359ed4fef683e462dfe685442cea77b733fd95633216794d9a61f7e1022d942a36e781a484a2b479a643469af4512ebd0966b68bfecf7a47021bcd9e6aa2703dcc556a9a443d16195aa145738fa36a4dff3d09481f4a86550a8d1f3545",
|
|
"wx" : "0a49dc359ed4fef683e462dfe685442cea77b733fd95633216794d9a61f7e1022d942a36e781a484a2b479a643469af4",
|
|
"wy" : "512ebd0966b68bfecf7a47021bcd9e6aa2703dcc556a9a443d16195aa145738fa36a4dff3d09481f4a86550a8d1f3545"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200040a49dc359ed4fef683e462dfe685442cea77b733fd95633216794d9a61f7e1022d942a36e781a484a2b479a643469af4512ebd0966b68bfecf7a47021bcd9e6aa2703dcc556a9a443d16195aa145738fa36a4dff3d09481f4a86550a8d1f3545",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABApJ3DWe1P72g+Ri3+aFRCzqd7cz\n/ZVjMhZ5TZph9+ECLZQqNueBpISitHmmQ0aa9FEuvQlmtov+z3pHAhvNnmqicD3M\nVWqaRD0WGVqhRXOPo2pN/z0JSB9KhlUKjR81RQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1106,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02303f2095530f36144e009019eee102b2867d83c9eb4f28bcb31b383e00c8c3746b20cc90e8efc813aefb5b6a4965204c53",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04276715087495d52c4160d15446ebb4d758291bf5bc9ca87b56c3f00adc41fa452d66684152d3e19d2fc3ad5d289787ad367385d3c3f5c3c2c6c3166adcfafc3d204453cab8797d56e955fbf1cf421763a6653e40efd9035df8128135546b6261",
|
|
"wx" : "276715087495d52c4160d15446ebb4d758291bf5bc9ca87b56c3f00adc41fa452d66684152d3e19d2fc3ad5d289787ad",
|
|
"wy" : "367385d3c3f5c3c2c6c3166adcfafc3d204453cab8797d56e955fbf1cf421763a6653e40efd9035df8128135546b6261"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b03620004276715087495d52c4160d15446ebb4d758291bf5bc9ca87b56c3f00adc41fa452d66684152d3e19d2fc3ad5d289787ad367385d3c3f5c3c2c6c3166adcfafc3d204453cab8797d56e955fbf1cf421763a6653e40efd9035df8128135546b6261",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABCdnFQh0ldUsQWDRVEbrtNdYKRv1\nvJyoe1bD8ArcQfpFLWZoQVLT4Z0vw61dKJeHrTZzhdPD9cPCxsMWatz6/D0gRFPK\nuHl9VulV+/HPQhdjpmU+QO/ZA134EoE1VGtiYQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1107,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0230704afc6a72080d1728f6cc9fd023e9d2373023377f02599b6ea9fb2923dd7403fe2fd73999f65316b53f910bda4f6f10",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045943dbd66c79fcb882936eccdd6d860c42e20727a2cdb29165c8426c9d192990b71d9a3c7f240e46acab2741b7ee9c7a461e5ab1db3eb9b51b3238d3ada33567d251d8fd0fbaf59aa1cfb40fe7b22e0277f166a32edb81ab6a8580f9b1fb3e39",
|
|
"wx" : "5943dbd66c79fcb882936eccdd6d860c42e20727a2cdb29165c8426c9d192990b71d9a3c7f240e46acab2741b7ee9c7a",
|
|
"wy" : "461e5ab1db3eb9b51b3238d3ada33567d251d8fd0fbaf59aa1cfb40fe7b22e0277f166a32edb81ab6a8580f9b1fb3e39"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200045943dbd66c79fcb882936eccdd6d860c42e20727a2cdb29165c8426c9d192990b71d9a3c7f240e46acab2741b7ee9c7a461e5ab1db3eb9b51b3238d3ada33567d251d8fd0fbaf59aa1cfb40fe7b22e0277f166a32edb81ab6a8580f9b1fb3e39",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABFlD29Zsefy4gpNuzN1thgxC4gcn\nos2ykWXIQmydGSmQtx2aPH8kDkasqydBt+6cekYeWrHbPrm1GzI4062jNWfSUdj9\nD7r1mqHPtA/nsi4Cd/Fmoy7bgatqhYD5sfs+OQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1108,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc023046f09c4741c1afe74e32f6ff14daaf90f4486c33f5d0e978f9af24f5751988e72b374c5faeffdec309330401965f7d20",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045285d72925c87c75b6ad9955064182bf2debcb25c88d0606f6672863de413e549688a4fcfbe6689bb23dba2b757bcda64ef6b01766c95b66ff10496d5deebac4b4bf8c3bb4232c019f80b69d8ab0214ceaf5813027ecec133a5a5b971948822e",
|
|
"wx" : "5285d72925c87c75b6ad9955064182bf2debcb25c88d0606f6672863de413e549688a4fcfbe6689bb23dba2b757bcda6",
|
|
"wy" : "4ef6b01766c95b66ff10496d5deebac4b4bf8c3bb4232c019f80b69d8ab0214ceaf5813027ecec133a5a5b971948822e"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200045285d72925c87c75b6ad9955064182bf2debcb25c88d0606f6672863de413e549688a4fcfbe6689bb23dba2b757bcda64ef6b01766c95b66ff10496d5deebac4b4bf8c3bb4232c019f80b69d8ab0214ceaf5813027ecec133a5a5b971948822e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABFKF1yklyHx1tq2ZVQZBgr8t68sl\nyI0GBvZnKGPeQT5Uloik/PvmaJuyPbordXvNpk72sBdmyVtm/xBJbV3uusS0v4w7\ntCMsAZ+Atp2KsCFM6vWBMCfs7BM6WluXGUiCLg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1109,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc023019930a2b8bbd79b8051f252a1af76b4a5c6525adf9c6c7910a5ccf798eac0c8d4513923a792a965abe82bb564dac21cd",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040786afb03dd791dbfc371ab51ffa288b7cedd90d6a35a3c3a92566f895f38cb18536137e010f1cfba2fbed70568d77b84eec840cca8b6f3f612304b602ffad8dcbae1786b2c2216e9a1e59a6b69628b52a408b6a083d727f3ccd0e706f9aeef8",
|
|
"wx" : "0786afb03dd791dbfc371ab51ffa288b7cedd90d6a35a3c3a92566f895f38cb18536137e010f1cfba2fbed70568d77b8",
|
|
"wy" : "4eec840cca8b6f3f612304b602ffad8dcbae1786b2c2216e9a1e59a6b69628b52a408b6a083d727f3ccd0e706f9aeef8"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200040786afb03dd791dbfc371ab51ffa288b7cedd90d6a35a3c3a92566f895f38cb18536137e010f1cfba2fbed70568d77b84eec840cca8b6f3f612304b602ffad8dcbae1786b2c2216e9a1e59a6b69628b52a408b6a083d727f3ccd0e706f9aeef8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABAeGr7A915Hb/DcatR/6KIt87dkN\najWjw6klZviV84yxhTYTfgEPHPui++1wVo13uE7shAzKi28/YSMEtgL/rY3LrheG\nssIhbpoeWaa2lii1KkCLagg9cn88zQ5wb5ru+A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1110,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc023033261457177af3700a3e4a5435eed694b8ca4b5bf38d8f2214b99ef31d58191a8a272474f2552cb57d0576ac9b58439a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0446690db403904228e4f736b1344791596628e85669d4dd01374b21274280b421e42f5ba3f3f2fadad27d4469be7d9bdb7e883b43c27217f606e0a5ba6c9df781c145776c0e5a8993f0ed65c6ded65a43bddd0fe7611485e8e8d9e7decdf2d8b5",
|
|
"wx" : "46690db403904228e4f736b1344791596628e85669d4dd01374b21274280b421e42f5ba3f3f2fadad27d4469be7d9bdb",
|
|
"wy" : "7e883b43c27217f606e0a5ba6c9df781c145776c0e5a8993f0ed65c6ded65a43bddd0fe7611485e8e8d9e7decdf2d8b5"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000446690db403904228e4f736b1344791596628e85669d4dd01374b21274280b421e42f5ba3f3f2fadad27d4469be7d9bdb7e883b43c27217f606e0a5ba6c9df781c145776c0e5a8993f0ed65c6ded65a43bddd0fe7611485e8e8d9e7decdf2d8b5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABEZpDbQDkEIo5Pc2sTRHkVlmKOhW\nadTdATdLISdCgLQh5C9bo/Py+trSfURpvn2b236IO0PCchf2BuClumyd94HBRXds\nDlqJk/DtZcbe1lpDvd0P52EUhejo2efezfLYtQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1111,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02304cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e9046567",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048be6928acad44c9571b5c4015fa3ffae5e639e4130a1a66b473e5dfdfe93b68a8de89583666d4d699e8885469f9b1a4d83b1d5312310e445ae57c85ab1a3df8dbbb706a598fbc007efb602a14a5952fd7e7df0464d533e062ea211285c2f5c27",
|
|
"wx" : "008be6928acad44c9571b5c4015fa3ffae5e639e4130a1a66b473e5dfdfe93b68a8de89583666d4d699e8885469f9b1a4d",
|
|
"wy" : "0083b1d5312310e445ae57c85ab1a3df8dbbb706a598fbc007efb602a14a5952fd7e7df0464d533e062ea211285c2f5c27"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200048be6928acad44c9571b5c4015fa3ffae5e639e4130a1a66b473e5dfdfe93b68a8de89583666d4d699e8885469f9b1a4d83b1d5312310e445ae57c85ab1a3df8dbbb706a598fbc007efb602a14a5952fd7e7df0464d533e062ea211285c2f5c27",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABIvmkorK1EyVcbXEAV+j/65eY55B\nMKGma0c+Xf3+k7aKjeiVg2ZtTWmeiIVGn5saTYOx1TEjEORFrlfIWrGj3427twal\nmPvAB++2AqFKWVL9fn3wRk1TPgYuohEoXC9cJw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1112,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "306502307ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0231008b33c708624a1e2eeba00fb5b5a8ed1a1622fc71ed897fb13d87ac253935e8365850d380015c115d12e14a2472860d09",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041886ddd282b023084953ef7d9e853a6adc1360cef7f56df7da0ca7bdcf4f3a5d227a730f9f20f9434b565dc4fa819e856a0f0ed8d7f28f916a4e727e55bf0818dcc84ed1132bd7da9f98ff95fb2aec238f4df9185b0982a6682c06c85e6a895e",
|
|
"wx" : "1886ddd282b023084953ef7d9e853a6adc1360cef7f56df7da0ca7bdcf4f3a5d227a730f9f20f9434b565dc4fa819e85",
|
|
"wy" : "6a0f0ed8d7f28f916a4e727e55bf0818dcc84ed1132bd7da9f98ff95fb2aec238f4df9185b0982a6682c06c85e6a895e"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200041886ddd282b023084953ef7d9e853a6adc1360cef7f56df7da0ca7bdcf4f3a5d227a730f9f20f9434b565dc4fa819e856a0f0ed8d7f28f916a4e727e55bf0818dcc84ed1132bd7da9f98ff95fb2aec238f4df9185b0982a6682c06c85e6a895e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABBiG3dKCsCMISVPvfZ6FOmrcE2DO\n9/Vt99oMp73PTzpdInpzD58g+UNLVl3E+oGehWoPDtjX8o+Rak5yflW/CBjcyE7R\nEyvX2p+Y/5X7Kuwjj035GFsJgqZoLAbIXmqJXg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1113,
|
|
"comment" : "point duplication during verification",
|
|
"msg" : "313233343030",
|
|
"sig" : "30650231008729cbb906f69d8d43f94cb8c4b9572c958272f5c6ff759ba9113f340b9f9aa598837aa37a4311717faf4cf66747a5b4023028a9b8c55eb6f5f1cf5c233aff640f48211cd2b9cf0593e8b9ffff67c7e69703f8a6c5382a36769d3cca57711ab63c65",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041886ddd282b023084953ef7d9e853a6adc1360cef7f56df7da0ca7bdcf4f3a5d227a730f9f20f9434b565dc4fa819e8522aa0fa9cb45dd96a50efcfffb2739c638672238da287ed97318da83848c25001d85ae11351397cb1f1af94ad29d62f5",
|
|
"wx" : "1886ddd282b023084953ef7d9e853a6adc1360cef7f56df7da0ca7bdcf4f3a5d227a730f9f20f9434b565dc4fa819e85",
|
|
"wy" : "22aa0fa9cb45dd96a50efcfffb2739c638672238da287ed97318da83848c25001d85ae11351397cb1f1af94ad29d62f5"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200041886ddd282b023084953ef7d9e853a6adc1360cef7f56df7da0ca7bdcf4f3a5d227a730f9f20f9434b565dc4fa819e8522aa0fa9cb45dd96a50efcfffb2739c638672238da287ed97318da83848c25001d85ae11351397cb1f1af94ad29d62f5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABBiG3dKCsCMISVPvfZ6FOmrcE2DO\n9/Vt99oMp73PTzpdInpzD58g+UNLVl3E+oGehSKqD6nLRd2WpQ78//snOcY4ZyI4\n2ih+2XMY2oOEjCUAHYWuETUTl8sfGvlK0p1i9Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1114,
|
|
"comment" : "duplication bug",
|
|
"msg" : "313233343030",
|
|
"sig" : "30650231008729cbb906f69d8d43f94cb8c4b9572c958272f5c6ff759ba9113f340b9f9aa598837aa37a4311717faf4cf66747a5b4023028a9b8c55eb6f5f1cf5c233aff640f48211cd2b9cf0593e8b9ffff67c7e69703f8a6c5382a36769d3cca57711ab63c65",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0489dd738efcb0f79811df6bec873485169450ada18e602721e61768be0d81e5d41381f24668276f32bfe31ff1c16bcb6b1f7a4d2823bcd73f236d90b6ea61d892026190e14317b5d110526e9e2675f03d5ef3fce87b5827a37e0cf19b4d3988c0",
|
|
"wx" : "0089dd738efcb0f79811df6bec873485169450ada18e602721e61768be0d81e5d41381f24668276f32bfe31ff1c16bcb6b",
|
|
"wy" : "1f7a4d2823bcd73f236d90b6ea61d892026190e14317b5d110526e9e2675f03d5ef3fce87b5827a37e0cf19b4d3988c0"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000489dd738efcb0f79811df6bec873485169450ada18e602721e61768be0d81e5d41381f24668276f32bfe31ff1c16bcb6b1f7a4d2823bcd73f236d90b6ea61d892026190e14317b5d110526e9e2675f03d5ef3fce87b5827a37e0cf19b4d3988c0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABIndc478sPeYEd9r7Ic0hRaUUK2h\njmAnIeYXaL4NgeXUE4HyRmgnbzK/4x/xwWvLax96TSgjvNc/I22Qtuph2JICYZDh\nQxe10RBSbp4mdfA9XvP86HtYJ6N+DPGbTTmIwA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1115,
|
|
"comment" : "comparison with point at infinity ",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402302ee85f80e112cf0d5a747a7f704cc09fb1ba7b034f1c1ce65fb224cee40161e29a68e78fce7febb013d810aba301772102301c25061a20a4e2a19cac497fa9c7a6c6376fe36862aa77bd6c9e1615bc00d454c30bbe23157ff3d00be80a009500e114",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04795592a673e82dff3d77450194e5308d64f45f11f759f34f7c7b5b7cc6ad73f9bff8f6633cc20378cff2e53fb7a5303085b5cd4621665aac8435d8ce85b26d444508b77b282e91cd5315c701d2e5b66ba4c00bf7e1eb0859a13cc351d00041a1",
|
|
"wx" : "795592a673e82dff3d77450194e5308d64f45f11f759f34f7c7b5b7cc6ad73f9bff8f6633cc20378cff2e53fb7a53030",
|
|
"wy" : "0085b5cd4621665aac8435d8ce85b26d444508b77b282e91cd5315c701d2e5b66ba4c00bf7e1eb0859a13cc351d00041a1"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b03620004795592a673e82dff3d77450194e5308d64f45f11f759f34f7c7b5b7cc6ad73f9bff8f6633cc20378cff2e53fb7a5303085b5cd4621665aac8435d8ce85b26d444508b77b282e91cd5315c701d2e5b66ba4c00bf7e1eb0859a13cc351d00041a1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABHlVkqZz6C3/PXdFAZTlMI1k9F8R\n91nzT3x7W3zGrXP5v/j2YzzCA3jP8uU/t6UwMIW1zUYhZlqshDXYzoWybURFCLd7\nKC6RzVMVxwHS5bZrpMAL9+HrCFmhPMNR0ABBoQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1116,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402302282bc382a2f4dfcb95c3495d7b4fd590ad520b3eb6be4d6ec2f80c4e0f70df87c4ba74a09b553ebb427b58df9d59fca02302ee85f80e112cf0d5a747a7f704cc09fb1ba7b034f1c1ce65fb224cee40161e29a68e78fce7febb013d810aba3017721",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0439d94ff8757dcdb67480cbc48e9679423e57de5a23232df0db1e0ff7e908614401e6cd8d615008ea8be51299d9e22de9438126d70d14e75ce41ea2f409be88e2806f7f73bd513731696bc59e7a2c1d44d5683d3bdc92baba1c2ada58809f8bef",
|
|
"wx" : "39d94ff8757dcdb67480cbc48e9679423e57de5a23232df0db1e0ff7e908614401e6cd8d615008ea8be51299d9e22de9",
|
|
"wy" : "438126d70d14e75ce41ea2f409be88e2806f7f73bd513731696bc59e7a2c1d44d5683d3bdc92baba1c2ada58809f8bef"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000439d94ff8757dcdb67480cbc48e9679423e57de5a23232df0db1e0ff7e908614401e6cd8d615008ea8be51299d9e22de9438126d70d14e75ce41ea2f409be88e2806f7f73bd513731696bc59e7a2c1d44d5683d3bdc92baba1c2ada58809f8bef",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABDnZT/h1fc22dIDLxI6WeUI+V95a\nIyMt8NseD/fpCGFEAebNjWFQCOqL5RKZ2eIt6UOBJtcNFOdc5B6i9Am+iOKAb39z\nvVE3MWlrxZ56LB1E1Wg9O9ySurocKtpYgJ+L7w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1117,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402302282bc382a2f4dfcb95c3495d7b4fd590ad520b3eb6be4d6ec2f80c4e0f70df87c4ba74a09b553ebb427b58df9d59fca0230141a7212a99a58bc947b0fed7945771fde747ddcd8c2e7d07227c6a1cf6e4e85afe3d0f47d12407008812bb745dc0e7c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0420b1fc8e2480a973e097337343490b12ae40652e4180dd4ae56df521daa9e391777c0d466f018af55519038dead355017232882bca3ccd6b375591f5b5096538ca5778355307e603148fde31f5acffeb4c6863541ad233de3f281ea0d235b6f3",
|
|
"wx" : "20b1fc8e2480a973e097337343490b12ae40652e4180dd4ae56df521daa9e391777c0d466f018af55519038dead35501",
|
|
"wy" : "7232882bca3ccd6b375591f5b5096538ca5778355307e603148fde31f5acffeb4c6863541ad233de3f281ea0d235b6f3"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000420b1fc8e2480a973e097337343490b12ae40652e4180dd4ae56df521daa9e391777c0d466f018af55519038dead355017232882bca3ccd6b375591f5b5096538ca5778355307e603148fde31f5acffeb4c6863541ad233de3f281ea0d235b6f3",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABCCx/I4kgKlz4Jczc0NJCxKuQGUu\nQYDdSuVt9SHaqeORd3wNRm8BivVVGQON6tNVAXIyiCvKPM1rN1WR9bUJZTjKV3g1\nUwfmAxSP3jH1rP/rTGhjVBrSM94/KB6g0jW28w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1118,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402302282bc382a2f4dfcb95c3495d7b4fd590ad520b3eb6be4d6ec2f80c4e0f70df87c4ba74a09b553ebb427b58df9d59fca02301c25061a20a4e2a19cac497fa9c7a6c6376fe36862aa77bd6c9e1615bc00d454c30bbe23157ff3d00be80a009500e114",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044a391d79cfa82b943123d69ee2d1bc0e0b7e1e6f93c69123bfce0bd4f31a5e3434062dd0e1aa8b886ceba362c4d6720c7a2b0543a156f1934e02d31e81d5d2785a71d541cc7e1e6e6132ebee42111f52a844937260719056ae7b10f751606c41",
|
|
"wx" : "4a391d79cfa82b943123d69ee2d1bc0e0b7e1e6f93c69123bfce0bd4f31a5e3434062dd0e1aa8b886ceba362c4d6720c",
|
|
"wy" : "7a2b0543a156f1934e02d31e81d5d2785a71d541cc7e1e6e6132ebee42111f52a844937260719056ae7b10f751606c41"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200044a391d79cfa82b943123d69ee2d1bc0e0b7e1e6f93c69123bfce0bd4f31a5e3434062dd0e1aa8b886ceba362c4d6720c7a2b0543a156f1934e02d31e81d5d2785a71d541cc7e1e6e6132ebee42111f52a844937260719056ae7b10f751606c41",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABEo5HXnPqCuUMSPWnuLRvA4Lfh5v\nk8aRI7/OC9TzGl40NAYt0OGqi4hs66NixNZyDHorBUOhVvGTTgLTHoHV0nhacdVB\nzH4ebmEy6+5CER9SqESTcmBxkFauexD3UWBsQQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1119,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402302282bc382a2f4dfcb95c3495d7b4fd590ad520b3eb6be4d6ec2f80c4e0f70df87c4ba74a09b553ebb427b58df9d59fca02307094186882938a8672b125fea71e9b18ddbf8da18aa9def5b2785856f00351530c2ef88c55ffcf402fa0280254038451",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0436854adacf83ce5f0e4422406d7b6f7db63d73d4c892a01e975ef6ee6b71a9334c9d57ce6ffcdb1a2e4174ddba799e127d619672035db4fd73e5e4b4ea920b74f2e70fd24ebca49d22fdb11e96b7867fa1838ca5babcd9dd096ab85e2f97b5ae",
|
|
"wx" : "36854adacf83ce5f0e4422406d7b6f7db63d73d4c892a01e975ef6ee6b71a9334c9d57ce6ffcdb1a2e4174ddba799e12",
|
|
"wy" : "7d619672035db4fd73e5e4b4ea920b74f2e70fd24ebca49d22fdb11e96b7867fa1838ca5babcd9dd096ab85e2f97b5ae"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000436854adacf83ce5f0e4422406d7b6f7db63d73d4c892a01e975ef6ee6b71a9334c9d57ce6ffcdb1a2e4174ddba799e127d619672035db4fd73e5e4b4ea920b74f2e70fd24ebca49d22fdb11e96b7867fa1838ca5babcd9dd096ab85e2f97b5ae",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABDaFStrPg85fDkQiQG17b322PXPU\nyJKgHpde9u5rcakzTJ1Xzm/82xouQXTdunmeEn1hlnIDXbT9c+XktOqSC3Ty5w/S\nTryknSL9sR6Wt4Z/oYOMpbq82d0JarheL5e1rg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1120,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402302282bc382a2f4dfcb95c3495d7b4fd590ad520b3eb6be4d6ec2f80c4e0f70df87c4ba74a09b553ebb427b58df9d59fca0230789eac6ff99e146b7ae25f90d7a0cabf36baf32d14916ee2aceea7cadc95d7221f56e5baee6d82a03307064ba32856e9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04804e6c71e493b783ecd375a4edcf86c77b1c2df551bbc73bed8516e4d11ce51a1dd081e19aa6f51c656818b853962178580bd6b2c4eabcf5b3741e6b7d59b0e7f2bddb247f5f9d6751cf09e3c6c9d1f7c27c0bb8d21e77a80ebadaf90af8b0d0",
|
|
"wx" : "00804e6c71e493b783ecd375a4edcf86c77b1c2df551bbc73bed8516e4d11ce51a1dd081e19aa6f51c656818b853962178",
|
|
"wy" : "580bd6b2c4eabcf5b3741e6b7d59b0e7f2bddb247f5f9d6751cf09e3c6c9d1f7c27c0bb8d21e77a80ebadaf90af8b0d0"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b03620004804e6c71e493b783ecd375a4edcf86c77b1c2df551bbc73bed8516e4d11ce51a1dd081e19aa6f51c656818b853962178580bd6b2c4eabcf5b3741e6b7d59b0e7f2bddb247f5f9d6751cf09e3c6c9d1f7c27c0bb8d21e77a80ebadaf90af8b0d0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABIBObHHkk7eD7NN1pO3Phsd7HC31\nUbvHO+2FFuTRHOUaHdCB4Zqm9RxlaBi4U5YheFgL1rLE6rz1s3Qea31ZsOfyvdsk\nf1+dZ1HPCePGydH3wnwLuNIed6gOutr5Cviw0A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1121,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402302282bc382a2f4dfcb95c3495d7b4fd590ad520b3eb6be4d6ec2f80c4e0f70df87c4ba74a09b553ebb427b58df9d59fca023064dc78d112cd6ed67d4323b302650a606ed41415bd8cfc40ec7438a70ee3d8680420e5f602aed591a324760c58140642",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042c115772dd298612197a1c59df9c25a86ac16fa4f27adf74bcc673bb4a6a4bb5d0b5b64470d5d26e0300922ab723732442f6ec209e27ce0b127d334745272643d3666bff54927419764de52322ee1696e620d15e0eea62fed0f20efe6c91e1e3",
|
|
"wx" : "2c115772dd298612197a1c59df9c25a86ac16fa4f27adf74bcc673bb4a6a4bb5d0b5b64470d5d26e0300922ab7237324",
|
|
"wy" : "42f6ec209e27ce0b127d334745272643d3666bff54927419764de52322ee1696e620d15e0eea62fed0f20efe6c91e1e3"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200042c115772dd298612197a1c59df9c25a86ac16fa4f27adf74bcc673bb4a6a4bb5d0b5b64470d5d26e0300922ab723732442f6ec209e27ce0b127d334745272643d3666bff54927419764de52322ee1696e620d15e0eea62fed0f20efe6c91e1e3",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABCwRV3LdKYYSGXocWd+cJahqwW+k\n8nrfdLzGc7tKaku10LW2RHDV0m4DAJIqtyNzJEL27CCeJ84LEn0zR0UnJkPTZmv/\nVJJ0GXZN5SMi7haW5iDRXg7qYv7Q8g7+bJHh4w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1122,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402301d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e02302ee85f80e112cf0d5a747a7f704cc09fb1ba7b034f1c1ce65fb224cee40161e29a68e78fce7febb013d810aba3017721",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04295778c9a3be2b373450f57daf10de66d32441750ac4289f6751ff61405ce0237f64e28ac5281a81d13fba81a8454e584c9f3991d615512faf0dc9107193b1b6f5cd684356ca51504d15c1ca4ba00b21c7c68eb4683222a8211e4ffd56da0e06",
|
|
"wx" : "295778c9a3be2b373450f57daf10de66d32441750ac4289f6751ff61405ce0237f64e28ac5281a81d13fba81a8454e58",
|
|
"wy" : "4c9f3991d615512faf0dc9107193b1b6f5cd684356ca51504d15c1ca4ba00b21c7c68eb4683222a8211e4ffd56da0e06"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b03620004295778c9a3be2b373450f57daf10de66d32441750ac4289f6751ff61405ce0237f64e28ac5281a81d13fba81a8454e584c9f3991d615512faf0dc9107193b1b6f5cd684356ca51504d15c1ca4ba00b21c7c68eb4683222a8211e4ffd56da0e06",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABClXeMmjvis3NFD1fa8Q3mbTJEF1\nCsQon2dR/2FAXOAjf2TiisUoGoHRP7qBqEVOWEyfOZHWFVEvrw3JEHGTsbb1zWhD\nVspRUE0VwcpLoAshx8aOtGgyIqghHk/9VtoOBg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1123,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402301d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e0230141a7212a99a58bc947b0fed7945771fde747ddcd8c2e7d07227c6a1cf6e4e85afe3d0f47d12407008812bb745dc0e7c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0465a340bc68f3fcead4f04277ee8675f9c17bc8c88426c5ba0313b8ce7da58d92ca9a0ffa32c7eee195857d860ba1eebe4dcd5be3a6778008b36ea19d902d93dd488f6fb65dc0719521553b39cb3c524b12681d2e07a8ef720cdc15011c23ba9d",
|
|
"wx" : "65a340bc68f3fcead4f04277ee8675f9c17bc8c88426c5ba0313b8ce7da58d92ca9a0ffa32c7eee195857d860ba1eebe",
|
|
"wy" : "4dcd5be3a6778008b36ea19d902d93dd488f6fb65dc0719521553b39cb3c524b12681d2e07a8ef720cdc15011c23ba9d"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000465a340bc68f3fcead4f04277ee8675f9c17bc8c88426c5ba0313b8ce7da58d92ca9a0ffa32c7eee195857d860ba1eebe4dcd5be3a6778008b36ea19d902d93dd488f6fb65dc0719521553b39cb3c524b12681d2e07a8ef720cdc15011c23ba9d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABGWjQLxo8/zq1PBCd+6GdfnBe8jI\nhCbFugMTuM59pY2SypoP+jLH7uGVhX2GC6Huvk3NW+Omd4AIs26hnZAtk91Ij2+2\nXcBxlSFVOznLPFJLEmgdLgeo73IM3BUBHCO6nQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1124,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402301d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e02301c25061a20a4e2a19cac497fa9c7a6c6376fe36862aa77bd6c9e1615bc00d454c30bbe23157ff3d00be80a009500e114",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0454a03902656bfaf4d6a54ff3429d9f9719bb61e6caf000e100992b31700e780e0f73f51614954acdddcaaa8b2311195b04ad3b19b01e150a39dc0cfaecc6498b18138ce612c492795687a488522644b3ddf7462c3c359bd091b7d39469571879",
|
|
"wx" : "54a03902656bfaf4d6a54ff3429d9f9719bb61e6caf000e100992b31700e780e0f73f51614954acdddcaaa8b2311195b",
|
|
"wy" : "04ad3b19b01e150a39dc0cfaecc6498b18138ce612c492795687a488522644b3ddf7462c3c359bd091b7d39469571879"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000454a03902656bfaf4d6a54ff3429d9f9719bb61e6caf000e100992b31700e780e0f73f51614954acdddcaaa8b2311195b04ad3b19b01e150a39dc0cfaecc6498b18138ce612c492795687a488522644b3ddf7462c3c359bd091b7d39469571879",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABFSgOQJla/r01qVP80Kdn5cZu2Hm\nyvAA4QCZKzFwDngOD3P1FhSVSs3dyqqLIxEZWwStOxmwHhUKOdwM+uzGSYsYE4zm\nEsSSeVaHpIhSJkSz3fdGLDw1m9CRt9OUaVcYeQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1125,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402301d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e02307094186882938a8672b125fea71e9b18ddbf8da18aa9def5b2785856f00351530c2ef88c55ffcf402fa0280254038451",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0446d10d749a47a4d3f25b6f28951a11f01a54c2413957a477162dabe0d08d8ae9b6a9f44b68ef341fb820b0c24c7a1c0e671ff166cd35d2f3cc821d58fa18e35d25e6033b9e790fce4818f9e570921c0034b381cc9ad254eeaf1b386e511b7c89",
|
|
"wx" : "46d10d749a47a4d3f25b6f28951a11f01a54c2413957a477162dabe0d08d8ae9b6a9f44b68ef341fb820b0c24c7a1c0e",
|
|
"wy" : "671ff166cd35d2f3cc821d58fa18e35d25e6033b9e790fce4818f9e570921c0034b381cc9ad254eeaf1b386e511b7c89"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000446d10d749a47a4d3f25b6f28951a11f01a54c2413957a477162dabe0d08d8ae9b6a9f44b68ef341fb820b0c24c7a1c0e671ff166cd35d2f3cc821d58fa18e35d25e6033b9e790fce4818f9e570921c0034b381cc9ad254eeaf1b386e511b7c89",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABEbRDXSaR6TT8ltvKJUaEfAaVMJB\nOVekdxYtq+DQjYrptqn0S2jvNB+4ILDCTHocDmcf8WbNNdLzzIIdWPoY410l5gM7\nnnkPzkgY+eVwkhwANLOBzJrSVO6vGzhuURt8iQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1126,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402301d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e0230789eac6ff99e146b7ae25f90d7a0cabf36baf32d14916ee2aceea7cadc95d7221f56e5baee6d82a03307064ba32856e9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048ae92de10b244ac7f0deb6b102d075951d8c13b2960c2e98d7fb42b8abe90fd07a4a21b86eb4c77efe9adb6725676d1736063f3407c71627acaa83be9029c7a40e8aa896cb68a9c2fa2aaa1079035a283181cd3f2723b221d5a8747ad392a0f9",
|
|
"wx" : "008ae92de10b244ac7f0deb6b102d075951d8c13b2960c2e98d7fb42b8abe90fd07a4a21b86eb4c77efe9adb6725676d17",
|
|
"wy" : "36063f3407c71627acaa83be9029c7a40e8aa896cb68a9c2fa2aaa1079035a283181cd3f2723b221d5a8747ad392a0f9"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200048ae92de10b244ac7f0deb6b102d075951d8c13b2960c2e98d7fb42b8abe90fd07a4a21b86eb4c77efe9adb6725676d1736063f3407c71627acaa83be9029c7a40e8aa896cb68a9c2fa2aaa1079035a283181cd3f2723b221d5a8747ad392a0f9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABIrpLeELJErH8N62sQLQdZUdjBOy\nlgwumNf7Qrir6Q/QekohuG60x37+mttnJWdtFzYGPzQHxxYnrKqDvpApx6QOiqiW\ny2ipwvoqqhB5A1ooMYHNPycjsiHVqHR605Kg+Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1127,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402301d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e023064dc78d112cd6ed67d4323b302650a606ed41415bd8cfc40ec7438a70ee3d8680420e5f602aed591a324760c58140642",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e8abe1d7520f9c2a45cb1eb8e95cfd55262b70b29feec5864e19c054ff99129280e4646217791811142820341263c5315",
|
|
"wx" : "1d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e",
|
|
"wy" : "008abe1d7520f9c2a45cb1eb8e95cfd55262b70b29feec5864e19c054ff99129280e4646217791811142820341263c5315"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200041d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e8abe1d7520f9c2a45cb1eb8e95cfd55262b70b29feec5864e19c054ff99129280e4646217791811142820341263c5315",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABB0cZPBoz0X/oqY6gbfBP2uIR6Pn\nfvFP49t/yv4MvRDo6CbgNDbWRqrvh7LiR9SvHoq+HXUg+cKkXLHrjpXP1VJitwsp\n/uxYZOGcBU/5kSkoDkZGIXeRgRFCggNBJjxTFQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1128,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100f9b127f0d81ebcd17b7ba0ea131c660d340b05ce557c82160e0f793de07d38179023942871acb7002dfafdfffc8deace0230141a7212a99a58bc947b0fed7945771fde747ddcd8c2e7d07227c6a1cf6e4e85afe3d0f47d12407008812bb745dc0e7c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1129,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402301fc115146e521d7ea33f3e128eb01db0f653dc45852c2b50301d639b778b13380e51d9366552cf2049156605d57adffc0230141a7212a99a58bc947b0fed7945771fde747ddcd8c2e7d07227c6a1cf6e4e85afe3d0f47d12407008812bb745dc0e7c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e01fb010d823eaa83b2ab83efbb166c8cb27865dfee67fe4f3115d4c98625e7fb9e8d6108188b996044c4fcd20acb993e",
|
|
"wx" : "1d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e",
|
|
"wy" : "01fb010d823eaa83b2ab83efbb166c8cb27865dfee67fe4f3115d4c98625e7fb9e8d6108188b996044c4fcd20acb993e"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200041d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e01fb010d823eaa83b2ab83efbb166c8cb27865dfee67fe4f3115d4c98625e7fb9e8d6108188b996044c4fcd20acb993e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABB0cZPBoz0X/oqY6gbfBP2uIR6Pn\nfvFP49t/yv4MvRDo6CbgNDbWRqrvh7LiR9SvHgH7AQ2CPqqDsquD77sWbIyyeGXf\n7mf+TzEV1MmGJef7no1hCBiLmWBExPzSCsuZPg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1130,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3065023100f9b127f0d81ebcd17b7ba0ea131c660d340b05ce557c82160e0f793de07d38179023942871acb7002dfafdfffc8deace0230141a7212a99a58bc947b0fed7945771fde747ddcd8c2e7d07227c6a1cf6e4e85afe3d0f47d12407008812bb745dc0e7c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1131,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402301fc115146e521d7ea33f3e128eb01db0f653dc45852c2b50301d639b778b13380e51d9366552cf2049156605d57adffc0230141a7212a99a58bc947b0fed7945771fde747ddcd8c2e7d07227c6a1cf6e4e85afe3d0f47d12407008812bb745dc0e7c",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0407310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc36226a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0",
|
|
"wx" : "07310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc362",
|
|
"wy" : "26a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000407310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc36226a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEBzEPkKnq4UmghAL1QZSg97SsQnv42b1s\ndoEHHcR9w2ImptN6xG1h/WAMC/G/+HaJ7RF92msOWTGK4BChl6JsoA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1132,
|
|
"comment" : "k*G has a large x-coordinate",
|
|
"msg" : "313233343030",
|
|
"sig" : "30360211014551231950b75fc4402da1722fc9baeb022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1133,
|
|
"comment" : "r too large",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2c022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5",
|
|
"wx" : "00bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22",
|
|
"wy" : "705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEvJfnWF7srUjhZoO8QJFwjhqTDGg/xHAB\n1LODWU8sTiJwWYnPadrq3U5OS4FR7YiN/sIPsBco2J1Ws/OPKunIxQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1134,
|
|
"comment" : "r,s are large",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413f022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0444ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463",
|
|
"wx" : "44ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252",
|
|
"wy" : "00b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000444ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERK0zmvvCHpq/e2AqXKU16jeBNbbRDYEx\nC92Ck9HfMlK2P/fQd0dw+P4dFyL6g6zQL0NOT8EQoMyPbd3TfVbEYw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1135,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203e9a7582886089c62fb840cf3b83061cd1cff3ae4341808bb5bdee6191174177",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0",
|
|
"wx" : "1260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c",
|
|
"wy" : "5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEEmDCEiyeJE4a9RUb7eDDriO1TXxZaIHT\n7rrSHzfdh4xcmgwamt52c3qIEb1qf5KHyXjuOWqonBHkcinSzLVS8A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1136,
|
|
"comment" : "r and s^-1 have a large Hamming weight",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022024238e70b431b1a64efdf9032669939d4b77f249503fc6905feb7540dea3e6d2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159",
|
|
"wx" : "1877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce",
|
|
"wy" : "00821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGHcEW+JdNKHQYA+dXADQZFoqVDebbO76\n0ua/XCozUs6CGlMswXUe4dNtQcPWq06bFD5E7EbXNHjqanmlwOVBWQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1137,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77",
|
|
"wx" : "455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50",
|
|
"wy" : "00aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERVQ5/MPS3uzt3q7OYOe9FzBPNuu2Aq31\noi4Ljx20alCuw4+yuvIh6ajRiHx79iIt0YNGNOdyYzFa9tI2CdBPdw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1138,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020102",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece7180449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d",
|
|
"wx" : "2e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece718",
|
|
"wy" : "0449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200042e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece7180449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAELh9GawJMDDrOJDfeCRJ/7QS3BvlLGaIb\nscKs81zs5xgESa41I9clNOlklyz9OzivC93ZYZ5a8iPk0aQPNM+fHQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1139,
|
|
"comment" : "small r and s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3006020101020103",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1140,
|
|
"comment" : "r is larger than n",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142020103",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04dda95d7b0698de5d2d0b4f0034dbe35b50f978fcc518a84abf9c99efd96a25305adc08d6a63dbe831ab99cd9146e3c4c45492ad19521612542256d6af60e7888",
|
|
"wx" : "00dda95d7b0698de5d2d0b4f0034dbe35b50f978fcc518a84abf9c99efd96a2530",
|
|
"wy" : "5adc08d6a63dbe831ab99cd9146e3c4c45492ad19521612542256d6af60e7888"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004dda95d7b0698de5d2d0b4f0034dbe35b50f978fcc518a84abf9c99efd96a25305adc08d6a63dbe831ab99cd9146e3c4c45492ad19521612542256d6af60e7888",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE3aldewaY3l0tC08ANNvjW1D5ePzFGKhK\nv5yZ79lqJTBa3AjWpj2+gxq5nNkUbjxMRUkq0ZUhYSVCJW1q9g54iA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1141,
|
|
"comment" : "s is larger than n",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020101022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd04917c8",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0402ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee777eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866",
|
|
"wx" : "02ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee77",
|
|
"wy" : "7eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000402ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee777eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAu9NbWz9WpTx13hCJuPipsCkNsVYOWGf\nOPtEcrX57nd+tKzU7r2lzXKHX/0qLyYinC3GtGUAkZpDLIZznzroZg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1142,
|
|
"comment" : "small r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "302702020101022100c58b162c58b162c58b162c58b162c58a1b242973853e16db75c8a1a71da4d39d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08",
|
|
"wx" : "464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584",
|
|
"wy" : "00b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERk9P9xVynK5Qcso72AHTGVtnrsZemwGq\n0gopQ9y8tYSxr9KdMaOaEdVwqhWXQ5s7LRlxvy8avxVDLQIHsQ0dCA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1143,
|
|
"comment" : "smallish r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "302c02072d9b4d347952cc022100fcbc5103d0da267477d1791461cf2aa44bf9d43198f79507bd8779d69a13108e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4cdeadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f",
|
|
"wx" : "157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4c",
|
|
"wy" : "00deadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4cdeadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEFX+P3fNz619Jz88Q2LhTz5HLzX1mXDUi\nun3XON23mkzerfGlxEjqPJ9BkaiZmr/MdXrG1kVn7wcsR/7GE0Q7jw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1144,
|
|
"comment" : "100-bit r and small s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3032020d1033e67e37b32b445580bf4efc022100906f906f906f906f906f906f906f906ed8e426f7b1968c35a204236a579723d2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa",
|
|
"wx" : "0934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0",
|
|
"wy" : "00d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200040934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAECTSlN0ZsB0MOLEj+uZC7Gft4zsyc7kJO\npNEwKRqiN/DU+S0jtGKAS1toxSVYwByZltv3J/zKu+7bliGkAFNa+g==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1145,
|
|
"comment" : "small r and 100 bit s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3026020201010220783266e90f43dafe5cd9b3b0be86de22f9de83677d0f50713a468ec72fcf5d57",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04d6ef20be66c893f741a9bf90d9b74675d1c2a31296397acb3ef174fd0b300c654a0c95478ca00399162d7f0f2dc89efdc2b28a30fbabe285857295a4b0c4e265",
|
|
"wx" : "00d6ef20be66c893f741a9bf90d9b74675d1c2a31296397acb3ef174fd0b300c65",
|
|
"wy" : "4a0c95478ca00399162d7f0f2dc89efdc2b28a30fbabe285857295a4b0c4e265"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d6ef20be66c893f741a9bf90d9b74675d1c2a31296397acb3ef174fd0b300c654a0c95478ca00399162d7f0f2dc89efdc2b28a30fbabe285857295a4b0c4e265",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE1u8gvmbIk/dBqb+Q2bdGddHCoxKWOXrL\nPvF0/QswDGVKDJVHjKADmRYtfw8tyJ79wrKKMPur4oWFcpWksMTiZQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1146,
|
|
"comment" : "100-bit r and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3031020d062522bbd3ecbe7c39e93e7c260220783266e90f43dafe5cd9b3b0be86de22f9de83677d0f50713a468ec72fcf5d57",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b7291d1404e0c0c07dab9372189f4bd58d2ceaa8d15ede544d9514545ba9ee0629c9a63d5e308769cc30ec276a410e6464a27eeafd9e599db10f053a4fe4a829",
|
|
"wx" : "00b7291d1404e0c0c07dab9372189f4bd58d2ceaa8d15ede544d9514545ba9ee06",
|
|
"wy" : "29c9a63d5e308769cc30ec276a410e6464a27eeafd9e599db10f053a4fe4a829"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b7291d1404e0c0c07dab9372189f4bd58d2ceaa8d15ede544d9514545ba9ee0629c9a63d5e308769cc30ec276a410e6464a27eeafd9e599db10f053a4fe4a829",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEtykdFATgwMB9q5NyGJ9L1Y0s6qjRXt5U\nTZUUVFup7gYpyaY9XjCHacww7CdqQQ5kZKJ+6v2eWZ2xDwU6T+SoKQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1147,
|
|
"comment" : "r and s^-1 are close to n",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03640c1022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04bb79f61857f743bfa1b6e7111ce4094377256969e4e15159123d9548acc3be6c1f9d9f8860dcffd3eb36dd6c31ff2e7226c2009c4c94d8d7d2b5686bf7abd677",
|
|
"wx" : "00bb79f61857f743bfa1b6e7111ce4094377256969e4e15159123d9548acc3be6c",
|
|
"wy" : "1f9d9f8860dcffd3eb36dd6c31ff2e7226c2009c4c94d8d7d2b5686bf7abd677"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bb79f61857f743bfa1b6e7111ce4094377256969e4e15159123d9548acc3be6c1f9d9f8860dcffd3eb36dd6c31ff2e7226c2009c4c94d8d7d2b5686bf7abd677",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEu3n2GFf3Q7+htucRHOQJQ3claWnk4VFZ\nEj2VSKzDvmwfnZ+IYNz/0+s23Wwx/y5yJsIAnEyU2NfStWhr96vWdw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1148,
|
|
"comment" : "s == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1020101",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1149,
|
|
"comment" : "s == 0",
|
|
"msg" : "313233343030",
|
|
"sig" : "3025022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c1020100",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04d533b789a4af890fa7a82a1fae58c404f9a62a50b49adafab349c513b415087401b4171b803e76b34a9861e10f7bc289a066fd01bd29f84c987a10a5fb18c2d4",
|
|
"wx" : "00d533b789a4af890fa7a82a1fae58c404f9a62a50b49adafab349c513b4150874",
|
|
"wy" : "01b4171b803e76b34a9861e10f7bc289a066fd01bd29f84c987a10a5fb18c2d4"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d533b789a4af890fa7a82a1fae58c404f9a62a50b49adafab349c513b415087401b4171b803e76b34a9861e10f7bc289a066fd01bd29f84c987a10a5fb18c2d4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE1TO3iaSviQ+nqCofrljEBPmmKlC0mtr6\ns0nFE7QVCHQBtBcbgD52s0qYYeEPe8KJoGb9Ab0p+EyYehCl+xjC1A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1150,
|
|
"comment" : "point at infinity during verify",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043a3150798c8af69d1e6e981f3a45402ba1d732f4be8330c5164f49e10ec555b4221bd842bc5e4d97eff37165f60e3998a424d72a450cf95ea477c78287d0343a",
|
|
"wx" : "3a3150798c8af69d1e6e981f3a45402ba1d732f4be8330c5164f49e10ec555b4",
|
|
"wy" : "221bd842bc5e4d97eff37165f60e3998a424d72a450cf95ea477c78287d0343a"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200043a3150798c8af69d1e6e981f3a45402ba1d732f4be8330c5164f49e10ec555b4221bd842bc5e4d97eff37165f60e3998a424d72a450cf95ea477c78287d0343a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEOjFQeYyK9p0ebpgfOkVAK6HXMvS+gzDF\nFk9J4Q7FVbQiG9hCvF5Nl+/zcWX2DjmYpCTXKkUM+V6kd8eCh9A0Og==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1151,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a002207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043b37df5fb347c69a0f17d85c0c7ca83736883a825e13143d0fcfc8101e851e800de3c090b6ca21ba543517330c04b12f948c6badf14a63abffdf4ef8c7537026",
|
|
"wx" : "3b37df5fb347c69a0f17d85c0c7ca83736883a825e13143d0fcfc8101e851e80",
|
|
"wy" : "0de3c090b6ca21ba543517330c04b12f948c6badf14a63abffdf4ef8c7537026"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200043b37df5fb347c69a0f17d85c0c7ca83736883a825e13143d0fcfc8101e851e800de3c090b6ca21ba543517330c04b12f948c6badf14a63abffdf4ef8c7537026",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEOzffX7NHxpoPF9hcDHyoNzaIOoJeExQ9\nD8/IEB6FHoAN48CQtsohulQ1FzMMBLEvlIxrrfFKY6v/3074x1NwJg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1152,
|
|
"comment" : "edge case for signature malleability",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a002207fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04feb5163b0ece30ff3e03c7d55c4380fa2fa81ee2c0354942ff6f08c99d0cd82ce87de05ee1bda089d3e4e248fa0f721102acfffdf50e654be281433999df897e",
|
|
"wx" : "00feb5163b0ece30ff3e03c7d55c4380fa2fa81ee2c0354942ff6f08c99d0cd82c",
|
|
"wy" : "00e87de05ee1bda089d3e4e248fa0f721102acfffdf50e654be281433999df897e"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004feb5163b0ece30ff3e03c7d55c4380fa2fa81ee2c0354942ff6f08c99d0cd82ce87de05ee1bda089d3e4e248fa0f721102acfffdf50e654be281433999df897e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE/rUWOw7OMP8+A8fVXEOA+i+oHuLANUlC\n/28IyZ0M2CzofeBe4b2gidPk4kj6D3IRAqz//fUOZUvigUM5md+Jfg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1153,
|
|
"comment" : "u1 == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca605023",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04238ced001cf22b8853e02edc89cbeca5050ba7e042a7a77f9382cd414922897640683d3094643840f295890aa4c18aa39b41d77dd0fb3bb2700e4f9ec284ffc2",
|
|
"wx" : "238ced001cf22b8853e02edc89cbeca5050ba7e042a7a77f9382cd4149228976",
|
|
"wy" : "40683d3094643840f295890aa4c18aa39b41d77dd0fb3bb2700e4f9ec284ffc2"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004238ced001cf22b8853e02edc89cbeca5050ba7e042a7a77f9382cd414922897640683d3094643840f295890aa4c18aa39b41d77dd0fb3bb2700e4f9ec284ffc2",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEI4ztABzyK4hT4C7cicvspQULp+BCp6d/\nk4LNQUkiiXZAaD0wlGQ4QPKViQqkwYqjm0HXfdD7O7JwDk+ewoT/wg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1154,
|
|
"comment" : "u1 == n - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022044a5ad0bd0636d9e12bc9e0a6bdd5e1bba77f523842193b3b82e448e05d5f11e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04961cf64817c06c0e51b3c2736c922fde18bd8c4906fcd7f5ef66c4678508f35ed2c5d18168cfbe70f2f123bd7419232bb92dd69113e2941061889481c5a027bf",
|
|
"wx" : "00961cf64817c06c0e51b3c2736c922fde18bd8c4906fcd7f5ef66c4678508f35e",
|
|
"wy" : "00d2c5d18168cfbe70f2f123bd7419232bb92dd69113e2941061889481c5a027bf"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004961cf64817c06c0e51b3c2736c922fde18bd8c4906fcd7f5ef66c4678508f35ed2c5d18168cfbe70f2f123bd7419232bb92dd69113e2941061889481c5a027bf",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAElhz2SBfAbA5Rs8JzbJIv3hi9jEkG/Nf1\n72bEZ4UI817SxdGBaM++cPLxI710GSMruS3WkRPilBBhiJSBxaAnvw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1155,
|
|
"comment" : "u2 == 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0413681eae168cd4ea7cf2e2a45d052742d10a9f64e796867dbdcb829fe0b1028816528760d177376c09df79de39557c329cc1753517acffe8fa2ec298026b8384",
|
|
"wx" : "13681eae168cd4ea7cf2e2a45d052742d10a9f64e796867dbdcb829fe0b10288",
|
|
"wy" : "16528760d177376c09df79de39557c329cc1753517acffe8fa2ec298026b8384"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000413681eae168cd4ea7cf2e2a45d052742d10a9f64e796867dbdcb829fe0b1028816528760d177376c09df79de39557c329cc1753517acffe8fa2ec298026b8384",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEE2gerhaM1Op88uKkXQUnQtEKn2TnloZ9\nvcuCn+CxAogWUodg0Xc3bAnfed45VXwynMF1NRes/+j6LsKYAmuDhA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1156,
|
|
"comment" : "u2 == n - 1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8022100aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa9d1c9e899ca306ad27fe1945de0242b89",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045aa7abfdb6b4086d543325e5d79c6e95ce42f866d2bb84909633a04bb1aa31c291c80088794905e1da33336d874e2f91ccf45cc59185bede5dd6f3f7acaae18b",
|
|
"wx" : "5aa7abfdb6b4086d543325e5d79c6e95ce42f866d2bb84909633a04bb1aa31c2",
|
|
"wy" : "0091c80088794905e1da33336d874e2f91ccf45cc59185bede5dd6f3f7acaae18b"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200045aa7abfdb6b4086d543325e5d79c6e95ce42f866d2bb84909633a04bb1aa31c291c80088794905e1da33336d874e2f91ccf45cc59185bede5dd6f3f7acaae18b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEWqer/ba0CG1UMyXl15xulc5C+GbSu4SQ\nljOgS7GqMcKRyACIeUkF4dozM22HTi+RzPRcxZGFvt5d1vP3rKrhiw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1157,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100e91e1ba6ba898620a46bcb51dc0b8b4ad1dc35dad892c4552d1847b2ce444637",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400277791b305a45b2b39590b2f05d3392a6c8182cef4eb540120e0f5c206c3e464108233fb0b8c3ac892d79ef8e0fbf92ed133addb4554270132584dc52eef41",
|
|
"wx" : "277791b305a45b2b39590b2f05d3392a6c8182cef4eb540120e0f5c206c3e4",
|
|
"wy" : "64108233fb0b8c3ac892d79ef8e0fbf92ed133addb4554270132584dc52eef41"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000400277791b305a45b2b39590b2f05d3392a6c8182cef4eb540120e0f5c206c3e464108233fb0b8c3ac892d79ef8e0fbf92ed133addb4554270132584dc52eef41",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEACd3kbMFpFsrOVkLLwXTOSpsgYLO9OtU\nASDg9cIGw+RkEIIz+wuMOsiS15744Pv5LtEzrdtFVCcBMlhNxS7vQQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1158,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100e36bf0cec06d9b841da81332812f74f30bbaec9f202319206c6f0b8a0a400ff7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046efa092b68de9460f0bcc919005a5f6e80e19de98968be3cd2c770a9949bfb1ac75e6e5087d6550d5f9beb1e79e5029307bc255235e2d5dc99241ac3ab886c49",
|
|
"wx" : "6efa092b68de9460f0bcc919005a5f6e80e19de98968be3cd2c770a9949bfb1a",
|
|
"wy" : "00c75e6e5087d6550d5f9beb1e79e5029307bc255235e2d5dc99241ac3ab886c49"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200046efa092b68de9460f0bcc919005a5f6e80e19de98968be3cd2c770a9949bfb1ac75e6e5087d6550d5f9beb1e79e5029307bc255235e2d5dc99241ac3ab886c49",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEbvoJK2jelGDwvMkZAFpfboDhnemJaL48\n0sdwqZSb+xrHXm5Qh9ZVDV+b6x555QKTB7wlUjXi1dyZJBrDq4hsSQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1159,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100ea26b57af884b6c06e348efe139c1e4e9ec9518d60c340f6bac7d278ca08d8a6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0472d4a19c4f9d2cf5848ea40445b70d4696b5f02d632c0c654cc7d7eeb0c6d058e8c4cd9943e459174c7ac01fa742198e47e6c19a6bdb0c4f6c237831c1b3f942",
|
|
"wx" : "72d4a19c4f9d2cf5848ea40445b70d4696b5f02d632c0c654cc7d7eeb0c6d058",
|
|
"wy" : "00e8c4cd9943e459174c7ac01fa742198e47e6c19a6bdb0c4f6c237831c1b3f942"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000472d4a19c4f9d2cf5848ea40445b70d4696b5f02d632c0c654cc7d7eeb0c6d058e8c4cd9943e459174c7ac01fa742198e47e6c19a6bdb0c4f6c237831c1b3f942",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEctShnE+dLPWEjqQERbcNRpa18C1jLAxl\nTMfX7rDG0FjoxM2ZQ+RZF0x6wB+nQhmOR+bBmmvbDE9sI3gxwbP5Qg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1160,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02205b1d27a7694c146244a5ad0bd0636d9d9ef3b9fb58385418d9c982105077d1b7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042a8ea2f50dcced0c217575bdfa7cd47d1c6f100041ec0e35512794c1be7e740258f8c17122ed303fda7143eb58bede70295b653266013b0b0ebd3f053137f6ec",
|
|
"wx" : "2a8ea2f50dcced0c217575bdfa7cd47d1c6f100041ec0e35512794c1be7e7402",
|
|
"wy" : "58f8c17122ed303fda7143eb58bede70295b653266013b0b0ebd3f053137f6ec"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200042a8ea2f50dcced0c217575bdfa7cd47d1c6f100041ec0e35512794c1be7e740258f8c17122ed303fda7143eb58bede70295b653266013b0b0ebd3f053137f6ec",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEKo6i9Q3M7QwhdXW9+nzUfRxvEABB7A41\nUSeUwb5+dAJY+MFxIu0wP9pxQ+tYvt5wKVtlMmYBOwsOvT8FMTf27A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1161,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100d27a7694c146244a5ad0bd0636d9e12abe687897e8e9998ddbd4e59a78520d0f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0488de689ce9af1e94be6a2089c8a8b1253ffdbb6c8e9c86249ba220001a4ad3b80c4998e54842f413b9edb1825acbb6335e81e4d184b2b01c8bebdc85d1f28946",
|
|
"wx" : "0088de689ce9af1e94be6a2089c8a8b1253ffdbb6c8e9c86249ba220001a4ad3b8",
|
|
"wy" : "0c4998e54842f413b9edb1825acbb6335e81e4d184b2b01c8bebdc85d1f28946"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000488de689ce9af1e94be6a2089c8a8b1253ffdbb6c8e9c86249ba220001a4ad3b80c4998e54842f413b9edb1825acbb6335e81e4d184b2b01c8bebdc85d1f28946",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEiN5onOmvHpS+aiCJyKixJT/9u2yOnIYk\nm6IgABpK07gMSZjlSEL0E7ntsYJay7YzXoHk0YSysByL69yF0fKJRg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1162,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100a4f4ed29828c4894b5a17a0c6db3c256c2221449228a92dff7d76ca8206dd8dd",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04fea2d31f70f90d5fb3e00e186ac42ab3c1615cee714e0b4e1131b3d4d8225bf7b037a18df2ac15343f30f74067ddf29e817d5f77f8dce05714da59c094f0cda9",
|
|
"wx" : "00fea2d31f70f90d5fb3e00e186ac42ab3c1615cee714e0b4e1131b3d4d8225bf7",
|
|
"wy" : "00b037a18df2ac15343f30f74067ddf29e817d5f77f8dce05714da59c094f0cda9"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004fea2d31f70f90d5fb3e00e186ac42ab3c1615cee714e0b4e1131b3d4d8225bf7b037a18df2ac15343f30f74067ddf29e817d5f77f8dce05714da59c094f0cda9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE/qLTH3D5DV+z4A4YasQqs8FhXO5xTgtO\nETGz1NgiW/ewN6GN8qwVND8w90Bn3fKegX1fd/jc4FcU2lnAlPDNqQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1163,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0220694c146244a5ad0bd0636d9e12bc9e09e60e68b90d0b5e6c5dddd0cb694d8799",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047258911e3d423349166479dbe0b8341af7fbd03d0a7e10edccb36b6ceea5a3db17ac2b8992791128fa3b96dc2fbd4ca3bfa782ef2832fc6656943db18e7346b0",
|
|
"wx" : "7258911e3d423349166479dbe0b8341af7fbd03d0a7e10edccb36b6ceea5a3db",
|
|
"wy" : "17ac2b8992791128fa3b96dc2fbd4ca3bfa782ef2832fc6656943db18e7346b0"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200047258911e3d423349166479dbe0b8341af7fbd03d0a7e10edccb36b6ceea5a3db17ac2b8992791128fa3b96dc2fbd4ca3bfa782ef2832fc6656943db18e7346b0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEcliRHj1CM0kWZHnb4Lg0Gvf70D0KfhDt\nzLNrbO6lo9sXrCuJknkRKPo7ltwvvUyjv6eC7ygy/GZWlD2xjnNGsA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1164,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02203d7f487c07bfc5f30846938a3dcef696444707cf9677254a92b06c63ab867d22",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044f28461dea64474d6bb34d1499c97d37b9e95633df1ceeeaacd45016c98b3914c8818810b8cc06ddb40e8a1261c528faa589455d5a6df93b77bc5e0e493c7470",
|
|
"wx" : "4f28461dea64474d6bb34d1499c97d37b9e95633df1ceeeaacd45016c98b3914",
|
|
"wy" : "00c8818810b8cc06ddb40e8a1261c528faa589455d5a6df93b77bc5e0e493c7470"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200044f28461dea64474d6bb34d1499c97d37b9e95633df1ceeeaacd45016c98b3914c8818810b8cc06ddb40e8a1261c528faa589455d5a6df93b77bc5e0e493c7470",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAETyhGHepkR01rs00Umcl9N7npVjPfHO7q\nrNRQFsmLORTIgYgQuMwG3bQOihJhxSj6pYlFXVpt+Tt3vF4OSTx0cA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1165,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02206c7648fc0fbf8a06adb8b839f97b4ff7a800f11b1e37c593b261394599792ba4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0474f2a814fb5d8eca91a69b5e60712732b3937de32829be974ed7b68c5c2f5d66eff0f07c56f987a657f42196205f588c0f1d96fd8a63a5f238b48f478788fe3b",
|
|
"wx" : "74f2a814fb5d8eca91a69b5e60712732b3937de32829be974ed7b68c5c2f5d66",
|
|
"wy" : "00eff0f07c56f987a657f42196205f588c0f1d96fd8a63a5f238b48f478788fe3b"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000474f2a814fb5d8eca91a69b5e60712732b3937de32829be974ed7b68c5c2f5d66eff0f07c56f987a657f42196205f588c0f1d96fd8a63a5f238b48f478788fe3b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEdPKoFPtdjsqRppteYHEnMrOTfeMoKb6X\nTte2jFwvXWbv8PB8VvmHplf0IZYgX1iMDx2W/YpjpfI4tI9Hh4j+Ow==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1166,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0221009be363a286f23f6322c205449d320baad417953ecb70f6214e90d49d7d1f26a8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04195b51a7cc4a21b8274a70a90de779814c3c8ca358328208c09a29f336b82d6ab2416b7c92fffdc29c3b1282dd2a77a4d04df7f7452047393d849989c5cee9ad",
|
|
"wx" : "195b51a7cc4a21b8274a70a90de779814c3c8ca358328208c09a29f336b82d6a",
|
|
"wy" : "00b2416b7c92fffdc29c3b1282dd2a77a4d04df7f7452047393d849989c5cee9ad"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004195b51a7cc4a21b8274a70a90de779814c3c8ca358328208c09a29f336b82d6ab2416b7c92fffdc29c3b1282dd2a77a4d04df7f7452047393d849989c5cee9ad",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGVtRp8xKIbgnSnCpDed5gUw8jKNYMoII\nwJop8za4LWqyQWt8kv/9wpw7EoLdKnek0E3390UgRzk9hJmJxc7prQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1167,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022029798c5c45bdf58b4a7b2fdc2c46ab4af1218c7eeb9f0f27a88f1267674de3b0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04622fc74732034bec2ddf3bc16d34b3d1f7a327dd2a8c19bab4bb4fe3a24b58aa736b2f2fae76f4dfaecc9096333b01328d51eb3fda9c9227e90d0b449983c4f0",
|
|
"wx" : "622fc74732034bec2ddf3bc16d34b3d1f7a327dd2a8c19bab4bb4fe3a24b58aa",
|
|
"wy" : "736b2f2fae76f4dfaecc9096333b01328d51eb3fda9c9227e90d0b449983c4f0"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004622fc74732034bec2ddf3bc16d34b3d1f7a327dd2a8c19bab4bb4fe3a24b58aa736b2f2fae76f4dfaecc9096333b01328d51eb3fda9c9227e90d0b449983c4f0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEYi/HRzIDS+wt3zvBbTSz0fejJ90qjBm6\ntLtP46JLWKpzay8vrnb0367MkJYzOwEyjVHrP9qckifpDQtEmYPE8A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1168,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02200b70f22ca2bb3cefadca1a5711fa3a59f4695385eb5aedf3495d0b6d00f8fd85",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041f7f85caf2d7550e7af9b65023ebb4dce3450311692309db269969b834b611c70827f45b78020ecbbaf484fdd5bfaae6870f1184c21581baf6ef82bd7b530f93",
|
|
"wx" : "1f7f85caf2d7550e7af9b65023ebb4dce3450311692309db269969b834b611c7",
|
|
"wy" : "0827f45b78020ecbbaf484fdd5bfaae6870f1184c21581baf6ef82bd7b530f93"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041f7f85caf2d7550e7af9b65023ebb4dce3450311692309db269969b834b611c70827f45b78020ecbbaf484fdd5bfaae6870f1184c21581baf6ef82bd7b530f93",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEH3+FyvLXVQ56+bZQI+u03ONFAxFpIwnb\nJplpuDS2EccIJ/RbeAIOy7r0hP3Vv6rmhw8RhMIVgbr274K9e1MPkw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1169,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022016e1e459457679df5b9434ae23f474b3e8d2a70bd6b5dbe692ba16da01f1fb0a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0449c197dc80ad1da47a4342b93893e8e1fb0bb94fc33a83e783c00b24c781377aefc20da92bac762951f72474becc734d4cc22ba81b895e282fdac4df7af0f37d",
|
|
"wx" : "49c197dc80ad1da47a4342b93893e8e1fb0bb94fc33a83e783c00b24c781377a",
|
|
"wy" : "00efc20da92bac762951f72474becc734d4cc22ba81b895e282fdac4df7af0f37d"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000449c197dc80ad1da47a4342b93893e8e1fb0bb94fc33a83e783c00b24c781377aefc20da92bac762951f72474becc734d4cc22ba81b895e282fdac4df7af0f37d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEScGX3ICtHaR6Q0K5OJPo4fsLuU/DOoPn\ng8ALJMeBN3rvwg2pK6x2KVH3JHS+zHNNTMIrqBuJXigv2sTfevDzfQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1170,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202252d685e831b6cf095e4f0535eeaf0ddd3bfa91c210c9d9dc17224702eaf88f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04d8cb68517b616a56400aa3868635e54b6f699598a2f6167757654980baf6acbe7ec8cf449c849aa03461a30efada41453c57c6e6fbc93bbc6fa49ada6dc0555c",
|
|
"wx" : "00d8cb68517b616a56400aa3868635e54b6f699598a2f6167757654980baf6acbe",
|
|
"wy" : "7ec8cf449c849aa03461a30efada41453c57c6e6fbc93bbc6fa49ada6dc0555c"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d8cb68517b616a56400aa3868635e54b6f699598a2f6167757654980baf6acbe7ec8cf449c849aa03461a30efada41453c57c6e6fbc93bbc6fa49ada6dc0555c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE2MtoUXthalZACqOGhjXlS29plZii9hZ3\nV2VJgLr2rL5+yM9EnISaoDRhow762kFFPFfG5vvJO7xvpJrabcBVXA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1171,
|
|
"comment" : "edge case for u1",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022075135abd7c425b60371a477f09ce0f274f64a8c6b061a07b5d63e93c65046c53",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04030713fb63f2aa6fe2cadf1b20efc259c77445dafa87dac398b84065ca347df3b227818de1a39b589cb071d83e5317cccdc2338e51e312fe31d8dc34a4801750",
|
|
"wx" : "030713fb63f2aa6fe2cadf1b20efc259c77445dafa87dac398b84065ca347df3",
|
|
"wy" : "00b227818de1a39b589cb071d83e5317cccdc2338e51e312fe31d8dc34a4801750"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004030713fb63f2aa6fe2cadf1b20efc259c77445dafa87dac398b84065ca347df3b227818de1a39b589cb071d83e5317cccdc2338e51e312fe31d8dc34a4801750",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAwcT+2Pyqm/iyt8bIO/CWcd0Rdr6h9rD\nmLhAZco0ffOyJ4GN4aObWJywcdg+UxfMzcIzjlHjEv4x2Nw0pIAXUA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1172,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100d55555555555555555555555555555547c74934474db157d2a8c3f088aced62a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04babb3677b0955802d8e929a41355640eaf1ea1353f8a771331c4946e3480afa7252f196c87ed3d2a59d3b1b559137fed0013fecefc19fb5a92682b9bca51b950",
|
|
"wx" : "00babb3677b0955802d8e929a41355640eaf1ea1353f8a771331c4946e3480afa7",
|
|
"wy" : "252f196c87ed3d2a59d3b1b559137fed0013fecefc19fb5a92682b9bca51b950"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004babb3677b0955802d8e929a41355640eaf1ea1353f8a771331c4946e3480afa7252f196c87ed3d2a59d3b1b559137fed0013fecefc19fb5a92682b9bca51b950",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEurs2d7CVWALY6SmkE1VkDq8eoTU/incT\nMcSUbjSAr6clLxlsh+09KlnTsbVZE3/tABP+zvwZ+1qSaCubylG5UA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1173,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100c1777c8853938e536213c02464a936000ba1e21c0fc62075d46c624e23b52f31",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041aab2018793471111a8a0e9b143fde02fc95920796d3a63de329b424396fba60bbe4130705174792441b318d3aa31dfe8577821e9b446ec573d272e036c4ebe9",
|
|
"wx" : "1aab2018793471111a8a0e9b143fde02fc95920796d3a63de329b424396fba60",
|
|
"wy" : "00bbe4130705174792441b318d3aa31dfe8577821e9b446ec573d272e036c4ebe9"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041aab2018793471111a8a0e9b143fde02fc95920796d3a63de329b424396fba60bbe4130705174792441b318d3aa31dfe8577821e9b446ec573d272e036c4ebe9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGqsgGHk0cREaig6bFD/eAvyVkgeW06Y9\n4ym0JDlvumC75BMHBRdHkkQbMY06ox3+hXeCHptEbsVz0nLgNsTr6Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1174,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022030bbb794db588363b40679f6c182a50d3ce9679acdd3ffbe36d7813dacbdc818",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048cb0b909499c83ea806cd885b1dd467a0119f06a88a0276eb0cfda274535a8ff47b5428833bc3f2c8bf9d9041158cf33718a69961cd01729bc0011d1e586ab75",
|
|
"wx" : "008cb0b909499c83ea806cd885b1dd467a0119f06a88a0276eb0cfda274535a8ff",
|
|
"wy" : "47b5428833bc3f2c8bf9d9041158cf33718a69961cd01729bc0011d1e586ab75"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200048cb0b909499c83ea806cd885b1dd467a0119f06a88a0276eb0cfda274535a8ff47b5428833bc3f2c8bf9d9041158cf33718a69961cd01729bc0011d1e586ab75",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEjLC5CUmcg+qAbNiFsd1GegEZ8GqIoCdu\nsM/aJ0U1qP9HtUKIM7w/LIv52QQRWM8zcYpplhzQFym8ABHR5YardQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1175,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202c37fd995622c4fb7fffffffffffffffc7cee745110cb45ab558ed7c90c15a2f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048f03cf1a42272bb1532723093f72e6feeac85e1700e9fbe9a6a2dd642d74bf5d3b89a7189dad8cf75fc22f6f158aa27f9c2ca00daca785be3358f2bda3862ca0",
|
|
"wx" : "008f03cf1a42272bb1532723093f72e6feeac85e1700e9fbe9a6a2dd642d74bf5d",
|
|
"wy" : "3b89a7189dad8cf75fc22f6f158aa27f9c2ca00daca785be3358f2bda3862ca0"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200048f03cf1a42272bb1532723093f72e6feeac85e1700e9fbe9a6a2dd642d74bf5d3b89a7189dad8cf75fc22f6f158aa27f9c2ca00daca785be3358f2bda3862ca0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEjwPPGkInK7FTJyMJP3Lm/urIXhcA6fvp\npqLdZC10v107iacYna2M91/CL28ViqJ/nCygDaynhb4zWPK9o4YsoA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1176,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02207fd995622c4fb7ffffffffffffffffff5d883ffab5b32652ccdcaa290fccb97d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0444de3b9c7a57a8c9e820952753421e7d987bb3d79f71f013805c897e018f8acea2460758c8f98d3fdce121a943659e372c326fff2e5fc2ae7fa3f79daae13c12",
|
|
"wx" : "44de3b9c7a57a8c9e820952753421e7d987bb3d79f71f013805c897e018f8ace",
|
|
"wy" : "00a2460758c8f98d3fdce121a943659e372c326fff2e5fc2ae7fa3f79daae13c12"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000444de3b9c7a57a8c9e820952753421e7d987bb3d79f71f013805c897e018f8acea2460758c8f98d3fdce121a943659e372c326fff2e5fc2ae7fa3f79daae13c12",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERN47nHpXqMnoIJUnU0IefZh7s9efcfAT\ngFyJfgGPis6iRgdYyPmNP9zhIalDZZ43LDJv/y5fwq5/o/edquE8Eg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1177,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100ffb32ac4589f6ffffffffffffffffffebb107ff56b664ca599b954521f9972fa",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046fb8b2b48e33031268ad6a517484dc8839ea90f6669ea0c7ac3233e2ac31394a0ac8bbe7f73c2ff4df9978727ac1dfc2fd58647d20f31f99105316b64671f204",
|
|
"wx" : "6fb8b2b48e33031268ad6a517484dc8839ea90f6669ea0c7ac3233e2ac31394a",
|
|
"wy" : "0ac8bbe7f73c2ff4df9978727ac1dfc2fd58647d20f31f99105316b64671f204"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200046fb8b2b48e33031268ad6a517484dc8839ea90f6669ea0c7ac3233e2ac31394a0ac8bbe7f73c2ff4df9978727ac1dfc2fd58647d20f31f99105316b64671f204",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEb7iytI4zAxJorWpRdITciDnqkPZmnqDH\nrDIz4qwxOUoKyLvn9zwv9N+ZeHJ6wd/C/VhkfSDzH5kQUxa2RnHyBA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1178,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02205622c4fb7fffffffffffffffffffffff928a8f1c7ac7bec1808b9f61c01ec327",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04bea71122a048693e905ff602b3cf9dd18af69b9fc9d8431d2b1dd26b942c95e6f43c7b8b95eb62082c12db9dbda7fe38e45cbe4a4886907fb81bdb0c5ea9246c",
|
|
"wx" : "00bea71122a048693e905ff602b3cf9dd18af69b9fc9d8431d2b1dd26b942c95e6",
|
|
"wy" : "00f43c7b8b95eb62082c12db9dbda7fe38e45cbe4a4886907fb81bdb0c5ea9246c"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bea71122a048693e905ff602b3cf9dd18af69b9fc9d8431d2b1dd26b942c95e6f43c7b8b95eb62082c12db9dbda7fe38e45cbe4a4886907fb81bdb0c5ea9246c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEvqcRIqBIaT6QX/YCs8+d0Yr2m5/J2EMd\nKx3Sa5Qsleb0PHuLletiCCwS2529p/445Fy+SkiGkH+4G9sMXqkkbA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1179,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022044104104104104104104104104104103b87853fd3b7d3f8e175125b4382f25ed",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04da918c731ba06a20cb94ef33b778e981a404a305f1941fe33666b45b03353156e2bb2694f575b45183be78e5c9b5210bf3bf488fd4c8294516d89572ca4f5391",
|
|
"wx" : "00da918c731ba06a20cb94ef33b778e981a404a305f1941fe33666b45b03353156",
|
|
"wy" : "00e2bb2694f575b45183be78e5c9b5210bf3bf488fd4c8294516d89572ca4f5391"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004da918c731ba06a20cb94ef33b778e981a404a305f1941fe33666b45b03353156e2bb2694f575b45183be78e5c9b5210bf3bf488fd4c8294516d89572ca4f5391",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE2pGMcxugaiDLlO8zt3jpgaQEowXxlB/j\nNma0WwM1MVbiuyaU9XW0UYO+eOXJtSEL879Ij9TIKUUW2JVyyk9TkQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1180,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202739ce739ce739ce739ce739ce739ce705560298d1f2f08dc419ac273a5b54d9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043007e92c3937dade7964dfa35b0eff031f7eb02aed0a0314411106cdeb70fe3d5a7546fc0552997b20e3d6f413e75e2cb66e116322697114b79bac734bfc4dc5",
|
|
"wx" : "3007e92c3937dade7964dfa35b0eff031f7eb02aed0a0314411106cdeb70fe3d",
|
|
"wy" : "5a7546fc0552997b20e3d6f413e75e2cb66e116322697114b79bac734bfc4dc5"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200043007e92c3937dade7964dfa35b0eff031f7eb02aed0a0314411106cdeb70fe3d5a7546fc0552997b20e3d6f413e75e2cb66e116322697114b79bac734bfc4dc5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEMAfpLDk32t55ZN+jWw7/Ax9+sCrtCgMU\nQREGzetw/j1adUb8BVKZeyDj1vQT514stm4RYyJpcRS3m6xzS/xNxQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1181,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100b777777777777777777777777777777688e6a1fe808a97a348671222ff16b863",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0460e734ef5624d3cbf0ddd375011bd663d6d6aebc644eb599fdf98dbdcd18ce9bd2d90b3ac31f139af832cccf6ccbbb2c6ea11fa97370dc9906da474d7d8a7567",
|
|
"wx" : "60e734ef5624d3cbf0ddd375011bd663d6d6aebc644eb599fdf98dbdcd18ce9b",
|
|
"wy" : "00d2d90b3ac31f139af832cccf6ccbbb2c6ea11fa97370dc9906da474d7d8a7567"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000460e734ef5624d3cbf0ddd375011bd663d6d6aebc644eb599fdf98dbdcd18ce9bd2d90b3ac31f139af832cccf6ccbbb2c6ea11fa97370dc9906da474d7d8a7567",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEYOc071Yk08vw3dN1ARvWY9bWrrxkTrWZ\n/fmNvc0YzpvS2Qs6wx8TmvgyzM9sy7ssbqEfqXNw3JkG2kdNfYp1Zw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1182,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02206492492492492492492492492492492406dd3a19b8d5fb875235963c593bd2d3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0485a900e97858f693c0b7dfa261e380dad6ea046d1f65ddeeedd5f7d8af0ba33769744d15add4f6c0bc3b0da2aec93b34cb8c65f9340ddf74e7b0009eeeccce3c",
|
|
"wx" : "0085a900e97858f693c0b7dfa261e380dad6ea046d1f65ddeeedd5f7d8af0ba337",
|
|
"wy" : "69744d15add4f6c0bc3b0da2aec93b34cb8c65f9340ddf74e7b0009eeeccce3c"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000485a900e97858f693c0b7dfa261e380dad6ea046d1f65ddeeedd5f7d8af0ba33769744d15add4f6c0bc3b0da2aec93b34cb8c65f9340ddf74e7b0009eeeccce3c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEhakA6XhY9pPAt9+iYeOA2tbqBG0fZd3u\n7dX32K8LozdpdE0VrdT2wLw7DaKuyTs0y4xl+TQN33TnsACe7szOPA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1183,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100955555555555555555555555555555547c74934474db157d2a8c3f088aced62c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0438066f75d88efc4c93de36f49e037b234cc18b1de5608750a62cab0345401046a3e84bed8cfcb819ef4d550444f2ce4b651766b69e2e2901f88836ff90034fed",
|
|
"wx" : "38066f75d88efc4c93de36f49e037b234cc18b1de5608750a62cab0345401046",
|
|
"wy" : "00a3e84bed8cfcb819ef4d550444f2ce4b651766b69e2e2901f88836ff90034fed"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000438066f75d88efc4c93de36f49e037b234cc18b1de5608750a62cab0345401046a3e84bed8cfcb819ef4d550444f2ce4b651766b69e2e2901f88836ff90034fed",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEOAZvddiO/EyT3jb0ngN7I0zBix3lYIdQ\npiyrA0VAEEaj6EvtjPy4Ge9NVQRE8s5LZRdmtp4uKQH4iDb/kANP7Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1184,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc02202aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa3e3a49a23a6d8abe95461f8445676b17",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0498f68177dc95c1b4cbfa5245488ca523a7d5629470d035d621a443c72f39aabfa33d29546fa1c648f2c7d5ccf70cf1ce4ab79b5db1ac059dbecd068dbdff1b89",
|
|
"wx" : "0098f68177dc95c1b4cbfa5245488ca523a7d5629470d035d621a443c72f39aabf",
|
|
"wy" : "00a33d29546fa1c648f2c7d5ccf70cf1ce4ab79b5db1ac059dbecd068dbdff1b89"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000498f68177dc95c1b4cbfa5245488ca523a7d5629470d035d621a443c72f39aabfa33d29546fa1c648f2c7d5ccf70cf1ce4ab79b5db1ac059dbecd068dbdff1b89",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEmPaBd9yVwbTL+lJFSIylI6fVYpRw0DXW\nIaRDxy85qr+jPSlUb6HGSPLH1cz3DPHOSrebXbGsBZ2+zQaNvf8biQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1185,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc022100bffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364143",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045c2bbfa23c9b9ad07f038aa89b4930bf267d9401e4255de9e8da0a5078ec8277e3e882a31d5e6a379e0793983ccded39b95c4353ab2ff01ea5369ba47b0c3191",
|
|
"wx" : "5c2bbfa23c9b9ad07f038aa89b4930bf267d9401e4255de9e8da0a5078ec8277",
|
|
"wy" : "00e3e882a31d5e6a379e0793983ccded39b95c4353ab2ff01ea5369ba47b0c3191"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200045c2bbfa23c9b9ad07f038aa89b4930bf267d9401e4255de9e8da0a5078ec8277e3e882a31d5e6a379e0793983ccded39b95c4353ab2ff01ea5369ba47b0c3191",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEXCu/ojybmtB/A4qom0kwvyZ9lAHkJV3p\n6NoKUHjsgnfj6IKjHV5qN54Hk5g8ze05uVxDU6sv8B6lNpukewwxkQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1186,
|
|
"comment" : "edge case for u2",
|
|
"msg" : "313233343030",
|
|
"sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0220185ddbca6dac41b1da033cfb60c152869e74b3cd66e9ffdf1b6bc09ed65ee40c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a3853547808298448edb5e701ade84cd5fb1ac9567ba5e8fb68a6b933ec4b5cc84cc",
|
|
"wx" : "2ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a385",
|
|
"wy" : "3547808298448edb5e701ade84cd5fb1ac9567ba5e8fb68a6b933ec4b5cc84cc"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200042ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a3853547808298448edb5e701ade84cd5fb1ac9567ba5e8fb68a6b933ec4b5cc84cc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAELqcTNDIznGnSf5smcoG9Ld1fGdYzjUAK\nBc02R7FXo4U1R4CCmESO215wGt6EzV+xrJVnul6Ptoprkz7EtcyEzA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1187,
|
|
"comment" : "point duplication during verification",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022032b0d10d8d0e04bc8d4d064d270699e87cffc9b49c5c20730e1c26f6105ddcda022100d612c2984c2afa416aa7f2882a486d4a8426cb6cfc91ed5b737278f9fca8be68",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a385cab87f7d67bb7124a18fe5217b32a04e536a9845a1704975946cc13a4a337763",
|
|
"wx" : "2ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a385",
|
|
"wy" : "00cab87f7d67bb7124a18fe5217b32a04e536a9845a1704975946cc13a4a337763"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200042ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a385cab87f7d67bb7124a18fe5217b32a04e536a9845a1704975946cc13a4a337763",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAELqcTNDIznGnSf5smcoG9Ld1fGdYzjUAK\nBc02R7FXo4XKuH99Z7txJKGP5SF7MqBOU2qYRaFwSXWUbME6SjN3Yw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1188,
|
|
"comment" : "duplication bug",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022032b0d10d8d0e04bc8d4d064d270699e87cffc9b49c5c20730e1c26f6105ddcda022100d612c2984c2afa416aa7f2882a486d4a8426cb6cfc91ed5b737278f9fca8be68",
|
|
"result" : "invalid",
|
|
"flags" : [
|
|
"PointDuplication"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048aa2c64fa9c6437563abfbcbd00b2048d48c18c152a2a6f49036de7647ebe82e1ce64387995c68a060fa3bc0399b05cc06eec7d598f75041a4917e692b7f51ff",
|
|
"wx" : "008aa2c64fa9c6437563abfbcbd00b2048d48c18c152a2a6f49036de7647ebe82e",
|
|
"wy" : "1ce64387995c68a060fa3bc0399b05cc06eec7d598f75041a4917e692b7f51ff"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200048aa2c64fa9c6437563abfbcbd00b2048d48c18c152a2a6f49036de7647ebe82e1ce64387995c68a060fa3bc0399b05cc06eec7d598f75041a4917e692b7f51ff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEiqLGT6nGQ3Vjq/vL0AsgSNSMGMFSoqb0\nkDbedkfr6C4c5kOHmVxooGD6O8A5mwXMBu7H1Zj3UEGkkX5pK39R/w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1189,
|
|
"comment" : "comparison with point at infinity ",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0022033333333333333333333333333333332f222f8faefdb533f265d461c29a47373",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04391427ff7ee78013c14aec7d96a8a062209298a783835e94fd6549d502fff71fdd6624ec343ad9fcf4d9872181e59f842f9ba4cccae09a6c0972fb6ac6b4c6bd",
|
|
"wx" : "391427ff7ee78013c14aec7d96a8a062209298a783835e94fd6549d502fff71f",
|
|
"wy" : "00dd6624ec343ad9fcf4d9872181e59f842f9ba4cccae09a6c0972fb6ac6b4c6bd"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004391427ff7ee78013c14aec7d96a8a062209298a783835e94fd6549d502fff71fdd6624ec343ad9fcf4d9872181e59f842f9ba4cccae09a6c0972fb6ac6b4c6bd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEORQn/37ngBPBSux9lqigYiCSmKeDg16U\n/WVJ1QL/9x/dZiTsNDrZ/PTZhyGB5Z+EL5ukzMrgmmwJcvtqxrTGvQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1190,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04e762b8a219b4f180219cc7a9059245e4961bd191c03899789c7a34b89e8c138ec1533ef0419bb7376e0bfde9319d10a06968791d9ea0eed9c1ce6345aed9759e",
|
|
"wx" : "00e762b8a219b4f180219cc7a9059245e4961bd191c03899789c7a34b89e8c138e",
|
|
"wy" : "00c1533ef0419bb7376e0bfde9319d10a06968791d9ea0eed9c1ce6345aed9759e"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004e762b8a219b4f180219cc7a9059245e4961bd191c03899789c7a34b89e8c138ec1533ef0419bb7376e0bfde9319d10a06968791d9ea0eed9c1ce6345aed9759e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE52K4ohm08YAhnMepBZJF5JYb0ZHAOJl4\nnHo0uJ6ME47BUz7wQZu3N24L/ekxnRCgaWh5HZ6g7tnBzmNFrtl1ng==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1191,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022100b6db6db6db6db6db6db6db6db6db6db5f30f30127d33e02aad96438927022e9c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "049aedb0d281db164e130000c5697fae0f305ef848be6fffb43ac593fbb950e952fa6f633359bdcd82b56b0b9f965b037789d46b9a8141b791b2aefa713f96c175",
|
|
"wx" : "009aedb0d281db164e130000c5697fae0f305ef848be6fffb43ac593fbb950e952",
|
|
"wy" : "00fa6f633359bdcd82b56b0b9f965b037789d46b9a8141b791b2aefa713f96c175"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200049aedb0d281db164e130000c5697fae0f305ef848be6fffb43ac593fbb950e952fa6f633359bdcd82b56b0b9f965b037789d46b9a8141b791b2aefa713f96c175",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEmu2w0oHbFk4TAADFaX+uDzBe+Ei+b/+0\nOsWT+7lQ6VL6b2MzWb3NgrVrC5+WWwN3idRrmoFBt5GyrvpxP5bBdQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1192,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee502210099999999999999999999999999999998d668eaf0cf91f9bd7317d2547ced5a5a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048ad445db62816260e4e687fd1884e48b9fc0636d031547d63315e792e19bfaee1de64f99d5f1cd8b6ec9cb0f787a654ae86993ba3db1008ef43cff0684cb22bd",
|
|
"wx" : "008ad445db62816260e4e687fd1884e48b9fc0636d031547d63315e792e19bfaee",
|
|
"wy" : "1de64f99d5f1cd8b6ec9cb0f787a654ae86993ba3db1008ef43cff0684cb22bd"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200048ad445db62816260e4e687fd1884e48b9fc0636d031547d63315e792e19bfaee1de64f99d5f1cd8b6ec9cb0f787a654ae86993ba3db1008ef43cff0684cb22bd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEitRF22KBYmDk5of9GITki5/AY20DFUfW\nMxXnkuGb+u4d5k+Z1fHNi27Jyw94emVK6GmTuj2xAI70PP8GhMsivQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1193,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022066666666666666666666666666666665e445f1f5dfb6a67e4cba8c385348e6e7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041f5799c95be89063b24f26e40cb928c1a868a76fb0094607e8043db409c91c32e75724e813a4191e3a839007f08e2e897388b06d4a00de6de60e536d91fab566",
|
|
"wx" : "1f5799c95be89063b24f26e40cb928c1a868a76fb0094607e8043db409c91c32",
|
|
"wy" : "00e75724e813a4191e3a839007f08e2e897388b06d4a00de6de60e536d91fab566"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041f5799c95be89063b24f26e40cb928c1a868a76fb0094607e8043db409c91c32e75724e813a4191e3a839007f08e2e897388b06d4a00de6de60e536d91fab566",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEH1eZyVvokGOyTybkDLkowahop2+wCUYH\n6AQ9tAnJHDLnVyToE6QZHjqDkAfwji6Jc4iwbUoA3m3mDlNtkfq1Zg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1194,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5022049249249249249249249249249249248c79facd43214c011123c1b03a93412a5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a3331a4e1b4223ec2c027edd482c928a14ed358d93f1d4217d39abf69fcb5ccc28d684d2aaabcd6383775caa6239de26d4c6937bb603ecb4196082f4cffd509d",
|
|
"wx" : "00a3331a4e1b4223ec2c027edd482c928a14ed358d93f1d4217d39abf69fcb5ccc",
|
|
"wy" : "28d684d2aaabcd6383775caa6239de26d4c6937bb603ecb4196082f4cffd509d"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004a3331a4e1b4223ec2c027edd482c928a14ed358d93f1d4217d39abf69fcb5ccc28d684d2aaabcd6383775caa6239de26d4c6937bb603ecb4196082f4cffd509d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEozMaThtCI+wsAn7dSCySihTtNY2T8dQh\nfTmr9p/LXMwo1oTSqqvNY4N3XKpiOd4m1MaTe7YD7LQZYIL0z/1QnQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1195,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee502200eb10e5ab95f2f275348d82ad2e4d7949c8193800d8c9c75df58e343f0ebba7b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043f3952199774c7cf39b38b66cb1042a6260d8680803845e4d433adba3bb248185ea495b68cbc7ed4173ee63c9042dc502625c7eb7e21fb02ca9a9114e0a3a18d",
|
|
"wx" : "3f3952199774c7cf39b38b66cb1042a6260d8680803845e4d433adba3bb24818",
|
|
"wy" : "5ea495b68cbc7ed4173ee63c9042dc502625c7eb7e21fb02ca9a9114e0a3a18d"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200043f3952199774c7cf39b38b66cb1042a6260d8680803845e4d433adba3bb248185ea495b68cbc7ed4173ee63c9042dc502625c7eb7e21fb02ca9a9114e0a3a18d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEPzlSGZd0x885s4tmyxBCpiYNhoCAOEXk\n1DOtujuySBhepJW2jLx+1Bc+5jyQQtxQJiXH634h+wLKmpEU4KOhjQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1196,
|
|
"comment" : "extreme value for k and edgecase s",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04cdfb8c0f422e144e137c2412c86c171f5fe3fa3f5bbb544e9076288f3ced786e054fd0721b77c11c79beacb3c94211b0a19bda08652efeaf92513a3b0a163698",
|
|
"wx" : "00cdfb8c0f422e144e137c2412c86c171f5fe3fa3f5bbb544e9076288f3ced786e",
|
|
"wy" : "054fd0721b77c11c79beacb3c94211b0a19bda08652efeaf92513a3b0a163698"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004cdfb8c0f422e144e137c2412c86c171f5fe3fa3f5bbb544e9076288f3ced786e054fd0721b77c11c79beacb3c94211b0a19bda08652efeaf92513a3b0a163698",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEzfuMD0IuFE4TfCQSyGwXH1/j+j9bu1RO\nkHYojzzteG4FT9ByG3fBHHm+rLPJQhGwoZvaCGUu/q+SUTo7ChY2mA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1197,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022100b6db6db6db6db6db6db6db6db6db6db5f30f30127d33e02aad96438927022e9c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0473598a6a1c68278fa6bfd0ce4064e68235bc1c0f6b20a928108be336730f87e3cbae612519b5032ecc85aed811271a95fe7939d5d3460140ba318f4d14aba31d",
|
|
"wx" : "73598a6a1c68278fa6bfd0ce4064e68235bc1c0f6b20a928108be336730f87e3",
|
|
"wy" : "00cbae612519b5032ecc85aed811271a95fe7939d5d3460140ba318f4d14aba31d"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000473598a6a1c68278fa6bfd0ce4064e68235bc1c0f6b20a928108be336730f87e3cbae612519b5032ecc85aed811271a95fe7939d5d3460140ba318f4d14aba31d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEc1mKahxoJ4+mv9DOQGTmgjW8HA9rIKko\nEIvjNnMPh+PLrmElGbUDLsyFrtgRJxqV/nk51dNGAUC6MY9NFKujHQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1198,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f8179802210099999999999999999999999999999998d668eaf0cf91f9bd7317d2547ced5a5a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0458debd9a7ee2c9d59132478a5440ae4d5d7ed437308369f92ea86c82183f10a16773e76f5edbf4da0e4f1bdffac0f57257e1dfa465842931309a24245fda6a5d",
|
|
"wx" : "58debd9a7ee2c9d59132478a5440ae4d5d7ed437308369f92ea86c82183f10a1",
|
|
"wy" : "6773e76f5edbf4da0e4f1bdffac0f57257e1dfa465842931309a24245fda6a5d"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000458debd9a7ee2c9d59132478a5440ae4d5d7ed437308369f92ea86c82183f10a16773e76f5edbf4da0e4f1bdffac0f57257e1dfa465842931309a24245fda6a5d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEWN69mn7iydWRMkeKVECuTV1+1Dcwg2n5\nLqhsghg/EKFnc+dvXtv02g5PG9/6wPVyV+HfpGWEKTEwmiQkX9pqXQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1199,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022066666666666666666666666666666665e445f1f5dfb6a67e4cba8c385348e6e7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048b904de47967340c5f8c3572a720924ef7578637feab1949acb241a5a6ac3f5b950904496f9824b1d63f3313bae21b89fae89afdfc811b5ece03fd5aa301864f",
|
|
"wx" : "008b904de47967340c5f8c3572a720924ef7578637feab1949acb241a5a6ac3f5b",
|
|
"wy" : "00950904496f9824b1d63f3313bae21b89fae89afdfc811b5ece03fd5aa301864f"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200048b904de47967340c5f8c3572a720924ef7578637feab1949acb241a5a6ac3f5b950904496f9824b1d63f3313bae21b89fae89afdfc811b5ece03fd5aa301864f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEi5BN5HlnNAxfjDVypyCSTvdXhjf+qxlJ\nrLJBpaasP1uVCQRJb5gksdY/MxO64huJ+uia/fyBG17OA/1aowGGTw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1200,
|
|
"comment" : "extreme value for k and s^-1",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798022049249249249249249249249249249248c79facd43214c011123c1b03a93412a5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04f4892b6d525c771e035f2a252708f3784e48238604b4f94dc56eaa1e546d941a346b1aa0bce68b1c50e5b52f509fb5522e5c25e028bc8f863402edb7bcad8b1b",
|
|
"wx" : "00f4892b6d525c771e035f2a252708f3784e48238604b4f94dc56eaa1e546d941a",
|
|
"wy" : "346b1aa0bce68b1c50e5b52f509fb5522e5c25e028bc8f863402edb7bcad8b1b"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004f4892b6d525c771e035f2a252708f3784e48238604b4f94dc56eaa1e546d941a346b1aa0bce68b1c50e5b52f509fb5522e5c25e028bc8f863402edb7bcad8b1b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE9IkrbVJcdx4DXyolJwjzeE5II4YEtPlN\nxW6qHlRtlBo0axqgvOaLHFDltS9Qn7VSLlwl4Ci8j4Y0Au23vK2LGw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1201,
|
|
"comment" : "extreme value for k",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f8179802200eb10e5ab95f2f275348d82ad2e4d7949c8193800d8c9c75df58e343f0ebba7b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",
|
|
"wx" : "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
|
|
"wy" : "483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeb5mfvncu6xVoGKVzocLBwKb/NstzijZ\nWfKBWxb4F5hIOtp3JqPEZV2k+/wOEQio/Re0SKaFVBmcR9CP+xDUuA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1202,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca60502302202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1203,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022044a5ad0bd0636d9e12bc9e0a6bdd5e1bba77f523842193b3b82e448e05d5f11e02202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798b7c52588d95c3b9aa25b0403f1eef75702e84bb7597aabe663b82f6f04ef2777",
|
|
"wx" : "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
|
|
"wy" : "00b7c52588d95c3b9aa25b0403f1eef75702e84bb7597aabe663b82f6f04ef2777"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798b7c52588d95c3b9aa25b0403f1eef75702e84bb7597aabe663b82f6f04ef2777",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeb5mfvncu6xVoGKVzocLBwKb/NstzijZ\nWfKBWxb4F5i3xSWI2Vw7mqJbBAPx7vdXAuhLt1l6q+ZjuC9vBO8ndw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1204,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca60502302202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1205,
|
|
"comment" : "testing point duplication",
|
|
"msg" : "313233343030",
|
|
"sig" : "3044022044a5ad0bd0636d9e12bc9e0a6bdd5e1bba77f523842193b3b82e448e05d5f11e02202492492492492492492492492492492463cfd66a190a6008891e0d81d49a0952",
|
|
"result" : "invalid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044c246670658a1d41f5d77bce246cbe386ac22848e269b9d4cd67c466ddd947153d39b2d42533a460def26880408caf2dd3dd48fe888cd176",
|
|
"wx" : "4c246670658a1d41f5d77bce246cbe386ac22848e269b9d4cd67c466",
|
|
"wy" : "00ddd947153d39b2d42533a460def26880408caf2dd3dd48fe888cd176"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a00044c246670658a1d41f5d77bce246cbe386ac22848e269b9d4cd67c466ddd947153d39b2d42533a460def26880408caf2dd3dd48fe888cd176",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAETCRmcGWKHUH113vOJGy+OGrCKEjiabnU\nzWfEZt3ZRxU9ObLUJTOkYN7yaIBAjK8t091I/oiM0XY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1206,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "303d021d00b2970cdec29c70294a18bbc49985efa33acc0af509c326a3977a35e8021c0cea3ed8ebaaf6ee6aef6049a23cbc39f61fcf8fc6be4bab13385579",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1207,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "303d021d00d48ab7215a25802132a9b0cb95493f911c965b1b2518cdaa3625417b021c1e49bc825576c5436140caa8a3332d1bb2a745f6a22ef3e80018581d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1208,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "303d021c0364e7d96832614a80216e730c353534d4bffd2c26649c0b4b0e2628021d008f40064b412fe38c5ba9cf664e6172ed48e6e79f0fe5e31a54985dfc",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1209,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "303d021c7e7b0eb7da8c68a7072b11404ee95a5c407fbfe3d69646802e28ae77021d00d409a2f6bbaae59bb60fc0a092b12fa4e67dc8d088cf19a833322fd6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0404aaec73635726f213fb8a9e64da3b8632e41495a944d0045b522eba7240fad587d9315798aaa3a5ba01775787ced05eaaf7b4e09fc81d6d1aa546e8365d525d",
|
|
"wx" : "04aaec73635726f213fb8a9e64da3b8632e41495a944d0045b522eba7240fad5",
|
|
"wy" : "0087d9315798aaa3a5ba01775787ced05eaaf7b4e09fc81d6d1aa546e8365d525d"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000404aaec73635726f213fb8a9e64da3b8632e41495a944d0045b522eba7240fad587d9315798aaa3a5ba01775787ced05eaaf7b4e09fc81d6d1aa546e8365d525d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEBKrsc2NXJvIT+4qeZNo7hjLkFJWp\nRNAEW1IuunJA+tWH2TFXmKqjpboBd1eHztBeqve04J/IHW0apUboNl1SXQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1210,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3046022100a8ea150cb80125d7381c4c1f1da8e9de2711f9917060406a73d7904519e51388022100f3ab9fa68bd47973a73b2d40480c2ba50c22c9d76ec217257288293285449b86",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1211,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022030e782f964b2e2ff065a051bc7adc20615d8c43a1365713c88268822c253bcce02205b16df652aa1ecb2dc8b46c515f9604e2e84cacfa7c6eec30428d2d3f4e08ed5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1212,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "3045022100b292a619339f6e567a305c951c0dcbcc42d16e47f219f9e98e76e09d8770b34a02200177e60492c5a8242f76f07bfe3661bde59ec2a17ce5bd2dab2abebdf89a62e2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1213,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "3045022100986e65933ef2ed4ee5aada139f52b70539aaf63f00a91f29c69178490d57fb7102203dafedfb8da6189d372308cbf1489bbbdabf0c0217d1c0ff0f701aaa7a694b9c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0429bdb76d5fa741bfd70233cb3a66cc7d44beb3b0663d92a8136650478bcefb61ef182e155a54345a5e8e5e88f064e5bc9a525ab7f764dad3dae1468c2b419f3b62b9ba917d5e8c4fb1ec47404a3fc76474b2713081be9db4c00e043ada9fc4a3",
|
|
"wx" : "29bdb76d5fa741bfd70233cb3a66cc7d44beb3b0663d92a8136650478bcefb61ef182e155a54345a5e8e5e88f064e5bc",
|
|
"wy" : "009a525ab7f764dad3dae1468c2b419f3b62b9ba917d5e8c4fb1ec47404a3fc76474b2713081be9db4c00e043ada9fc4a3"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b810400220362000429bdb76d5fa741bfd70233cb3a66cc7d44beb3b0663d92a8136650478bcefb61ef182e155a54345a5e8e5e88f064e5bc9a525ab7f764dad3dae1468c2b419f3b62b9ba917d5e8c4fb1ec47404a3fc76474b2713081be9db4c00e043ada9fc4a3",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEKb23bV+nQb/XAjPLOmbMfUS+s7BmPZKo\nE2ZQR4vO+2HvGC4VWlQ0Wl6OXojwZOW8mlJat/dk2tPa4UaMK0GfO2K5upF9XoxP\nsexHQEo/x2R0snEwgb6dtMAOBDran8Sj\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1214,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "30650230234503fcca578121986d96be07fbc8da5d894ed8588c6dbcdbe974b4b813b21c52d20a8928f2e2fdac14705b0705498c023100cd7b9b766b97b53d1a80fc0b760af16a11bf4a59c7c367c6c7275dfb6e18a88091eed3734bf5cf41b3dc6fecd6d3baaf",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1215,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "306602310099c8ee5310653f6bb6f540146edc015cce3c115bf3088be1f4205930b08184be8868d8b8320f0ecc60f3b1bccd410b32023100ca49b9f4fda715d522bd0ec9b767ef6d7d0b340d3aa9fcac675874bb3dabc7b8e0c33923860b94cb00115b10ac5056f1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1216,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "3064023032401249714e9091f05a5e109d5c1216fdc05e98614261aa0dbd9e9cd4415dee29238afbd3b103c1e40ee5c9144aee0f02304326756fb2c4fd726360dd6479b5849478c7a9d054a833a58c1631c33b63c3441336ddf2c7fe0ed129aae6d4ddfeb753",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1217,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "306502305cad9ae1565f2588f86d821c2cc1b4d0fdf874331326568f5b0e130e4e0c0ec497f8f5f564212bd2a26ecb782cf0a18d023100bf2e9d0980fbb00696673e7fbb03e1f854b9d7596b759a17bf6e6e67a95ea6c1664f82dc449ae5ea779abd99c78e6840",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04012a908bfc5b70e17bdfae74294994808bf2a42dab59af8b0523a026d640a2a3d6d344520b62177e2cfa339ca42fb0883ec425904fbda2833a3b5b0a9a00811365d8012333d532f8f8eb1a623c378a3694651192bbda833e3b8d7b8f90b2bfc9b045f8a55e1b6a5fe1512c400c4bc9c86fd7c699d642f5cee9bb827c8b0abc0da01cef1e",
|
|
"wx" : "012a908bfc5b70e17bdfae74294994808bf2a42dab59af8b0523a026d640a2a3d6d344520b62177e2cfa339ca42fb0883ec425904fbda2833a3b5b0a9a00811365d8",
|
|
"wy" : "012333d532f8f8eb1a623c378a3694651192bbda833e3b8d7b8f90b2bfc9b045f8a55e1b6a5fe1512c400c4bc9c86fd7c699d642f5cee9bb827c8b0abc0da01cef1e"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004012a908bfc5b70e17bdfae74294994808bf2a42dab59af8b0523a026d640a2a3d6d344520b62177e2cfa339ca42fb0883ec425904fbda2833a3b5b0a9a00811365d8012333d532f8f8eb1a623c378a3694651192bbda833e3b8d7b8f90b2bfc9b045f8a55e1b6a5fe1512c400c4bc9c86fd7c699d642f5cee9bb827c8b0abc0da01cef1e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBKpCL/Ftw4XvfrnQpSZSAi/KkLatZ\nr4sFI6Am1kCio9bTRFILYhd+LPoznKQvsIg+xCWQT72igzo7WwqaAIETZdgBIzPV\nMvj46xpiPDeKNpRlEZK72oM+O417j5Cyv8mwRfilXhtqX+FRLEAMS8nIb9fGmdZC\n9c7pu4J8iwq8DaAc7x4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1218,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3081880242014141e4d94a58c1e747cbd9ee6670a41eac3c26fb4db3248e45d583179076e6b19a8e2003657a108f91f9a103157edff9b37df2b436a77dc112927d907ac9ba258702420108afa91b34bd904c680471e943af336fb90c5fb2b91401a58c9b1f467bf81af8049965dd8b45f12e152f4f7fd3780e3492f31ed2680d4777fbe655fe779ad897ab",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1219,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "308188024201b257e46f4a9fcba03012fbeea4cd3bb2e20fd7dd4e1ced708405330a87597407a5870861e71c3a157c021eb4beb9881fce9c3f458f3cd9dbd94e422cf07a75012e024201b55f01bd17e5a6ad7d28bfbf7560de548f96ca52683d12ec6ba347e6f3c1c4c3b6463c73bd2639014de5db1443f181d620d42e6f69b560f37732af83a6a2ef2119",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1220,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "308188024201625d6115092a8e2ee21b9f8a425aa73814dec8b2335e86150ab4229f5a3421d2e6256d632c7a4365a1ee01dd2a936921bbb4551a512d1d4b5a56c314e4a02534c5024201b792d23f2649862595451055777bda1b02dc6cc8fef23231e44b921b16155cd42257441d75a790371e91819f0a9b1fd0ebd02c90b5b774527746ed9bfe743dbe2f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1221,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "308187024108135d3f1ae9e26fba825643ed8a29d63d7843720e93566aa09db2bdf5aaa69afbcc0c51e5295c298f305ba7b870f0a85bb5699cdf40764aab59418f77c6ffb4520242011d345256887fb351f5700961a7d47572e0d669056cb1d5619345c0c987f3331c2fe2c6df848a5c610422defd6212b64346161aa871ae55b1fe4add5f68836eb181",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04782c8ed17e3b2a783b5464f33b09652a71c678e05ec51e84e2bcfc663a3de963af9acb4280b8c7f7c42f4ef9aba6245ec1ec1712fd38a0fa96418d8cd6aa6152",
|
|
"wx" : "782c8ed17e3b2a783b5464f33b09652a71c678e05ec51e84e2bcfc663a3de963",
|
|
"wy" : "00af9acb4280b8c7f7c42f4ef9aba6245ec1ec1712fd38a0fa96418d8cd6aa6152"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004782c8ed17e3b2a783b5464f33b09652a71c678e05ec51e84e2bcfc663a3de963af9acb4280b8c7f7c42f4ef9aba6245ec1ec1712fd38a0fa96418d8cd6aa6152",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEeCyO0X47Kng7VGTzOwllKnHGeOBexR6E\n4rz8Zjo96WOvmstCgLjH98QvTvmrpiRewewXEv04oPqWQY2M1qphUg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1222,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3045022100d035ee1f17fdb0b2681b163e33c359932659990af77dca632012b30b27a057b302201939d9f3b2858bc13e3474cb50e6a82be44faa71940f876c1cba4c3e989202b6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1223,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "3044022024813a5aeff4584826a72e3ce030ff39124b456c8db11574ab44e9634f2be54502200c50c914e04bfe3c87ef8dfda335686faa799591141c9b8def398c5eeae107c5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1224,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "3046022100f80ae4f96cdbc9d853f83d47aae225bf407d51c56b7776cd67d0dc195d99a9dc022100b303e26be1f73465315221f0b331528807a1a9b6eb068ede6eebeaaa49af8a36",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1225,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "304402204f053f563ad34b74fd8c9934ce59e79c2eb8e6eca0fef5b323ca67d5ac7ed23802204d4b05daa0719e773d8617dce5631c5fd6f59c9bdc748e4b55c970040af01be5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224k1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042ef983fa542b64472e2bc405d9eedd861acc9a7f814fad8275ce6b9a3459ba4ab52164883bd29eb6ac7e6d22ac7d302c053dc39684928ef9",
|
|
"wx" : "2ef983fa542b64472e2bc405d9eedd861acc9a7f814fad8275ce6b9a",
|
|
"wy" : "3459ba4ab52164883bd29eb6ac7e6d22ac7d302c053dc39684928ef9"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040020033a00042ef983fa542b64472e2bc405d9eedd861acc9a7f814fad8275ce6b9a3459ba4ab52164883bd29eb6ac7e6d22ac7d302c053dc39684928ef9",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACADOgAELvmD+lQrZEcuK8QF2e7dhhrMmn+BT62C\ndc5rmjRZukq1IWSIO9Ketqx+bSKsfTAsBT3DloSSjvk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1226,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "303e021d00a3588793e8c156fbfba20ee28c8dc7242460330a71868f6c68988db4021d00b3db0f3fa566afb6aeea4d3ed9eb65e91b1a6bedbe77b1e27154aa2b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1227,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "303d021d00c3d3a76e6c282a922e5e100a0caacc118e33c2d0c5c7517a3b7a86ed021c691c3285108f65313e024d173107865521b673807069c50dd573000f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1228,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "303d021c464bb0fb437b06922073e124528486e500b1394a05e86b0bf58aa70b021d00f2819cdd8f311adae3930586d1fb883ae071cc8d60435904ffb9d872",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1229,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "303d021c31ec5c59558df32ce76d49cce64d63bf85ce4c28b20bc3b375fd4a9c021d00adf21d877868bc754eaa1db8847caa33ddd9ace6fdcea59c1e37e32d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b554fc25e9f098eaf1466c35328c97305d0d4aa0e4462e8baf7a8e7ed08fc40eb01dc855577baea9e3070770616f57b17ea9854cad93881a",
|
|
"wx" : "00b554fc25e9f098eaf1466c35328c97305d0d4aa0e4462e8baf7a8e7e",
|
|
"wy" : "00d08fc40eb01dc855577baea9e3070770616f57b17ea9854cad93881a"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010105033a0004b554fc25e9f098eaf1466c35328c97305d0d4aa0e4462e8baf7a8e7ed08fc40eb01dc855577baea9e3070770616f57b17ea9854cad93881a",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEFAzoABLVU/CXp8Jjq8UZsNTKMlzBdDUqg\n5EYui696jn7Qj8QOsB3IVVd7rqnjBwdwYW9XsX6phUytk4ga\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1230,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c669ce9e63d915be4a217fb0bb9ad361d62e98d73e073fffbe921fd4a021c33ef2edccac60ced6d3d07c3b8f1d36687e16f8487c3e8ad5096c798",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1231,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "303d021d00921175090125c251838efece2fe3ac1f5a52a4a3e027d864d375433f021c2c008ff69458d37992cd6b60af33e1c5ecc917cc6dbab80b74cfcb4b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1232,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "303c021c79854774987fa51e6614af166a3298d2a20ac8594a7287a9632c0be1021c13fa3911567cdcc2021d238335e67ffa01c6de22b18971854392d70e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1233,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "303c021c4f4e4d86d432a539f62dda75842544b24bbb0609d09ab1d0d1bcb976021c637ee62661e83551144240ea029572e03efd85787e45f175f0cd22d6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042676bd1e3fd83f3328d1af941442c036760f09587729419053083eb61d1ed22c2cf769688a5ffd67da1899d243e66bcabe21f9e78335263bf5308b8e41a71b39",
|
|
"wx" : "2676bd1e3fd83f3328d1af941442c036760f09587729419053083eb61d1ed22c",
|
|
"wy" : "2cf769688a5ffd67da1899d243e66bcabe21f9e78335263bf5308b8e41a71b39"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200042676bd1e3fd83f3328d1af941442c036760f09587729419053083eb61d1ed22c2cf769688a5ffd67da1899d243e66bcabe21f9e78335263bf5308b8e41a71b39",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABCZ2vR4/2D8zKNGvlBRCwDZ2DwlY\ndylBkFMIPrYdHtIsLPdpaIpf/WfaGJnSQ+Zryr4h+eeDNSY79TCLjkGnGzk=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1234,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "30450220351e727003896ec02949a3cf752223bcc6c2b611b30391edd60dc0c83dc9c98f022100924ad9dc00364d4aa2091416d173862f9b02965ff176e880ea62a673e16db98e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1235,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "304502203e083e2a473bda482c81c6beade21b130d15b1ca957a4576768caa3f11362f1502210087dc390d128a792252b51d8c93d1da064d702317add97dab74db78a8f2e6d2a7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1236,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "30440220745be1da902d19c76c8f57d4a1f3362b4b20ed7c8de8fc0463d566795f979cea02205916c317a1e325b53735216a0fa37737f08b32245c88084817b468a41f5afee9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1237,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "3044022044a811b2321acbc65cacf80d2dbe848946f1dac528f3e1ae38b0e54d083c258f022055d7edfaecdda3bbc062d5074e3c3719d32761159d027ca27c1725ddbd62f688",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320r1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0444ab2320c2297b66114428df33fe641956f82033893398af3b49b0023179201c27d26dd65121c06e0c59524c938f19daffc2a9a4679dba7cf1991ced4700592bb75e98cf77dbf6c584c2f72735152921",
|
|
"wx" : "44ab2320c2297b66114428df33fe641956f82033893398af3b49b0023179201c27d26dd65121c06e",
|
|
"wy" : "0c59524c938f19daffc2a9a4679dba7cf1991ced4700592bb75e98cf77dbf6c584c2f72735152921"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b24030302080101090352000444ab2320c2297b66114428df33fe641956f82033893398af3b49b0023179201c27d26dd65121c06e0c59524c938f19daffc2a9a4679dba7cf1991ced4700592bb75e98cf77dbf6c584c2f72735152921",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEJA1IABESrIyDCKXtmEUQo3zP+ZBlW+CAz\niTOYrztJsAIxeSAcJ9Jt1lEhwG4MWVJMk48Z2v/CqaRnnbp88Zkc7UcAWSu3XpjP\nd9v2xYTC9yc1FSkh\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1238,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "305402287a31b7375f924369ec12bc33b834726c95444a4c263557344afa732cf48a155e71a6ee7de42e91ce022824d3d72861f4d2b551c10f0294d16a3bf1d4ee3e484439b804d097dea2d7cace76ade14af1663322",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1239,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "3056022900ac60ae7e85aedd2e65b37a3731695f684d82c78029b4baa70e56e6fec23f3b65dd213dac69b5052f02290082ae3c06ffdceffec7da820479e6cf3f58bc3bb9b6d88e0da615b0885ece3388f6f2d2fa3685e6a7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1240,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "30540229009cf7f0d60cc1fb2d4b3e78d5f83b374e17a4aebccc6e723f1ad35babb2acfb2b75530389189395f802271110c5b8b8e5fa8dc7952a7bf6200bddae6c1d66639a07a4b6046e00bfa7a2bd9d5777b80c3a92",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1241,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "305502282417eb10a538921621066608243fd6574de84ef1281520f01ebe0444b46a607ab9eda8f3721779a60229008f1e2ea294028baeb738181e128c86ad55cb1945436cf69e090c2f6159f6f22011d731733b4433ba",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046c9aaba343cb2faf098319cc4d15ea218786f55c8cf0a8b668091170a6422f6c2498945a8164a4b6f27cdd11e800da501be961b37b09804610ce0df40dd8236c75a12d0c8014b163464a4aeba7cb18d20d3222083ec4a941852f24aa3d5d84e3",
|
|
"wx" : "6c9aaba343cb2faf098319cc4d15ea218786f55c8cf0a8b668091170a6422f6c2498945a8164a4b6f27cdd11e800da50",
|
|
"wy" : "1be961b37b09804610ce0df40dd8236c75a12d0c8014b163464a4aeba7cb18d20d3222083ec4a941852f24aa3d5d84e3"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200046c9aaba343cb2faf098319cc4d15ea218786f55c8cf0a8b668091170a6422f6c2498945a8164a4b6f27cdd11e800da501be961b37b09804610ce0df40dd8236c75a12d0c8014b163464a4aeba7cb18d20d3222083ec4a941852f24aa3d5d84e3",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABGyaq6NDyy+vCYMZzE0V6iGHhvVc\njPCotmgJEXCmQi9sJJiUWoFkpLbyfN0R6ADaUBvpYbN7CYBGEM4N9A3YI2x1oS0M\ngBSxY0ZKSuunyxjSDTIiCD7EqUGFLySqPV2E4w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1242,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "306402306dd9d4e98c9c388240e95c49b2100afbe0d722f8a152651c61d7ef9bf46150e3cdf9bf6330e75e4bf2c294cd66e48d0602301282d33b5b79d4eaafa03a77bb8ba2c318291f6ea09d548b7704bb00910856dd360557e609add891c6435d7a80afddfb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1243,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "306402300179a6f40039bfe52e7d30a9af9e3b24638de555bfef84840f0c9d6bd75fcb8e9b97bf33c5f8dc6b7d6b53972fe156d00230691efc254c864e9a448997c41525ffc386fa97ee489852c95a1485b1993b33e40fd3e0de7f1b64308fa829faceb3be17",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1244,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "3064023065fd456814371d60883ffda5f74f36dc2d45886121770e29ed3163754716d12c1cab03a2cb6a6e3376fc96d8727bd1bf02301aa65e57932d05788413219b7ab23e5337f63fb2dcb0f89b4227d284a3fcbdf3c54c021a6c0ca42445bf802213121654",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1245,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "3065023046cb43798bc06dbe788a4f4b2b98130e3aae917f1d2a005656bd70a3288caf7c37d1dee0c9108828a69d2a1eeae113c60231008180d0c5ba1bed4f2b0d4d8ed7ea17916b63400397e7b6d70e7312c5ff0f4524a49abf7071c8ba470de64fb668570380",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041ec7fe2275860c3bc0e4e6e459af7e16985d37adba7351ac357a7c397e07522ea41bcca8e89777fe05b8f0d9dc8c614004fcaf30a97001a5011a159f46fcd5443cbc1ddfc7ac89a1a2f8eef77bf9bba8ade73da2100cb6a371546b495fb5ea885eb631645e79591db659c49266d263d5cbd3403081cb407536efe9a5bec69955",
|
|
"wx" : "1ec7fe2275860c3bc0e4e6e459af7e16985d37adba7351ac357a7c397e07522ea41bcca8e89777fe05b8f0d9dc8c614004fcaf30a97001a5011a159f46fcd544",
|
|
"wy" : "3cbc1ddfc7ac89a1a2f8eef77bf9bba8ade73da2100cb6a371546b495fb5ea885eb631645e79591db659c49266d263d5cbd3403081cb407536efe9a5bec69955"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d03818200041ec7fe2275860c3bc0e4e6e459af7e16985d37adba7351ac357a7c397e07522ea41bcca8e89777fe05b8f0d9dc8c614004fcaf30a97001a5011a159f46fcd5443cbc1ddfc7ac89a1a2f8eef77bf9bba8ade73da2100cb6a371546b495fb5ea885eb631645e79591db659c49266d263d5cbd3403081cb407536efe9a5bec69955",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEHsf+InWGDDvA5ObkWa9+Fphd\nN626c1GsNXp8OX4HUi6kG8yo6Jd3/gW48NncjGFABPyvMKlwAaUBGhWfRvzVRDy8\nHd/HrImhovju93v5u6it5z2iEAy2o3FUa0lfteqIXrYxZF55WR22WcSSZtJj1cvT\nQDCBy0B1Nu/ppb7GmVU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1246,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "308184024061483c729369413144a6be0dd05c1ac29bc440bbdaf87e572aa987e9ca423639f339bcaaad99cb1fa80b7c35416a1834ec04bcf0fe7812c712eb1f06a16daca3024041bb956c339ebcf5e4e403c7d8928d5eb4fdf7d3f53a2c06d6c9fac347f603ac3209a2af37516f807b50363b5328bc98b94354af7d59966d160f68e80c6b2dc0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1247,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "30818402405b86ad576cdc5e76a4e4a2ba795b80faa822bc07d62d6697a1a2d4c9f1ac99bdaf6c34ec446e764f598db0f422592ae59a59c8efdf6c480adfff10bff1936fdd02407725a56a95c4cbea85ebf78f01d16b63534f6f0c53d645e3c3d6e7c30ae25797a5e4e6a578368df577734823ad0efabd15581c428def0c4e34dacacb9f164909",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1248,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "30818502410089edf75e6e986305d8181386c16db44ba0d7ff40f4335569754a481f5cd48c6211a63de7bdaa485e9fa79858a4eabf111fed2959f031de2a132ba709412683a902407a8c08564f51534128bb52fe36dffaae89079011256ef8069e64d64c5610d3e611c0ba8b19027388fccc212523b22c44e85a789e16cb1bbd3240c86b43480fde",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1249,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "308185024100a620880bb7fab1180e3d8f393e4b3343dd4eb1c374f9d61252f8a201d9096ba836721f8e2d8b56cbf406960aae0e50325adfca6b1b529f06a81260bd8b15ff68024076537febbc0e24ab4992b576abf8bc0201cacf5ccf674ad3c3b1552c98ca64642eff5401afecab167ec0be195fe5ffa178f14567ef171b4827964a559d079b7a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224t1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04c514e66ef76e69aa6d27eb4a9147c84f2516407494ee454136a42f6b364a318ddcfd8b7024550e601ba549f96d2ca1b75d512ca6cf47fbe4",
|
|
"wx" : "00c514e66ef76e69aa6d27eb4a9147c84f2516407494ee454136a42f6b",
|
|
"wy" : "364a318ddcfd8b7024550e601ba549f96d2ca1b75d512ca6cf47fbe4"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010106033a0004c514e66ef76e69aa6d27eb4a9147c84f2516407494ee454136a42f6b364a318ddcfd8b7024550e601ba549f96d2ca1b75d512ca6cf47fbe4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEGAzoABMUU5m73bmmqbSfrSpFHyE8lFkB0\nlO5FQTakL2s2SjGN3P2LcCRVDmAbpUn5bSyht11RLKbPR/vk\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1250,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "303c021c34a59f27e90297e11ac10c22d15f54d6b95b39ea3e7a0e0ac19f6180021c77a1ced2a607e6f7410f1f2e5e8d95f1e9545c7a3681aed99427ae66",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1251,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "303d021d00cdd0d45c29175bf8e9ac47d84e73eb83102995384369d45fe432d2d6021c586641ff60219da25448c314a2c4267be4d12f0e490fd46142e41874",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1252,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "303b021c3000d34848dff1f1412f9754ac38a061ae69feeef07aae4cc3ca0a5c021b3330a2e4e5ad39ee244649aad7d5fc533f0bc281c03ddbb0f6edff",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1253,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "303c021c1d0a67e5916f3eefa2794822489be4e9e8d2bfc83f31544103a11cbf021c4ae3cec888167cc93bdbf1f83ebf3d2d9a7288bdb1f094bf21b45d01",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048509d27e0e9b9720f61f48d491c6bcc62fd6d97f23394fb0b794f3bc7e926c7399fca67f503522d0453df1caf8e6db43d62c789f99fbc468774fb29efa44162c",
|
|
"wx" : "008509d27e0e9b9720f61f48d491c6bcc62fd6d97f23394fb0b794f3bc7e926c73",
|
|
"wy" : "0099fca67f503522d0453df1caf8e6db43d62c789f99fbc468774fb29efa44162c"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200048509d27e0e9b9720f61f48d491c6bcc62fd6d97f23394fb0b794f3bc7e926c7399fca67f503522d0453df1caf8e6db43d62c789f99fbc468774fb29efa44162c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABIUJ0n4Om5cg9h9I1JHGvMYv1tl/\nIzlPsLeU87x+kmxzmfymf1A1ItBFPfHK+ObbQ9YseJ+Z+8Rod0+ynvpEFiw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1254,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "30460221008a2a6cd8b36728e5cbac83e6748d36876cb46004872b45adc05c55284ce612b602210098ac99ca605e2cd46ce17264be25899138a06340fa75c04e97b74af25ad16b78",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1255,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "304402204f0afdfa975557f8a144c9b0b2a60f43e40f5b9ba0d80779943a106e6a278b6902201d52424c3aeb9800c2afb9a066b106b66f202717828a261ed27476190d3f62d4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1256,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "304402204ebd5f5e64c10e74bd32a769565c49f931ec3b69f74859e4123dd85ddfa6ac7502200c1498cb92ce45a6e777a1f7d8de1e1f11f8056ba675ec9d1027b884a9e25177",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1257,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "304402205895cb223665173957d33b1bdbc9727371cfe5ebfb596b8e366b9f1c75aa0a0e02205d372010b36dde53c599262829a8f88581ad6247d3f30a2b692963212db88b6d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP320t1",
|
|
"keySize" : 320,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0461447d3e1bb7da8122352bada17ab980cf5cbddbe09c4269533c7b48764bbfdffa78af06ef6333226ac4899f6a0bfaff640c91ae099489b18093ed1987b9a18cf621653b93dfcaf6bbbe9696e52281c8",
|
|
"wx" : "61447d3e1bb7da8122352bada17ab980cf5cbddbe09c4269533c7b48764bbfdffa78af06ef633322",
|
|
"wy" : "6ac4899f6a0bfaff640c91ae099489b18093ed1987b9a18cf621653b93dfcaf6bbbe9696e52281c8"
|
|
},
|
|
"keyDer" : "306a301406072a8648ce3d020106092b240303020801010a0352000461447d3e1bb7da8122352bada17ab980cf5cbddbe09c4269533c7b48764bbfdffa78af06ef6333226ac4899f6a0bfaff640c91ae099489b18093ed1987b9a18cf621653b93dfcaf6bbbe9696e52281c8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMGowFAYHKoZIzj0CAQYJKyQDAwIIAQEKA1IABGFEfT4bt9qBIjUrraF6uYDPXL3b\n4JxCaVM8e0h2S7/f+nivBu9jMyJqxImfagv6/2QMka4JlImxgJPtGYe5oYz2IWU7\nk9/K9ru+lpblIoHI\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1258,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3055022900accb506f1bad3d84f2966be7630ff551be70c1c1d6f45728abde037bf2a6b3bbc2dc94416539339d022865c576935e93ac452834bdf9cf3a6ce91da7fadaba34b24a0b5aa47f717ae3d1ef21c6ef7ef6be32",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1259,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "305502286f64c4e05fb8f11e7ca9c71407de33d824adf4c0da9abf2f74a7b28dae2253586b18d3a69bea0520022900ca8ef19ae2f278265db27259693e57c7cf52e5c12d53f29e321a68aea5570f9f428854522813979f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1260,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "305602290080439603434ae38f3f08ca8812c3cf6b5b41973aace77ce5acc0fec5accbe5fce65b9dfaeeb1d75d0229008a952af632fc4823ff40f7d65be23e85717ef2111118b2b22932dc3f8b479501e1bc422fb0f6309c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1261,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "305502286ef646d78f7f4d69aa7378a9d199bc7fc5355f65a83b62de0d78ca3f6a9588d873b6a54ba9cbf98a022900b31e5ca01a5d076e70a1b8de28eff126bb3cab9f0e607a2cfd3a8056b6896762bae51b25861b8ef7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384t1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400d95b9bbcf029074240d23232b287fec40768d9d31826a2d128d48667c91fddd509ce449d7de14568af320d15499f964cdccbb334791e89c0ea0dadd3e9ab657d6dec8a38b174c6f3a9da08d8bf3703cbb21ed3c35dc702536aaeef03bd56a0",
|
|
"wx" : "00d95b9bbcf029074240d23232b287fec40768d9d31826a2d128d48667c91fddd509ce449d7de14568af320d15499f96",
|
|
"wy" : "4cdccbb334791e89c0ea0dadd3e9ab657d6dec8a38b174c6f3a9da08d8bf3703cbb21ed3c35dc702536aaeef03bd56a0"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010c0362000400d95b9bbcf029074240d23232b287fec40768d9d31826a2d128d48667c91fddd509ce449d7de14568af320d15499f964cdccbb334791e89c0ea0dadd3e9ab657d6dec8a38b174c6f3a9da08d8bf3703cbb21ed3c35dc702536aaeef03bd56a0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQEMA2IABADZW5u88CkHQkDSMjKyh/7EB2jZ\n0xgmotEo1IZnyR/d1QnORJ194UVorzINFUmflkzcy7M0eR6JwOoNrdPpq2V9beyK\nOLF0xvOp2gjYvzcDy7Ie08NdxwJTaq7vA71WoA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1262,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "3064023038d0472c6a7fb0fa0b605023eca6e26c7570820554f1d3ccb9cce15579469c057ca6f99cafb591599ddc1713cd67e659023050f3983145a748dda08ab2547eff692b69606beffa993380f27fdf6fb91ba7bb9b3b37c65586c9512ff10ba849b58987",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1263,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "30640230152ca621474847b02e3cd14ec2c8e21247aacc830a0a5410bf408d5837d9ddd45738637134e55555916828922db3e4ea023039f3093eec232e1449d72a3a2b68cef4fd436c498ac265f90edc7bbbe1b102d5a42a801f3be233bacb5c52ce488fe83e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1264,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "3064023029b74d0c4211d1e36e8fcf0ae00a4b3fe738478119866c0503da62b6abdb96bd61fa70460be6aaa0579e162d045cc8be02304820e4bfe763eb12f37b1f852723728feb63c86741d4dd2196446ea5f47c2f879f11fdf23f121f950169901f3c4cb03c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1265,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "306502305e83a0b1c1bdfe98babe8f83bc046d5a896fbf307c8a468f4567dc2940a11d31344d3575620bd0c4201b80d6cc2a3ca9023100801352c92b908ce2f7522492ade4dea788ddb6d17204387d764ce7c2940302a98b62cf83baa69f0c735a56fe8c35dbeb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512t1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a5008ecb5b6294ab2ea71a9e23694973c95a0b5f5874ade775d349a23148038e6c7311aa69aba4b9fa8cefe8ff9bf1c5f4324e3f3cdf43143b1d35df7cf7f5071bc165ca46fe65152d2e74d95ce1a740d5e1a2728005f72ed66e5eeef49d9750a7471c45658d0d189890a1616aa66d6487cc3e70ac950fe81e550dab58fdb55f",
|
|
"wx" : "00a5008ecb5b6294ab2ea71a9e23694973c95a0b5f5874ade775d349a23148038e6c7311aa69aba4b9fa8cefe8ff9bf1c5f4324e3f3cdf43143b1d35df7cf7f507",
|
|
"wy" : "1bc165ca46fe65152d2e74d95ce1a740d5e1a2728005f72ed66e5eeef49d9750a7471c45658d0d189890a1616aa66d6487cc3e70ac950fe81e550dab58fdb55f"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010e0381820004a5008ecb5b6294ab2ea71a9e23694973c95a0b5f5874ade775d349a23148038e6c7311aa69aba4b9fa8cefe8ff9bf1c5f4324e3f3cdf43143b1d35df7cf7f5071bc165ca46fe65152d2e74d95ce1a740d5e1a2728005f72ed66e5eeef49d9750a7471c45658d0d189890a1616aa66d6487cc3e70ac950fe81e550dab58fdb55f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDgOBggAEpQCOy1tilKsupxqeI2lJc8la\nC19YdK3nddNJojFIA45scxGqaaukufqM7+j/m/HF9DJOPzzfQxQ7HTXffPf1BxvB\nZcpG/mUVLS502Vzhp0DV4aJygAX3LtZuXu70nZdQp0ccRWWNDRiYkKFhaqZtZIfM\nPnCslQ/oHlUNq1j9tV8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1266,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "313233343030",
|
|
"sig" : "30818502403a146c30a1e275ef8e6410288c48e9751d82c14cce9a1a8367cb272bda61048e6272bbfbe781a52f2694229a5fa49fb021b90b67dd976e83b7eabd3d6893d613024100810c5bdc99f722390918937ef115276cae34b30441285ed7242024dea1704445bb694848f6c2914e818af6947e3df8072fa9643ebc199ca88a374df7fd2fc009",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1267,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "54657374",
|
|
"sig" : "30818402405326efd4d3969f3074cc2fc1226e0cd0a00be4cec1d01643812435bfe135ccd781040cd201101eb45c13d4654dbe3902109ec662dbb63b9e9d3ea017a62209d3024003fb04f8b00612a0020e8cdadf30a064436ced16a34ed7ec4d332950b93083b506ce05d12465877aed3db3744ba7b8e4698bc1c125bd38517f15949444b8fc8a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1268,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "",
|
|
"sig" : "30818402401ebb81543b870229db3a440fdcf6402e22b5f9760c3b95e44bca6a7b7ad3df5c6e9d07f71ac6ce63916141baa92171bde9701b59907da2cfa922b30611188a2102406adba7340a1687dae2596329218a856ced4e86d0a39ddd7c1634233e061767dbf58751a05df152b49e0a5d722358a6d8fe7e69176621a365772cafaf41714833",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1269,
|
|
"comment" : "pseudorandom signature",
|
|
"msg" : "0000000000000000000000000000000000000000",
|
|
"sig" : "308185024100a6b9e91472661f0a15d79e3dd4c6b05921e07c456571233f4af67c66e94a9e06c6daddece057dc49b617f95138038a28d77a984015548d487adb3d55152129d002404c657ef2b28b0b7171a5c4ec4a11a894cba4c312be4d26013e508766f43cf8f7986d54fbc358e8b95b4171bee39fc0c8e1810e6e4642c31c740138f44e2586f8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ea659ff9db8803270c9e1ee0d51f604352e0a4a29934e7f2ead6e9ad4528ffea49b2787707756802c4d6b6b094fa360e79acf86f762d100accf5f0a63a634a8e",
|
|
"wx" : "00ea659ff9db8803270c9e1ee0d51f604352e0a4a29934e7f2ead6e9ad4528ffea",
|
|
"wy" : "49b2787707756802c4d6b6b094fa360e79acf86f762d100accf5f0a63a634a8e"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ea659ff9db8803270c9e1ee0d51f604352e0a4a29934e7f2ead6e9ad4528ffea49b2787707756802c4d6b6b094fa360e79acf86f762d100accf5f0a63a634a8e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE6mWf+duIAycMnh7g1R9gQ1LgpKKZ\nNOfy6tbprUUo/+pJsnh3B3VoAsTWtrCU+jYOeaz4b3YtEArM9fCmOmNKjg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-224",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1270,
|
|
"comment" : "Hash weaker than DL-group",
|
|
"msg" : "4d7367",
|
|
"sig" : "304402201525048659434a531f6af322116bc5c8829747bb254f89e620cc99f86903353802204f0eb76ef9aefa310b1ddf76ebb9cdd551fd6b192a4875d70c0ceb7f74e19252",
|
|
"result" : "acceptable",
|
|
"flags" : [
|
|
"WeakHash"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "045993264ee17ddf209aec31fe0a3c153b5a2a845d4fe67fbc218ab1397d42df07c9c98b1a98d2a1d792014dfc77fe99bd2b83b18785eb4ebcbe8d16ecd14f8f625015b2687af2d13d6872e52b055c95eb34817a9f18fbe8fef235818515242565",
|
|
"wx" : "5993264ee17ddf209aec31fe0a3c153b5a2a845d4fe67fbc218ab1397d42df07c9c98b1a98d2a1d792014dfc77fe99bd",
|
|
"wy" : "2b83b18785eb4ebcbe8d16ecd14f8f625015b2687af2d13d6872e52b055c95eb34817a9f18fbe8fef235818515242565"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200045993264ee17ddf209aec31fe0a3c153b5a2a845d4fe67fbc218ab1397d42df07c9c98b1a98d2a1d792014dfc77fe99bd2b83b18785eb4ebcbe8d16ecd14f8f625015b2687af2d13d6872e52b055c95eb34817a9f18fbe8fef235818515242565",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEWZMmTuF93yCa7DH+CjwVO1oqhF1P5n+8\nIYqxOX1C3wfJyYsamNKh15IBTfx3/pm9K4Oxh4XrTry+jRbs0U+PYlAVsmh68tE9\naHLlKwVcles0gXqfGPvo/vI1gYUVJCVl\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1271,
|
|
"comment" : "Hash weaker than DL-group",
|
|
"msg" : "54657374",
|
|
"sig" : "3065023023a86458feb3c220dbf9f4a9150d86694c12569eaa1e5f63c41fb87e4ff425b8fea57ecaa4e147aa041780c64fc01f54023100e47d546b638df0a29246df46aab7fa3f1d797c1427d9819e5df3c7da7c6d81c77cc185c7d469dcf8bb0a201f940737f1",
|
|
"result" : "acceptable",
|
|
"flags" : [
|
|
"WeakHash"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04018f0d2a742e18cb855a3477886461a15ada5533100f488dc39aed896c5ea62fa029c5b80454b4eabaebf2917d762c5053dba126b39a078c0f00b2f936a09184dbfe00503cc4cca010bdd2aa8d85f5625d516f3e41d068cfd4ea413ec4a97510627920c0197eef2ad22383c57f2e93a5d525521fd8635550fb5dd98e3b6c73592b24a831",
|
|
"wx" : "018f0d2a742e18cb855a3477886461a15ada5533100f488dc39aed896c5ea62fa029c5b80454b4eabaebf2917d762c5053dba126b39a078c0f00b2f936a09184dbfe",
|
|
"wy" : "503cc4cca010bdd2aa8d85f5625d516f3e41d068cfd4ea413ec4a97510627920c0197eef2ad22383c57f2e93a5d525521fd8635550fb5dd98e3b6c73592b24a831"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004018f0d2a742e18cb855a3477886461a15ada5533100f488dc39aed896c5ea62fa029c5b80454b4eabaebf2917d762c5053dba126b39a078c0f00b2f936a09184dbfe00503cc4cca010bdd2aa8d85f5625d516f3e41d068cfd4ea413ec4a97510627920c0197eef2ad22383c57f2e93a5d525521fd8635550fb5dd98e3b6c73592b24a831",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBjw0qdC4Yy4VaNHeIZGGhWtpVMxAP\nSI3Dmu2JbF6mL6ApxbgEVLTquuvykX12LFBT26Ems5oHjA8Asvk2oJGE2/4AUDzE\nzKAQvdKqjYX1Yl1Rbz5B0GjP1OpBPsSpdRBieSDAGX7vKtIjg8V/LpOl1SVSH9hj\nVVD7XdmOO2xzWSskqDE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1272,
|
|
"comment" : "Hash weaker than DL-group",
|
|
"msg" : "54657374",
|
|
"sig" : "308187024201cd35bd8adcb9155d8760edab8612d86d9518e5eafba22b230c0aa34cea7679d2278104903a831d21c2092075d5f1fd686012dab33dd87d32fa04d7d1d10722c3f9024112c5e76b245c67cc25fae2f04045546f95113e04f3a4860ff21d6194b51a385332aa6ad34e3024906244071c415a688a0db2df62dce92067bf14aed466a9d90d0b",
|
|
"result" : "acceptable",
|
|
"flags" : [
|
|
"WeakHash"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04aed6fcad2400c4d94e55dbb6b012ce3d4c2b46843fbe99d4289e6ecf8a24a89e71343d7d151d258d2cb690349c2d56b366dd10a600000000",
|
|
"wx" : "00aed6fcad2400c4d94e55dbb6b012ce3d4c2b46843fbe99d4289e6ecf",
|
|
"wy" : "008a24a89e71343d7d151d258d2cb690349c2d56b366dd10a600000000"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004aed6fcad2400c4d94e55dbb6b012ce3d4c2b46843fbe99d4289e6ecf8a24a89e71343d7d151d258d2cb690349c2d56b366dd10a600000000",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAErtb8rSQAxNlOVdu2sBLOPUwrRoQ/vpnU\nKJ5uz4okqJ5xND19FR0ljSy2kDScLVazZt0QpgAAAAA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1273,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c519bf185ff4635271961fa491be257231deeea9c53a6ede3b4a89ed1021c486bdad484a6a3134e1471cf56a9df0fac50f773b3e37d6f327617d7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1274,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c09fd644898b7cb5d018b52234e7b4ef2b54789afd0ce9c434e9e5515021d00f19309532164ea2053cae55df7bdcbab536c83ea7bfe6fe10d60c1ab",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1275,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00ec919d4e283ccf1f71a9e3c0f781a36758d3f38b1b78a87a74288e80021c4c4663044a73c79bd88f0dc245ab1a32f89f06f40a704b31e9fabc51",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04bf19ecfe43ffe289f699f479316145b9a7f7370b9ece5ab1212174f173d528949ae9142f818bade71a960407963be0b6482a6a60ffffffff",
|
|
"wx" : "00bf19ecfe43ffe289f699f479316145b9a7f7370b9ece5ab1212174f1",
|
|
"wy" : "73d528949ae9142f818bade71a960407963be0b6482a6a60ffffffff"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004bf19ecfe43ffe289f699f479316145b9a7f7370b9ece5ab1212174f173d528949ae9142f818bade71a960407963be0b6482a6a60ffffffff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEvxns/kP/4on2mfR5MWFFuaf3Nwuezlqx\nISF08XPVKJSa6RQvgYut5xqWBAeWO+C2SCpqYP////8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1276,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00c51760478447217597ecc6f4001bd45088d53c90f53103608bf88aea021d00a201253aa903f9781e8992101d7171d2dd3a5d48c44d8e1d544cd6d7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1277,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c76be0112674ec29128823e1af7512e6143872fef30a64e2f1799bd56021c187e503e1a48c27b549fe0a4ce5e581e242c8663fc9efb02d6f2b193",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1278,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c36245ef126b5b51e459f84eaaad5a495061f0471dc8c23f1c5f16282021c39e31d72a06ba8e14fcf95778e07bc16a2628e39449da8857d506edc",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0426e5abf135cb54eaaa16b69e4b0b292275344e88a09df6df80000000eab891de54e3f26ff50ab989f333dac551583d468ae623c596434af0",
|
|
"wx" : "26e5abf135cb54eaaa16b69e4b0b292275344e88a09df6df80000000",
|
|
"wy" : "00eab891de54e3f26ff50ab989f333dac551583d468ae623c596434af0"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000426e5abf135cb54eaaa16b69e4b0b292275344e88a09df6df80000000eab891de54e3f26ff50ab989f333dac551583d468ae623c596434af0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEJuWr8TXLVOqqFraeSwspInU0Toignfbf\ngAAAAOq4kd5U4/Jv9Qq5ifMz2sVRWD1GiuYjxZZDSvA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1279,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c258682975df8bca7f203f771ebeb478ef637360c860fc386cfb21745021c7663e70188047e41469a2a35c8c330dd900f2340ba82aafd22962a96",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1280,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d0085c98614f36c0d66f8d87834cae978611b7b4eebf59a46bea1b89ae9021d00d1a18e378dda840e06b60f6279bf0a2231d9fa2d8d2c31e88bc1bdd7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1281,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00ca7b7432ba41ff2112e1116fffde89bbd68f5ce67fe5513d16c8e6f7021d00e421b7599e0180798acc2006451603cda2db1d582741116e6033ce5f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ec627f345545d03f8c6dbd08e575527116567fe375f9ecaaffffffff41bf705697d5f716bcf78718d5393b63a98691f4a1f24246375538fd",
|
|
"wx" : "00ec627f345545d03f8c6dbd08e575527116567fe375f9ecaaffffffff",
|
|
"wy" : "41bf705697d5f716bcf78718d5393b63a98691f4a1f24246375538fd"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004ec627f345545d03f8c6dbd08e575527116567fe375f9ecaaffffffff41bf705697d5f716bcf78718d5393b63a98691f4a1f24246375538fd",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE7GJ/NFVF0D+Mbb0I5XVScRZWf+N1+eyq\n/////0G/cFaX1fcWvPeHGNU5O2OphpH0ofJCRjdVOP0=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1282,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c19397fe5d3ecabf80fc624c1bf379564387517c185087dc97d605069021c33b5773e9aaf6c34cb612cfc81efd3bf9c22224e8c4fa1bfccf5c501",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1283,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c70f24f5c164164bfbb8459aa12a981aa312dbcf00204326ebaaabdc8021d00f5cebee8caedae8662c43501665084b45d2f494fb70d603043543dc4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1284,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c0bf2d86ecaa8b56aca5e8f8ebcb45081d078a14555b75f5be8e9b132021d009a55b3ce4734849966b5034ccd9b19f76407ee0241c3f58e7b8fc89a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0415016e52b36472d536477605fb805dd3903082a062d1ea30af9e555a00000000762d28f1fdc219184f81681fbff566d465b5f1f31e872df5",
|
|
"wx" : "15016e52b36472d536477605fb805dd3903082a062d1ea30af9e555a",
|
|
"wy" : "762d28f1fdc219184f81681fbff566d465b5f1f31e872df5"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000415016e52b36472d536477605fb805dd3903082a062d1ea30af9e555a00000000762d28f1fdc219184f81681fbff566d465b5f1f31e872df5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEFQFuUrNkctU2R3YF+4Bd05AwgqBi0eow\nr55VWgAAAAB2LSjx/cIZGE+BaB+/9WbUZbXx8x6HLfU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1285,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00bfc5dc4434cd09369610687d38d2d418b63fd475dea246a456b25a3a021d00b171dfa6cf722f20816370a868785da842b37bac31d7b78e6751fc50",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1286,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d008fdbe8da646c5642d767c7dbeb3872b1edab6e37365805f0e94ce0a9021d00bcf35ab81222883dd3526cb0cf93138f4687cd0b10c2b0a126385161",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1287,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00e23a11275848fd4f8b6f4ac4fc305eae981d3b7dc453e5a980c46422021c1a875693f24a03ea1614c4c3bbd0dd7221429f22b337ea7d98348ca4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0415016e52b36472d536477605fb805dd3903082a062d1ea30af9e555affffffff89d2d70e023de6e7b07e97df400a992b9a4a0e0ce178d20c",
|
|
"wx" : "15016e52b36472d536477605fb805dd3903082a062d1ea30af9e555a",
|
|
"wy" : "00ffffffff89d2d70e023de6e7b07e97df400a992b9a4a0e0ce178d20c"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000415016e52b36472d536477605fb805dd3903082a062d1ea30af9e555affffffff89d2d70e023de6e7b07e97df400a992b9a4a0e0ce178d20c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEFQFuUrNkctU2R3YF+4Bd05AwgqBi0eow\nr55VWv////+J0tcOAj3m57B+l99ACpkrmkoODOF40gw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1288,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c76645164ff9af3a1a9205fda2eef326d2bffc795dcc4829547fe01dd021d00b65bba503719314b27734dd06b1395d540af8396029b78b84e0149eb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1289,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c32fa0ca7e07f1f86ac350734994e1f31b6da9c82f93dced2b983c29c021c7b7891282206a45711bdfcb2a102b5d289df84ff5778548603574004",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1290,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c2d5492478ca64e5111dfd8521867b6477b7e78227849ad090b855694021d00a532f5a2fa3594af81cd5928b81b4057da717be5fb42a3a86c68190d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400000000f7e4713d085112112c37cdf4601ff688da796016b71a727ade5a9ec165054cc987f9dc87e9991b92e4fa649ca655eeae9f2a30e1",
|
|
"wx" : "00f7e4713d085112112c37cdf4601ff688da796016b71a727a",
|
|
"wy" : "00de5a9ec165054cc987f9dc87e9991b92e4fa649ca655eeae9f2a30e1"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a000400000000f7e4713d085112112c37cdf4601ff688da796016b71a727ade5a9ec165054cc987f9dc87e9991b92e4fa649ca655eeae9f2a30e1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEAAAAAPfkcT0IURIRLDfN9GAf9ojaeWAW\ntxpyet5ansFlBUzJh/nch+mZG5Lk+mScplXurp8qMOE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1291,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c191eee5daf55cd499e8539cb2cff797cfec5d566d2027bf9f8d64693021d00dadfeae8131f64d96b94fd340197caa2bc04818554812feef3343070",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1292,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00e0e2c08180b8a207ee9105a7d379fa112368e8370fa09dfde4a45c45021d00c717bc0860e016e7ce48f8fe6a299b36906a6055adad93b416ce8838",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1293,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c1b919ef93532292743bb2e1b7b4894fd847c6e5de52a08e1b0f2dcfb021d00c2d30d6b7594d8dbd261491ae1d58779505b075b64e5564dc97a418b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ffffffffeadf7cee8d34d04cf22c8f7de35674fb2f501d242a76f72586c409309d398e60ce1e0a4c9e05a9d32627577e8ce2cc7f3afa2c3e",
|
|
"wx" : "00ffffffffeadf7cee8d34d04cf22c8f7de35674fb2f501d242a76f725",
|
|
"wy" : "0086c409309d398e60ce1e0a4c9e05a9d32627577e8ce2cc7f3afa2c3e"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004ffffffffeadf7cee8d34d04cf22c8f7de35674fb2f501d242a76f72586c409309d398e60ce1e0a4c9e05a9d32627577e8ce2cc7f3afa2c3e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAE/////+rffO6NNNBM8iyPfeNWdPsvUB0k\nKnb3JYbECTCdOY5gzh4KTJ4FqdMmJ1d+jOLMfzr6LD4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1294,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00e75db49ed33ff2885ea6100cc95b8fe1b9242ea4248db07bcac2e020021c796c866142ae8eb75bb0499c668c6fe45497692fbcc66b37c2e4624f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1295,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c1f81cd924362ec825890307b9b3936e0d8f728a7c84bdb43c5cf0433021c39d3e46a03040ad41ac026b18e0629f6145e3dc8d1e6bbe200c8482b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1296,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c00fda613aa67ca42673ad4309f3f0f05b2569f3dee63f4aa9cc54cf3021c1e5a64b68a37e5b201c918303dc7a40439aaeacf019c5892a8f6d0ce",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b0013c6fbff6f09fecda1c263ef65399d4cf989ca5fc4f8fff0fe9e1000000000e2ab0e8495e859eb2afb00769d6e7fe626a119167c0b6bc",
|
|
"wx" : "00b0013c6fbff6f09fecda1c263ef65399d4cf989ca5fc4f8fff0fe9e1",
|
|
"wy" : "0e2ab0e8495e859eb2afb00769d6e7fe626a119167c0b6bc"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b0013c6fbff6f09fecda1c263ef65399d4cf989ca5fc4f8fff0fe9e1000000000e2ab0e8495e859eb2afb00769d6e7fe626a119167c0b6bc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEsAE8b7/28J/s2hwmPvZTmdTPmJyl/E+P\n/w/p4QAAAAAOKrDoSV6FnrKvsAdp1uf+YmoRkWfAtrw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1297,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00b932b3f7e6467e1ec7a561f31160248c7f224550a8508788634b53ce021d00a0c5312acf9e801aff6d6fc98550cfa712bbf65937165a36f2c32dc9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1298,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00e509593fb09245ee8226ce72786b0cc352be555a7486be628f4fd00c021c0b7abde0061b1e07bf13319150a4ff6a464abab636ab4e297b0d7633",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1299,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c6e54f941204d4639b863c98a65b7bee318d51ab1900a8f345eac6f07021c0da5054829214ecde5e10579b36a2fe6426c24b064ed77c38590f25c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04b0013c6fbff6f09fecda1c263ef65399d4cf989ca5fc4f8fff0fe9e1fffffffff1d54f17b6a17a614d504ff7962918019d95ee6e983f4945",
|
|
"wx" : "00b0013c6fbff6f09fecda1c263ef65399d4cf989ca5fc4f8fff0fe9e1",
|
|
"wy" : "00fffffffff1d54f17b6a17a614d504ff7962918019d95ee6e983f4945"
|
|
},
|
|
"keyDer" : "304e301006072a8648ce3d020106052b81040021033a0004b0013c6fbff6f09fecda1c263ef65399d4cf989ca5fc4f8fff0fe9e1fffffffff1d54f17b6a17a614d504ff7962918019d95ee6e983f4945",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEsAE8b7/28J/s2hwmPvZTmdTPmJyl/E+P\n/w/p4f/////x1U8XtqF6YU1QT/eWKRgBnZXubpg/SUU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1300,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d0085ea4ab3ffdc992330c0ca8152faf991386bce82877dbb239ba654f6021c0806c6baf0ebea4c1aaa190e7d4325d46d1f7789d550632b70b5fc9b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1301,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c44d53debb646b73485402eab2d099081b97b1243c025b624f0dd67ea021d00e5de789a7d4b77eac6d7bba41658e6e4dc347dabed2f9680c04a6f55",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1302,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c1526eb2f657ebea9af4ca184b975c02372c88e24e835f3f5774c0e12021c1f1ecce38ee52372cb201907794de17b6d6c1afa13c316c51cb07bc7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044f337ccfd67726a805e4f1600ae2849df3807eca117380239fbd816900000000ed9dea124cc8c396416411e988c30f427eb504af43a3146cd5df7ea60666d685",
|
|
"wx" : "4f337ccfd67726a805e4f1600ae2849df3807eca117380239fbd816900000000",
|
|
"wy" : "00ed9dea124cc8c396416411e988c30f427eb504af43a3146cd5df7ea60666d685"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044f337ccfd67726a805e4f1600ae2849df3807eca117380239fbd816900000000ed9dea124cc8c396416411e988c30f427eb504af43a3146cd5df7ea60666d685",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAETzN8z9Z3JqgF5PFgCuKEnfOAfsoR\nc4Ajn72BaQAAAADtneoSTMjDlkFkEemIww9CfrUEr0OjFGzV336mBmbWhQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1303,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100d434e262a49eab7781e353a3565e482550dd0fd5defa013c7f29745eff3569f10221009b0c0a93f267fb6052fd8077be769c2b98953195d7bc10de844218305c6ba17a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1304,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402200fe774355c04d060f76d79fd7a772e421463489221bf0a33add0be9b1979110b0220500dcba1c69a8fbd43fa4f57f743ce124ca8b91a1f325f3fac6181175df55737",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1305,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022100bb40bf217bed3fb3950c7d39f03d36dc8e3b2cd79693f125bfd06595ee1135e30220541bf3532351ebb032710bdb6a1bf1bfc89a1e291ac692b3fa4780745bb55677",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f49726500493584fa174d791c72bf2ce3880a8960dd2a7c7a1338a82f85a9e59cdbde80000000",
|
|
"wx" : "3cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f497265004935",
|
|
"wy" : "0084fa174d791c72bf2ce3880a8960dd2a7c7a1338a82f85a9e59cdbde80000000"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f49726500493584fa174d791c72bf2ce3880a8960dd2a7c7a1338a82f85a9e59cdbde80000000",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPPA9YU2JOc/UmaB4c/rCgWGPBrj/\nh+gBXD9JcmUASTWE+hdNeRxyvyzjiAqJYN0qfHoTOKgvhanlnNvegAAAAA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1306,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30440220664eb7ee6db84a34df3c86ea31389a5405badd5ca99231ff556d3e75a233e73a022059f3c752e52eca46137642490a51560ce0badc678754b8f72e51a2901426a1bd",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1307,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502204cd0429bbabd2827009d6fcd843d4ce39c3e42e2d1631fd001985a79d1fd8b430221009638bf12dd682f60be7ef1d0e0d98f08b7bca77a1a2b869ae466189d2acdabe3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1308,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100e56c6ea2d1b017091c44d8b6cb62b9f460e3ce9aed5e5fd41e8added97c56c04022100a308ec31f281e955be20b457e463440b4fcf2b80258078207fc1378180f89b55",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f4972650049357b05e8b186e38d41d31c77f5769f22d58385ecc857d07a561a6324217fffffff",
|
|
"wx" : "3cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f497265004935",
|
|
"wy" : "7b05e8b186e38d41d31c77f5769f22d58385ecc857d07a561a6324217fffffff"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f4972650049357b05e8b186e38d41d31c77f5769f22d58385ecc857d07a561a6324217fffffff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPPA9YU2JOc/UmaB4c/rCgWGPBrj/\nh+gBXD9JcmUASTV7BeixhuONQdMcd/V2nyLVg4XsyFfQelYaYyQhf////w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1309,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402201158a08d291500b4cabed3346d891eee57c176356a2624fb011f8fbbf34668300220228a8c486a736006e082325b85290c5bc91f378b75d487dda46798c18f285519",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1310,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022100b1db9289649f59410ea36b0c0fc8d6aa2687b29176939dd23e0dde56d309fa9d02203e1535e4280559015b0dbd987366dcf43a6d1af5c23c7d584e1c3f48a1251336",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1311,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100b7b16e762286cb96446aa8d4e6e7578b0a341a79f2dd1a220ac6f0ca4e24ed86022100ddc60a700a139b04661c547d07bbb0721780146df799ccf55e55234ecb8f12bc",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042829c31faa2e400e344ed94bca3fcd0545956ebcfe8ad0f6dfa5ff8effffffffa01aafaf000e52585855afa7676ade284113099052df57e7eb3bd37ebeb9222e",
|
|
"wx" : "2829c31faa2e400e344ed94bca3fcd0545956ebcfe8ad0f6dfa5ff8effffffff",
|
|
"wy" : "00a01aafaf000e52585855afa7676ade284113099052df57e7eb3bd37ebeb9222e"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042829c31faa2e400e344ed94bca3fcd0545956ebcfe8ad0f6dfa5ff8effffffffa01aafaf000e52585855afa7676ade284113099052df57e7eb3bd37ebeb9222e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKCnDH6ouQA40TtlLyj/NBUWVbrz+\nitD236X/jv////+gGq+vAA5SWFhVr6dnat4oQRMJkFLfV+frO9N+vrkiLg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1312,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022100d82a7c2717261187c8e00d8df963ff35d796edad36bc6e6bd1c91c670d9105b402203dcabddaf8fcaa61f4603e7cbac0f3c0351ecd5988efb23f680d07debd139929",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1313,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402205eb9c8845de68eb13d5befe719f462d77787802baff30ce96a5cba063254af7802202c026ae9be2e2a5e7ca0ff9bbd92fb6e44972186228ee9a62b87ddbe2ef66fb5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1314,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304602210096843dd03c22abd2f3b782b170239f90f277921becc117d0404a8e4e36230c28022100f2be378f526f74a543f67165976de9ed9a31214eb4d7e6db19e1ede123dd991d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04fffffff948081e6a0458dd8f9e738f2665ff9059ad6aac0708318c4ca9a7a4f55a8abcba2dda8474311ee54149b973cae0c0fb89557ad0bf78e6529a1663bd73",
|
|
"wx" : "00fffffff948081e6a0458dd8f9e738f2665ff9059ad6aac0708318c4ca9a7a4f5",
|
|
"wy" : "5a8abcba2dda8474311ee54149b973cae0c0fb89557ad0bf78e6529a1663bd73"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004fffffff948081e6a0458dd8f9e738f2665ff9059ad6aac0708318c4ca9a7a4f55a8abcba2dda8474311ee54149b973cae0c0fb89557ad0bf78e6529a1663bd73",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE////+UgIHmoEWN2PnnOPJmX/kFmt\naqwHCDGMTKmnpPVairy6LdqEdDEe5UFJuXPK4MD7iVV60L945lKaFmO9cw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1315,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30440220766456dce1857c906f9996af729339464d27e9d98edc2d0e3b760297067421f60220402385ecadae0d8081dccaf5d19037ec4e55376eced699e93646bfbbf19d0b41",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1316,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100c605c4b2edeab20419e6518a11b2dbc2b97ed8b07cced0b19c34f777de7b9fd9022100edf0f612c5f46e03c719647bc8af1b29b2cde2eda700fb1cff5e159d47326dba",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1317,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100d48b68e6cabfe03cf6141c9ac54141f210e64485d9929ad7b732bfe3b7eb8a84022100feedae50c61bd00e19dc26f9b7e2265e4508c389109ad2f208f0772315b6c941",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400000003fa15f963949d5f03a6f5c7f86f9e0015eeb23aebbff1173937ba748e1099872070e8e87c555fa13659cca5d7fadcfcb0023ea889548ca48af2ba7e71",
|
|
"wx" : "03fa15f963949d5f03a6f5c7f86f9e0015eeb23aebbff1173937ba748e",
|
|
"wy" : "1099872070e8e87c555fa13659cca5d7fadcfcb0023ea889548ca48af2ba7e71"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000400000003fa15f963949d5f03a6f5c7f86f9e0015eeb23aebbff1173937ba748e1099872070e8e87c555fa13659cca5d7fadcfcb0023ea889548ca48af2ba7e71",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAAAAA/oV+WOUnV8DpvXH+G+eABXu\nsjrrv/EXOTe6dI4QmYcgcOjofFVfoTZZzKXX+tz8sAI+qIlUjKSK8rp+cQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1318,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100b7c81457d4aeb6aa65957098569f0479710ad7f6595d5874c35a93d12a5dd4c7022100b7961a0b652878c2d568069a432ca18a1a9199f2ca574dad4b9e3a05c0a1cdb3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1319,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402206b01332ddb6edfa9a30a1321d5858e1ee3cf97e263e669f8de5e9652e76ff3f702205939545fced457309a6a04ace2bd0f70139c8f7d86b02cb1cc58f9e69e96cd5a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1320,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100efdb884720eaeadc349f9fc356b6c0344101cd2fd8436b7d0e6a4fb93f106361022100f24bee6ad5dc05f7613975473aadf3aacba9e77de7d69b6ce48cb60d8113385d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015000000001352bb4a0fa2ea4cceb9ab63dd684ade5a1127bcf300a698a7193bc2",
|
|
"wx" : "00bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015",
|
|
"wy" : "1352bb4a0fa2ea4cceb9ab63dd684ade5a1127bcf300a698a7193bc2"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015000000001352bb4a0fa2ea4cceb9ab63dd684ade5a1127bcf300a698a7193bc2",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEvLspFMefBF6qbsu8YSgWs75dLWeW\ncH2BJen4UcGK8BUAAAAAE1K7Sg+i6kzOuatj3WhK3loRJ7zzAKaYpxk7wg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1321,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022031230428405560dcb88fb5a646836aea9b23a23dd973dcbe8014c87b8b20eb0702200f9344d6e812ce166646747694a41b0aaf97374e19f3c5fb8bd7ae3d9bd0beff",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1322,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100caa797da65b320ab0d5c470cda0b36b294359c7db9841d679174db34c4855743022100cf543a62f23e212745391aaf7505f345123d2685ee3b941d3de6d9b36242e5a0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1323,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502207e5f0ab5d900d3d3d7867657e5d6d36519bc54084536e7d21c336ed8001859450221009450c07f201faec94b82dfb322e5ac676688294aad35aa72e727ff0b19b646aa",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015fffffffeecad44b6f05d15b33146549c2297b522a5eed8430cff596758e6c43d",
|
|
"wx" : "00bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015",
|
|
"wy" : "00fffffffeecad44b6f05d15b33146549c2297b522a5eed8430cff596758e6c43d"
|
|
},
|
|
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015fffffffeecad44b6f05d15b33146549c2297b522a5eed8430cff596758e6c43d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEvLspFMefBF6qbsu8YSgWs75dLWeW\ncH2BJen4UcGK8BX////+7K1EtvBdFbMxRlScIpe1IqXu2EMM/1lnWObEPQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1324,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100d7d70c581ae9e3f66dc6a480bf037ae23f8a1e4a2136fe4b03aa69f0ca25b35602210089c460f8a5a5c2bbba962c8a3ee833a413e85658e62a59e2af41d9127cc47224",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1325,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30440220341c1b9ff3c83dd5e0dfa0bf68bcdf4bb7aa20c625975e5eeee34bb396266b34022072b69f061b750fd5121b22b11366fad549c634e77765a017902a67099e0a4469",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1326,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022070bebe684cdcb5ca72a42f0d873879359bd1781a591809947628d313a3814f67022100aec03aca8f5587a4d535fa31027bbe9cc0e464b1c3577f4c2dcde6b2094798a9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff00000001060492d5a5673e0f25d8d50fb7e58c49d86d46d4216955e0aa3d40e1",
|
|
"wx" : "6e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff",
|
|
"wy" : "01060492d5a5673e0f25d8d50fb7e58c49d86d46d4216955e0aa3d40e1"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff00000001060492d5a5673e0f25d8d50fb7e58c49d86d46d4216955e0aa3d40e1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEboI1VUUpFAmRgsaywdbwtdKNUMzQBa8s\n4bulQapAyv8AAAABBgSS1aVnPg8l2NUPt+WMSdhtRtQhaVXgqj1A4Q==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1327,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402206d6a4f556ccce154e7fb9f19e76c3deca13d59cc2aeb4ecad968aab2ded45965022053b9fa74803ede0fc4441bf683d56c564d3e274e09ccf47390badd1471c05fb7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1328,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100aad503de9b9fd66b948e9acf596f0a0e65e700b28b26ec56e6e45e846489b3c4022100fff223c5d0765447e8447a3f9d31fd0696e89d244422022ff61a110b2a8c2f04",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1329,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30460221009182cebd3bb8ab572e167174397209ef4b1d439af3b200cdf003620089e43225022100abb88367d15fe62d1efffb6803da03109ee22e90bc9c78e8b4ed23630b82ea9d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40cafffffffffef9fb6d2a5a98c1f0da272af0481a73b62792b92bde96aa1e55c2bb4e",
|
|
"wx" : "6e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40caff",
|
|
"wy" : "00fffffffef9fb6d2a5a98c1f0da272af0481a73b62792b92bde96aa1e55c2bb4e"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200046e823555452914099182c6b2c1d6f0b5d28d50ccd005af2ce1bba541aa40cafffffffffef9fb6d2a5a98c1f0da272af0481a73b62792b92bde96aa1e55c2bb4e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEboI1VUUpFAmRgsaywdbwtdKNUMzQBa8s\n4bulQapAyv/////++fttKlqYwfDaJyrwSBpztieSuSvelqoeVcK7Tg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1330,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502203854a3998aebdf2dbc28adac4181462ccac7873907ab7f212c42db0e69b56ed8022100c12c09475c772fd0c1b2060d5163e42bf71d727e4ae7c03eeba954bf50b43bb3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1331,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100e94dbdc38795fe5c904d8f16d969d3b587f0a25d2de90b6d8c5c53ff887e3607022100856b8c963e9b68dade44750bf97ec4d11b1a0a3804f4cb79aa27bdea78ac14e4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1332,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022049fc102a08ca47b60e0858cd0284d22cddd7233f94aaffbb2db1dd2cf08425e102205b16fca5a12cdb39701697ad8e39ffd6bdec0024298afaa2326aea09200b14d6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04000000013fd22248d64d95f73c29b48ab48631850be503fd00f8468b5f0f70e0f6ee7aa43bc2c6fd25b1d8269241cbdd9dbb0dac96dc96231f430705f838717d",
|
|
"wx" : "013fd22248d64d95f73c29b48ab48631850be503fd00f8468b5f0f70e0",
|
|
"wy" : "00f6ee7aa43bc2c6fd25b1d8269241cbdd9dbb0dac96dc96231f430705f838717d"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004000000013fd22248d64d95f73c29b48ab48631850be503fd00f8468b5f0f70e0f6ee7aa43bc2c6fd25b1d8269241cbdd9dbb0dac96dc96231f430705f838717d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAAAAAT/SIkjWTZX3PCm0irSGMYUL5QP9\nAPhGi18PcOD27nqkO8LG/SWx2CaSQcvdnbsNrJbcliMfQwcF+DhxfQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1333,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022041efa7d3f05a0010675fcb918a45c693da4b348df21a59d6f9cd73e0d831d67a022100bbab52596c1a1d9484296cdc92cbf07e665259a13791a8fe8845e2c07cf3fc67",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1334,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100b615698c358b35920dd883eca625a6c5f7563970cdfc378f8fe0cee17092144c022100da0b84cd94a41e049ef477aeac157b2a9bfa6b7ac8de06ed3858c5eede6ddd6d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1335,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304602210087cf8c0eb82d44f69c60a2ff5457d3aaa322e7ec61ae5aecfd678ae1c1932b0e022100c522c4eea7eafb82914cbf5c1ff76760109f55ddddcf58274d41c9bc4311e06e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0425afd689acabaed67c1f296de59406f8c550f57146a0b4ec2c97876dfffffffffa46a76e520322dfbc491ec4f0cc197420fc4ea5883d8f6dd53c354bc4f67c35",
|
|
"wx" : "25afd689acabaed67c1f296de59406f8c550f57146a0b4ec2c97876dffffffff",
|
|
"wy" : "00fa46a76e520322dfbc491ec4f0cc197420fc4ea5883d8f6dd53c354bc4f67c35"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000425afd689acabaed67c1f296de59406f8c550f57146a0b4ec2c97876dfffffffffa46a76e520322dfbc491ec4f0cc197420fc4ea5883d8f6dd53c354bc4f67c35",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEJa/WiayrrtZ8Hylt5ZQG+MVQ9XFGoLTs\nLJeHbf/////6RqduUgMi37xJHsTwzBl0IPxOpYg9j23VPDVLxPZ8NQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1336,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022062f48ef71ace27bf5a01834de1f7e3f948b9dce1ca1e911d5e13d3b104471d82022100a1570cc0f388768d3ba7df7f212564caa256ff825df997f21f72f5280d53011f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1337,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100f6b0e2f6fe020cf7c0c20137434344ed7add6c4be51861e2d14cbda472a6ffb40221009be93722c1a3ad7d4cf91723700cb5486de5479d8c1b38ae4e8e5ba1638e9732",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1338,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022100db09d8460f05eff23bc7e436b67da563fa4b4edb58ac24ce201fa8a358125057022046da116754602940c8999c8d665f786c50f5772c0a3cdbda075e77eabc64df16",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04d12e6c66b67734c3c84d2601cf5d35dc097e27637f0aca4a4fdb74b6aadd3bb93f5bdff88bd5736df898e699006ed750f11cf07c5866cd7ad70c7121ffffffff",
|
|
"wx" : "00d12e6c66b67734c3c84d2601cf5d35dc097e27637f0aca4a4fdb74b6aadd3bb9",
|
|
"wy" : "3f5bdff88bd5736df898e699006ed750f11cf07c5866cd7ad70c7121ffffffff"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d12e6c66b67734c3c84d2601cf5d35dc097e27637f0aca4a4fdb74b6aadd3bb93f5bdff88bd5736df898e699006ed750f11cf07c5866cd7ad70c7121ffffffff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE0S5sZrZ3NMPITSYBz1013Al+J2N/CspK\nT9t0tqrdO7k/W9/4i9VzbfiY5pkAbtdQ8RzwfFhmzXrXDHEh/////w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1339,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450220592c41e16517f12fcabd98267674f974b588e9f35d35406c1a7bb2ed1d19b7b8022100c19a5f942607c3551484ff0dc97281f0cdc82bc48e2205a0645c0cf3d7f59da0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1340,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100be0d70887d5e40821a61b68047de4ea03debfdf51cdf4d4b195558b959a032b20221008266b4d270e24414ecacb14c091a233134b918d37320c6557d60ad0a63544ac4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1341,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100fae92dfcb2ee392d270af3a5739faa26d4f97bfd39ed3cbee4d29e26af3b206a02210093645c80605595e02c09a0dc4b17ac2a51846a728b3e8d60442ed6449fd3342b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp256k1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046d4a7f60d4774a4f0aa8bbdedb953c7eea7909407e3164755664bc2800000000e659d34e4df38d9e8c9eaadfba36612c769195be86c77aac3f36e78b538680fb",
|
|
"wx" : "6d4a7f60d4774a4f0aa8bbdedb953c7eea7909407e3164755664bc2800000000",
|
|
"wy" : "00e659d34e4df38d9e8c9eaadfba36612c769195be86c77aac3f36e78b538680fb"
|
|
},
|
|
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200046d4a7f60d4774a4f0aa8bbdedb953c7eea7909407e3164755664bc2800000000e659d34e4df38d9e8c9eaadfba36612c769195be86c77aac3f36e78b538680fb",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEbUp/YNR3Sk8KqLve25U8fup5CUB+MWR1\nVmS8KAAAAADmWdNOTfONnoyeqt+6NmEsdpGVvobHeqw/NueLU4aA+w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1342,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450220176a2557566ffa518b11226694eb9802ed2098bfe278e5570fe1d5d7af18a943022100ed6e2095f12a03f2eaf6718f430ec5fe2829fd1646ab648701656fd31221b97d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1343,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022060be20c3dbc162dd34d26780621c104bbe5dace630171b2daef0d826409ee5c2022100bd8081b27762ab6e8f425956bf604e332fa066a99b59f87e27dc1198b26f5caa",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1344,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3046022100edf03cf63f658883289a1a593d1007895b9f236d27c9c1f1313089aaed6b16ae022100e5b22903f7eb23adc2e01057e39b0408d495f694c83f306f1216c9bf87506074",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ffffffffaa63f1a239ac70197c6ebfcea5756dc012123f82c51fa874d66028be00e976a1080606737cc75c40bdfe4aacacbd85389088a62a6398384c22b52d492f23f46e4a27a4724ad55551da5c483438095a247cb0c3378f1f52c3425ff9f1",
|
|
"wx" : "00ffffffffaa63f1a239ac70197c6ebfcea5756dc012123f82c51fa874d66028be00e976a1080606737cc75c40bdfe4aac",
|
|
"wy" : "00acbd85389088a62a6398384c22b52d492f23f46e4a27a4724ad55551da5c483438095a247cb0c3378f1f52c3425ff9f1"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004ffffffffaa63f1a239ac70197c6ebfcea5756dc012123f82c51fa874d66028be00e976a1080606737cc75c40bdfe4aacacbd85389088a62a6398384c22b52d492f23f46e4a27a4724ad55551da5c483438095a247cb0c3378f1f52c3425ff9f1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/////6pj8aI5rHAZfG6/zqV1bcASEj+C\nxR+odNZgKL4A6XahCAYGc3zHXEC9/kqsrL2FOJCIpipjmDhMIrUtSS8j9G5KJ6Ry\nStVVUdpcSDQ4CVokfLDDN48fUsNCX/nx\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1345,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3065023007648b6660d01ba2520a09d298adf3b1a02c32744bd2877208f5a4162f6c984373139d800a4cdc1ffea15bce4871a0ed02310099fd367012cb9e02cde2749455e0d495c52818f3c14f6e6aad105b0925e2a7290ac4a06d9fadf4b15b578556fe332a5f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1346,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3065023100a049dcd96c72e4f36144a51bba30417b451a305dd01c9e30a5e04df94342617dc383f17727708e3277cd7246ca44074102303970e264d85b228bf9e9b9c4947c5dd041ea8b5bde30b93aa59fedf2c428d3e2540a54e0530688acccb83ac7b29b79a2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1347,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30650230441800ea9377c27865be000ad008eb3d7502bdd105824b26d15cf3d06452969a9d0607a915a8fe989215fc4d61af6e05023100dce29faa5137f75ad77e03918c8ee6747cc7a39b0a69f8b915654cac4cf4bfd9c87cc46ae1631b5c6baebd4fc08ff8fd",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04d1827fc6f6f12f21992c5a409a0653b121d2ef02b2b0ab01a9161ce956280740b1e356b255701b0a6ddc9ec2ca8a9422c6ed5d2ced8d8ab7560fa5bb88c738e74541883d8a2b1c0e2ba7e36d030fc4d9bfb8b22f24db897ebac49dd400000000",
|
|
"wx" : "00d1827fc6f6f12f21992c5a409a0653b121d2ef02b2b0ab01a9161ce956280740b1e356b255701b0a6ddc9ec2ca8a9422",
|
|
"wy" : "00c6ed5d2ced8d8ab7560fa5bb88c738e74541883d8a2b1c0e2ba7e36d030fc4d9bfb8b22f24db897ebac49dd400000000"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004d1827fc6f6f12f21992c5a409a0653b121d2ef02b2b0ab01a9161ce956280740b1e356b255701b0a6ddc9ec2ca8a9422c6ed5d2ced8d8ab7560fa5bb88c738e74541883d8a2b1c0e2ba7e36d030fc4d9bfb8b22f24db897ebac49dd400000000",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE0YJ/xvbxLyGZLFpAmgZTsSHS7wKysKsB\nqRYc6VYoB0Cx41ayVXAbCm3cnsLKipQixu1dLO2NirdWD6W7iMc450VBiD2KKxwO\nK6fjbQMPxNm/uLIvJNuJfrrEndQAAAAA\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1348,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402303244768016457c463b74f2097f216d9670b191f76281c74bc6a1a1971d19f209bf4696468f5eb75d6326a0a43c0a65290230501e0ad985ed9f95697bd17fdbe3f9ca92e0f76426d3664e6896648d9c750bf588d0ce7d011c1a1e8d6c2e082422dc93",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1349,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402305e1af40f2480e3d97c4ae4bfd34a9f45269241356f3a46becd86a4a7c9716d73ca5aebdb3db1a7765650666683bc856b02307e7c4b473a2baaa4953785be8aa2a10006f6d36b400ab981864d69cecec046718d0404b9647454b159aa5a92d76d7955",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1350,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306502306688e36a26f15bdc1c3f91367f8a7667f7bb3e30a335d6f0900e9534eb88b260cb29344c723fedfbe7ac9c5a33f4bf0d023100aa35fddf0fdc9017860b378f801cd806f3e2d754cd2fd94eb7bb36a46ce828cef87e9ebbf447068e630b87fee385ad8f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "041099bb45100f55f5a85cca3de2b3bd5e250f4f6fad6631a3156c2e52a33d7d615dd279f79f8b4baff7c713ac00000000e6c9b736a8929f2ed7be0c753a54cbb48b8469e0411eaf93a4a82459ba0b681bba8f5fb383b4906d4901a3303e2f1557",
|
|
"wx" : "1099bb45100f55f5a85cca3de2b3bd5e250f4f6fad6631a3156c2e52a33d7d615dd279f79f8b4baff7c713ac00000000",
|
|
"wy" : "00e6c9b736a8929f2ed7be0c753a54cbb48b8469e0411eaf93a4a82459ba0b681bba8f5fb383b4906d4901a3303e2f1557"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b81040022036200041099bb45100f55f5a85cca3de2b3bd5e250f4f6fad6631a3156c2e52a33d7d615dd279f79f8b4baff7c713ac00000000e6c9b736a8929f2ed7be0c753a54cbb48b8469e0411eaf93a4a82459ba0b681bba8f5fb383b4906d4901a3303e2f1557",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEEJm7RRAPVfWoXMo94rO9XiUPT2+tZjGj\nFWwuUqM9fWFd0nn3n4tLr/fHE6wAAAAA5sm3NqiSny7Xvgx1OlTLtIuEaeBBHq+T\npKgkWboLaBu6j1+zg7SQbUkBozA+LxVX\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1351,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3065023100d4a8f3b0b4d3a5769e3a0bbc644b35f1d509355ed1fe401e170f667b661f693b32598e8c143a817a958982845042bb48023004cc07578bbd1981dbf6e8a97a354c98d41b8b6f6e8a2c2b1763c7c2a29d79e24f8476075c9aed9aec6c64dff50461ae",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1352,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3065023100c286d1928e9c79fdd3bebdf22a1dbd37c8105e8ecf41e9e3777fe341b6b8d5a89b9d986827d6d1dbb381cd8239484a220230201119ae305b9360aa9b5e5d1567e0674c09e4f025556ebf81b987466b0f421b8d31f72bbe95f3ce2aa9874a84edfd40",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1353,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3065023100d9c678550167f10c511e62acb4bd0a3f7f336bc090c94e6c6b02622439c348a2159c5f41f9b5aa4b470590d40dcd7cc202301fd5eaee295abb4081cb626745f4ad279ceb44604062830b58e6c0465c562d41f02ba588fc0db1ebbe339cdc008d7a1b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04000000002b089edd754169010145f263f334fc167cc19dae8225970ae19cc8cb7ec73593d6a465c370f5478b0e539d69d1951d597b56a67345acb25809581f07cd0eb78d9538a3f8a65f300e68a1eb78507df76de650e8f8ee63a5f0c5687c98",
|
|
"wx" : "2b089edd754169010145f263f334fc167cc19dae8225970ae19cc8cb7ec73593d6a465c370f5478b0e539d69",
|
|
"wy" : "00d1951d597b56a67345acb25809581f07cd0eb78d9538a3f8a65f300e68a1eb78507df76de650e8f8ee63a5f0c5687c98"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004000000002b089edd754169010145f263f334fc167cc19dae8225970ae19cc8cb7ec73593d6a465c370f5478b0e539d69d1951d597b56a67345acb25809581f07cd0eb78d9538a3f8a65f300e68a1eb78507df76de650e8f8ee63a5f0c5687c98",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEAAAAACsInt11QWkBAUXyY/M0/BZ8wZ2u\ngiWXCuGcyMt+xzWT1qRlw3D1R4sOU51p0ZUdWXtWpnNFrLJYCVgfB80Ot42VOKP4\npl8wDmih63hQffdt5lDo+O5jpfDFaHyY\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1354,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3065023020fee7c71b6cb0d1da3641ec6622c055a3b16a1f596c64b34da1b2d0b868b66a8f0a0d0db983b3dc7e53bb7295da81970231008141a931d3579aec1cac9887d2fff9c6f12d47a27e4aab8cf262a9d14a715bca0b2057cbc3f18b6fd3d1df76f7410f16",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1355,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3065023100913eecc559b3cf7108a65d6cc3076bfdf36c6f94dcc6693d06690470f34a2e81564241e1de5f5f51421de30af467f10f0230649bd3717244e8ef3c6b0eda983f84dca5ea86d1bec15386b9c473ec43a8cd0ba558eee819f791d9ff9272b9afd59551",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1356,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023023855c46403a97b76cbb316ec3fe7e2c422b818387604bda8c3d91121b4f20179d9107c5f92dedc8b620d7db87fccccd023050f57343ab148e50662320c4161e44543c35bc992011ea5b1680b94382cf224ea0ec5da511e102f566cb67201f30a2ee",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04fb01baad5f0b8f79b9cd104d12aab9310146add7d6b4c022d87ae6711178b94d618ca7b3af13854b1c588879e877b33600000000208b3f5ad3b3937acc9d606cc5ececab4a701f75ed42957ea4d7858d33f5c26c6ae20a9cccda56996700d6b4",
|
|
"wx" : "00fb01baad5f0b8f79b9cd104d12aab9310146add7d6b4c022d87ae6711178b94d618ca7b3af13854b1c588879e877b336",
|
|
"wy" : "208b3f5ad3b3937acc9d606cc5ececab4a701f75ed42957ea4d7858d33f5c26c6ae20a9cccda56996700d6b4"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004fb01baad5f0b8f79b9cd104d12aab9310146add7d6b4c022d87ae6711178b94d618ca7b3af13854b1c588879e877b33600000000208b3f5ad3b3937acc9d606cc5ececab4a701f75ed42957ea4d7858d33f5c26c6ae20a9cccda56996700d6b4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE+wG6rV8Lj3m5zRBNEqq5MQFGrdfWtMAi\n2HrmcRF4uU1hjKezrxOFSxxYiHnod7M2AAAAACCLP1rTs5N6zJ1gbMXs7KtKcB91\n7UKVfqTXhY0z9cJsauIKnMzaVplnANa0\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1357,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3066023100d200958d491fcebde667cd736c9dba0961c70db2ecaf573c31dd7fa41ecca32b40b5896f9a0ddf272110e3d21e84593a023100c2ecf73943b9adce596bac14fce62495ae93825c5ff6f61c247d1d8afcba52082fc96f63a26e55bccfc3779f88cfd799",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1358,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402306ac17d71260c79f81a7566124738cb3ee5d0aa690e73a98ae9e766f1336691e500cad51ba1302366c09cc06b8f7049e0023032ca965d6d7012ec187c7cab9544334d66c2a7658ddefa67e4ad40429815518ecc87b1492ddd57333bd2300b4660a835",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1359,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3065023100e19a4646f0ed8a271fe86ba533f8be4fd81bbf4674716f668efa89a40cac51eec2a6cfbd92327d25efe91ca4ff712bc502304a86b2e8e12378e633dec2691e3b1eed4e932cc48b28e45fa3d464cc0e948c02cc9decf2bb43b25937fcf37e9ad86ef0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04fb01baad5f0b8f79b9cd104d12aab9310146add7d6b4c022d87ae6711178b94d618ca7b3af13854b1c588879e877b336ffffffffdf74c0a52c4c6c8533629f933a131354b58fe08a12bd6a815b287a71cc0a3d92951df5633325a96798ff294b",
|
|
"wx" : "00fb01baad5f0b8f79b9cd104d12aab9310146add7d6b4c022d87ae6711178b94d618ca7b3af13854b1c588879e877b336",
|
|
"wy" : "00ffffffffdf74c0a52c4c6c8533629f933a131354b58fe08a12bd6a815b287a71cc0a3d92951df5633325a96798ff294b"
|
|
},
|
|
"keyDer" : "3076301006072a8648ce3d020106052b8104002203620004fb01baad5f0b8f79b9cd104d12aab9310146add7d6b4c022d87ae6711178b94d618ca7b3af13854b1c588879e877b336ffffffffdf74c0a52c4c6c8533629f933a131354b58fe08a12bd6a815b287a71cc0a3d92951df5633325a96798ff294b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE+wG6rV8Lj3m5zRBNEqq5MQFGrdfWtMAi\n2HrmcRF4uU1hjKezrxOFSxxYiHnod7M2/////990wKUsTGyFM2KfkzoTE1S1j+CK\nEr1qgVsoenHMCj2SlR31YzMlqWeY/ylL\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1360,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023015aac6c0f435cb662d110db5cf686caee53c64fe2d6d600a83ebe505a0e6fc62dc5705160477c47528c8c903fa865b5d02307f94ddc01a603f9bec5d10c9f2c89fb23b3ffab6b2b68d0f04336d499085e32d22bf3ab67a49a74c743f72473172b59f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1361,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306602310090b95a7d194b73498fba5afc95c1aea9be073162a9edc57c4d12f459f0a1730baf2f87d7d6624aea7b931ec53370fe47023100cbc1ef470e666010604c609384b872db7fa7b8a5a9f20fdefd656be2fcc75db53948102f7ab203ea1860a6a32af246a1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1362,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3066023100dd4391ce7557cbd005e3d5d727cd264399dcc3c6501e4547505b6d57b40bbf0a7fac794dcc8d4233159dd0aa40d4e0b9023100a77fa1374fd60aa91600912200fc83c6aa447f8171ecea72ae322df32dccd68951dc5caf6c50380e400e45bf5c0e626b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400304b3d071ed1ef302391b566af8c9d1cb7afe9aabc141ac39ab39676c63e48c1b2c6451eb460e452bd573e1fb5f15b8e5f9c03f634d8db6897285064b3ce9bd98a00000000009b98bfd33398c2cf8606fc0ae468b6d617ccb3e704af3b8506642a775d5b4da9d00209364a9f0a4ad77cbac604a015c97e6b5a18844a589a4f1c7d9625",
|
|
"wx" : "304b3d071ed1ef302391b566af8c9d1cb7afe9aabc141ac39ab39676c63e48c1b2c6451eb460e452bd573e1fb5f15b8e5f9c03f634d8db6897285064b3ce9bd98a",
|
|
"wy" : "009b98bfd33398c2cf8606fc0ae468b6d617ccb3e704af3b8506642a775d5b4da9d00209364a9f0a4ad77cbac604a015c97e6b5a18844a589a4f1c7d9625"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400304b3d071ed1ef302391b566af8c9d1cb7afe9aabc141ac39ab39676c63e48c1b2c6451eb460e452bd573e1fb5f15b8e5f9c03f634d8db6897285064b3ce9bd98a00000000009b98bfd33398c2cf8606fc0ae468b6d617ccb3e704af3b8506642a775d5b4da9d00209364a9f0a4ad77cbac604a015c97e6b5a18844a589a4f1c7d9625",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAMEs9Bx7R7zAjkbVmr4ydHLev6aq8\nFBrDmrOWdsY+SMGyxkUetGDkUr1XPh+18VuOX5wD9jTY22iXKFBks86b2YoAAAAA\nAJuYv9MzmMLPhgb8CuRottYXzLPnBK87hQZkKnddW02p0AIJNkqfCkrXfLrGBKAV\nyX5rWhiESliaTxx9liU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1363,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3081870242011c9684af6dc52728410473c63053b01c358d67e81f8a1324ad711c60481a4a86dd3e75de20ca55ce7a9a39b1f82fd5da4fadf26a5bb8edd467af8825efe4746218024134c058aba6488d6943e11e0d1348429449ea17ac5edf8bcaf654106b98b2ddf346c537b8a9a3f9b3174b77637d220ef5318dbbc33d0aac0fe2ddeda17b23cb2de6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1364,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818702417c47a668625648cd8a31ac92174cf3d61041f7ad292588def6ed143b1ff9a288fd20cf36f58d4bfe4b2cd4a381d4da50c8eda5674f020449ae1d3dd77e44ed485e024201058e86b327d284e35bab49fc7c335417573f310afa9e1a53566e0fae516e099007965030f6f46b077116353f26cb466d1cf3f35300d744d2d8f883c8a31b43c20d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1365,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308188024201e4e9f3a7b800de63407b8703ac545226541c97a673566711f70e2b9ccb21a145ad4637825b023d1ea9f18e60897413711611a85c1179bff9c107368f1c1b61c24c024201de948ee577c3d4e4122a52ecccac59abb6fa937dfb3e4b988cb243efe98740309452ba013112b225b3b1b1384d5f68796845199a2602a8d4505a331b07d101188e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400304b3d071ed1ef302391b566af8c9d1cb7afe9aabc141ac39ab39676c63e48c1b2c6451eb460e452bd573e1fb5f15b8e5f9c03f634d8db6897285064b3ce9bd98a01ffffffff6467402ccc673d3079f903f51b974929e8334c18fb50c47af99bd588a2a4b2562ffdf6c9b560f5b528834539fb5fea368194a5e77bb5a765b0e38269da",
|
|
"wx" : "304b3d071ed1ef302391b566af8c9d1cb7afe9aabc141ac39ab39676c63e48c1b2c6451eb460e452bd573e1fb5f15b8e5f9c03f634d8db6897285064b3ce9bd98a",
|
|
"wy" : "01ffffffff6467402ccc673d3079f903f51b974929e8334c18fb50c47af99bd588a2a4b2562ffdf6c9b560f5b528834539fb5fea368194a5e77bb5a765b0e38269da"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400304b3d071ed1ef302391b566af8c9d1cb7afe9aabc141ac39ab39676c63e48c1b2c6451eb460e452bd573e1fb5f15b8e5f9c03f634d8db6897285064b3ce9bd98a01ffffffff6467402ccc673d3079f903f51b974929e8334c18fb50c47af99bd588a2a4b2562ffdf6c9b560f5b528834539fb5fea368194a5e77bb5a765b0e38269da",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAMEs9Bx7R7zAjkbVmr4ydHLev6aq8\nFBrDmrOWdsY+SMGyxkUetGDkUr1XPh+18VuOX5wD9jTY22iXKFBks86b2YoB////\n/2RnQCzMZz0wefkD9RuXSSnoM0wY+1DEevmb1YiipLJWL/32ybVg9bUog0U5+1/q\nNoGUped7tadlsOOCado=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1366,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308187024200b6cf64861a2b16e33976095dbf45a592c7c24228c4a1dd727f303d5eeb87e5388ad05c328f824c40abd3e6ce003fef5cd59dee0069ad6348ea6e57f90f6bdc0a820241228181c180366e5451dfef3593ce664804cb42d5a8d5046b816b3daf6602fafd9ac2dc24b8c93a10024480882558b6ad3d9e905923dcd0fd2a11964754a9b46b8f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1367,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818802420093c8f766827d6dc15c810fa30433153a5e742859205ee8389fbf695c8840dc917440870acc5b160087ffd0cd9a6081029c60a7c26d5e8aa9a0570f4efdeb13dea20242012ec3bbf75a0ad3df40310266648a36db820217ed7fa94e9c8313e03293ef4f6a40e736fb8f208ad8fb883ca509d48046910523645459c27829d54431463b2548c7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1368,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818802420152388c6da66164b706b41dd4dd48176d6eaf6525f876ef0ff2d147f6966ebfadf1767fa66d04203d3ec9c937a1f0c945aed953e34be444c219fd3b94d3277aa652024201658c1e5b2e563a49d11c883d05c491d628f0a92c3e3dc8db9a4c8d5f0dc846ac22af8b3c5fb5bbe2cfa98614dcffd87de1cee2c5912a5899505a0c5bcaa513e2c6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040000000002fba6a061201ea6b1ed4265163568735ebab78600cdf6a71101dc63beaf546d97a214fc6396793b014eb1aa7a728f53deb2ff9999a3808ddfed15e9629b01993852dadc39299a5a45b6bd7c8dc8ec67e7adbb359fa8fa5d44977e15e2e5a9acf0c33645f3f2c68c526e07732fb35043719cfafc16063c8e58850a958436a4e5",
|
|
"wx" : "02fba6a061201ea6b1ed4265163568735ebab78600cdf6a71101dc63beaf546d97a214fc6396793b014eb1aa7a728f53deb2ff9999a3808ddfed15e9629b",
|
|
"wy" : "01993852dadc39299a5a45b6bd7c8dc8ec67e7adbb359fa8fa5d44977e15e2e5a9acf0c33645f3f2c68c526e07732fb35043719cfafc16063c8e58850a958436a4e5"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b8104002303818600040000000002fba6a061201ea6b1ed4265163568735ebab78600cdf6a71101dc63beaf546d97a214fc6396793b014eb1aa7a728f53deb2ff9999a3808ddfed15e9629b01993852dadc39299a5a45b6bd7c8dc8ec67e7adbb359fa8fa5d44977e15e2e5a9acf0c33645f3f2c68c526e07732fb35043719cfafc16063c8e58850a958436a4e5",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAAAAAAvumoGEgHqax7UJlFjVoc166\nt4YAzfanEQHcY76vVG2XohT8Y5Z5OwFOsap6co9T3rL/mZmjgI3f7RXpYpsBmThS\n2tw5KZpaRba9fI3I7Gfnrbs1n6j6XUSXfhXi5ams8MM2RfPyxoxSbgdzL7NQQ3Gc\n+vwWBjyOWIUKlYQ2pOU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1369,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3081880242010e89470f981d2c7c5c96587121a67323bb96ff2427739d0d885ea277293efa3b25c0bda04d81466198a3cbfc441f1b1b98f6bcdc2589d9d91a17a7899f70d0461e0242017351b0da8c8d0e4aa0974669d190fa2f90aa50227160594dfb55755002365441de17ea42902128a6f81e554177ed509c0cec31fd5053fae03f62ff76579ba92bda",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1370,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3081880242011094ac23ca46a3e2b4ac3baae6504f1bfb3ddf2db9ab40eda32d8e0a05727998f8552a033bb05241e826a86a1d03014eae3aa5fe1a45caac1db3e8138b9cf5906802420147edb15a5080ee2f929f78b6ac86604aae51b674fa46eaae7fdfd90bf64d6189341155f4eba937eae74c9e480eb4fb7e6aafd4285e7fc503ee6ec20f0b1415be06",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1371,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308188024201d876ae174da31e128babff9f1d15507660bdc7958750844dc4f4291f75a882a22f177f704be6067bf7ce8f06b8626d971e6ef5dcb666fa975c1e11126e04fccce2024201abb12630a68b669e6ad2d8d62654d75dfbc6b54a8e3a9c915be663e080ddcc348e57a10e2b1dd9f03e1b897796ad889b075e5919dc5bf37a112d92c693456e6457",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0401fffffffe1d5d52b31ca52f8947a35593edf164cd324f833b90935846c64db1454df9f028dc8bc36bb04cb7f0cceceba01a3844097f7c35eeaa81428db0cca6333101b7c70277d0bf78a3c7b62c937f0cb2cad2565f5514f6205ceb1a193d4fdb45ba6e6cec07827bae0b16b8316c3539a15114d0de6d2de407fd7117551a70826eada6",
|
|
"wx" : "01fffffffe1d5d52b31ca52f8947a35593edf164cd324f833b90935846c64db1454df9f028dc8bc36bb04cb7f0cceceba01a3844097f7c35eeaa81428db0cca63331",
|
|
"wy" : "01b7c70277d0bf78a3c7b62c937f0cb2cad2565f5514f6205ceb1a193d4fdb45ba6e6cec07827bae0b16b8316c3539a15114d0de6d2de407fd7117551a70826eada6"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401fffffffe1d5d52b31ca52f8947a35593edf164cd324f833b90935846c64db1454df9f028dc8bc36bb04cb7f0cceceba01a3844097f7c35eeaa81428db0cca6333101b7c70277d0bf78a3c7b62c937f0cb2cad2565f5514f6205ceb1a193d4fdb45ba6e6cec07827bae0b16b8316c3539a15114d0de6d2de407fd7117551a70826eada6",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQB/////h1dUrMcpS+JR6NVk+3xZM0y\nT4M7kJNYRsZNsUVN+fAo3IvDa7BMt/DM7OugGjhECX98Ne6qgUKNsMymMzEBt8cC\nd9C/eKPHtiyTfwyyytJWX1UU9iBc6xoZPU/bRbpubOwHgnuuCxa4MWw1OaFRFNDe\nbS3kB/1xF1UacIJuraY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1372,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818602414ed692af1ed1b4bd5cea3aa8ddc6f3f15d8a6ee0016fa0e8eb958580e7421832ecc0e387c34aafac6380bac419ea45c42ae6426af503847f22c49c2f456338c1a702417aceadde02ace1668bc1a3360d34e125afde230f536c154d91e6c876bee1d34ae06edcbbca0c7cd17646840913164740b12e2e224fe3ef3dec6fd84a81b581c188",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1373,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308188024200e01094048fcf7a1e2ec66faedffc40f48c9c93514325bde6b4958d80f0413efde7eec1dc6de65f96009c069397e51da2eb1729efa287afd5552b25a9e427a6d836024201489e7e124f66942e642de992e60b3a86fcce576767719390c3a312fcdeaa560a7fbb0cabb35e05a6d6f3499160fd2dba12d29b613b16dec7494c950d65fdf11fa3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1374,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308188024201d296292213380de133dc66eceb8bd857a5c468afe855c05da9db937373b51f9020ca11353415da76bb6af997a486d2370e31adcc0a4531952a3b59428678ee59430242015979a3c609c2c2099ae1b290da3d613b248e3a10de7ad770dffc82fb33e74fc3207533f97285cf4557a6407e9a775e59efeaee4264b2634933a6baf8c406f0c4a9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "secp521r1",
|
|
"keySize" : 521,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400c7c8817bf2f0652a4a4b5140c773e261080a0a111395856e8a3350f5eb5612bd63b367b965e92e9538ea3b7908aef1ade4b68e17f9f9148495c167d1c4dd4913490008bf0be2979abb8111fd0d768adcad774113a822c1bb60887053b5cf8c9563e76705a391ece154b5dfb114b20e351df4014bec19fa87720845801cf06b7fffffff",
|
|
"wx" : "00c7c8817bf2f0652a4a4b5140c773e261080a0a111395856e8a3350f5eb5612bd63b367b965e92e9538ea3b7908aef1ade4b68e17f9f9148495c167d1c4dd491349",
|
|
"wy" : "08bf0be2979abb8111fd0d768adcad774113a822c1bb60887053b5cf8c9563e76705a391ece154b5dfb114b20e351df4014bec19fa87720845801cf06b7fffffff"
|
|
},
|
|
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400c7c8817bf2f0652a4a4b5140c773e261080a0a111395856e8a3350f5eb5612bd63b367b965e92e9538ea3b7908aef1ade4b68e17f9f9148495c167d1c4dd4913490008bf0be2979abb8111fd0d768adcad774113a822c1bb60887053b5cf8c9563e76705a391ece154b5dfb114b20e351df4014bec19fa87720845801cf06b7fffffff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAx8iBe/LwZSpKS1FAx3PiYQgKChET\nlYVuijNQ9etWEr1js2e5ZekulTjqO3kIrvGt5LaOF/n5FISVwWfRxN1JE0kACL8L\n4peau4ER/Q12itytd0ETqCLBu2CIcFO1z4yVY+dnBaOR7OFUtd+xFLIONR30AUvs\nGfqHcghFgBzwa3////8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1375,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308188024201ef8f785c51a25ae2cd93487b5c848d4af133217a91f51359c966e7538e68743578122df5830002f96f6fadb5bc44480e3b3b2c804e4c51cf95d059d5646c5cef21024201ba2276cc003e87bea37c3724e58a0ab885f56d09b8b5718f674f9c70f3b5ecfb4ad1f3417b420ec40810e08826efa7d8ad6ca7c6a7840348097f92b2de8d6e080b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1376,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818802420155978adc4b570d897511f5ecfb65a31947e6e989da17dea716625bb3fa7b92b853623eb0cd9ce2a5e2b4d8c1c2a90ec04fe79d012576ec728a45c5ce47c6d500c0024200f79fa8b94ee282a3d1815892cbf15d7ebdf62cb042c76bb3c710c23e32b75992cc249d84072198e4ed63d72435a07d2ed76f278d7399f61a5b5c997f45692fed22",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1377,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308188024201a2af29c58184ca861e7cd931f39cea064b199eee563f241cd5ecf6ebb2ade728f1be23cf007ebe8ef0c42d99f9f5190f6815446afc3043a820d7daf27e86b83b8a024201a2acd1822eb539383defff8769aad8bacd50cd24ca7aa6670671418110177808c3f4fbe6041b9cb898359ee61e04824adedd62b39fe5791907a20586333bd3c76d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04802a0f51204ef6a829211bc0740887461ee4aba736e9caee000000007fb931e06300451362d444106eeb5dabddca650fec4be55fc545f7c8",
|
|
"wx" : "00802a0f51204ef6a829211bc0740887461ee4aba736e9caee00000000",
|
|
"wy" : "7fb931e06300451362d444106eeb5dabddca650fec4be55fc545f7c8"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010105033a0004802a0f51204ef6a829211bc0740887461ee4aba736e9caee000000007fb931e06300451362d444106eeb5dabddca650fec4be55fc545f7c8",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEFAzoABIAqD1EgTvaoKSEbwHQIh0Ye5Kun\nNunK7gAAAAB/uTHgYwBFE2LURBBu612r3cplD+xL5V/FRffI\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1378,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c0e17e8450ea85d201ac120ad8219dba676e937f139eb28ca3b02b7a7021c7839548a47fc6f4d5dbd4fa76b947ab9d3fd1f428bf3b0ebcafe85d6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1379,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c331c2d450147066ec54df6db127e520f53ff40494694f40c16d62bda021c17f9ecad114fac61661fa4be9dba6adf361ccd2a7cfd9141926273c5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1380,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c40cdcc80f93e469b257cf5890500eb6e6cb0f5f6b81b717159baaa43021c0d748759d141d54d15080bbf76db1e9da934d6a43b5df86fafee9fa8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04cb320c84f26c00a1b4ad7146914cae126529165de7363d8aef9abd05a397d46b87283176b7f69da1f94615ca4431fc47b2a0e60c00000000",
|
|
"wx" : "00cb320c84f26c00a1b4ad7146914cae126529165de7363d8aef9abd05",
|
|
"wy" : "00a397d46b87283176b7f69da1f94615ca4431fc47b2a0e60c00000000"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010105033a0004cb320c84f26c00a1b4ad7146914cae126529165de7363d8aef9abd05a397d46b87283176b7f69da1f94615ca4431fc47b2a0e60c00000000",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEFAzoABMsyDITybAChtK1xRpFMrhJlKRZd\n5zY9iu+avQWjl9Rrhygxdrf2naH5RhXKRDH8R7Kg5gwAAAAA\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1381,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00bdf933f1bd8f7f85007b53006ca6286825d8cda993d2732bcf7ef821021d008b233dcd04c8bfc0135f77f092c40e5a3d372663cd270467cec78602",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1382,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00a130281e17a3bebbbf807d82a17ee8481ae355d97986066ebc23a9d2021c57967b897505d7833916968b24d3f4a4d75881b530725d28ece785af",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1383,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c711567408f7592b1e09b87c6bfd20dff2fa50663ad4dd0ff86353f5d021c60c183ff249e79258c8e95e59d13ead6db5ccfcb70c0ea05433fd8d7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040000000081df971744a25ac99472c3ff5a8fc49b86fc9fb570448ff977f2d07c1c9296b2f77478d13d5ab1c63993962f2dd08ee7c313dece",
|
|
"wx" : "0081df971744a25ac99472c3ff5a8fc49b86fc9fb570448ff9",
|
|
"wy" : "77f2d07c1c9296b2f77478d13d5ab1c63993962f2dd08ee7c313dece"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010105033a00040000000081df971744a25ac99472c3ff5a8fc49b86fc9fb570448ff977f2d07c1c9296b2f77478d13d5ab1c63993962f2dd08ee7c313dece",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEFAzoABAAAAACB35cXRKJayZRyw/9aj8Sb\nhvyftXBEj/l38tB8HJKWsvd0eNE9WrHGOZOWLy3QjufDE97O\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1384,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c141aa423ae368d00efcdc9a3a61102888a2f3457d21f1ceb15a646d0021c2cf9185b025434b807fec86c2dee087827fe3a07b174eddbe0b3fc63",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1385,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c0714c39972835620b5f1952e8792bc2933e9fda40c1c48472bb93feb021d00d30c570777affb34aa4d2506bd0ae9e4245398fc3a5d79d8e4681b37",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1386,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d0088089cd16381ba75b1bb830053202970ebdf4a3222831378d9784713021c3bcef1a5e70eee13abac90b95b764cf344ccc9c0b4703f7be60292da",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040d28b4f7fe1f6c6fa6a77d11e43bd3e9271758df34c65fa577a6dd3b000000002801d48382861684b8d2cbd7e5989a0d7c15a7e819b573aa",
|
|
"wx" : "0d28b4f7fe1f6c6fa6a77d11e43bd3e9271758df34c65fa577a6dd3b",
|
|
"wy" : "2801d48382861684b8d2cbd7e5989a0d7c15a7e819b573aa"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010105033a00040d28b4f7fe1f6c6fa6a77d11e43bd3e9271758df34c65fa577a6dd3b000000002801d48382861684b8d2cbd7e5989a0d7c15a7e819b573aa",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEFAzoABA0otPf+H2xvpqd9EeQ70+knF1jf\nNMZfpXem3TsAAAAAKAHUg4KGFoS40svX5ZiaDXwVp+gZtXOq\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1387,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c6e5344dd4452d37dff3d46177d56d3dd7f3faa63ac0ff0f4fa3996d7021d00d380df757a616d6c209a590dbbeba1dd2bf75d17e49841a6f7a7aca4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1388,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00c85b980fa4149d9ac418090c9eda8754d1ea5228fbe04a918157879f021c4f848fb87e188614ad92b4e0bddfaeade1d7d19da6a249e4cbd73358",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1389,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00b02936692b3e662508896e956fec67733a5436a40fc9b7a896f44c8e021c04b8dea8fe1593aa703dcde9c3a9e8bd8a1bd6e06631d273aa8bd978",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040d28b4f7fe1f6c6fa6a77d11e43bd3e9271758df34c65fa577a6dd3bd7c134a9fe419202a79219a0bcff0bafcb066d4a1bc4e20d65134d55",
|
|
"wx" : "0d28b4f7fe1f6c6fa6a77d11e43bd3e9271758df34c65fa577a6dd3b",
|
|
"wy" : "00d7c134a9fe419202a79219a0bcff0bafcb066d4a1bc4e20d65134d55"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010105033a00040d28b4f7fe1f6c6fa6a77d11e43bd3e9271758df34c65fa577a6dd3bd7c134a9fe419202a79219a0bcff0bafcb066d4a1bc4e20d65134d55",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEFAzoABA0otPf+H2xvpqd9EeQ70+knF1jf\nNMZfpXem3TvXwTSp/kGSAqeSGaC8/wuvywZtShvE4g1lE01V\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1390,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d009750a310311b383b1e9c36c63003748261460b52233f871a8d0d0e87021c4cab79d9bbf0c570e30a2383405b4ecbec8608dde1d24b3730b87835",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1391,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c560e0be613fb22842c6c23cc571058141112dc35497e54241f398cc9021c009dc86d2c7f0861313d49379335b2ed1c06a1709eddca0326f76ab5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1392,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00a5c995fc1fb0a913f2bb5db55d40bc846b78f32eb77ce8037b1e6086021d00b0bc916ecffdeb812f0bb16d0236d5fe77d855ba47009c921581eb4f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224t1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04d3315edb498cdae7e105fb1cb9cfb1c8b736a831e0bef47be3c15311b513d2bf169a570607f9dcb809a53840ef6e907a7fe90ee3ffffffff",
|
|
"wx" : "00d3315edb498cdae7e105fb1cb9cfb1c8b736a831e0bef47be3c15311",
|
|
"wy" : "00b513d2bf169a570607f9dcb809a53840ef6e907a7fe90ee3ffffffff"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010106033a0004d3315edb498cdae7e105fb1cb9cfb1c8b736a831e0bef47be3c15311b513d2bf169a570607f9dcb809a53840ef6e907a7fe90ee3ffffffff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEGAzoABNMxXttJjNrn4QX7HLnPsci3Nqgx\n4L70e+PBUxG1E9K/FppXBgf53LgJpThA726Qen/pDuP/////\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1393,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c77cd4c6e4907e645028fd9ab47f35f3e4deac62ab5623e4caa5f22ca021c4dfb99d0da46d520687e3ad4eac2383664a7bbc9249faaef6af5d0c5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1394,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c270c9c43ade9dc6cf53853d7b544db44aa43291d20f8674cf4d2cfab021c2f6d5d4db32b2f547923bbdb9d7a79044a2b02149ba8a409914ddf77",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1395,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c218a41444e6a08de3a15dd81deb2f0909989926e919c6b39422a07b9021d00bff743595322d652da673bbb78428150d2aaa245c4ecc08d58350b57",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224t1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0400000000ad0561f78ae4931752dcac129756e9057a5fd6ee31a280293ce1515ae15694f8bd2efa26f5fb5e10b38c393d539d25ad3152fe94",
|
|
"wx" : "00ad0561f78ae4931752dcac129756e9057a5fd6ee31a28029",
|
|
"wy" : "3ce1515ae15694f8bd2efa26f5fb5e10b38c393d539d25ad3152fe94"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010106033a000400000000ad0561f78ae4931752dcac129756e9057a5fd6ee31a280293ce1515ae15694f8bd2efa26f5fb5e10b38c393d539d25ad3152fe94",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEGAzoABAAAAACtBWH3iuSTF1LcrBKXVukF\nel/W7jGigCk84VFa4VaU+L0u+ib1+14Qs4w5PVOdJa0xUv6U\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1396,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c240c5b1371b9b45cc72ae32ef9dca603d92644bc33c88af5494c4568021c225648b2154e0b3834a426b3c0f3c68afd356715670664b4bcebd44d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1397,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00b585ad9b16d2999bad8ae0c08e49d6f1aab3287f4c5a9ccb0ca75c19021c6b6cca5d875bf475b56669b4bff47dddb6ae9dd0c29d8f5bb3806ece",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1398,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c5c9b6872553ed6bf23ec5fcc5ac1f6cf49a30e93a275556634e7cd44021c687e3a536c67325a97b46db24d557469b0dc38e0574a5bd4aae8f976",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224t1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0467a0970c72a15b2bf830ede450f72d29f7e24e307933e39fe37a6269000000000a84a1d47239d59c46df70265c8f728d4a6dc98c9b1237dc",
|
|
"wx" : "67a0970c72a15b2bf830ede450f72d29f7e24e307933e39fe37a6269",
|
|
"wy" : "0a84a1d47239d59c46df70265c8f728d4a6dc98c9b1237dc"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010106033a000467a0970c72a15b2bf830ede450f72d29f7e24e307933e39fe37a6269000000000a84a1d47239d59c46df70265c8f728d4a6dc98c9b1237dc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEGAzoABGeglwxyoVsr+DDt5FD3LSn34k4w\neTPjn+N6YmkAAAAACoSh1HI51ZxG33AmXI9yjUptyYybEjfc\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1399,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d0094b828b360834e98f348d0e2084f39b6375a7fb31ac2c16a78d5c123021c2e6b6686d1b582e165be1bfda1b35ca16839f312fa74252ba7f42e2d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1400,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c69c0f72f5308ef41dad0e2ea4dbd3af978a80186aded8f33c1fa1c7e021c22ba73e20baaa697c67de73c89752705aa3f3acdaf027d7ef216e338",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1401,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00a5a02604d4edff156c42619395a41304440e375e94314a482ee52ef8021c1a5f88c1c708e7cf2697f574c1edcb5e68dd6a25199be40d190860fa",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224t1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0467a0970c72a15b2bf830ede450f72d29f7e24e307933e39fe37a6269d7c134aa1bbec4b1b7de5a892ef26761540f94ca4d6cc068e3b68923",
|
|
"wx" : "67a0970c72a15b2bf830ede450f72d29f7e24e307933e39fe37a6269",
|
|
"wy" : "00d7c134aa1bbec4b1b7de5a892ef26761540f94ca4d6cc068e3b68923"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010106033a000467a0970c72a15b2bf830ede450f72d29f7e24e307933e39fe37a6269d7c134aa1bbec4b1b7de5a892ef26761540f94ca4d6cc068e3b68923",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEGAzoABGeglwxyoVsr+DDt5FD3LSn34k4w\neTPjn+N6YmnXwTSqG77EsbfeWoku8mdhVA+Uyk1swGjjtokj\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1402,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c58c9484628a064a0c0708b8cc9cc66c86c469228684ed9ddcfd84f60021d00c676ba679fba5b70dc502b307c44c73994b2215025654beea00edf86",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1403,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00d4927deedb36416ff812c995147f906a3c25f1fa6931c7aac5993633021d00951be296ab7fe95ec7f3d0a4277ae2b45c2736b56ddd041c07c7bf6a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1404,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d0091d9e01b7d857d6dc1c795e363a5db9e8aceb36a71f3ccc500e3200b021d00d12426571cd8e7764b682cb65b9e0fed3aec3e224ed89f45610bf9c5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224t1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040e3b9930f83128444f91cb99dad7ad08ebda6751249ff480b4f8c99ba87ab319035e38828bedfd8b88648c509a93a2c90893667b00000000",
|
|
"wx" : "0e3b9930f83128444f91cb99dad7ad08ebda6751249ff480b4f8c99b",
|
|
"wy" : "00a87ab319035e38828bedfd8b88648c509a93a2c90893667b00000000"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010106033a00040e3b9930f83128444f91cb99dad7ad08ebda6751249ff480b4f8c99ba87ab319035e38828bedfd8b88648c509a93a2c90893667b00000000",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEGAzoABA47mTD4MShET5HLmdrXrQjr2mdR\nJJ/0gLT4yZuoerMZA144govt/YuIZIxQmpOiyQiTZnsAAAAA\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1405,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c60e49adadc253a80c898a6e5bb60729f8a493c69ca762f5f914bb095021d00a9767c5acf98c0486dcbdc8d893406833ed3d7512b90b3dc8c86e068",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1406,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c3b802bc26fbf0a1ac2471622721300e4b6b6608683dc53c1695bbb49021d00a484c4c40c1cd96c72bb59193c408f36ae7db57b0b7019b83412f56e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1407,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00bb4333677bbd774da30446a45cb4457ebbf348fd79a0570e94353df5021c03aee9fb72e283d6ff2721796696e7d7e744e9128411519a31a0aa9c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224t1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04d6939170da6417743dd90517b6b5a249d8176cdc054395a5ffffffff40d1f24a9103e287cff1cd33c841a8f5ac64441adb60e5aa55cbf4a2",
|
|
"wx" : "00d6939170da6417743dd90517b6b5a249d8176cdc054395a5ffffffff",
|
|
"wy" : "40d1f24a9103e287cff1cd33c841a8f5ac64441adb60e5aa55cbf4a2"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010106033a0004d6939170da6417743dd90517b6b5a249d8176cdc054395a5ffffffff40d1f24a9103e287cff1cd33c841a8f5ac64441adb60e5aa55cbf4a2",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEGAzoABNaTkXDaZBd0PdkFF7a1oknYF2zc\nBUOVpf////9A0fJKkQPih8/xzTPIQaj1rGREGttg5apVy/Si\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1408,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c5b0960bf9b80e91dca65e558adf271f16b23e87bcc6c51ef10ce9352021d008f84a7c312b21c959c6cf7efbfd8feb7174ff6401a85e17ba6121e0b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1409,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c1f1a6223aad76016ac351833a0b7859c6b6ff9edf900d040c8cc398a021c512b0b449c3bd0df9e5153f6e8d6381752ed62785d853d72950d9d7f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1410,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c034a264c9d3feafdd488c528af27fa45c58f28cfe4a1637d1ab567d3021c4d7c05e58af7f288ab83d01bbf8fad1d8ca793221d4af5fe4c719fd3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a9fb57db62501389594f0ee9fc1652fa83377fa302e19cef64252fc0b147f7749507acf5b04339ed102b9ca60db98c165b94ebe855d2202e46dce15ba1e028be",
|
|
"wx" : "00a9fb57db62501389594f0ee9fc1652fa83377fa302e19cef64252fc0b147f774",
|
|
"wy" : "009507acf5b04339ed102b9ca60db98c165b94ebe855d2202e46dce15ba1e028be"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004a9fb57db62501389594f0ee9fc1652fa83377fa302e19cef64252fc0b147f7749507acf5b04339ed102b9ca60db98c165b94ebe855d2202e46dce15ba1e028be",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABKn7V9tiUBOJWU8O6fwWUvqDN3+j\nAuGc72QlL8CxR/d0lQes9bBDOe0QK5ymDbmMFluU6+hV0iAuRtzhW6HgKL4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1411,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022062aab40a36d6a0d25644719ce31dc629ec684f6f0da32f9dd034ccc421dbd0ed022100a1fa6b0dfd9558da29374fb77505ee8ab3572161711f821d11807c7fff910c1c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1412,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450220740cd3d3a9cd9dbe05ead4e39e54db27c0f1579da68e3aa5c9245b047aebc3b80221008ae78c12233d378fe2ce3c0fb2b769f8463830a71a5e5187c11b20fdd7e50445",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1413,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022100a28f30245c5fb0c225fdec23924dc2cd4c2da888d1ee1bc5445858c646015ca802200ee364c1491c4551ef3509be8f88db0e04d0afb36528aeda1301b14948cc9cd6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04351a45fb920f2c9f1b178438fa3bf272ff9328b881c477a1f56a8c0e884652761270f806fe40ad97ebf76c6825384b780ae6afccc792b05f2fb3eb7b7fffffff",
|
|
"wx" : "351a45fb920f2c9f1b178438fa3bf272ff9328b881c477a1f56a8c0e88465276",
|
|
"wy" : "1270f806fe40ad97ebf76c6825384b780ae6afccc792b05f2fb3eb7b7fffffff"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004351a45fb920f2c9f1b178438fa3bf272ff9328b881c477a1f56a8c0e884652761270f806fe40ad97ebf76c6825384b780ae6afccc792b05f2fb3eb7b7fffffff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABDUaRfuSDyyfGxeEOPo78nL/kyi4\ngcR3ofVqjA6IRlJ2EnD4Bv5ArZfr92xoJThLeArmr8zHkrBfL7Pre3////8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1414,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402207f202f54f591b51105b227ee6d6da3adddfc4b5e819efc04befcdcbf7484f78302204360ea04503955fc3f025928b2dce50ff2d58b9060b34bbedfc3c219b3b4355b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1415,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022062e218dca32e4ef35692e9315e1e036bef1766073b846e38de20d2d29349f9fe0220519d4d4c6158d95474d793a0ee9c260a0c5469c5aab79510971b41fb4fae4baf",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1416,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022100a3902295f6f743ac754db7b3fcd823be917b1191a5705728f5682492784da7f1022043def636660eff72e6435edb850c9126c7067938668f249998a0e4006b8ee7db",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040000000129b2146e36fc055545bf8f2cc70f8e73e8b25e539365ad7577cc35354a2b8c0319bc4ccd3e60da119477c23faf8fc2dcefc42d3af75827aeb42f6f0f",
|
|
"wx" : "0129b2146e36fc055545bf8f2cc70f8e73e8b25e539365ad7577cc3535",
|
|
"wy" : "4a2b8c0319bc4ccd3e60da119477c23faf8fc2dcefc42d3af75827aeb42f6f0f"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200040000000129b2146e36fc055545bf8f2cc70f8e73e8b25e539365ad7577cc35354a2b8c0319bc4ccd3e60da119477c23faf8fc2dcefc42d3af75827aeb42f6f0f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABAAAAAEpshRuNvwFVUW/jyzHD45z\n6LJeU5NlrXV3zDU1SiuMAxm8TM0+YNoRlHfCP6+PwtzvxC0691gnrrQvbw8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1417,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502210086d05b26a9ca7e10ae0681bb4c35a06d7a4e918f8625e3dfa7ac2d5aeda91c05022008c5f475a95888769da4a0e1b635c2292f654f934a5c5010fe0c729f3d11e1b1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1418,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022043c4474710d25094a2e21a9cc08585c26015f9f94012b100e72c0763aa9e0cff0221008345c46fd5592cefbd5ebb258965c05d964e6e6a278198ddc1e388cf1e75867c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1419,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402206d2724167e816528491cce574f0526209de52cd0f2af0085284fd050163d37c5022076dd1dd50ff9b553b0e142b7e6c6be8edf3708dd292f03f3e9bf157d21daa9eb",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04680becabe7d7df4fadfe5ae01fba5ea51b76759606a2e30612e667419b885d0508541dcb0723785c3c766581a7514a1ff42e4437d63f878271cb860f00000000",
|
|
"wx" : "680becabe7d7df4fadfe5ae01fba5ea51b76759606a2e30612e667419b885d05",
|
|
"wy" : "08541dcb0723785c3c766581a7514a1ff42e4437d63f878271cb860f00000000"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004680becabe7d7df4fadfe5ae01fba5ea51b76759606a2e30612e667419b885d0508541dcb0723785c3c766581a7514a1ff42e4437d63f878271cb860f00000000",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABGgL7Kvn199Prf5a4B+6XqUbdnWW\nBqLjBhLmZ0GbiF0FCFQdywcjeFw8dmWBp1FKH/QuRDfWP4eCccuGDwAAAAA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1420,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30440220321009a06c759c54cd66baafa0cbfd07eedb19f12a1ed654dd52b56f9c4fac7c02201956310a7e4757ec83ddb92d2763607354678149f1ad92387928cf887b4bed0f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1421,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450221009bdd359881c239e2415ca2af3d18463bb24be53f6f636cbd20360b6b333bc34502200ff03bc36cc1975bdc8680c44fbf2aefddf67c118c304b8b3d360eb10203c3a4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1422,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022048565eb7e7820d40754b5f264a4ceafa62bf75084241514b491995e7971e699502203da6df3d354f48daef6d078cf1124295fc8c3211f2757967c781dc2e9c62ed1a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047d16fd656a9e6b34e45d8c8c3b458eae7bbc2879f8b4f61171a96f664eee906100000001469fb456ca6a1720ca8db25d567e121cf921ce13e34000f8c12f5272",
|
|
"wx" : "7d16fd656a9e6b34e45d8c8c3b458eae7bbc2879f8b4f61171a96f664eee9061",
|
|
"wy" : "01469fb456ca6a1720ca8db25d567e121cf921ce13e34000f8c12f5272"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200047d16fd656a9e6b34e45d8c8c3b458eae7bbc2879f8b4f61171a96f664eee906100000001469fb456ca6a1720ca8db25d567e121cf921ce13e34000f8c12f5272",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABH0W/WVqnms05F2MjDtFjq57vCh5\n+LT2EXGpb2ZO7pBhAAAAAUaftFbKahcgyo2yXVZ+Ehz5Ic4T40AA+MEvUnI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1423,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450220518e885def022eb5020fc90f4024d87122dc0f3ed7f869ed7720ff74a009fb7b0221008a3e26a8cd426d21eba5cd7a5614f3644395cfcecb24fe760a68a7a9e8f09c02",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1424,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022004b01e5cc3ce9bf10844bc1cb21deeff6ebc9e2a7010cfbb3af0811354599c8102202e65fb8db62f255910ea4d5235bb21aa67aa59ffd519911ecd9893000ab67bb4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1425,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502210094bb0601198c4ce266b0932426ffd00132d7d4e2de65ef47f56360825f26243802202734327d1989c9580f5458f04aac6fd5752a1ee5e236e9ed1a7c0b2d9b36db10",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047d16fd656a9e6b34e45d8c8c3b458eae7bbc2879f8b4f61171a96f664eee9061a9fb57da5b4ef56573fbf36fd2f5db1517bde406dc0452143cd347245e3f0105",
|
|
"wx" : "7d16fd656a9e6b34e45d8c8c3b458eae7bbc2879f8b4f61171a96f664eee9061",
|
|
"wy" : "00a9fb57da5b4ef56573fbf36fd2f5db1517bde406dc0452143cd347245e3f0105"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200047d16fd656a9e6b34e45d8c8c3b458eae7bbc2879f8b4f61171a96f664eee9061a9fb57da5b4ef56573fbf36fd2f5db1517bde406dc0452143cd347245e3f0105",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABH0W/WVqnms05F2MjDtFjq57vCh5\n+LT2EXGpb2ZO7pBhqftX2ltO9WVz+/Nv0vXbFRe95AbcBFIUPNNHJF4/AQU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1426,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402204dde197f962c63a7799c862e897b3bb1e7a7ddfb9ab77c2a17a54151ce604ad60220017e7aef86e533086425a2c4b32082f118913ef3667c8437672e0bbc7c2b8d7e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1427,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402207c53ed1d504ad4ba53d39792012a34d007250a2b8d1ca189c0d9f75ccc9a9957022009b97dcc5c67487114231d601374a8364cafa39581291762202b9215d51135fd",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1428,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450220513245ab2b6a4206bb0f6970c8ad040a94725ddc9a08db0fd9def93866ffbba1022100a53a7ab37decedae18dd5b5c48eb642b7a9c927e6bcf6bdac3a757e6d2c169c5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047f85e98d6be68ba1db3a0e1eddd66f059521eb4117e72d804134392effffffff0efe5fb8e32884e0796063ee19094944d7998137b305ff3b5f0288f67a1b6a2e",
|
|
"wx" : "7f85e98d6be68ba1db3a0e1eddd66f059521eb4117e72d804134392effffffff",
|
|
"wy" : "0efe5fb8e32884e0796063ee19094944d7998137b305ff3b5f0288f67a1b6a2e"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200047f85e98d6be68ba1db3a0e1eddd66f059521eb4117e72d804134392effffffff0efe5fb8e32884e0796063ee19094944d7998137b305ff3b5f0288f67a1b6a2e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABH+F6Y1r5ouh2zoOHt3WbwWVIetB\nF+ctgEE0OS7/////Dv5fuOMohOB5YGPuGQlJRNeZgTezBf87XwKI9nobai4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1429,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402204b5eaecd4434b9a3052490e5d74725d11b1bb0eab3341ab7e5343638b96309a5022060c4fcfacac8f8b6079402b514453033606c42efd166f67115644ec0cc704ff2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1430,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022017c45f9814d9553c17d73fccf1060770dba9e540af29b2576cce524494d6c8d202205cc08e026aed87fbb3d6f2e8e0cc8083f04eb3fd06e12e108f180b3e0fdec73e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1431,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30440220515bc9c084757bbdbe90497ec5fca75e8b48e64f794417af2ba8bbf78ea992f5022068c31499463513540ba789bdaa4530884117c1856398ba3b19286029f3fa797b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040058237a34f93d8b7013f96b8bd618300a2796cad9350f44e5bb89def5b250890000000049e1973136914fb97489793fe44a2103c7bc6b90fe183976d0794632",
|
|
"wx" : "58237a34f93d8b7013f96b8bd618300a2796cad9350f44e5bb89def5b25089",
|
|
"wy" : "49e1973136914fb97489793fe44a2103c7bc6b90fe183976d0794632"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200040058237a34f93d8b7013f96b8bd618300a2796cad9350f44e5bb89def5b250890000000049e1973136914fb97489793fe44a2103c7bc6b90fe183976d0794632",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABABYI3o0+T2LcBP5a4vWGDAKJ5bK\n2TUPROW7id71slCJAAAAAEnhlzE2kU+5dIl5P+RKIQPHvGuQ/hg5dtB5RjI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1432,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450220038090bf9f3f640519d418414f0a7f8afb0dbe4c225d4f9fa284922ba5f966490221008bfaded7b3ea38f7eb7f9912443130b4418e5bacc16a6ff8253d4f1926eced67",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1433,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022074cb761ac6b5687c29f18448c5ba804d5869780de37e5606ac5461b1b9697cfe02210098852aadb7bb2b44cbcd432eee62bdb0cebcab8c1d24ace5218bedee35609438",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1434,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022077cbc58c57a912a3a66153b6e83f0c0daf6f7d1449fa9a29281dd5d221ae8e8d02200b56cff53baccce588ca5c8eda47cf74a57ebbd8448126a50acdb11c8e0a2a53",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040058237a34f93d8b7013f96b8bd618300a2796cad9350f44e5bb89def5b25089a9fb57db580d128b07d4bad728fa143289f1d5200d69b49721fb0ea64ef50d45",
|
|
"wx" : "58237a34f93d8b7013f96b8bd618300a2796cad9350f44e5bb89def5b25089",
|
|
"wy" : "00a9fb57db580d128b07d4bad728fa143289f1d5200d69b49721fb0ea64ef50d45"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200040058237a34f93d8b7013f96b8bd618300a2796cad9350f44e5bb89def5b25089a9fb57db580d128b07d4bad728fa143289f1d5200d69b49721fb0ea64ef50d45",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABABYI3o0+T2LcBP5a4vWGDAKJ5bK\n2TUPROW7id71slCJqftX21gNEosH1LrXKPoUMonx1SANabSXIfsOpk71DUU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1435,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022063a581c9e66100f650d9ff11ad7bea622386a26c5337b71b4d97a120c146343102205cc6bb800deeb73a16814897ef9a625bbdb6e4b45fcceaf0a3182980619ea727",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1436,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402207d62fbfb45e73ffacf9c81d68769364940537494992296a50656731a5ebe1ab102207b986faf243493ce8f6a5e278271339cc18d3fd8a00f3fb07a5dbb37e820209d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1437,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402210092cdaed3e4842b55745b13a84d4a67ee8fa4ec7c939f4a19425ed0c86bc36f9c021f5b52a0957ffcfceb4662fdd21af0846f4c877a37897b50f62ab344469d9e68",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "049894c2c5ae909bc9f69fdeb1a9c19966c09c63c8d7b82acb1a83d24651716f664939cb7769d74f2235ad0653e0d33114062ebd90478bf8e219d2cfa8ffffffff",
|
|
"wx" : "009894c2c5ae909bc9f69fdeb1a9c19966c09c63c8d7b82acb1a83d24651716f66",
|
|
"wy" : "4939cb7769d74f2235ad0653e0d33114062ebd90478bf8e219d2cfa8ffffffff"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010108034200049894c2c5ae909bc9f69fdeb1a9c19966c09c63c8d7b82acb1a83d24651716f664939cb7769d74f2235ad0653e0d33114062ebd90478bf8e219d2cfa8ffffffff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABJiUwsWukJvJ9p/esanBmWbAnGPI\n17gqyxqD0kZRcW9mSTnLd2nXTyI1rQZT4NMxFAYuvZBHi/jiGdLPqP////8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1438,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402205157cfa642e8d3b77536846a0ff6cadaea5f53974d7c55385e84592a37fbb258022071e17e0a1c84805b2e6760e2cff8eb9b396a09264905fddb8db1e2a7cb5221d7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1439,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30440220615579b5fe86585ece10d0c1eaa2a30d5d4b23b2c8c2ba51ca83ea51a8f73b3602204441feacf132db44e5d9d74ef183bdf86d25f8f48f5abc8286e0dd2f9dc0d189",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1440,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022034e5d4ab1ba116d64a65b098b29cc7919c7de039f1e6c62a2ed3f1801c07263a022069d9d5eb218dbd58ae23d2653bdb80d92d8672e3c518a5529a574a94c0c9cce0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256t1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a9fb57db1931dcd62fd3601a5f197b62bae749d2f28f7b2d02b8a6376ae050a546ede758cc395813b28ccf2fb7ca4ff2ca36b963473248e001ef511aa61f2f1b",
|
|
"wx" : "00a9fb57db1931dcd62fd3601a5f197b62bae749d2f28f7b2d02b8a6376ae050a5",
|
|
"wy" : "46ede758cc395813b28ccf2fb7ca4ff2ca36b963473248e001ef511aa61f2f1b"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010803420004a9fb57db1931dcd62fd3601a5f197b62bae749d2f28f7b2d02b8a6376ae050a546ede758cc395813b28ccf2fb7ca4ff2ca36b963473248e001ef511aa61f2f1b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEIA0IABKn7V9sZMdzWL9NgGl8Ze2K650nS\n8o97LQK4pjdq4FClRu3nWMw5WBOyjM8vt8pP8so2uWNHMkjgAe9RGqYfLxs=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1441,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450221009572dfd46d530875292df5c19f2b66f76d2ab5e8c859464fa36712309f804d0002204fb29d6df73504fabb2a11b42b3a65b6568a67c0b8442b48733392a80cfb9a69",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1442,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450221008502979572eb037cc088e0b5d00e8ae8a9596fd2274be6170cefa44b7fb73432022071d740cbc4d99ac707c98138c2676b6ffabe050db7320b869f3f05d49a3a17e1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1443,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402206ad7e2ca670e0c7ff8c5c6f0b4fce230b04a729a11cbf003c8bce87955bc56c8022029719b165bac6822c9582830cd4b0c61e03bfcdc2750d950ed27330fdc81fe43",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04462117d2e33a7db1b95c8a6a3c7982f83da96817e749718caee7b6aa9c9da4e8f2ff7951674eed2b569ab846f59002a850e6606a9726a9209c9e945fbf6cbbc9a487c4a4d81c52ac3684c26c3392b9bd24f7184821be06f6448b24a8ffffffff",
|
|
"wx" : "462117d2e33a7db1b95c8a6a3c7982f83da96817e749718caee7b6aa9c9da4e8f2ff7951674eed2b569ab846f59002a8",
|
|
"wy" : "50e6606a9726a9209c9e945fbf6cbbc9a487c4a4d81c52ac3684c26c3392b9bd24f7184821be06f6448b24a8ffffffff"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b03620004462117d2e33a7db1b95c8a6a3c7982f83da96817e749718caee7b6aa9c9da4e8f2ff7951674eed2b569ab846f59002a850e6606a9726a9209c9e945fbf6cbbc9a487c4a4d81c52ac3684c26c3392b9bd24f7184821be06f6448b24a8ffffffff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABEYhF9LjOn2xuVyKajx5gvg9qWgX\n50lxjK7ntqqcnaTo8v95UWdO7StWmrhG9ZACqFDmYGqXJqkgnJ6UX79su8mkh8Sk\n2BxSrDaEwmwzkrm9JPcYSCG+BvZEiySo/////w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1444,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023043a3ac2f3d2b4d3723a97930b023ee73010a7cf8d2a99372f3132bd7d9c83574de3ab86525efc4ee2c59799d5ff7efb4023034f59a3ea9f5267f8458afdaa3873e2336e0ab8a40ca1b797cbd977d192f2024f9eb8d39b37b9a238f208d66bacd27bf",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1445,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402303531ada25b8d9af9b87e5224cd6a6d956c17dc323ef8980f497a6e7e44c83d69b74de791d62bceacaff7378863dd725b0230459d15539399409380af99d560c561217daa5c539729453067dd1aa4bd9df2b534920f0d6213261ecea16f0ed68536b1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1446,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30640230438a0cff9fcfcf587f8c40775ad44ea4b0ed69f2d547befe295d1fb9c24ddcb97f228027df552a06bf657b4c2027261502305e157630bb744fc8e7f75901de498e5af0b5511dfeee0c4c1f2e5c4aa0129de57b87a2a13ea59d187d51cbeb6ef22407",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048cb91e81ee5901b71a59a4f7c8174ae05fe3ba00f699dcbc3c9233265c640587b3c165593c2d76b5ffc4b8dcbcb0e6553a0e5d14f2d0e8efe2bd8aa260d8ace06bf964c51bab8207070a2d30410bb6b87aeecb7fff802f2d4ea3caf6e0e7e726",
|
|
"wx" : "008cb91e81ee5901b71a59a4f7c8174ae05fe3ba00f699dcbc3c9233265c640587b3c165593c2d76b5ffc4b8dcbcb0e655",
|
|
"wy" : "3a0e5d14f2d0e8efe2bd8aa260d8ace06bf964c51bab8207070a2d30410bb6b87aeecb7fff802f2d4ea3caf6e0e7e726"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200048cb91e81ee5901b71a59a4f7c8174ae05fe3ba00f699dcbc3c9233265c640587b3c165593c2d76b5ffc4b8dcbcb0e6553a0e5d14f2d0e8efe2bd8aa260d8ace06bf964c51bab8207070a2d30410bb6b87aeecb7fff802f2d4ea3caf6e0e7e726",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABIy5HoHuWQG3Glmk98gXSuBf47oA\n9pncvDySMyZcZAWHs8FlWTwtdrX/xLjcvLDmVToOXRTy0Ojv4r2KomDYrOBr+WTF\nG6uCBwcKLTBBC7a4eu7Lf/+ALy1Oo8r24OfnJg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1447,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023016496c08c3076773fcd841a5e25e1a87108e0ba90f9727f539034bd2cf688e01a955686a15112e0590fc91e3995ff5f8023031b1b7338f74adba33712a83a7c685e7cd5f3be84ef951ecad50facb7c6ec393a3bac52ea7b1212bd92f4f45a9f8514c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1448,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306602310087f3090292e79b722cde5aedafa4244f6eb460a280e2e050399b9d802391ad502108704a3c0bb9f9ae571c3f7dec6c0b02310089ae0043de38a585a1632c7211b78303afa3f8936154a6e65a6f729c3b1ec66a1775aa465af8eed6dfeaa5ba98cedb41",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1449,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30640230720822abefa91265a7b8d446ec3bc405fd192178aa1b85dd663396a896a32c119e64b1a20843f81edd43c03709b8dbc60230206ae95bb18d2d3844a39340872edba1611e3ea0e84cea7cb6cff282af414d8b5aa0be8aabc1b51b7121d426916b01b5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0469ebf332e1eb2455324a7572a17977a4e2955108ee8bd81bd6d1f555d608687f5bbb39858ebee304985baa7d09c830bb672b9c96684dfc007f015e39cdada9fe16db5022bfd173348caafc528684621f97fba24f2c30e3dc728772e800000000",
|
|
"wx" : "69ebf332e1eb2455324a7572a17977a4e2955108ee8bd81bd6d1f555d608687f5bbb39858ebee304985baa7d09c830bb",
|
|
"wy" : "672b9c96684dfc007f015e39cdada9fe16db5022bfd173348caafc528684621f97fba24f2c30e3dc728772e800000000"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000469ebf332e1eb2455324a7572a17977a4e2955108ee8bd81bd6d1f555d608687f5bbb39858ebee304985baa7d09c830bb672b9c96684dfc007f015e39cdada9fe16db5022bfd173348caafc528684621f97fba24f2c30e3dc728772e800000000",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABGnr8zLh6yRVMkp1cqF5d6TilVEI\n7ovYG9bR9VXWCGh/W7s5hY6+4wSYW6p9Ccgwu2crnJZoTfwAfwFeOc2tqf4W21Ai\nv9FzNIyq/FKGhGIfl/uiTyww49xyh3LoAAAAAA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1450,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402301e5027fcc630aa08750a4725919dd9072422a21aca9d3326bec3e6ac040ba9784951b1fda6f588e60dcb550b75793a4e02300df3224641f6804f4d1bf951051e087ce1fa7365c43bd27878626833f09190cc0a7fa29b16bc2ca0d34fd0660d24718f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1451,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402304e61e34740a9f6db0854faf205719a3d98ef644b86241b858fa22959c04395578bef7be35036ae7a9ffeb9a2173311f402301e967c3b6071d37560fd64a4fe0921b1d600f60d883fdec816836176c5e67ad05182aa080c7e2184c0710050d523f0e2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1452,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402302c3090c581e575da58a8f659f74c5eee566400eb1d91de0a950e787542e6572f73b9f6d4f81f1c8e42f9e460dac3c1dc0230756b1b693e7fe06686708c2a609854accd21e3195d84b72c11c873908d175dfc00c00ebbdf8e2bb6970f2f19785303cc",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044fb5688666673f104287428b5bae6bd82a5c69b523762aa739b24594a9a81297318df613f6b7379af47979ae7fffffff7e2d325b41fe831a23cb694cb80a30119c196143536ee334416ba437a419054c180a945154596b83d7f7c3a6b6059645",
|
|
"wx" : "4fb5688666673f104287428b5bae6bd82a5c69b523762aa739b24594a9a81297318df613f6b7379af47979ae7fffffff",
|
|
"wy" : "7e2d325b41fe831a23cb694cb80a30119c196143536ee334416ba437a419054c180a945154596b83d7f7c3a6b6059645"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200044fb5688666673f104287428b5bae6bd82a5c69b523762aa739b24594a9a81297318df613f6b7379af47979ae7fffffff7e2d325b41fe831a23cb694cb80a30119c196143536ee334416ba437a419054c180a945154596b83d7f7c3a6b6059645",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABE+1aIZmZz8QQodCi1uua9gqXGm1\nI3YqpzmyRZSpqBKXMY32E/a3N5r0eXmuf////34tMltB/oMaI8tpTLgKMBGcGWFD\nU27jNEFrpDekGQVMGAqUUVRZa4PX98OmtgWWRQ==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1453,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30640230092f0ee1feeb79c054ae36235f8717e9ee72b466b1704d4fa78addfcd13518a64db2b2fdb06439acbc4c045fb2c23c3a02302371ca6d36f4266162ee5c657c71cea35dcec3632c5b220a6f23ace1ba6562a841aeeeefe87a7998adfaf185b8558e4a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1454,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402306c8f4be641afaf5bf91ce08974d284ece6aec74792247229fa86c6597eed3fb507b712bb77af0226e1bbb3bad632b0d80230775954fe8bf936157b7ab7a683f6dc1838a8718200621bc8bf2f32b778f6c8e8c656532b50de39ac22d22b37dccfd1f9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1455,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023076e5c07582177400df453114fed746f40704197897b4ca21b72e5b44d4ca40cfcaa55e4446355c91ea9767f38c8172df02300c6dd73eefbb4c06e823224d8efaa3ee934e4a97eed2833513b4d735ed06eb550b2a5fa7f86613d627d9db466afa6646",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384t1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048cb91e70c122d808515ce5383d1f753f95023a64adee7b7072bcbf43ffbdfdfb05060d6a8f5ea5022a6a0e6245190235599ea831aa5857a0a118d4871e8a86aee2965afbdcfe3fb50e5e7c94672a63672eaf26384ecfa8d7a78512d6a6c63d86",
|
|
"wx" : "008cb91e70c122d808515ce5383d1f753f95023a64adee7b7072bcbf43ffbdfdfb05060d6a8f5ea5022a6a0e6245190235",
|
|
"wy" : "599ea831aa5857a0a118d4871e8a86aee2965afbdcfe3fb50e5e7c94672a63672eaf26384ecfa8d7a78512d6a6c63d86"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010c036200048cb91e70c122d808515ce5383d1f753f95023a64adee7b7072bcbf43ffbdfdfb05060d6a8f5ea5022a6a0e6245190235599ea831aa5857a0a118d4871e8a86aee2965afbdcfe3fb50e5e7c94672a63672eaf26384ecfa8d7a78512d6a6c63d86",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQEMA2IABIy5HnDBItgIUVzlOD0fdT+VAjpk\nre57cHK8v0P/vf37BQYNao9epQIqag5iRRkCNVmeqDGqWFegoRjUhx6Khq7illr7\n3P4/tQ5efJRnKmNnLq8mOE7PqNenhRLWpsY9hg==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1456,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30640230495c7d5f262ad770f5f223cbf80d0c9e256c41d19ba9ad251fcd958915434c56c7f60db2f269b8b6aa49ff7a0314f5b1023026248e930f04d06798f447ade60ac88439a7b1e2bd987c03b17ddd357c2482c06d81e0eec720ab5180fefcbf2a95d5a6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1457,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023059326ed88303d6dd31dd7b4c7e30337172ac4a9c3511c4805c2094374ddad15191bbdd3fe7a5e86a4fb9d0c46216492c023036dfedf341921afe9e3158b44a7db7ab370e2c43496a34d09fa88a4e8c8fb0ce8d933c08c39ea27503199e9a632d220c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1458,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402305c53e8fc75fd338f2e28bb886fa3c88b09395a66e8a4528de51375c211f0e1c7ee04134db06f6caed4265be691c43471023051ac815c377e6af03fe1de6db95ca6cbac16e8b3d0b6384f153a4f7952b64923683266d30038d1465e400d6345d513af",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384t1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04000000004ac5b59140cd6406050b0d813411a18e4a8449596b1fabd36fc49e4478117db2ea522ccaa43cc1beaa9a18a35fbf6dec1a4d2a8bc7b4c39ceeda7108068168a94e87161dfdd3040df9f6dae4d7eb5a88286d014c92cfe009902b3463",
|
|
"wx" : "4ac5b59140cd6406050b0d813411a18e4a8449596b1fabd36fc49e4478117db2ea522ccaa43cc1beaa9a18a3",
|
|
"wy" : "5fbf6dec1a4d2a8bc7b4c39ceeda7108068168a94e87161dfdd3040df9f6dae4d7eb5a88286d014c92cfe009902b3463"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010c03620004000000004ac5b59140cd6406050b0d813411a18e4a8449596b1fabd36fc49e4478117db2ea522ccaa43cc1beaa9a18a35fbf6dec1a4d2a8bc7b4c39ceeda7108068168a94e87161dfdd3040df9f6dae4d7eb5a88286d014c92cfe009902b3463",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQEMA2IABAAAAABKxbWRQM1kBgULDYE0EaGO\nSoRJWWsfq9NvxJ5EeBF9supSLMqkPMG+qpoYo1+/bewaTSqLx7TDnO7acQgGgWip\nTocWHf3TBA359trk1+taiChtAUySz+AJkCs0Yw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1459,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402300e971ffffd7b86a216cf2e8c2267ebfdbfffe33cc91a578abdb3b065a33829b1e85d77a83490bd862b484545373276e402301dee3a5b1021e5d7f2f6283be4c37749200089af3039847ee2d9d62abfe36144e6de9690714bd931535d73f872f5509b",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1460,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402307080b70e60eb3bf5538555554ae8b135ec6378610e5fe1c9e3d1646b61ec28f51e7fe7ed9fb18717641e7debb90eb647023017d44cc60ef9d9d00f3672fb101f0e2d76a472d34181a607a13eb58756648ba0555dae6acb357d3cd5e30e7758884d42",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1461,
|
|
"comment" : "x-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30640230210674f82d8731467e9893c007733971740837ceb78ee1a957e799c3309f27da768331262df94293f84b85fb00a70c730230686be0240ac527f1560e6d9c20af7b755be421c30ec3dae94bb2d01d7b0af2894c96a5ba181ab2d92b9f18db2d6dd28e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384t1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0449967ad412be2ee1d435ce6261ff127250085e1903e04c0388ff9c1a35e12536e31a2f8fefe2194cdf1e9bb800000000245148c105c664988179a8c2e68418dea078f90682ea06b51d89cc93173fb8a991ecca52805d97ac89f66855a593fbb4",
|
|
"wx" : "49967ad412be2ee1d435ce6261ff127250085e1903e04c0388ff9c1a35e12536e31a2f8fefe2194cdf1e9bb800000000",
|
|
"wy" : "245148c105c664988179a8c2e68418dea078f90682ea06b51d89cc93173fb8a991ecca52805d97ac89f66855a593fbb4"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010c0362000449967ad412be2ee1d435ce6261ff127250085e1903e04c0388ff9c1a35e12536e31a2f8fefe2194cdf1e9bb800000000245148c105c664988179a8c2e68418dea078f90682ea06b51d89cc93173fb8a991ecca52805d97ac89f66855a593fbb4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQEMA2IABEmWetQSvi7h1DXOYmH/EnJQCF4Z\nA+BMA4j/nBo14SU24xovj+/iGUzfHpu4AAAAACRRSMEFxmSYgXmowuaEGN6gePkG\nguoGtR2JzJMXP7ipkezKUoBdl6yJ9mhVpZP7tA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1462,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023064aa82bf225050a63cf16424ccccd0f16d5939d73479d33db3d7f0517a750cdfc01e37354502ffcb1c4956c2c7c7fa3e02305e8101692c6eb55767734839efe43da943cb69d7b3ce9ea0d4aef6892cb244883997ec10f368e295ef080ef9b078d0d3",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1463,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402302d106908a50b6e5ba59d6074a2e940dcfeb73c5ba1c5464ab9ff6c805d23f46464978116c68199d1a8ac63d8b823368d02307b8cc56036a62d9a26322a413a1a183f1bb2d795789fab72a45f4121b35796e1e3a592e1c62f2c4d070e9bee85bce70f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1464,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30640230180bea728d39c32579141a215e0256d2b8e0fcc1d2b73135a71cc484d9c8fb666644fe3c14ff11affe135e02c72647c2023042ccc524b7109bfef81604adb1893d1531b65c497560daa941f18a0dbd200ddf79743168011c0c6856f2a456e46c57da",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384t1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0433a02b38ab0869360416d68a1cb9d1e5e3fc37e539b7f562f4ce359d7504a5f551a98cd78812fad80b717df3f7de92510c66e185b7d57726984fe09e8ec885554d84faf51284fd839af4e59fc704c3f37626491d98a48350f41a50dfffffffff",
|
|
"wx" : "33a02b38ab0869360416d68a1cb9d1e5e3fc37e539b7f562f4ce359d7504a5f551a98cd78812fad80b717df3f7de9251",
|
|
"wy" : "0c66e185b7d57726984fe09e8ec885554d84faf51284fd839af4e59fc704c3f37626491d98a48350f41a50dfffffffff"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010c0362000433a02b38ab0869360416d68a1cb9d1e5e3fc37e539b7f562f4ce359d7504a5f551a98cd78812fad80b717df3f7de92510c66e185b7d57726984fe09e8ec885554d84faf51284fd839af4e59fc704c3f37626491d98a48350f41a50dfffffffff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQEMA2IABDOgKzirCGk2BBbWihy50eXj/Dfl\nObf1YvTONZ11BKX1UamM14gS+tgLcX3z996SUQxm4YW31XcmmE/gno7IhVVNhPr1\nEoT9g5r05Z/HBMPzdiZJHZikg1D0GlDf/////w==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1465,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30640230577b89e7eb4e0c11d3ddc8273fdcab2583a0c8908acb3c92a41073c1b4879cb6bd09825e345917d10e9a10c57127a096023033c568e1ff376a2b6c49e495385de655d667b8402d73fc02e9db61d42b4920bd0c3f0c88a1c3091ab5b9970bdaa1d39c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1466,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402306bb794738248b375c9f5c6a5e67c04053979b1f096a97a54710da3674a6af23295256c660a6e0949be8c69c9e0af1c9a023016f454f290edac489680bc8bcacabfbff9d0d29dd11c7c003e97c056cca9cd2b5033692b766fd20d8ce0a4b0dfc417a4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1467,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023071dad8b09ea0c67eaa79b937cb4fc54c7280779f37dfe293756327b9bdf3bbad9a51613dbfde19496d620e15e2bf8fda023016db51fa414c9f13e2c7965e3315cda2fbd64f95b0c88d3b2aa48811727af7cdd70eee7700dbf4ea3c9c84e6284387be",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384t1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047fa73b521e19cd2b08e7127f5a31309089ecb3628c7e341a977cfc4bf445ab151010602becf720dc41aebb86900870de4f3b7dd19ac8970f116996b0d48dc20d69d784e8502284701ef653300993e158c8b82fc5a4664a8ec28a03c400000000",
|
|
"wx" : "7fa73b521e19cd2b08e7127f5a31309089ecb3628c7e341a977cfc4bf445ab151010602becf720dc41aebb86900870de",
|
|
"wy" : "4f3b7dd19ac8970f116996b0d48dc20d69d784e8502284701ef653300993e158c8b82fc5a4664a8ec28a03c400000000"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010c036200047fa73b521e19cd2b08e7127f5a31309089ecb3628c7e341a977cfc4bf445ab151010602becf720dc41aebb86900870de4f3b7dd19ac8970f116996b0d48dc20d69d784e8502284701ef653300993e158c8b82fc5a4664a8ec28a03c400000000",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQEMA2IABH+nO1IeGc0rCOcSf1oxMJCJ7LNi\njH40Gpd8/Ev0RasVEBBgK+z3INxBrruGkAhw3k87fdGayJcPEWmWsNSNwg1p14To\nUCKEcB72UzAJk+FYyLgvxaRmSo7CigPEAAAAAA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1468,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402300e0e11e2cf805a3054db77fd49a9456ccf22f5948a9a02e6474a5a89dd394d3c89a46b16dcad39f67b33be149f75b8e30230719ace8887143d8f0f4c1e478de836fe78dc71d14ea234fddd47bbfcdd77fb44c77b49c6c4b048d05be953713a480db2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1469,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402305e4f0e8f833a1e50cf46495d4594c37894a21ec8164dfde3a05c9682698620746b42988fdeec9bdae3e961121e5ea0b1023077eba3e704bf9635b5750ffec2ee8d39681c762d21278465828ab0f574935448cff6575b8d699406407874864f87ad9f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1470,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023008c4664a036a5d4f5b7b9a365656db0c786246ac7b992bfac53cf2f31e9fc738698596db4ea385f7bab978b4f1ed02b2023063eb0c4d629d01f1fe9133d64440cda717cac4e16ac1ceeebe10b8c38d3ccc0b2bd75918e4c995d2c525c77591681804",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384t1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043dc23704ba8346fee7028a863e3e1c201ac5e5c1f0a0bd8ad967d3fe8c8e4b8d6b5f92449e3378218862f261d09f6fd833c942cd24af05e473097248db981d009c69e53ea9b5f3f4ecba0d6f4d24317caedb6917f4ca9f8e9bf0e82800000000",
|
|
"wx" : "3dc23704ba8346fee7028a863e3e1c201ac5e5c1f0a0bd8ad967d3fe8c8e4b8d6b5f92449e3378218862f261d09f6fd8",
|
|
"wy" : "33c942cd24af05e473097248db981d009c69e53ea9b5f3f4ecba0d6f4d24317caedb6917f4ca9f8e9bf0e82800000000"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010c036200043dc23704ba8346fee7028a863e3e1c201ac5e5c1f0a0bd8ad967d3fe8c8e4b8d6b5f92449e3378218862f261d09f6fd833c942cd24af05e473097248db981d009c69e53ea9b5f3f4ecba0d6f4d24317caedb6917f4ca9f8e9bf0e82800000000",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQEMA2IABD3CNwS6g0b+5wKKhj4+HCAaxeXB\n8KC9itln0/6MjkuNa1+SRJ4zeCGIYvJh0J9v2DPJQs0krwXkcwlySNuYHQCcaeU+\nqbXz9Oy6DW9NJDF8rttpF/TKn46b8OgoAAAAAA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1471,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30640230064db827c2b97c16fce0d952513bb687c26451db1c6b1e82010f6901fdd1709e83d0efcc5b33eae5f490c6604e8e172f023054aed930e8300a82efe2609ccb030b82c7991a7db261fd60e3c9097be13341909ec3492a3803cda07cb2d1838946d191",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1472,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023008d8ba04dc844a5ef30f632c7ca47ebe2ac75b86a821b8b6b5b699a5cbe42382f0b92703af6042205f80ddf23d27e97102300a33ca44c7b65eaf5cc81af23de282c562307980e31a1e6ee632a6141d7714394241d90869e2c9592423106abf2a35b1",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1473,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023024e40d5ef670018c0ce690fc15042156b0e39a057d2eb76c91d8119cc3982136118f4eee76403eac13b89cb9bdb0020002301aa24023e2e12ebed8146f3c4f1ecdfb24eca3bff085cd6c654cb52f33e368a073e27a9912f4509a27c84913b85fc7e0",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0430a67deaaf0cee44aaeb903d8cdb24ad9dc191d375d7d6a60d2520e19306cfc47dde9dcb80aae0b040554bb98d601e019f9336e831cccb99f2d92cf4b91604b1000000001a4b00c74a5a61ac196faf4dc39acd41bf354def0a27529964359132a76f28654248d1ac004d11d811aba0acb9c26d2f4a54012c5d8a9a1e7c8b4a52",
|
|
"wx" : "30a67deaaf0cee44aaeb903d8cdb24ad9dc191d375d7d6a60d2520e19306cfc47dde9dcb80aae0b040554bb98d601e019f9336e831cccb99f2d92cf4b91604b1",
|
|
"wy" : "1a4b00c74a5a61ac196faf4dc39acd41bf354def0a27529964359132a76f28654248d1ac004d11d811aba0acb9c26d2f4a54012c5d8a9a1e7c8b4a52"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d038182000430a67deaaf0cee44aaeb903d8cdb24ad9dc191d375d7d6a60d2520e19306cfc47dde9dcb80aae0b040554bb98d601e019f9336e831cccb99f2d92cf4b91604b1000000001a4b00c74a5a61ac196faf4dc39acd41bf354def0a27529964359132a76f28654248d1ac004d11d811aba0acb9c26d2f4a54012c5d8a9a1e7c8b4a52",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEMKZ96q8M7kSq65A9jNskrZ3B\nkdN119amDSUg4ZMGz8R93p3LgKrgsEBVS7mNYB4Bn5M26DHMy5ny2Sz0uRYEsQAA\nAAAaSwDHSlphrBlvr03Dms1BvzVN7wonUplkNZEyp28oZUJI0awATRHYEaugrLnC\nbS9KVAEsXYqaHnyLSlI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1474,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3081850240479ce8458b04b2dc127b46971e6c79831bf788f65ddc770620daaa15583f8d506f2a6652d82b38560ec1977586e11929b666f6d7012d816fd356d41e9304d60f024100a750f73ccaeff5d994067e66e45c200892c607b329be5e64db5c383c7be711c97b5dd425a52250bc862477e28b3afa4ef3d831066a7b143432a5d15403021457",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1475,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3081840240685b8b2929c9a0a9b0deb6baefd00e26f50d4c1fc3fed47d7ef812c52b66ec6f6d09f54e9bdb7202016570f75bb9912aab3a572bfb97ea589ace294ff0fe666202404c286267cb87a6be56f4cd0080398c23e569f2ebda71d2cd1682080290deb4143bdc61e75b42abefbcbbddf4c794545a05378656a1858658e0a4595833fc40f6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1476,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308186024100811112d27ca1e434b00c0293320284b1c5369fd007f90e7a99d44c9c02013688d16e5e0a2fc3a077064a995c4244195c04f00323e33adea6b37701ad5cb3621602410082dd5c3e3642fc43e5c4c652e3b2d00f6d137207be8c9b2125561c08703e4a84d2a82785f775abd18aab24e52f12c5f8cb56b28b915f9c0b1110c542ba92b313",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0430a67deaaf0cee44aaeb903d8cdb24ad9dc191d375d7d6a60d2520e19306cfc47dde9dcb80aae0b040554bb98d601e019f9336e831cccb99f2d92cf4b91604b1aadd9db8c19ec3c3f57a85021a5a4cba0795c071f494841fcc3c4a310bfd773ed5de729b597d9696ae808f52d4f7e0396ebf91ffe32ec558cb1fc637dbaefea1",
|
|
"wx" : "30a67deaaf0cee44aaeb903d8cdb24ad9dc191d375d7d6a60d2520e19306cfc47dde9dcb80aae0b040554bb98d601e019f9336e831cccb99f2d92cf4b91604b1",
|
|
"wy" : "00aadd9db8c19ec3c3f57a85021a5a4cba0795c071f494841fcc3c4a310bfd773ed5de729b597d9696ae808f52d4f7e0396ebf91ffe32ec558cb1fc637dbaefea1"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d038182000430a67deaaf0cee44aaeb903d8cdb24ad9dc191d375d7d6a60d2520e19306cfc47dde9dcb80aae0b040554bb98d601e019f9336e831cccb99f2d92cf4b91604b1aadd9db8c19ec3c3f57a85021a5a4cba0795c071f494841fcc3c4a310bfd773ed5de729b597d9696ae808f52d4f7e0396ebf91ffe32ec558cb1fc637dbaefea1",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEMKZ96q8M7kSq65A9jNskrZ3B\nkdN119amDSUg4ZMGz8R93p3LgKrgsEBVS7mNYB4Bn5M26DHMy5ny2Sz0uRYEsard\nnbjBnsPD9XqFAhpaTLoHlcBx9JSEH8w8SjEL/Xc+1d5ym1l9lpaugI9S1PfgOW6/\nkf/jLsVYyx/GN9uu/qE=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1477,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308184024039d0c5c4e48ca14064b2e9b3600deb0ec2fb3e0c65b3be5ce3f206166d76dfc5a5f6ea8702da3aecb13e7b55a87b1263c4884611e5de440f6c89ed12f88ae50f02406ae78398e7f942b35e7d87ef27ce830690f7327ad2a83df56e9d0288b51999454bd90f895e7849f35b2a652a3af97bf55795b4698e0b014ea6ff021a00878f3c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1478,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402407c3ab2e3deafb823ee591dc53c97b389c6d18a8ca9a6ae20c74328606db2d7c7d2bb3ce26894e3f30785237b9e874350d615786381b0c8c420224d2f5e359468024034e703dd939b2b1a200872334e2f864dbf26688f8475c9e38a384102e08a18c27d4e30d802095fff3edda6dc1e03aa81aed96719cb49612471fa118875a15c18",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1479,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818502404cd8a5f1977a3cf8e847a1377359cca7046c793ada0665f2c06908fdcec24e6cd55a1750ca576421b8a65aa99aed863cdaaa77d7f7cf84448ea58e95c57a133c024100a340572d5d9683e72e157e683ab16d0e2a35030ff3e1641d1b4f801d80732c32b9fbb53fdcaea933f131136f8ab25311018b871f53753782989a87ef231a38ac",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04aadd9db8bb4189a6d2ab7b5aae550fe8dc00be2e00f4b35b576d6f862c09869210fc82fbd15a54def1442979fa0da1c64408fd8437a60046930820748ecdfc664a59a87eae338d22d0835523156f8f7d934710a747cf192d3e317bc45f0489d6979887c65ec17ab7b5e3da9f4cb110116ef0739849acc56d24e5a3365fcfb289",
|
|
"wx" : "00aadd9db8bb4189a6d2ab7b5aae550fe8dc00be2e00f4b35b576d6f862c09869210fc82fbd15a54def1442979fa0da1c64408fd8437a60046930820748ecdfc66",
|
|
"wy" : "4a59a87eae338d22d0835523156f8f7d934710a747cf192d3e317bc45f0489d6979887c65ec17ab7b5e3da9f4cb110116ef0739849acc56d24e5a3365fcfb289"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d0381820004aadd9db8bb4189a6d2ab7b5aae550fe8dc00be2e00f4b35b576d6f862c09869210fc82fbd15a54def1442979fa0da1c64408fd8437a60046930820748ecdfc664a59a87eae338d22d0835523156f8f7d934710a747cf192d3e317bc45f0489d6979887c65ec17ab7b5e3da9f4cb110116ef0739849acc56d24e5a3365fcfb289",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEqt2duLtBiabSq3tarlUP6NwA\nvi4A9LNbV21vhiwJhpIQ/IL70VpU3vFEKXn6DaHGRAj9hDemAEaTCCB0js38ZkpZ\nqH6uM40i0INVIxVvj32TRxCnR88ZLT4xe8RfBInWl5iHxl7Bere149qfTLEQEW7w\nc5hJrMVtJOWjNl/Psok=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1480,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308184024053192c28820ec266639fee09e214a55cc0efb07b22dc0d3f293bda2072fcf9b462da93ec9e7169ae1f1148705189f7f15d2cbec46d224197a3a7a924b0c00a3202401b664536aedbdc97bed4dee23eb94a49f23de3bd84a78f299e81edfe017a7d3ca3a7c8aace8d13b6b2eb477b922c439839eacdff2783070757754863582f715d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1481,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308185024100969058c15d675b1b262152a4520f7e803ab465a9e1eeef7b8a5d0fb3e88032b8e8f1be9f37c80f9c7b950f4da950baae9b216ecd6c793ddb1459cfdf49776bae024020e0d078a5a113e92facdfe5cb39243247254aa0a656b83e7baa343d36f7b14b86f15e54b71ba7506d5119ff52c47e0ee549927a008cbf2bbfe1916d1cc274b2",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1482,
|
|
"comment" : "x-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402401de5df621364436bed5cacf8dbe420e4e4e5d1b0434fcf9dc335645dd0aa07cc1d1ea30a8cafe2531cd4035dd972c0d6c3720f160e24264fd6c41521e44eb0cb024072e9abd54561bac89b234bf9e51a3f6003590af177098e25f0053a3ae18a6c74b389674a6eb80378ffd255cfe52323645cdfe9a10a965341b4e47fc0dd082e1e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0424c10440e37a15d7ec9a3a48965a9ce9380221fc51155f1e992716cd9933d09ce0a5424471877e8994494a4c2ade0a81ef52952e395655157f0b743b3b219e2d628fd5ba510f610ee693a1e0d39ef39d91a6248379c622a175a23a5330a88b2d5a60dbf6d249702cd1504561535ea17e1be1b70a41dc463e8e1a1af000000000",
|
|
"wx" : "24c10440e37a15d7ec9a3a48965a9ce9380221fc51155f1e992716cd9933d09ce0a5424471877e8994494a4c2ade0a81ef52952e395655157f0b743b3b219e2d",
|
|
"wy" : "628fd5ba510f610ee693a1e0d39ef39d91a6248379c622a175a23a5330a88b2d5a60dbf6d249702cd1504561535ea17e1be1b70a41dc463e8e1a1af000000000"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d038182000424c10440e37a15d7ec9a3a48965a9ce9380221fc51155f1e992716cd9933d09ce0a5424471877e8994494a4c2ade0a81ef52952e395655157f0b743b3b219e2d628fd5ba510f610ee693a1e0d39ef39d91a6248379c622a175a23a5330a88b2d5a60dbf6d249702cd1504561535ea17e1be1b70a41dc463e8e1a1af000000000",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEJMEEQON6FdfsmjpIllqc6TgC\nIfxRFV8emScWzZkz0JzgpUJEcYd+iZRJSkwq3gqB71KVLjlWVRV/C3Q7OyGeLWKP\n1bpRD2EO5pOh4NOe852RpiSDecYioXWiOlMwqIstWmDb9tJJcCzRUEVhU16hfhvh\ntwpB3EY+jhoa8AAAAAA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1483,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3081840240422fb18cdec966937145b0f160b8ce222b0ba16fab075e16f1dac839b8d7772fee27a283ad722225bebe83db2d5a8b25cb2cbe45248b3aa876554c6a37f8137502407a3889d53bb42a6d41f393eb00c43623937029d4cc1d367469f6ea4ec16658619d2935de0a655adae4cbb624f2ffe3ce41f024269d9149dbd83cb1c97aed41b8",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1484,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3081850241009836ee7ae0447ec07a6a216633e0a97de831fa04fcd760abe39e8f457796fdfce9c69ed13c827de0ca6b60d849ed6976ac091b7d90ce3e98d3c9144afe638d4202401c9d8e142baee857d6adec8eff84ea1d23b05f5482cc2950451586cf5de0cbf9e3a727a4a4e93e15b6cc0125e5fcd1910636898064a63813a0c75fee28041b88",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1485,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402400877d7a3ffacf4ef36cbedfd44e4cc0237bdeede8ce0bdfb330bb73b317b7d161c45bd1496e1233ced8f7dcfd05e0e1cc665fb1dc92b54fcbe9b0e55d9ba1be402400f7ab871742ebf22e0b7674614d71569d5084ccc0c98c2e40d088ae88eab37820a89a2dbe49e1b67ec55ae1a34fe4822d691bbf5490fcc2c47e7c1ba4dc56e7a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040ba18cc05572424a7a391f4b48258a871a0f6d8216c5cf82446c2d156d5586b4c196da0b2f3a23511b89eff31dd4f0c88dbb1a76c5e4b27c4276f8fbc74a1b9da28cc8c341ea2e3908ae6ab6825f956032c53e625697f80b7b4ee72dcc9f3cff730349e0d30de410917f3d0d1c8988562c1d55583b47f0dec234fda2ffffffff",
|
|
"wx" : "0ba18cc05572424a7a391f4b48258a871a0f6d8216c5cf82446c2d156d5586b4c196da0b2f3a23511b89eff31dd4f0c88dbb1a76c5e4b27c4276f8fbc74a1b9d",
|
|
"wy" : "00a28cc8c341ea2e3908ae6ab6825f956032c53e625697f80b7b4ee72dcc9f3cff730349e0d30de410917f3d0d1c8988562c1d55583b47f0dec234fda2ffffffff"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d03818200040ba18cc05572424a7a391f4b48258a871a0f6d8216c5cf82446c2d156d5586b4c196da0b2f3a23511b89eff31dd4f0c88dbb1a76c5e4b27c4276f8fbc74a1b9da28cc8c341ea2e3908ae6ab6825f956032c53e625697f80b7b4ee72dcc9f3cff730349e0d30de410917f3d0d1c8988562c1d55583b47f0dec234fda2ffffffff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEC6GMwFVyQkp6OR9LSCWKhxoP\nbYIWxc+CRGwtFW1VhrTBltoLLzojURuJ7/Md1PDIjbsadsXksnxCdvj7x0obnaKM\nyMNB6i45CK5qtoJflWAyxT5iVpf4C3tO5y3Mnzz/cwNJ4NMN5BCRfz0NHImIViwd\nVVg7R/DewjT9ov////8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1486,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308186024100a7322046ba7473716d35742d961ac5f2fe2e1dd574ece7bd15da8c66a262b2e79b0d1df27619fdebbb41da1b27ba7c9a0370ef962ee8a45105f4416d16ebf13e0241008418e445db45cfbdc8458055386d65e9bc07b497b8d4bef5f515e7947050d9ab9799fb520f322bf00fae4fae03c1269510ebb3e1dc8cca59298e26945862e9e6",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1487,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402401bb460ac42bb3640bfc739a0186ef3362ed27b254f548c073935caa211a1aa302e79a9466d7fece774d250c1aeaef9641b9a2f25e61ca37fada8ee07f49fd51e02403d918a07a36f578da8b0d42d30bad60ecfbd603a45d0c1a71bb01447ead81a5313265cc9b5860aba03f1c93a9cb9f3bdd9a85f270dd3691465941d2b8098f93c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1488,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402405b44e4fd4996f27a7dcf306bc9fff4a9c36e3fe09026fa72122b64a4ff65f861a5954ce8a41f69a3915c84a63db0c57c6dfecbac4fde99ea5fcb104d6967d6130240088e7b846d6c5e093a7ba17427bcba0e925acb826e4e9b972b2d8a6d232f635cbe96bf6f163174db646c2f6623c89dc6e4a828d4e2e2fcf3c427c42bdb72efb7",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047f3327e34662274aa147953a007f30c2ee1b06d7bb053e8ce1c9b683f0f46563dd38db071d87433b30380434c92e8cb76d603d1936fba1e9317a06e20000000052ca478f0367ab24857e788576f17bfcd05e62d20d0fbefd1b2d954b996eaba67819023635e31483f5b0257f89b46a1d2b9cb2420e1cdb940ceaff5429dd8013",
|
|
"wx" : "7f3327e34662274aa147953a007f30c2ee1b06d7bb053e8ce1c9b683f0f46563dd38db071d87433b30380434c92e8cb76d603d1936fba1e9317a06e200000000",
|
|
"wy" : "52ca478f0367ab24857e788576f17bfcd05e62d20d0fbefd1b2d954b996eaba67819023635e31483f5b0257f89b46a1d2b9cb2420e1cdb940ceaff5429dd8013"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d03818200047f3327e34662274aa147953a007f30c2ee1b06d7bb053e8ce1c9b683f0f46563dd38db071d87433b30380434c92e8cb76d603d1936fba1e9317a06e20000000052ca478f0367ab24857e788576f17bfcd05e62d20d0fbefd1b2d954b996eaba67819023635e31483f5b0257f89b46a1d2b9cb2420e1cdb940ceaff5429dd8013",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEfzMn40ZiJ0qhR5U6AH8wwu4b\nBte7BT6M4cm2g/D0ZWPdONsHHYdDOzA4BDTJLoy3bWA9GTb7oekxegbiAAAAAFLK\nR48DZ6skhX54hXbxe/zQXmLSDQ++/RstlUuZbqumeBkCNjXjFIP1sCV/ibRqHSuc\nskIOHNuUDOr/VCndgBM=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1489,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308184024073967eb24e20f0d4ba58895a49f812c28d24e5f0fd5e35f1075810a478d93717c8aa2605ac84226dd3d53c39c0d8c52eeac8e998bad931f5efdd664b57cee555024005b0031fb10dfc7c36ed89aafe66444835cd9c53e1c850af5f055e2b263d3e737a4e6a83cadb9d76dde535e809f447455324d4aee6f036485d4167a6e60eeda5",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1490,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3081850240633f456914707923f4b0086ea318b8cebdba5fa14352e3d9c606bd8dabf032835bbda76aa514c1a6dde1b321803d27f253dfe1cae532a5bdcd9e93e5f94596d10241009b9c8ba074deeb03745d8ae37c73e02273071a35dcfe0f65e463e208bd11c6ccb3aded6be7313d7a656d5e871b8ea4d1d51b778467b6dde6578e105d56b617d4",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1491,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308184024040891a57b9b8f0bc6a8761d2424cb60b3f39de4e601bc8daf15ab3216c2c56ebcc760de30907e89294af5818f5a72a2df409bb6918f3d6e506ce5314602e50c1024068620756ee2a600a1467f29608ead019d0d516b79c8a756fc537a9fc734616bfec133839beb4778fdffd3fb4226e51ce4bc09627331c8daef1f711648a30fb06",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0412482f158e62e83467297b4edad930ad319048283f0949300605a4a2d19f72f924d41e1cc3ad2c246574f4a0eb637cdd386c1ebf4a00707b71a646dcffffffff18d851ef92835f7be92a25b988ae8d5f7ed42f312f7c896850a589f7bb7500330d138cc20dc5630a7d525926e8f717635ee72937035736ace88f0c491f31930d",
|
|
"wx" : "12482f158e62e83467297b4edad930ad319048283f0949300605a4a2d19f72f924d41e1cc3ad2c246574f4a0eb637cdd386c1ebf4a00707b71a646dcffffffff",
|
|
"wy" : "18d851ef92835f7be92a25b988ae8d5f7ed42f312f7c896850a589f7bb7500330d138cc20dc5630a7d525926e8f717635ee72937035736ace88f0c491f31930d"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d038182000412482f158e62e83467297b4edad930ad319048283f0949300605a4a2d19f72f924d41e1cc3ad2c246574f4a0eb637cdd386c1ebf4a00707b71a646dcffffffff18d851ef92835f7be92a25b988ae8d5f7ed42f312f7c896850a589f7bb7500330d138cc20dc5630a7d525926e8f717635ee72937035736ace88f0c491f31930d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEEkgvFY5i6DRnKXtO2tkwrTGQ\nSCg/CUkwBgWkotGfcvkk1B4cw60sJGV09KDrY3zdOGwev0oAcHtxpkbc/////xjY\nUe+Sg1976SoluYiujV9+1C8xL3yJaFClife7dQAzDROMwg3FYwp9Ulkm6PcXY17n\nKTcDVzas6I8MSR8xkw0=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1492,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402404debd0683028f2335b233c49531b6096e7c5521f75fcb4b5f5e32241be081f3c2b8549b57f31217be9b7aa1a4687a72ec9a5d376307252ca7c1b9b610d25b4d0024004d1303f6b91ac01c91411a983f3abb04f3698b169f8a39ffd1931c061e66f43482fec795dfd0d0abe879fa8db885b618aca2ae013e693f154bb9d0a77adef4f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1493,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308184024034ac9a4e6fb171f424bb592d1b845bee55173b42422fd5b5132f859a27ddcda5532fd38116e6277d9375639fb25b0f66f1e8a1accaa7800c91c87e7439987d58024075892be8e11d9bf3e81e8370af02d88bda83ce0ae9c21aeb487eef4c4c5458e51a99e4d788db84064cfbc48240f56612078769fde0e3b706125f46e2f26a3508",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1494,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308184024036b68b5cad7428803f606615505857aa7cfb683d1e9ce856d499fa6e13ee6a4f235edd00403429ff14bc578dd121fd256004794add4fb8195b43a9e1eefbd3a1024045c6affd607f5424a0e49c0f1a72ebf7948a80b482ef171ee161dc36515679e32fa9edaa92c57403e6e102643b77391aedeec2b054964315dedd4cc369f23f03",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512t1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042998e0959e62bbed075dad4830ff74a33d199c6e29beb5ba518c6c4105e1b413ab78f730e1fc32e94f1a2c15931625c6b2150db2a12b5b44da15845068fab40f000000005d9bf2e4367c381dab13e026a1db8ba70f04268779ac786983d697461f0c7e526aaf03001b168cb47911cec4439d139ce2bdc3cb2f6f7ce51001de6e",
|
|
"wx" : "2998e0959e62bbed075dad4830ff74a33d199c6e29beb5ba518c6c4105e1b413ab78f730e1fc32e94f1a2c15931625c6b2150db2a12b5b44da15845068fab40f",
|
|
"wy" : "5d9bf2e4367c381dab13e026a1db8ba70f04268779ac786983d697461f0c7e526aaf03001b168cb47911cec4439d139ce2bdc3cb2f6f7ce51001de6e"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010e03818200042998e0959e62bbed075dad4830ff74a33d199c6e29beb5ba518c6c4105e1b413ab78f730e1fc32e94f1a2c15931625c6b2150db2a12b5b44da15845068fab40f000000005d9bf2e4367c381dab13e026a1db8ba70f04268779ac786983d697461f0c7e526aaf03001b168cb47911cec4439d139ce2bdc3cb2f6f7ce51001de6e",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDgOBggAEKZjglZ5iu+0HXa1IMP90oz0Z\nnG4pvrW6UYxsQQXhtBOrePcw4fwy6U8aLBWTFiXGshUNsqErW0TaFYRQaPq0DwAA\nAABdm/LkNnw4HasT4Cah24unDwQmh3mseGmD1pdGHwx+UmqvAwAbFoy0eRHOxEOd\nE5zivcPLL2985RAB3m4=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1495,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402402eaf57807294e50728a87468381a4499b336af045d534cf0854ccf80178d53a379585ff06b3db31174e101dce81c757a8cc3c4033231baf3e8d4c5c4bd35984b024060d445cccc506abdae5a7d42c2d22cf03fc2e8f6717668308fb5cf8e10176d1c723e4682f942ff13ef832ad51329076f4c628b4f6263f519bcaf0d915692a24d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1496,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402400ae7a5f9bef3bc570b1bfc218f6ee071855d86c8aba36504dc0c480d857059dce2cf937506716075cd8045fae969309585f62ad34135c64dd6f9c18705df0db1024069f2473a71eca7222b27c5bd600c1b1c2a8b9afb3b063ae49d5b4a090ecfc76179f041b39dafa491b391ee79b5d24fc1210e5d8d135cb1fda891ec7b806af31f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1497,
|
|
"comment" : "y-coordinate of the public key is small",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402404a2942579bed39477d56cec8d7e8f029e93ded04bed5ec727180efab14212f88530fb4bd92d99202ac966c6d75d8c1f1bef5d13e14973ac49f32e70643a83c670240632f647f8c256a6ff572c0885d20e9dd309d26c96cc7392649ca1a1dd5c638358626705850f7768542f53a50a63c191b2d86e00ee2b3233df5c0bddcff272bad",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512t1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042998e0959e62bbed075dad4830ff74a33d199c6e29beb5ba518c6c4105e1b413ab78f730e1fc32e94f1a2c15931625c6b2150db2a12b5b44da15845068fab40faadd9db87e4dd1a70958ae9088b61be12955020ca4c5ab875cb72460ec5c712b5e411cae3117654293b714766d91b221e4e4eb924ac502b9f93ae37148386a85",
|
|
"wx" : "2998e0959e62bbed075dad4830ff74a33d199c6e29beb5ba518c6c4105e1b413ab78f730e1fc32e94f1a2c15931625c6b2150db2a12b5b44da15845068fab40f",
|
|
"wy" : "00aadd9db87e4dd1a70958ae9088b61be12955020ca4c5ab875cb72460ec5c712b5e411cae3117654293b714766d91b221e4e4eb924ac502b9f93ae37148386a85"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010e03818200042998e0959e62bbed075dad4830ff74a33d199c6e29beb5ba518c6c4105e1b413ab78f730e1fc32e94f1a2c15931625c6b2150db2a12b5b44da15845068fab40faadd9db87e4dd1a70958ae9088b61be12955020ca4c5ab875cb72460ec5c712b5e411cae3117654293b714766d91b221e4e4eb924ac502b9f93ae37148386a85",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDgOBggAEKZjglZ5iu+0HXa1IMP90oz0Z\nnG4pvrW6UYxsQQXhtBOrePcw4fwy6U8aLBWTFiXGshUNsqErW0TaFYRQaPq0D6rd\nnbh+TdGnCViukIi2G+EpVQIMpMWrh1y3JGDsXHErXkEcrjEXZUKTtxR2bZGyIeTk\n65JKxQK5+TrjcUg4aoU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1498,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3081850240113619a3231e670e22c557ce2cdd030b7e32d9abd069db7304c31e2a1e54aa9986a44124b40d5fb50a8fa1cafcdbf6f1454753203819d0d269579b138fc7b63b024100989982ebc17f27cbcdf17d04e994c829b013305c6faa48b10cff5e9118d6368d7a4f276cd1c92200a17eb6a2b9309f75d9f5df58b68e876082720468ef63fa48",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1499,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308183023f558cf186f501179e19d8606bad39e84f14239dcf6993ae850f42759a13eb7cad5eae697ed25ec2ee18b77c3ef7ef09c06cab159a82f18ddccaf1063c83cd220240660292d1bcf9d6fd1d1b66eae49cde4da7710e9807aeb747417002047b7148f7e316b9e810ae5359c7218e5baf4da97664ed4e93d169d4ade7fe272d56ebc21d",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1500,
|
|
"comment" : "y-coordinate of the public key is large",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308185024100909621b2b940d634907762fa65c6249857e414b3e5e4a1461cd47743bd46497cc313c28811287f9ff1b485219ef050b26623b9bec5f1e0e6b7b96b49e2bb831c02400169e5b9f3d0a64bf90e55668fd12888dcfa55eaaec2076ea7b84e88f22225c57e220d7b96c2a5753d7e3b45fa046ea1fb6683e1a8cf818b19afbbe54c12d28c",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512t1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0450ce8ff875f5162824bc04693a98fb3ede4d850986640c5b6d8fc451c45de8ed6fdc28c097ba8eafd591e7dc48ca5f9a94710666c310be8c335a4c68ffffffff5a186446dc03018965b508c5941ee6b462774fe6229610e235678a304755e1b6eabf725dfcff2a0cae7e8a7c6bf220ddf0189d0afa78519944b9958c50ac1e90",
|
|
"wx" : "50ce8ff875f5162824bc04693a98fb3ede4d850986640c5b6d8fc451c45de8ed6fdc28c097ba8eafd591e7dc48ca5f9a94710666c310be8c335a4c68ffffffff",
|
|
"wy" : "5a186446dc03018965b508c5941ee6b462774fe6229610e235678a304755e1b6eabf725dfcff2a0cae7e8a7c6bf220ddf0189d0afa78519944b9958c50ac1e90"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010e038182000450ce8ff875f5162824bc04693a98fb3ede4d850986640c5b6d8fc451c45de8ed6fdc28c097ba8eafd591e7dc48ca5f9a94710666c310be8c335a4c68ffffffff5a186446dc03018965b508c5941ee6b462774fe6229610e235678a304755e1b6eabf725dfcff2a0cae7e8a7c6bf220ddf0189d0afa78519944b9958c50ac1e90",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDgOBggAEUM6P+HX1FigkvARpOpj7Pt5N\nhQmGZAxbbY/EUcRd6O1v3CjAl7qOr9WR59xIyl+alHEGZsMQvowzWkxo/////1oY\nZEbcAwGJZbUIxZQe5rRid0/mIpYQ4jVnijBHVeG26r9yXfz/Kgyufop8a/Ig3fAY\nnQr6eFGZRLmVjFCsHpA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1501,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308185024072e1d955e0d4579fbbf3cd6700ef435292be919c42a0f003d6a2a5e4b94cfe1a4dbf4b4a1781f81ef4706f2e9f4fac8cd671251685ebe50002d4e6f532bb454f024100875967a2c16d3ffc1c571875b6f35ca66709fa86fe24f61d0ece79b8df551c4cb71918748105f26e367ee141f13f1bdfbbb1070d6ac031a1aecf2b25ba8d563a",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1502,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308184024035e6f53d230d2d18cfd3e6ccf2b6c9fd56838760884f1888754beb474feb3dc41073075b3b7c309548bfce2eefc3107328f364b816b923e8efef89f39539bc3902401e5eddd0ff983a9af60b30bfb1662491bb900f91bb506332c630ed06d83e34420490d782c9df591d39c53364a5a6e3c6e330cde77658f34ed34c33bf3d264e35",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1503,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818502410094875032e0358e02ef7418c2141a3c97a9cdc42451c5498d048e9bceb23b6c62f0245c778d064b9fdb6c0c182b2c8cba6f92c20bdc39ccf6f789d7cbfc8781e3024033fc0f481463d96900a59158a78c288bd78593a1cdb3e287ae75c597cf8d59ac2636a8535e1723f12791b9ada9d0f4509eb48e573cf4f69571d527a22d14e39e",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512t1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044c827f0f3da1a424a2cef8a32f51046e6e99b834912c779b9b8ced1df4941379082a7545fb34f1da0413542ffe713aba57e7c275e28197746fc7e837a325f42a23d88740018aea655ce5b763aa3fb1a83072f866f7c1454f8c023c196953026abe4a01f5ed414c703c4b458d09e0815df663790b77f7a9a38b8f07a900000000",
|
|
"wx" : "4c827f0f3da1a424a2cef8a32f51046e6e99b834912c779b9b8ced1df4941379082a7545fb34f1da0413542ffe713aba57e7c275e28197746fc7e837a325f42a",
|
|
"wy" : "23d88740018aea655ce5b763aa3fb1a83072f866f7c1454f8c023c196953026abe4a01f5ed414c703c4b458d09e0815df663790b77f7a9a38b8f07a900000000"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010e03818200044c827f0f3da1a424a2cef8a32f51046e6e99b834912c779b9b8ced1df4941379082a7545fb34f1da0413542ffe713aba57e7c275e28197746fc7e837a325f42a23d88740018aea655ce5b763aa3fb1a83072f866f7c1454f8c023c196953026abe4a01f5ed414c703c4b458d09e0815df663790b77f7a9a38b8f07a900000000",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDgOBggAETIJ/Dz2hpCSizvijL1EEbm6Z\nuDSRLHebm4ztHfSUE3kIKnVF+zTx2gQTVC/+cTq6V+fCdeKBl3Rvx+g3oyX0KiPY\nh0ABiuplXOW3Y6o/sagwcvhm98FFT4wCPBlpUwJqvkoB9e1BTHA8S0WNCeCBXfZj\neQt396mji48HqQAAAAA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1504,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402406fc29976ce99ca8961a91a97dc6a4a110cf087eef1865bce8fb47f704b641f7170121db02ce95066e672efc0bcc6fd5c6a6a6c162cdfffc66dc202d30f16bae002402ec8e0d92e576b417756e387a5418e2b83fdf04b6f087b1f01bf58f8d6691577755172fbfc71a29689fc823737882cf8df16f0bc29cb3884e7c04b8e5dc75c4f",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1505,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402405bc931007fd6c71a64df18fe1b44afaf58ecdbb21e7bc9dda8f11b0c23f5cbabe659de7a6a68f9fdb59a78c73f7c307677857e04a6ee2b0a71fae572bec5197d0240683cc10278169dc262b5ebb8ee498b9e48957c91293c2ece45e6398a4a7f7fa05ddb6f39dd6729450cc8226631a2cceeaf735b1e54f023272059a0568229c500",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1506,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308184024044314adc963c90d08ebefdb19f5426678ddf05dfeaee54e58a8f6b689832f01b75ccf2a13ac9ba96739ba2caa2948705a47b01a2134ce023c7a51c43aea2cd47024009769abfcba361f04bc661d28d51edb6c0a61d02a2b092a239928d5df3ed88ae50cb93e1fc25d7a4b0f5088e7300363ebaea6797b37fa68c2b3a92ba086aac99",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512t1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046ba6e00ef35739a400c612f603b9363f3442b2fcec8a94e2685818ea114925e68db15ec7ebc4fe778838d183b14e16f2eba107256e1e65cad301af869521f64e4a469191781d8503a3a41bdd1203f96af37547d8cf4dfbd780ffb223d60c8f0ad303f5109447564164c4ae85310899d089d333cfb2655852a51dbb31ffffffff",
|
|
"wx" : "6ba6e00ef35739a400c612f603b9363f3442b2fcec8a94e2685818ea114925e68db15ec7ebc4fe778838d183b14e16f2eba107256e1e65cad301af869521f64e",
|
|
"wy" : "4a469191781d8503a3a41bdd1203f96af37547d8cf4dfbd780ffb223d60c8f0ad303f5109447564164c4ae85310899d089d333cfb2655852a51dbb31ffffffff"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010e03818200046ba6e00ef35739a400c612f603b9363f3442b2fcec8a94e2685818ea114925e68db15ec7ebc4fe778838d183b14e16f2eba107256e1e65cad301af869521f64e4a469191781d8503a3a41bdd1203f96af37547d8cf4dfbd780ffb223d60c8f0ad303f5109447564164c4ae85310899d089d333cfb2655852a51dbb31ffffffff",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDgOBggAEa6bgDvNXOaQAxhL2A7k2PzRC\nsvzsipTiaFgY6hFJJeaNsV7H68T+d4g40YOxThby66EHJW4eZcrTAa+GlSH2TkpG\nkZF4HYUDo6Qb3RID+WrzdUfYz03714D/siPWDI8K0wP1EJRHVkFkxK6FMQiZ0InT\nM8+yZVhSpR27Mf////8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1507,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818502406fa3401b7ffd9e455613f1032f757ee318e3fad1eb064f5b7036efdbf6c1d7a1c40328f4bb2435b37a21b6f1f9d7d853eeac2660c45d65459d73ce191767c69302410092e90f5e883638d9bac9b4eff9333dfba55860a97810a505baa7f317cfee0d44c9bd332163db3d63e975443b0457cc52737aa84dbcbfdcd5b8d4f7f8388973f9",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1508,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3081850241008f1a46fa97c1f64e999a373af69cda2da531440f22383328f04b30b20366b3814d0a5616fc5ccbf7cbca97e95d2099fc7c5bb582ecadcda9b535117daa9c39920240186a626132df3f81868ce9d5963f931e0142677254a31a8647556bf896907f29d62167b3cb2ea892a4384daf8855e258361cb6762de703c63d6445cd68ab4d33",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
},
|
|
{
|
|
"tcId" : 1509,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3081850240108b5edd424745fc20da9bdcb83cf2f8c0439b390d72805149b8deb85352d79b9579d5f7f1b92e79ddff5c05f8c046f6bce7129565d33937c72a34d3436587c40241008f3af09a517f564adb3dbb345c122de41640f4b3cc6c5cbc0e2b36a836b2653caa112ae03f753b0e9070c9fc7f0d140b33c9d2b837837d1947c03d141957ffee",
|
|
"result" : "valid",
|
|
"flags" : []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04512e581731c9c460bb705b60da976ccb1b0ef421785106ba2ccdd2380f21d5bacdf81c0cb78fa151237db3130ad4def373f3e523398c2cf7",
|
|
"wx" : "512e581731c9c460bb705b60da976ccb1b0ef421785106ba2ccdd238",
|
|
"wy" : "0f21d5bacdf81c0cb78fa151237db3130ad4def373f3e523398c2cf7"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010105033a0004512e581731c9c460bb705b60da976ccb1b0ef421785106ba2ccdd2380f21d5bacdf81c0cb78fa151237db3130ad4def373f3e523398c2cf7",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEFAzoABFEuWBcxycRgu3BbYNqXbMsbDvQh\neFEGuizN0jgPIdW6zfgcDLePoVEjfbMTCtTe83Pz5SM5jCz3\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1510,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00c95518bae4cdd1311784590a784650c2633ae192d2929553e96edf5f021c6afb37f9924b5e4c9453bdc2dcb9ac1565b3b1182d74607e339de8ff",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1511,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c2d0cdd510f69007deb38ad899122b926cd684ee85a29892a6f8e2949021d00a60982ac01e843bf4039baf0e4c54d803ee86c9b396b719a58f2b084",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1512,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00bf03007699cbd36c564029340d93e7a69230aceb759a3d0918ee0e6c021d0099743ba3a4e77418adadc7b2db67adec8fc8b244e56ec4f2d5afc0c5",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04ac55d1b3fed4aee03fa3615d225a9cba5c0284416fbaf9a76135f76217a888395bced34977a8482370d56ebc62aa1ca81bc330f49d4a141d",
|
|
"wx" : "00ac55d1b3fed4aee03fa3615d225a9cba5c0284416fbaf9a76135f762",
|
|
"wy" : "17a888395bced34977a8482370d56ebc62aa1ca81bc330f49d4a141d"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010105033a0004ac55d1b3fed4aee03fa3615d225a9cba5c0284416fbaf9a76135f76217a888395bced34977a8482370d56ebc62aa1ca81bc330f49d4a141d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEFAzoABKxV0bP+1K7gP6NhXSJanLpcAoRB\nb7r5p2E192IXqIg5W87TSXeoSCNw1W68YqocqBvDMPSdShQd\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1513,
|
|
"comment" : "x-coordinate of the public key is small on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00b207e86cb0789b09de84e0b05c875c134cb701b825b7e37369d1497f021d00b66f890b6c61171d2d474391d5fbf5205afef3d8628ed3728d5c1655",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1514,
|
|
"comment" : "x-coordinate of the public key is small on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00d2c0ae451c1d661cd3c137a2b0c2a5349a1b22e890093f3bb021b470021c6b7bf3bee77d48b32b0b822f5d4f0dca0a017919b09f92c7669cf5cd",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1515,
|
|
"comment" : "x-coordinate of the public key is small on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00ad305aff3120dcaa93238388f96f26b44e2abfbfc8e366e936a1f5f0021d00910d0c66c18b74dcad62da508f8bb5e44483c20df95d7b3348c5d32c",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048b319f2ed074a20ec42d869c7f99bd9146ed8263297bfe004f27c59b120f96343deb80093ecb7695c2d2a5be9937a258723d78ed00aa1edf",
|
|
"wx" : "008b319f2ed074a20ec42d869c7f99bd9146ed8263297bfe004f27c59b",
|
|
"wy" : "120f96343deb80093ecb7695c2d2a5be9937a258723d78ed00aa1edf"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010105033a00048b319f2ed074a20ec42d869c7f99bd9146ed8263297bfe004f27c59b120f96343deb80093ecb7695c2d2a5be9937a258723d78ed00aa1edf",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEFAzoABIsxny7QdKIOxC2GnH+ZvZFG7YJj\nKXv+AE8nxZsSD5Y0PeuACT7LdpXC0qW+mTeiWHI9eO0Aqh7f\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1516,
|
|
"comment" : "y-coordinate of the public key is small on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00a2f1ca07012f6d76f0c1a7edc98e97ac5439ea6f536376e1518243e1021d008da899be8b73ad74f31cde8030ec694c3c0380a303554557009ddce4",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1517,
|
|
"comment" : "y-coordinate of the public key is small on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d008e245a23d95e8c8512689c6a7b79b338f4628116d92e2659650bb879021c2602f7ec88ab2e7e10fa02aac442476ee26ffb8231d017355f804761",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1518,
|
|
"comment" : "y-coordinate of the public key is small on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303e021d00948a855285cfd20560efa45f93306aa5d0aeb3988b224587fc30122f021d00d54acf351e538f162991b91768e3690f149095d31397cf01ad136a21",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "048b319f2ed074a20ec42d869c7f99bd9146ed8263297bfe004f27c59bc5b19e75e857e67ceb4cb98fb2ff31c9176764ff259d11087e1ea220",
|
|
"wx" : "008b319f2ed074a20ec42d869c7f99bd9146ed8263297bfe004f27c59b",
|
|
"wy" : "00c5b19e75e857e67ceb4cb98fb2ff31c9176764ff259d11087e1ea220"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010105033a00048b319f2ed074a20ec42d869c7f99bd9146ed8263297bfe004f27c59bc5b19e75e857e67ceb4cb98fb2ff31c9176764ff259d11087e1ea220",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEFAzoABIsxny7QdKIOxC2GnH+ZvZFG7YJj\nKXv+AE8nxZvFsZ516FfmfOtMuY+y/zHJF2dk/yWdEQh+HqIg\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1519,
|
|
"comment" : "y-coordinate of the public key is large on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c1c2d0f676f99a2955b72ca32d28968ccbd38d3de70bcedbbe1592291021d00cb7a39faa9ab0508a6aaa772f0a003c703ab84ffcddd9ac50ba1f196",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1520,
|
|
"comment" : "y-coordinate of the public key is large on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d00d3a0a4924f86c524fe771342d6cb645d72807fa250cb7b27502a7fc9021c5393c63fd2c682691dc3cd911f175a5f115d002e33794ad8d39b6c4b",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1521,
|
|
"comment" : "y-coordinate of the public key is large on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c3a001e9bd29a137ef655aa8fc02ad9cfb19171668df2ffecbb166fab021c646b4695547ddb392820e0f84350862a7cff332b036f046d4c2fe4a0",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04c5dc5135f050a96bbb0d21885195b49a574d5198baac4b4602b21bc8b5f38b7fe661003faee1b7af670e165bfab70b018965e83329d405bc",
|
|
"wx" : "00c5dc5135f050a96bbb0d21885195b49a574d5198baac4b4602b21bc8",
|
|
"wy" : "00b5f38b7fe661003faee1b7af670e165bfab70b018965e83329d405bc"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010105033a0004c5dc5135f050a96bbb0d21885195b49a574d5198baac4b4602b21bc8b5f38b7fe661003faee1b7af670e165bfab70b018965e83329d405bc",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEFAzoABMXcUTXwUKlruw0hiFGVtJpXTVGY\nuqxLRgKyG8i184t/5mEAP67ht69nDhZb+rcLAYll6DMp1AW8\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1522,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c7116be59cfe691bf4d41aa536df59681f08ff5663a87e5b0432543ff021c6459005b5513c470c8fa49213c97d54a8d9241c56b2c35df714f474c",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1523,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303c021c3e2af0528f85dd3603b6138d4d58b700d9e14c24ebb9a523233e02da021c34cd5a75313f0d0c57d4534cac1859197eac3e837fd7b77bc925b257",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1524,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c2357daaf4dd854e9090386350d76ca18436c81a91811ddd272e0e369021d00d491a745051d6a45afb6bd4653b1a1eb52c3b6eb41e03847da3ee5b9",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP224r1",
|
|
"keySize" : 224,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04c1b56a1ad154e11556b723fc7493f36e66509d8f68fad0e62c40f0859b04780a85e69abf98def3335ce643cd3554167a8b50d596b9538895",
|
|
"wx" : "00c1b56a1ad154e11556b723fc7493f36e66509d8f68fad0e62c40f085",
|
|
"wy" : "009b04780a85e69abf98def3335ce643cd3554167a8b50d596b9538895"
|
|
},
|
|
"keyDer" : "3052301406072a8648ce3d020106092b2403030208010105033a0004c1b56a1ad154e11556b723fc7493f36e66509d8f68fad0e62c40f0859b04780a85e69abf98def3335ce643cd3554167a8b50d596b9538895",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFIwFAYHKoZIzj0CAQYJKyQDAwIIAQEFAzoABMG1ahrRVOEVVrcj/HST825mUJ2P\naPrQ5ixA8IWbBHgKheaav5je8zNc5kPNNVQWeotQ1Za5U4iV\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1525,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c39aa3aa6691c95487ebc3d605cf9e0ac8a64ea3324f448e851ea1d0c021d008e87a220c70a7e1b5b53e10f9f85dfd796e5bcb8c50b56fe8c119a25",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1526,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021c3c4e580131536b54fb1bf9da674cbf773e88599bf5664e414d38cf54021d00d1b2db7da0337af9665a0c3c635545e6e07325ea811664ab1bb97f21",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1527,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's on brainpoolP224t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "303d021d0082890d9903ff2413542b218cd13a0401f6a83f07c2b7cb32294953b0021c2189daaae8e48edab99bd1e01e22d04f28782f2d1e17b6c85b7bb56f",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0481528b7adbbebf1b6b3c7fa1d61284b07759b9a98d31a5702707b018fdecff1175bbfccb545381bf8601031731841829401b08dcdc68cc34e06a64e412038512",
|
|
"wx" : "0081528b7adbbebf1b6b3c7fa1d61284b07759b9a98d31a5702707b018fdecff11",
|
|
"wy" : "75bbfccb545381bf8601031731841829401b08dcdc68cc34e06a64e412038512"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000481528b7adbbebf1b6b3c7fa1d61284b07759b9a98d31a5702707b018fdecff1175bbfccb545381bf8601031731841829401b08dcdc68cc34e06a64e412038512",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABIFSi3rbvr8bazx/odYShLB3Wbmp\njTGlcCcHsBj97P8Rdbv8y1RTgb+GAQMXMYQYKUAbCNzcaMw04Gpk5BIDhRI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1528,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022100a50318c3066a4966ad18ae8f85253fbb5835a34b2f9187daac71ee28d3d5d0eb02200890ef0fc93df222d11197cb221483ce897b0cf1acf4a909c306c5a485776abc",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1529,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30440220041e0389dda2cf2ae3a9562a0fb5d41c1f7533e6cc84a896e99af781e21097700220366b5d88c36f1227df522fdab65e12347d68eb64f2de82c648115fd565bd37b7",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1530,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304502202a76394a04ae19b25c54291e28bcd42a7edeb20981b8a3b838f9dd0e29b574c10221009ce89980ae432c4fa6a68025da554bf900cc2eb0c66906420d322c14b453049c",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a3a25a353caa94ac4eed3700f7d56b456a0fc670d56a166d5219b7c97f30ef3e16ea8e03c20977f20aed58106b6d9d1085b4475f75b5469c5f426cb27ec6d872",
|
|
"wx" : "00a3a25a353caa94ac4eed3700f7d56b456a0fc670d56a166d5219b7c97f30ef3e",
|
|
"wy" : "16ea8e03c20977f20aed58106b6d9d1085b4475f75b5469c5f426cb27ec6d872"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004a3a25a353caa94ac4eed3700f7d56b456a0fc670d56a166d5219b7c97f30ef3e16ea8e03c20977f20aed58106b6d9d1085b4475f75b5469c5f426cb27ec6d872",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABKOiWjU8qpSsTu03APfVa0VqD8Zw\n1WoWbVIZt8l/MO8+FuqOA8IJd/IK7VgQa22dEIW0R191tUacX0Jssn7G2HI=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1531,
|
|
"comment" : "y-coordinate of the public key is small on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022066958be3379405826a00daf5495b1657698126a5ff449f9649af26ca96df96670221009b4100816e2741f86c5c0b0dcf82e579f4281d2b8e70c234808d84c1a495079f",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1532,
|
|
"comment" : "y-coordinate of the public key is small on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022053ed0f4b8fb33ef277cdd1060435ed3dec518a225659f71f67f9a1f07f85c1ca0220124d5f94ddf12bb4cbe3c5cea6d2686d4480dabb8ffbb05e5238c877fe20383e",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1533,
|
|
"comment" : "y-coordinate of the public key is small on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022046643c7fe0f308b8af4ce2978d797e8c46a7e1f8bfee0b5cdbaecde1f59be41d02201bd11a814d1fbd9ae97a49df99beca7fec2512563c0031c5aad5b9fc2fb0a507",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04a3a25a353caa94ac4eed3700f7d56b456a0fc670d56a166d5219b7c97f30ef3e9310c9d7dfe531ca3378b2803215f061e887aec45f70d98bc0d0db6aa0a77b05",
|
|
"wx" : "00a3a25a353caa94ac4eed3700f7d56b456a0fc670d56a166d5219b7c97f30ef3e",
|
|
"wy" : "009310c9d7dfe531ca3378b2803215f061e887aec45f70d98bc0d0db6aa0a77b05"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b240303020801010703420004a3a25a353caa94ac4eed3700f7d56b456a0fc670d56a166d5219b7c97f30ef3e9310c9d7dfe531ca3378b2803215f061e887aec45f70d98bc0d0db6aa0a77b05",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABKOiWjU8qpSsTu03APfVa0VqD8Zw\n1WoWbVIZt8l/MO8+kxDJ19/lMcozeLKAMhXwYeiHrsRfcNmLwNDbaqCnewU=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1534,
|
|
"comment" : "y-coordinate of the public key is large on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402204f833bec9c80185beacbb73b5f984e2c03d922359be7468ce37584f53d1aea4a02206636744ab7fecaa53541bcf5f37c6cbe828a8efbc4d00f6469ba390a86708a26",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1535,
|
|
"comment" : "y-coordinate of the public key is large on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3045022100a2869da416523aad2b8fa8aad5c3b31c5a535fdd413b71af4dffb90c6f96a669022029ff3e8d499cabc3cc4cccd0fa811cc3b04770aa71f0d052185210b14d31993d",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1536,
|
|
"comment" : "y-coordinate of the public key is large on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022063dbfe29249a506b89fbd2cb1fafc254a9582dfc4b08d143b6d25bf2ab49d55e022044cad80c00460905e103f26da84cefd71af4bc7a71962a3bce321bc3b5842736",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046d499b077ab6d77b244320a2cacab91a764595dd67a7a8dfcf84da7d38b2d8f45994c07b833ff4909c1a92cc9f24dea88be8603b407b00d228faf2158db2354f",
|
|
"wx" : "6d499b077ab6d77b244320a2cacab91a764595dd67a7a8dfcf84da7d38b2d8f4",
|
|
"wy" : "5994c07b833ff4909c1a92cc9f24dea88be8603b407b00d228faf2158db2354f"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b2403030208010107034200046d499b077ab6d77b244320a2cacab91a764595dd67a7a8dfcf84da7d38b2d8f45994c07b833ff4909c1a92cc9f24dea88be8603b407b00d228faf2158db2354f",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABG1Jmwd6ttd7JEMgosrKuRp2RZXd\nZ6eo38+E2n04stj0WZTAe4M/9JCcGpLMnyTeqIvoYDtAewDSKPryFY2yNU8=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1537,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30450221009d907cf88e10d60c3f23892498fe43ddb02f824fb18e6be313e02d94f2c8e09002200c16b9e0db4dc8606c023b001f69b3c886080794fc9d7fe31b00c1cf0935e421",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1538,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402207395ce0ef652848a86b61097cc9543998d39dae88a1fc9e4dfdd69642949548902207de29e256e8202382f91c116a667a8b946f210447a57369ba61ae4fae73dd136",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1539,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402207baf1fde87ccb1bea0f893b3bfb2549c04bca18835d8eb5a31b8d20506ff88c30220289ebe829fefb9ad009d7cdd622874aef5fa088f0508a4b43d5895d61645cecf",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP256r1",
|
|
"keySize" : 256,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0408c2f95ffedde1d55e3f2c9dcf5884347f6904c6492273ad760eb7b9b35f036b2bcf7a048caa2c726ae8808dc95312eb2350275a8f4fbeea7c0f32f3839c7b93",
|
|
"wx" : "08c2f95ffedde1d55e3f2c9dcf5884347f6904c6492273ad760eb7b9b35f036b",
|
|
"wy" : "2bcf7a048caa2c726ae8808dc95312eb2350275a8f4fbeea7c0f32f3839c7b93"
|
|
},
|
|
"keyDer" : "305a301406072a8648ce3d020106092b24030302080101070342000408c2f95ffedde1d55e3f2c9dcf5884347f6904c6492273ad760eb7b9b35f036b2bcf7a048caa2c726ae8808dc95312eb2350275a8f4fbeea7c0f32f3839c7b93",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABAjC+V/+3eHVXj8snc9YhDR/aQTG\nSSJzrXYOt7mzXwNrK896BIyqLHJq6ICNyVMS6yNQJ1qPT77qfA8y84Oce5M=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-256",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1540,
|
|
"comment" : "x-coordinate of the public key is large on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3044022033e37c3b66acabee3d68cbbb9c55cd52b586de51647723fa84e532a3ec5953ef02203b8a9ee707d1bc5f83e17ea072adc2ecda92e637d7c06060f1af79b929a850b3",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1541,
|
|
"comment" : "x-coordinate of the public key is large on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402201f8ebdc94ecddd84f90960cc55d0ca02e33d70535fc1c7322b3c2783b9dc92380220205aa8626c3a5da214e5485b11154a378d70b0d3323ab868528ae8048d17b696",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1542,
|
|
"comment" : "x-coordinate of the public key is large on brainpoolP256t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "304402206b0d70e09ba1642adac06dff9b52e22a3e4aab4180e372665691412241e743a002204d7d30ff8a210de69e3e6d1ecf7175f89f481a4d9ed06beaf7148da47f4af9e9",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0434770c73a7e42ce7a57d1de6e54f35f1752047f6513584c7b14bca17d7abc499f8ab037c70fd2e13a8b97b2ae263688622421615ba363f1ffe9a8f2fe0f6e246fda11462a3ec000c685e09a90dbcdc2af6467f9ee69b5e7bead9b8461f4a4be0",
|
|
"wx" : "34770c73a7e42ce7a57d1de6e54f35f1752047f6513584c7b14bca17d7abc499f8ab037c70fd2e13a8b97b2ae2636886",
|
|
"wy" : "22421615ba363f1ffe9a8f2fe0f6e246fda11462a3ec000c685e09a90dbcdc2af6467f9ee69b5e7bead9b8461f4a4be0"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000434770c73a7e42ce7a57d1de6e54f35f1752047f6513584c7b14bca17d7abc499f8ab037c70fd2e13a8b97b2ae263688622421615ba363f1ffe9a8f2fe0f6e246fda11462a3ec000c685e09a90dbcdc2af6467f9ee69b5e7bead9b8461f4a4be0",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABDR3DHOn5CznpX0d5uVPNfF1IEf2\nUTWEx7FLyhfXq8SZ+KsDfHD9LhOouXsq4mNohiJCFhW6Nj8f/pqPL+D24kb9oRRi\no+wADGheCakNvNwq9kZ/nuabXnvq2bhGH0pL4A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1543,
|
|
"comment" : "x-coordinate of the public key is large on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402300e44fdc33aed0c320e371e2a78e9f18fde83434e681afb05a5bdb0f43cac70e83ede56bf8c56acf70e054e2ffef549cf02301324b4cfe684d401eac15b0940f5835436d3a1028e27c1966dbf69fefef82748a05b4443c77c870789135755d0d184cf",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1544,
|
|
"comment" : "x-coordinate of the public key is large on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402305966acd8a7714f2015e36fd4fdb3452258ce0aaefb3972091b496bd530bbaf1ec67d7e37e50031b3eea44a8bb8f62c2002302a5f309d2fad55b93a7a3012cbda2845efaa4ea0d187d3824f4a6a9227730d3ab15246d8d0952c7ee8c0b9eb83d1c2a2",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1545,
|
|
"comment" : "x-coordinate of the public key is large on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30640230266eace657e1ec88a2adbb38a5afb4f750274ca614d1fde9ea39dff6f2a2aa69923e9a7489f06bf9d84c518cee57e55b02303d19027684ef221216f63a591d8e793524e4c1234a56ce415bb9ad9e2ebf25ac94a99261b9157d19daa5aa876291f308",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "0486f0fc89b7861ec3bd582161aecfc95789ae402459eb7f3015b7dd24e20fc9b005c635fc290a0e2a9ff35863b7b82e3e01ebba489e923dad88146077914e3ae5c575e1bececec710962a18ffd91005776c4d9e4bd952c793587a70291ce478b4",
|
|
"wx" : "0086f0fc89b7861ec3bd582161aecfc95789ae402459eb7f3015b7dd24e20fc9b005c635fc290a0e2a9ff35863b7b82e3e",
|
|
"wy" : "01ebba489e923dad88146077914e3ae5c575e1bececec710962a18ffd91005776c4d9e4bd952c793587a70291ce478b4"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b0362000486f0fc89b7861ec3bd582161aecfc95789ae402459eb7f3015b7dd24e20fc9b005c635fc290a0e2a9ff35863b7b82e3e01ebba489e923dad88146077914e3ae5c575e1bececec710962a18ffd91005776c4d9e4bd952c793587a70291ce478b4",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABIbw/Im3hh7DvVghYa7PyVeJrkAk\nWet/MBW33STiD8mwBcY1/CkKDiqf81hjt7guPgHrukiekj2tiBRgd5FOOuXFdeG+\nzs7HEJYqGP/ZEAV3bE2eS9lSx5NYenApHOR4tA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1546,
|
|
"comment" : "x-coordinate of the public key is small on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023013de6eb532321c023092aa78c199f9ee4dce7a18df158c3e799461af9d96c2d38765a78fdb14404d199365de05bd44c502302514a0359bcb66122bf48c186a4bb2edccf305b06414b11f470d2512cadda129366f6072de715bc2babb8a3a5f260d9b",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1547,
|
|
"comment" : "x-coordinate of the public key is small on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402301308d3d9edfe3ad07e215a975b2b067e9f0b803371b3029f4388a3471f4db23f358aea5c03db62d77115c56c4962633b02304b8b1fe44b32cc669114a1ce0ba0555446d0c96a32cb602185e8fba414d3a831cbf5b519b0f90647dc45e30a1f23ef90",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1548,
|
|
"comment" : "x-coordinate of the public key is small on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402305da3df094155b8f8812d0c6345344e41c3b591b65b95fedbbcbd3c3a3bb1c1dbfc4d4c5b841b8f8874d59b07cf2288fc02304a1e4a8399abbdf246929b2559bb0fa404772755fc74523626aeef432fe4764df1e1f5c9b0f897ed8f1ffd7a88167f0e",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04082f7dceb585c5ba4894b0faf6604da888a311ad9f41731a1d3937168a10b0795a1fae496cb9a90739e1c0a6e531e8072c3b8568eaa1c6f541a665ce7a66f78ea2d5893103e6028add62356492d8b5ac6ab8901d59621c33416c33981bd594ec",
|
|
"wx" : "082f7dceb585c5ba4894b0faf6604da888a311ad9f41731a1d3937168a10b0795a1fae496cb9a90739e1c0a6e531e807",
|
|
"wy" : "2c3b8568eaa1c6f541a665ce7a66f78ea2d5893103e6028add62356492d8b5ac6ab8901d59621c33416c33981bd594ec"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b03620004082f7dceb585c5ba4894b0faf6604da888a311ad9f41731a1d3937168a10b0795a1fae496cb9a90739e1c0a6e531e8072c3b8568eaa1c6f541a665ce7a66f78ea2d5893103e6028add62356492d8b5ac6ab8901d59621c33416c33981bd594ec",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABAgvfc61hcW6SJSw+vZgTaiIoxGt\nn0FzGh05NxaKELB5Wh+uSWy5qQc54cCm5THoByw7hWjqocb1QaZlznpm946i1Ykx\nA+YCit1iNWSS2LWsariQHVliHDNBbDOYG9WU7A==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1549,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402300bf6fec0a5be27cddb0e7669ae06d15dfa75837f8ee72b47443ac845ffcd427b0893e10c85c20c7aa576fb70e87761ab02307418b6f374936adca8b07dc51545ee34ed2e9f56f3267033e30ea09a0acd31b6ce83503ee7e098627f8ba8b4c584341e",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1550,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023003e306a86f6b2cb248fcb68d1d317a6042b7089e96d74c2f5b934e2e122831268a45e2185b7c21270e8b906cd372e6d702304c82ab6de6bc0194ac1a2e3480a0c80466af7d2a329d20b03151d1806a0bc0720f55d3781a7db9febe7d8bbd0a719bfa",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1551,
|
|
"comment" : "x-coordinate of the public key has many trailing 0's on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023014d1df9b3db55ecc8d1e126625bdf5b6316bba1e7f4ea5ec77418c754a597563dc5dc291b7dd047782d518fe74e0be83023033ef701c440f280edf81a9632dde9dc17de5f438dcc19e9ca5919b4b73e62905e5f7e0bc9db0b14bc53327f79f70c6da",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "046afe4ea7705492bda308b789d70da49457dde825d5258960a7a366e4665af9d326392c2672165ea4bbdc33374d88e7498475e6937a10a6f6a50f23de9126ba04e5650a1cd06a8066ca423339fc2ce53d91482744a4cdf2f937f76f12aae3f630",
|
|
"wx" : "6afe4ea7705492bda308b789d70da49457dde825d5258960a7a366e4665af9d326392c2672165ea4bbdc33374d88e749",
|
|
"wy" : "008475e6937a10a6f6a50f23de9126ba04e5650a1cd06a8066ca423339fc2ce53d91482744a4cdf2f937f76f12aae3f630"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200046afe4ea7705492bda308b789d70da49457dde825d5258960a7a366e4665af9d326392c2672165ea4bbdc33374d88e7498475e6937a10a6f6a50f23de9126ba04e5650a1cd06a8066ca423339fc2ce53d91482744a4cdf2f937f76f12aae3f630",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABGr+TqdwVJK9owi3idcNpJRX3egl\n1SWJYKejZuRmWvnTJjksJnIWXqS73DM3TYjnSYR15pN6EKb2pQ8j3pEmugTlZQoc\n0GqAZspCMzn8LOU9kUgnRKTN8vk3928SquP2MA==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1552,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402306a3a18400686635ae279c385b640d4fa080d9c44a5d421fe4be5a5ec7a8ae31b00bfa406e919e57e39c11360e670d8690230729c0b9ff77f88f810548d6db1835312a448114a3bd93cf59422faa2ea026f5d47627f0c11fb859112246d879c859568",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1553,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306502301ab8d6c31d4577f59ca5714c9eada979fdb9ec0cad32d8cb915dbd70492947187f5a52718e19982f7a2d4cb48b227723023100872e3ce7d1fd5ae180faf1990b11937558aa44ccdab631492b8925be84fbcb452148edad5bbfe48c06b8c9908ca252fd",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1554,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3066023100803ffc58f8150a9c4c229a7b522357f49f9a5f48f82d8bb982954395836e09eb5f8cf1f345ce284674bc369d046d5c8a0231008a9feb64c410cf3ae6261ad35f7e3e8da13129daf94944f8e08e9649cd006622c3d5c91ec5b9798a1be3a31533a0a851",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "044bc65262c22d322ea89146ccb5c60c4287b65a35228743a5b9dcd15493bd8642478987c421637dd0715079ec90fb8cd47a45557ef653d0773dbe2630f8e000629ed8293e1aa4a96f3b159a245aa35ad92a1019c7e09a9ab75ba43c0786928237",
|
|
"wx" : "4bc65262c22d322ea89146ccb5c60c4287b65a35228743a5b9dcd15493bd8642478987c421637dd0715079ec90fb8cd4",
|
|
"wy" : "7a45557ef653d0773dbe2630f8e000629ed8293e1aa4a96f3b159a245aa35ad92a1019c7e09a9ab75ba43c0786928237"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200044bc65262c22d322ea89146ccb5c60c4287b65a35228743a5b9dcd15493bd8642478987c421637dd0715079ec90fb8cd47a45557ef653d0773dbe2630f8e000629ed8293e1aa4a96f3b159a245aa35ad92a1019c7e09a9ab75ba43c0786928237",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABEvGUmLCLTIuqJFGzLXGDEKHtlo1\nIodDpbnc0VSTvYZCR4mHxCFjfdBxUHnskPuM1HpFVX72U9B3Pb4mMPjgAGKe2Ck+\nGqSpbzsVmiRao1rZKhAZx+CamrdbpDwHhpKCNw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1555,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306502302ed569f12dbe30a2abf02190bb9e4de7e218e9fd705dc71cbe1480022781b2a2213c3ef2f91052e90840a18f74e375ae0231008872b566f387c2bcb639df9c2d866f7631df290c5f66c264d4949e256383b1b4b2098c120f13449d9d7bff6891919c88",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1556,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402304b7e5651b035959295092e2efe548da52206c8d0e48ba43e2b8ecd98ece25dc08955b6e7b05e38c4e22829d1658711b5023044a973b75528400cef3f63f55f2154d48bb0b826214200d3f33c7bc31155242d4e24f07ed19606fdb2c8ecaeb6981eb7",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1557,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "306402301ecadaceaa479fa4e9aabac4210b1ab77fc1d13a9c4cb022826bb1806575115834a6ecb9dec3e668b8c91d4aca283dc902302de8965a66d56545ad84fdaee16fffa0eb31022186a5b6be2a2475958b9ad72f483ebd4b255748a811806bcd428acfd7",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP384r1",
|
|
"keySize" : 384,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "042ac393f20c110e3f97065304397eae0e23187b2b6163dc66083e82aff568426843056aff8dc23eebce297f747830e21734c935671391c6efa8b46c5c37b3f84a82e429a7580feb9a1383b55c83a9398e8ecc7b15d699e63962329102a1576f2b",
|
|
"wx" : "2ac393f20c110e3f97065304397eae0e23187b2b6163dc66083e82aff568426843056aff8dc23eebce297f747830e217",
|
|
"wy" : "34c935671391c6efa8b46c5c37b3f84a82e429a7580feb9a1383b55c83a9398e8ecc7b15d699e63962329102a1576f2b"
|
|
},
|
|
"keyDer" : "307a301406072a8648ce3d020106092b240303020801010b036200042ac393f20c110e3f97065304397eae0e23187b2b6163dc66083e82aff568426843056aff8dc23eebce297f747830e21734c935671391c6efa8b46c5c37b3f84a82e429a7580feb9a1383b55c83a9398e8ecc7b15d699e63962329102a1576f2b",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABCrDk/IMEQ4/lwZTBDl+rg4jGHsr\nYWPcZgg+gq/1aEJoQwVq/43CPuvOKX90eDDiFzTJNWcTkcbvqLRsXDez+EqC5Cmn\nWA/rmhODtVyDqTmOjsx7FdaZ5jliMpECoVdvKw==\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-384",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1558,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3064023037e256872340da9dc884fd00daa14628372b4bedc0a8a09f9d7513521d3b803a78dc0edbab3c7dc2b2014baf7a9d210e02301ba4b4087973070cca9b957650177eeb41c557731596a966b0b7f68717d8e7b554afd07c2937c95403a90c3a05fa964b",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1559,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3063022f128c199dc27677f23feae28a9b28813cbc3b02fca493005a67c3126a705c49b982cb5817ee2c81161e80b738bbb512023073cb6d4547771d254be74348955bee979071358aa3afd62a5838179a0965465aec79bd6cbd9b8b2aa2c79bb88ab21592",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1560,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's on brainpoolP384t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3065023100818b0fd6ca0978a59cad3fa15e84db2896f39b2aa462f0583834fa4444d153fe61e0c93071ba96c5ffa7193f77b806f302301d2d6144172385f857db4b7e7e863962eacacdec034b4b4a9dd1af272604403f39f45a21948b30976e738e9e98fd9cee",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04727e75d63dceb1a84a7106d802e8eb34a204bc05353567a23ba8b6f54e50d2d8221c87fd8e5238a3374df958b3cf3e3f38c618c1cc8c5b9574b50e405d69121837f78918506ea9cc14f1492eb66c9e1c4e27f3cb00bb511d5dfdbea6f817a87bfd81de2955fa032f52873f799169cc445cb0391e46e57179ef84d50c85db5c97",
|
|
"wx" : "727e75d63dceb1a84a7106d802e8eb34a204bc05353567a23ba8b6f54e50d2d8221c87fd8e5238a3374df958b3cf3e3f38c618c1cc8c5b9574b50e405d691218",
|
|
"wy" : "37f78918506ea9cc14f1492eb66c9e1c4e27f3cb00bb511d5dfdbea6f817a87bfd81de2955fa032f52873f799169cc445cb0391e46e57179ef84d50c85db5c97"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d0381820004727e75d63dceb1a84a7106d802e8eb34a204bc05353567a23ba8b6f54e50d2d8221c87fd8e5238a3374df958b3cf3e3f38c618c1cc8c5b9574b50e405d69121837f78918506ea9cc14f1492eb66c9e1c4e27f3cb00bb511d5dfdbea6f817a87bfd81de2955fa032f52873f799169cc445cb0391e46e57179ef84d50c85db5c97",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEcn511j3OsahKcQbYAujrNKIE\nvAU1NWeiO6i29U5Q0tgiHIf9jlI4ozdN+Vizzz4/OMYYwcyMW5V0tQ5AXWkSGDf3\niRhQbqnMFPFJLrZsnhxOJ/PLALtRHV39vqb4F6h7/YHeKVX6Ay9Shz95kWnMRFyw\nOR5G5XF574TVDIXbXJc=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1561,
|
|
"comment" : "y-coordinate of the public key is small on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402405e1bf4b1debacba4725fc3cc8214534de5f6e592645b60f4c4a1dd2260d3357d8fb2ada7f72a48346a7e34395a6a181c694048ae8258f1cb3b6f63f4932829eb02405e3df0beee22fa96d4655833862f73b52f12e4c4c7d818b21846effb39d6f09fc35b2d0fac8f5cb3c4051ff45f5305e93b24138a0f95fad2fef1c10cd1dcf2cb",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1562,
|
|
"comment" : "y-coordinate of the public key is small on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818502410080400bee9a342f3afba2dbb029235ad511aedb30960c53bad670460b38304d7cbd706ff98f1296cb7e746f8ca3a43937a5cd035a00c63868001fa429b491bd8e02405c66941edcda56228edce77373a7b9dcdd464ed18075e7da1427911778784f8017bef6f18751cba12355bd90ba63b8d31ea373387f36494e3642008082d349d1",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1563,
|
|
"comment" : "y-coordinate of the public key is small on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402404768dfddae4cb83566f2c3a9340091c2608e0e270a4b3f48ded7c75b4aa15ab65cb050cfdb312c32bfaa7759869c9c0ce27f6cdf1fb584379f6398c95ebf864402407e1a3aacd8d603faecf87902147b67435d992ee9e543f934dd4c40d8a12cd1e10366d0743d7862b9c8ba8b6816639c3509b5caa2a91533c0af50ece2fd2c530c",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "04727e75d63dceb1a84a7106d802e8eb34a204bc05353567a23ba8b6f54e50d2d8221c87fd8e5238a3374df958b3cf3e3f38c618c1cc8c5b9574b50e405d69121872e614a08b7b1abf2ae39d7f7d5d5deb7d0899e8b30e80f17865de23781b5ff57fcbbcd745cc65135c4661b15539b4a1cbd1c610e69d550b39258b49d25eec5c",
|
|
"wx" : "727e75d63dceb1a84a7106d802e8eb34a204bc05353567a23ba8b6f54e50d2d8221c87fd8e5238a3374df958b3cf3e3f38c618c1cc8c5b9574b50e405d691218",
|
|
"wy" : "72e614a08b7b1abf2ae39d7f7d5d5deb7d0899e8b30e80f17865de23781b5ff57fcbbcd745cc65135c4661b15539b4a1cbd1c610e69d550b39258b49d25eec5c"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d0381820004727e75d63dceb1a84a7106d802e8eb34a204bc05353567a23ba8b6f54e50d2d8221c87fd8e5238a3374df958b3cf3e3f38c618c1cc8c5b9574b50e405d69121872e614a08b7b1abf2ae39d7f7d5d5deb7d0899e8b30e80f17865de23781b5ff57fcbbcd745cc65135c4661b15539b4a1cbd1c610e69d550b39258b49d25eec5c",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEcn511j3OsahKcQbYAujrNKIE\nvAU1NWeiO6i29U5Q0tgiHIf9jlI4ozdN+Vizzz4/OMYYwcyMW5V0tQ5AXWkSGHLm\nFKCLexq/KuOdf31dXet9CJnosw6A8Xhl3iN4G1/1f8u810XMZRNcRmGxVTm0ocvR\nxhDmnVULOSWLSdJe7Fw=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1564,
|
|
"comment" : "y-coordinate of the public key is large on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308184024027d9c6c4db31aff288fa4e40159d6ee18c98139427484796f1f8745c9827dfc08d393abe144df6b7c12d48971fdd284b81e6e10860359ef71473b9e6bb84cb1e024007a0420c8a9b26911b63626540a85f60aa277afdef9990fc8dc1d3f1f2c5a927e1e4a29d81a701b48b366f000f962614899cbf193826ca8de4a425538de5ac62",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1565,
|
|
"comment" : "y-coordinate of the public key is large on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308184024049542eec3b96c476b59b2b94d5fc7ee08fd2a1b1e732e6609098ab2a7f250452fbc1057a6d3feccbcaeb00468b26222eb48065fcaad7647681823860451e1e91024037db336dee1e45d9ace550053511c9c3755657e78eca108d3dfd1e68fe83da626b8dacbb19f0ee232b0f8bfe8ddbe7d5e98b7a2eccd03f375d164ce828631896",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1566,
|
|
"comment" : "y-coordinate of the public key is large on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402404f90ceb76bc72f0cca10705d3badab6caa6019ef6bfe7de1b75951d517d2b16168515bf305f0006292e4900598256141e45c19077fa447dd5f32daa62c25081502406712a784102802821e9708e349d03a88297b374ef81a4edc35016524cd2a22afea7b8b3171de60ac1b3882533650586dcad338ea48231486e10e3120ce3d2a59",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "040518ff14ba05188abed0a8c88db0f097b5660aac57e9a3cdbb9c833e2a7f9f613e49956b53a635952e29818e4a8015cb6a150cede636c2558f2d3602483963b99ed9fe842f3ed418462c63e266944ca2747e15bd8f52844d6a1ce9815210421206805c6ed792356ec57d79fa3e36fff23e2fc6370c67bc51d3f8b555c9048d6d",
|
|
"wx" : "0518ff14ba05188abed0a8c88db0f097b5660aac57e9a3cdbb9c833e2a7f9f613e49956b53a635952e29818e4a8015cb6a150cede636c2558f2d3602483963b9",
|
|
"wy" : "009ed9fe842f3ed418462c63e266944ca2747e15bd8f52844d6a1ce9815210421206805c6ed792356ec57d79fa3e36fff23e2fc6370c67bc51d3f8b555c9048d6d"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d03818200040518ff14ba05188abed0a8c88db0f097b5660aac57e9a3cdbb9c833e2a7f9f613e49956b53a635952e29818e4a8015cb6a150cede636c2558f2d3602483963b99ed9fe842f3ed418462c63e266944ca2747e15bd8f52844d6a1ce9815210421206805c6ed792356ec57d79fa3e36fff23e2fc6370c67bc51d3f8b555c9048d6d",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEBRj/FLoFGIq+0KjIjbDwl7Vm\nCqxX6aPNu5yDPip/n2E+SZVrU6Y1lS4pgY5KgBXLahUM7eY2wlWPLTYCSDljuZ7Z\n/oQvPtQYRixj4maUTKJ0fhW9j1KETWoc6YFSEEISBoBcbteSNW7FfXn6Pjb/8j4v\nxjcMZ7xR0/i1VckEjW0=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1567,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "3081850240459e3e6e671a6c342d585db689043d32a494ce0039ee71ac67ed6ec0861908ebae6b2d6e4a67caa7a8f0576a49889a4a63d4b0b8aa8845c9cf785b49412a7071024100a5edd7abfce9d4413b22289397785b3d84b2c0d3719409255bb7128268e0bcd37d928bea5486bf56ffe259c7ec9f50b878e0155d73e3bde5cffe55e612f8d7b8",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1568,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402401b2f7ea40960e37e28b556b7e446c4641e2f3d8a829dcc4a349553e42cf9ce6272dc9cdcda013e3981cb73b10d46321c80501d6a34ad7fd959a0c78f891f33f002407f195b7696edfc7687ff0126eaba13dad1e19563e8d395af32db3d6a7b4e82f28004501d92b7537da397845b7aa398a11051052e52264bd8cbcba9987ec6742b",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1569,
|
|
"comment" : "x-coordinate of the public key has many trailing 1's on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402401b5c1d2b2b06591a1fa516cffa9c8a57cf1fffc22cecb7249281670bc23883a68553e0caf1edd9f1703a25b74e0000a37e32e6cc3576939f458c3dd5c4dbcc9c02404b23d7ed7f8a6b7ba7d22aefa8fde030ecb3f2fed4a5f26f12d59a29d63cdd0ec03fae557d141c7b0e8712c306b0eebbd0cab27696012062622bb180043034ba",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "043f89e787b4d5d2599624513530e750ab3c5957dc9aa0e7b08a3e25356818e2037d062f336d4eed417c91bcb11b54b57d54a4f02a72fb74262f742cc6f34044013a448b8e2d0d5a7c5b4f1b9f5b701a9d21ff55e3678ca119b6d7c511ba0aef89f31aeb195db00f248359aee924e7c860b76845f6512a2a4aadc1287a15095220",
|
|
"wx" : "3f89e787b4d5d2599624513530e750ab3c5957dc9aa0e7b08a3e25356818e2037d062f336d4eed417c91bcb11b54b57d54a4f02a72fb74262f742cc6f3404401",
|
|
"wy" : "3a448b8e2d0d5a7c5b4f1b9f5b701a9d21ff55e3678ca119b6d7c511ba0aef89f31aeb195db00f248359aee924e7c860b76845f6512a2a4aadc1287a15095220"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d03818200043f89e787b4d5d2599624513530e750ab3c5957dc9aa0e7b08a3e25356818e2037d062f336d4eed417c91bcb11b54b57d54a4f02a72fb74262f742cc6f34044013a448b8e2d0d5a7c5b4f1b9f5b701a9d21ff55e3678ca119b6d7c511ba0aef89f31aeb195db00f248359aee924e7c860b76845f6512a2a4aadc1287a15095220",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEP4nnh7TV0lmWJFE1MOdQqzxZ\nV9yaoOewij4lNWgY4gN9Bi8zbU7tQXyRvLEbVLV9VKTwKnL7dCYvdCzG80BEATpE\ni44tDVp8W08bn1twGp0h/1XjZ4yhGbbXxRG6Cu+J8xrrGV2wDySDWa7pJOfIYLdo\nRfZRKipKrcEoehUJUiA=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1570,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308186024100a952847acf213c86e231316d8f9130f7cbdf7f3952307a577076342d13939b4ab5a1313b34abb89204d3fd1f873885fffa683c5a493e5461c7f1400af86ae7fe0241009a65a8a4150de593b29642b988b2ec2e23e15e156ecf0af5fde2fbd73208f69f2506d141e0b47c0e1f2fa09ef26b389a6bd2b0230930a16fd119767e382724b5",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1571,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308185024051bfb80aae30262a67bf0771a6b8d195e59aa04e87bd060fe5a9bd56d35385a5fc3da5dfc3ae8c67dbd408184482855e3563dedee72a21b60fafd73819aa837c024100807f0d69385467ad6cd8a44d482ca3b6e18f7b352ef19a2bc980500b6d59045f0d6f7ab7e414c50d2b68d7f6e6c01d3e8353cdfd475f249b31842fe59955f414",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1572,
|
|
"comment" : "y-coordinate of the public key has many trailing 0's on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402404e8711b00de355f14c8eb91959c13c77f9155754765f10f2aaa8fdad6a14c6a4e62c5ed48a9d8ca403c902db0c2c0735426b33e67828ac32ae19b84e6598681902407d104ae5e5d0da26cb427d7951d40df429b4205086e633b800d7d7b8bde48a9bec4e43ddeb4226192b5c9b30ffa3efa7d2385ab28a190c165fb2a2c58572c2a2",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"key" : {
|
|
"curve" : "brainpoolP512r1",
|
|
"keySize" : 512,
|
|
"type" : "EcPublicKey",
|
|
"uncompressed" : "047860a4743bb48e7793c7f1416fbac6ca0b538210d743f24976af3efda97f28bc95913401ec4ca5e744a23d1a552653ff110ec8421b3de531f3bacda07bfb09d603662f2f2475bbf5e20da48b50169d289c89c54ed0f97bbbc7f38016f1a955cb74c52727ef802055ea090fe1a49be58ddc6083bca3f7c02ff644775cd0027f06",
|
|
"wx" : "7860a4743bb48e7793c7f1416fbac6ca0b538210d743f24976af3efda97f28bc95913401ec4ca5e744a23d1a552653ff110ec8421b3de531f3bacda07bfb09d6",
|
|
"wy" : "03662f2f2475bbf5e20da48b50169d289c89c54ed0f97bbbc7f38016f1a955cb74c52727ef802055ea090fe1a49be58ddc6083bca3f7c02ff644775cd0027f06"
|
|
},
|
|
"keyDer" : "30819b301406072a8648ce3d020106092b240303020801010d03818200047860a4743bb48e7793c7f1416fbac6ca0b538210d743f24976af3efda97f28bc95913401ec4ca5e744a23d1a552653ff110ec8421b3de531f3bacda07bfb09d603662f2f2475bbf5e20da48b50169d289c89c54ed0f97bbbc7f38016f1a955cb74c52727ef802055ea090fe1a49be58ddc6083bca3f7c02ff644775cd0027f06",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEeGCkdDu0jneTx/FBb7rGygtT\nghDXQ/JJdq8+/al/KLyVkTQB7Eyl50SiPRpVJlP/EQ7IQhs95THzus2ge/sJ1gNm\nLy8kdbv14g2ki1AWnSicicVO0Pl7u8fzgBbxqVXLdMUnJ++AIFXqCQ/hpJvljdxg\ng7yj98Av9kR3XNACfwY=\n-----END PUBLIC KEY-----",
|
|
"sha" : "SHA-512",
|
|
"type" : "EcdsaVerify",
|
|
"tests" : [
|
|
{
|
|
"tcId" : 1573,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "30818402404cd61754211d222371e552578ff705cc819a2f9fb2729f05d848caabf44a31fda1bd038f1b87efd28a8ce53222fdfec18d5929df926df27c2c7e7360bc5c0c7002405ce94c851db1807dc79dcc087c0830d70a0069cf52baffaf347aefa1ddba77f6f770c1483fdde38f5d74bdb32372e12fee843efff0f2dc9344ca1e3b26b9b051",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1574,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308185024048b4bde7befb1b1cad50cee6233cbf32812860c81d7ad5b0e9d6377202bcd34827c534da0ac9646ae0154689e38c608894bb3126e1025f69c824c69ab821274a0241008369f5840f776668ebb435b33be05dce4adfabb8860ccc900d07db006a50195fd4de98632192fbe7319cedff26aa8682cf7bf5f1c02e58b9c163236103d9b314",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
},
|
|
{
|
|
"tcId" : 1575,
|
|
"comment" : "y-coordinate of the public key has many trailing 1's on brainpoolP512t1",
|
|
"msg" : "4d657373616765",
|
|
"sig" : "308185024019524b15cf4ecb400b938ef5f752b86ec8f07c5903da5dba9c91ab7965b1223a8e262bef8cca8973ed98797f37a35e1c5999cf203e610ef773c6aa2786bba06402410098cf7526f5a24a0e2f22f909f8190b13130451b15dd6774bdea9d929342d924bc7eba1df89919c1b9aee8d09203606d10cebff89904cb7e71a82d8972d755306",
|
|
"result" : "valid",
|
|
"flags" : [
|
|
"GroupIsomorphism"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|