aws-crt
Version:
NodeJS/browser bindings to the aws-c-* libraries
1,186 lines • 385 kB
JSON
{
"algorithm" : "ECDSA",
"generatorVersion" : "0.8r12",
"numberOfTests" : 362,
"header" : [
"Test vectors of type EcdsaVerify are meant for the verification",
"of IEEE P1363 encoded ECDSA signatures."
],
"notes" : {
"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.",
"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.",
"SigSize" : "The size of the signature should always be twice the number of bytes of the size of the order. But some libraries accept signatures with less bytes.",
"WeakHash" : "The security strength of the hash function used in this signature is weaker than then 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_p1363_verify_schema.json",
"testGroups" : [
{
"jwk" : {
"crv" : "P-256",
"kid" : "none",
"kty" : "EC",
"x" : "KSexBRK64-3c_kZ4KBKLrSkDJpkZ9whgacjE32xzKDg",
"y" : "x3h5ZOqsAOWSH7FJimD0YGdms9loUAFVjRqXTnNBUT4"
},
"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" : "EcdsaP1363Verify",
"tests" : [
{
"tcId" : 1,
"comment" : "signature malleability",
"msg" : "313233343030",
"sig" : "2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e184cd60b855d442f5b3c7b11eb6c4e0ae7525fe710fab9aa7c77a67f79e6fadd76",
"result" : "valid",
"flags" : []
},
{
"tcId" : 2,
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
"msg" : "313233343030",
"sig" : "012ba3a8bd6b94d5ed80a6d9d1190a436ebccc0833490686deac8635bcb9bf536900b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 3,
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
"msg" : "313233343030",
"sig" : "d45c5740946b2a147f59262ee6f5bc90bd01ed280528b62b3aed5fc93f06f739b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 4,
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
"msg" : "313233343030",
"sig" : "012ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1800b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 5,
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
"msg" : "313233343030",
"sig" : "d45c5741946b2a137f59262ee6f5bc91001af27a5e1117a64733950642a3d1e8b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 6,
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
"msg" : "313233343030",
"sig" : "002ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1801b329f478a2bbd0a6c384ee1493b1f518276e0e4a5375928d6fcd160c11cb6d2c",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 7,
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
"msg" : "313233343030",
"sig" : "002ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1801b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 8,
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group",
"msg" : "313233343030",
"sig" : "2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e184cd60b865d442f5a3c7b11eb6c4e0ae79578ec6353a20bf783ecb4b6ea97b825",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 9,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 10,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 11,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "0000000000000000000000000000000000000000000000000000000000000000ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 12,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "0000000000000000000000000000000000000000000000000000000000000000ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 13,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "0000000000000000000000000000000000000000000000000000000000000000ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 14,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "0000000000000000000000000000000000000000000000000000000000000000ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 15,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "0000000000000000000000000000000000000000000000000000000000000000ffffffff00000001000000000000000000000001000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 16,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 17,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 18,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "0000000000000000000000000000000000000000000000000000000000000001ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 19,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "0000000000000000000000000000000000000000000000000000000000000001ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 20,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "0000000000000000000000000000000000000000000000000000000000000001ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 21,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "0000000000000000000000000000000000000000000000000000000000000001ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 22,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "0000000000000000000000000000000000000000000000000000000000000001ffffffff00000001000000000000000000000001000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 23,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510000000000000000000000000000000000000000000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 24,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510000000000000000000000000000000000000000000000000000000000000001",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 25,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 26,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 27,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 28,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 29,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551ffffffff00000001000000000000000000000001000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 30,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325500000000000000000000000000000000000000000000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 31,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325500000000000000000000000000000000000000000000000000000000000000001",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 32,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 33,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 34,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 35,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 36,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550ffffffff00000001000000000000000000000001000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 37,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325520000000000000000000000000000000000000000000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 38,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325520000000000000000000000000000000000000000000000000000000000000001",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 39,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 40,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 41,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 42,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 43,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552ffffffff00000001000000000000000000000001000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 44,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 45,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000001",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 46,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffffffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 47,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffffffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 48,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffffffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 49,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffffffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 50,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffffffffffff00000001000000000000000000000001000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 51,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff000000010000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 52,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff000000010000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000001",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 53,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000001000000000000000000000001000000000000000000000000ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 54,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000001000000000000000000000001000000000000000000000000ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 55,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000001000000000000000000000001000000000000000000000000ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 56,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000001000000000000000000000001000000000000000000000000ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 57,
"comment" : "Signature with special case values for r and s",
"msg" : "313233343030",
"sig" : "ffffffff00000001000000000000000000000001000000000000000000000000ffffffff00000001000000000000000000000001000000000000000000000000",
"result" : "invalid",
"flags" : [
"EdgeCase"
]
},
{
"tcId" : 58,
"comment" : "Edge case for Shamir multiplication",
"msg" : "3639383139",
"sig" : "64a1aab5000d0e804f3e2fc02bdee9be8ff312334e2ba16d11547c97711c898e6af015971cc30be6d1a206d4e013e0997772a2f91d73286ffd683b9bb2cf4f1b",
"result" : "valid",
"flags" : []
},
{
"tcId" : 59,
"comment" : "special case hash",
"msg" : "343236343739373234",
"sig" : "16aea964a2f6506d6f78c81c91fc7e8bded7d397738448de1e19a0ec580bf266252cd762130c6667cfe8b7bc47d27d78391e8e80c578d1cd38c3ff033be928e9",
"result" : "valid",
"flags" : []
},
{
"tcId" : 60,
"comment" : "special case hash",
"msg" : "37313338363834383931",
"sig" : "9cc98be2347d469bf476dfc26b9b733df2d26d6ef524af917c665baccb23c882093496459effe2d8d70727b82462f61d0ec1b7847929d10ea631dacb16b56c32",
"result" : "valid",
"flags" : []
},
{
"tcId" : 61,
"comment" : "special case hash",
"msg" : "3130333539333331363638",
"sig" : "73b3c90ecd390028058164524dde892703dce3dea0d53fa8093999f07ab8aa432f67b0b8e20636695bb7d8bf0a651c802ed25a395387b5f4188c0c4075c88634",
"result" : "valid",
"flags" : []
},
{
"tcId" : 62,
"comment" : "special case hash",
"msg" : "33393439343031323135",
"sig" : "bfab3098252847b328fadf2f89b95c851a7f0eb390763378f37e90119d5ba3ddbdd64e234e832b1067c2d058ccb44d978195ccebb65c2aaf1e2da9b8b4987e3b",
"result" : "valid",
"flags" : []
},
{
"tcId" : 63,
"comment" : "special case hash",
"msg" : "31333434323933303739",
"sig" : "204a9784074b246d8bf8bf04a4ceb1c1f1c9aaab168b1596d17093c5cd21d2cd51cce41670636783dc06a759c8847868a406c2506fe17975582fe648d1d88b52",
"result" : "valid",
"flags" : []
},
{
"tcId" : 64,
"comment" : "special case hash",
"msg" : "33373036323131373132",
"sig" : "ed66dc34f551ac82f63d4aa4f81fe2cb0031a91d1314f835027bca0f1ceeaa0399ca123aa09b13cd194a422e18d5fda167623c3f6e5d4d6abb8953d67c0c48c7",
"result" : "valid",
"flags" : []
},
{
"tcId" : 65,
"comment" : "special case hash",
"msg" : "333433363838373132",
"sig" : "060b700bef665c68899d44f2356a578d126b062023ccc3c056bf0f60a237012b8d186c027832965f4fcc78a3366ca95dedbb410cbef3f26d6be5d581c11d3610",
"result" : "valid",
"flags" : []
},
{
"tcId" : 66,
"comment" : "special case hash",
"msg" : "31333531353330333730",
"sig" : "9f6adfe8d5eb5b2c24d7aa7934b6cf29c93ea76cd313c9132bb0c8e38c96831db26a9c9e40e55ee0890c944cf271756c906a33e66b5bd15e051593883b5e9902",
"result" : "valid",
"flags" : []
},
{
"tcId" : 67,
"comment" : "special case hash",
"msg" : "36353533323033313236",
"sig" : "a1af03ca91677b673ad2f33615e56174a1abf6da168cebfa8868f4ba273f16b720aa73ffe48afa6435cd258b173d0c2377d69022e7d098d75caf24c8c5e06b1c",
"result" : "valid",
"flags" : []
},
{
"tcId" : 68,
"comment" : "special case hash",
"msg" : "31353634333436363033",
"sig" : "fdc70602766f8eed11a6c99a71c973d5659355507b843da6e327a28c11893db93df5349688a085b137b1eacf456a9e9e0f6d15ec0078ca60a7f83f2b10d21350",
"result" : "valid",
"flags" : []
},
{
"tcId" : 69,
"comment" : "special case hash",
"msg" : "34343239353339313137",
"sig" : "b516a314f2fce530d6537f6a6c49966c23456f63c643cf8e0dc738f7b876e675d39ffd033c92b6d717dd536fbc5efdf1967c4bd80954479ba66b0120cd16fff2",
"result" : "valid",
"flags" : []
},
{
"tcId" : 70,
"comment" : "special case hash",
"msg" : "3130393533323631333531",
"sig" : "3b2cbf046eac45842ecb7984d475831582717bebb6492fd0a485c101e29ff0a84c9b7b47a98b0f82de512bc9313aaf51701099cac5f76e68c8595fc1c1d99258",
"result" : "valid",
"flags" : []
},
{
"tcId" : 71,
"comment" : "special case hash",
"msg" : "35393837333530303431",
"sig" : "30c87d35e636f540841f14af54e2f9edd79d0312cfa1ab656c3fb15bfde48dcf47c15a5a82d24b75c85a692bd6ecafeb71409ede23efd08e0db9abf6340677ed",
"result" : "valid",
"flags" : []
},
{
"tcId" : 72,
"comment" : "special case hash",
"msg" : "33343633303036383738",
"sig" : "38686ff0fda2cef6bc43b58cfe6647b9e2e8176d168dec3c68ff262113760f52067ec3b651f422669601662167fa8717e976e2db5e6a4cf7c2ddabb3fde9d67d",
"result" : "valid",
"flags" : []
},
{
"tcId" : 73,
"comment" : "special case hash",
"msg" : "39383137333230323837",
"sig" : "44a3e23bf314f2b344fc25c7f2de8b6af3e17d27f5ee844b225985ab6e2775cf2d48e223205e98041ddc87be532abed584f0411f5729500493c9cc3f4dd15e86",
"result" : "valid",
"flags" : []
},
{
"tcId" : 74,
"comment" : "special case hash",
"msg" : "33323232303431303436",
"sig" : "2ded5b7ec8e90e7bf11f967a3d95110c41b99db3b5aa8d330eb9d638781688e97d5792c53628155e1bfc46fb1a67e3088de049c328ae1f44ec69238a009808f9",
"result" : "valid",
"flags" : []
},
{
"tcId" : 75,
"comment" : "special case hash",
"msg" : "36363636333037313034",
"sig" : "bdae7bcb580bf335efd3bc3d31870f923eaccafcd40ec2f605976f15137d8b8ff6dfa12f19e525270b0106eecfe257499f373a4fb318994f24838122ce7ec3c7",
"result" : "valid",
"flags" : []
},
{
"tcId" : 76,
"comment" : "special case hash",
"msg" : "31303335393531383938",
"sig" : "50f9c4f0cd6940e162720957ffff513799209b78596956d21ece251c2401f1c6d7033a0a787d338e889defaaabb106b95a4355e411a59c32aa5167dfab244726",
"result" : "valid",
"flags" : []
},
{
"tcId" : 77,
"comment" : "special case hash",
"msg" : "31383436353937313935",
"sig" : "f612820687604fa01906066a378d67540982e29575d019aabe90924ead5c860d3f9367702dd7dd4f75ea98afd20e328a1a99f4857b316525328230ce294b0fef",
"result" : "valid",
"flags" : []
},
{
"tcId" : 78,
"comment" : "special case hash",
"msg" : "33313336303436313839",
"sig" : "9505e407657d6e8bc93db5da7aa6f5081f61980c1949f56b0f2f507da5782a7ac60d31904e3669738ffbeccab6c3656c08e0ed5cb92b3cfa5e7f71784f9c5021",
"result" : "valid",
"flags" : []
},
{
"tcId" : 79,
"comment" : "special case hash",
"msg" : "32363633373834323534",
"sig" : "bbd16fbbb656b6d0d83e6a7787cd691b08735aed371732723e1c68a40404517d9d8e35dba96028b7787d91315be675877d2d097be5e8ee34560e3e7fd25c0f00",
"result" : "valid",
"flags" : []
},
{
"tcId" : 80,
"comment" : "special case hash",
"msg" : "31363532313030353234",
"sig" : "2ec9760122db98fd06ea76848d35a6da442d2ceef7559a30cf57c61e92df327e7ab271da90859479701fccf86e462ee3393fb6814c27b760c4963625c0a19878",
"result" : "valid",
"flags" : []
},
{
"tcId" : 81,
"comment" : "special case hash",
"msg" : "35373438303831363936",
"sig" : "54e76b7683b6650baa6a7fc49b1c51eed9ba9dd463221f7a4f1005a89fe00c592ea076886c773eb937ec1cc8374b7915cfd11b1c1ae1166152f2f7806a31c8fd",
"result" : "valid",
"flags" : []
},
{
"tcId" : 82,
"comment" : "special case hash",
"msg" : "36333433393133343638",
"sig" : "5291deaf24659ffbbce6e3c26f6021097a74abdbb69be4fb10419c0c496c946665d6fcf336d27cc7cdb982bb4e4ecef5827f84742f29f10abf83469270a03dc3",
"result" : "valid",
"flags" : []
},
{
"tcId" : 83,
"comment" : "special case hash",
"msg" : "31353431313033353938",
"sig" : "207a3241812d75d947419dc58efb05e8003b33fc17eb50f9d15166a88479f107cdee749f2e492b213ce80b32d0574f62f1c5d70793cf55e382d5caadf7592767",
"result" : "valid",
"flags" : []
},
{
"tcId" : 84,
"comment" : "special case hash",
"msg" : "3130343738353830313238",
"sig" : "6554e49f82a855204328ac94913bf01bbe84437a355a0a37c0dee3cf81aa7728aea00de2507ddaf5c94e1e126980d3df16250a2eaebc8be486effe7f22b4f929",
"result" : "valid",
"flags" : []
},
{
"tcId" : 85,
"comment" : "special case hash",
"msg" : "3130353336323835353638",
"sig" : "a54c5062648339d2bff06f71c88216c26c6e19b4d80a8c602990ac82707efdfce99bbe7fcfafae3e69fd016777517aa01056317f467ad09aff09be73c9731b0d",
"result" : "valid",
"flags" : []
},
{
"tcId" : 86,
"comment" : "special case hash",
"msg" : "393533393034313035",
"sig" : "975bd7157a8d363b309f1f444012b1a1d23096593133e71b4ca8b059cff37eaf7faa7a28b1c822baa241793f2abc930bd4c69840fe090f2aacc46786bf919622",
"result" : "valid",
"flags" : []
},
{
"tcId" : 87,
"comment" : "special case hash",
"msg" : "393738383438303339",
"sig" : "5694a6f84b8f875c276afd2ebcfe4d61de9ec90305afb1357b95b3e0da43885e0dffad9ffd0b757d8051dec02ebdf70d8ee2dc5c7870c0823b6ccc7c679cbaa4",
"result" : "valid",
"flags" : []
},
{
"tcId" : 88,
"comment" : "special case hash",
"msg" : "33363130363732343432",
"sig" : "a0c30e8026fdb2b4b4968a27d16a6d08f7098f1a98d21620d7454ba9790f1ba65e470453a8a399f15baf463f9deceb53acc5ca64459149688bd2760c65424339",
"result" : "valid",
"flags" : []
},
{
"tcId" : 89,
"comment" : "special case hash",
"msg" : "31303534323430373035",
"sig" : "614ea84acf736527dd73602cd4bb4eea1dfebebd5ad8aca52aa0228cf7b99a88737cc85f5f2d2f60d1b8183f3ed490e4de14368e96a9482c2a4dd193195c902f",
"result" : "valid",
"flags" : []
},
{
"tcId" : 90,
"comment" : "special case hash",
"msg" : "35313734343438313937",
"sig" : "bead6734ebe44b810d3fb2ea00b1732945377338febfd439a8d74dfbd0f942fa6bb18eae36616a7d3cad35919fd21a8af4bbe7a10f73b3e036a46b103ef56e2a",
"result" : "valid",
"flags" : []
},
{
"tcId" : 91,
"comment" : "special case hash",
"msg" : "31393637353631323531",
"sig" : "499625479e161dacd4db9d9ce64854c98d922cbf212703e9654fae182df9bad242c177cf37b8193a0131108d97819edd9439936028864ac195b64fca76d9d693",
"result" : "valid",
"flags" : []
},
{
"tcId" : 92,
"comment" : "special case hash",
"msg" : "33343437323533333433",
"sig" : "08f16b8093a8fb4d66a2c8065b541b3d31e3bfe694f6b89c50fb1aaa6ff6c9b29d6455e2d5d1779748573b611cb95d4a21f967410399b39b535ba3e5af81ca2e",
"result" : "valid",
"flags" : []
},
{
"tcId" : 93,
"comment" : "special case hash",
"msg" : "333638323634333138",
"sig" : "be26231b6191658a19dd72ddb99ed8f8c579b6938d19bce8eed8dc2b338cb5f8e1d9a32ee56cffed37f0f22b2dcb57d5c943c14f79694a03b9c5e96952575c89",
"result" : "valid",
"flags" : []
},
{
"tcId" : 94,
"comment" : "special case hash",
"msg" : "33323631313938363038",
"sig" : "15e76880898316b16204ac920a02d58045f36a229d4aa4f812638c455abe0443e74d357d3fcb5c8c5337bd6aba4178b455ca10e226e13f9638196506a1939123",
"result" : "valid",
"flags" : []
},
{
"tcId" : 95,
"comment" : "special case hash",
"msg" : "39363738373831303934",
"sig" : "352ecb53f8df2c503a45f9846fc28d1d31e6307d3ddbffc1132315cc07f16dad1348dfa9c482c558e1d05c5242ca1c39436726ecd28258b1899792887dd0a3c6",
"result" : "valid",
"flags" : []
},
{
"tcId" : 96,
"comment" : "special case hash",
"msg" : "34393538383233383233",
"sig" : "4a40801a7e606ba78a0da9882ab23c7677b8642349ed3d652c5bfa5f2a9558fb3a49b64848d682ef7f605f2832f7384bdc24ed2925825bf8ea77dc5981725782",
"result" : "valid",
"flags" : []
},
{
"tcId" : 97,
"comment" : "special case hash",
"msg" : "383234363337383337",
"sig" : "eacc5e1a8304a74d2be412b078924b3bb3511bac855c05c9e5e9e44df3d61e967451cd8e18d6ed1885dd827714847f96ec4bb0ed4c36ce9808db8f714204f6d1",
"result" : "valid",
"flags" : []
},
{
"tcId" : 98,
"comment" : "special case hash",
"msg" : "3131303230383333373736",
"sig" : "2f7a5e9e5771d424f30f67fdab61e8ce4f8cd1214882adb65f7de94c31577052ac4e69808345809b44acb0b2bd889175fb75dd050c5a449ab9528f8f78daa10c",
"result" : "valid",
"flags" : []
},
{
"tcId" : 99,
"comment" : "special case hash",
"msg" : "313333383731363438",
"sig" : "ffcda40f792ce4d93e7e0f0e95e1a2147dddd7f6487621c30a03d710b330021979938b55f8a17f7ed7ba9ade8f2065a1fa77618f0b67add8d58c422c2453a49a",
"result" : "valid",
"flags" : []
},
{
"tcId" : 100,
"comment" : "special case hash",
"msg" : "333232313434313632",
"sig" : "81f2359c4faba6b53d3e8c8c3fcc16a948350f7ab3a588b28c17603a431e39a8cd6f6a5cc3b55ead0ff695d06c6860b509e46d99fccefb9f7f9e101857f74300",
"result" : "valid",
"flags" : []
},
{
"tcId" : 101,
"comment" : "special case hash",
"msg" : "3130363836363535353436",
"sig" : "dfc8bf520445cbb8ee1596fb073ea283ea130251a6fdffa5c3f5f2aaf75ca808048e33efce147c9dd92823640e338e68bfd7d0dc7a4905b3a7ac711e577e90e7",
"result" : "valid",
"flags" : []
},
{
"tcId" : 102,
"comment" : "special case hash",
"msg" : "3632313535323436",
"sig" : "ad019f74c6941d20efda70b46c53db166503a0e393e932f688227688ba6a576293320eb7ca0710255346bdbb3102cdcf7964ef2e0988e712bc05efe16c199345",
"result" : "valid",
"flags" : []
},
{
"tcId" : 103,
"comment" : "special case hash",
"msg" : "37303330383138373734",
"sig" : "ac8096842e8add68c34e78ce11dd71e4b54316bd3ebf7fffdeb7bd5a3ebc1883f5ca2f4f23d674502d4caf85d187215d36e3ce9f0ce219709f21a3aac003b7a8",
"result" : "valid",
"flags" : []
},
{
"tcId" : 104,
"comment" : "special case hash",
"msg" : "35393234353233373434",
"sig" : "677b2d3a59b18a5ff939b70ea002250889ddcd7b7b9d776854b4943693fb92f76b4ba856ade7677bf30307b21f3ccda35d2f63aee81efd0bab6972cc0795db55",
"result" : "valid",
"flags" : []
},
{
"tcId" : 105,
"comment" : "special case hash",
"msg" : "31343935353836363231",
"sig" : "479e1ded14bcaed0379ba8e1b73d3115d84d31d4b7c30e1f05e1fc0d5957cfb0918f79e35b3d89487cf634a4f05b2e0c30857ca879f97c771e877027355b2443",
"result" : "valid",
"flags" : []
},
{
"tcId" : 106,
"comment" : "special case hash",
"msg" : "34303035333134343036",
"sig" : "43dfccd0edb9e280d9a58f01164d55c3d711e14b12ac5cf3b64840ead512a0a31dbe33fa8ba84533cd5c4934365b3442ca1174899b78ef9a3199f49584389772",
"result" : "valid",
"flags" : []
},
{
"tcId" : 107,
"comment" : "special case hash",
"msg" : "33303936343537353132",
"sig" : "5b09ab637bd4caf0f4c7c7e4bca592fea20e9087c259d26a38bb4085f0bbff1145b7eb467b6748af618e9d80d6fdcd6aa24964e5a13f885bca8101de08eb0d75",
"result" : "valid",
"flags" : []
},
{
"tcId" : 108,
"comment" : "special case hash",
"msg" : "32373834303235363230",
"sig" : "5e9b1c5a028070df5728c5c8af9b74e0667afa570a6cfa0114a5039ed15ee06fb1360907e2d9785ead362bb8d7bd661b6c29eeffd3c5037744edaeb9ad990c20",
"result" : "valid",
"flags" : []
},
{
"tcId" : 109,
"comment" : "special case hash",
"msg" : "32363138373837343138",
"sig" : "0671a0a85c2b72d54a2fb0990e34538b4890050f5a5712f6d1a7a5fb8578f32edb1846bab6b7361479ab9c3285ca41291808f27fd5bd4fdac720e5854713694c",
"result" : "valid",
"flags" : []
},
{
"tcId" : 110,
"comment" : "special case hash",
"msg" : "31363432363235323632",
"sig" : "7673f8526748446477dbbb0590a45492c5d7d69859d301abbaedb35b2095103a3dc70ddf9c6b524d886bed9e6af02e0e4dec0d417a414fed3807ef4422913d7c",
"result" : "valid",
"flags" : []
},
{
"tcId" : 111,
"comment" : "special case hash",
"msg" : "36383234313839343336",
"sig" : "7f085441070ecd2bb21285089ebb1aa6450d1a06c36d3ff39dfd657a796d12b5249712012029870a2459d18d47da9aa492a5e6cb4b2d8dafa9e4c5c54a2b9a8b",
"result" : "valid",
"flags" : []
},
{
"tcId" : 112,
"comment" : "special case hash",
"msg" : "343834323435343235",
"sig" : "914c67fb61dd1e27c867398ea7322d5ab76df04bc5aa6683a8e0f30a5d287348fa07474031481dda4953e3ac1959ee8cea7e66ec412b38d6c96d28f6d37304ea",
"result" : "valid",
"flags" : []
}
]
},
{
"jwk" : {
"crv" : "P-256",
"kid" : "none",
"kty" : "EC",
"x" : "1wXRb4CYfi2bGmlX0pziL-v30Q-lFRUxgkFcg2G6rKQ",
"y" : "sfwQXuXOgNUU7BI4vq4gN6b4NiVZNiDUYIGehoIWCSY"
},
"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" : "EcdsaP1363Verify",
"tests" : [
{
"tcId" : 113,
"comment" : "k*G has a large x-coordinate",
"msg" : "54657374",
"sig" : "000000000000000000000000000000004319055358e8617b0c46353d039cdaabffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e",
"result" : "valid",
"flags" : []
},
{
"tcId" : 114,
"comment" : "r too large",
"msg" : "54657374",
"sig" : "ffffffff00000001000000000000000000000000fffffffffffffffffffffffcffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e",
"result" : "invalid",
"flags" : []
}
]
},
{
"jwk" : {
"crv" : "P-256",
"kid" : "none",
"kty" : "EC",
"x" : "PNjS-B1pU7CETAnXtWDVJ80u9nBWiT6tr6UshQE4fVk",
"y" : "7kH9tNEEAs56DF47dHrfo6SQtiprdxkGiQNIXAu23C0"
},
"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" : "EcdsaP1363Verify",
"tests" : [
{
"tcId" : 115,
"comment" : "r,s are large",
"msg" : "54657374",
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254fffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e",
"result" : "valid",
"flags" : []
}
]
},
{
"jwk" : {
"crv" : "P-256",
"kid" : "none",
"kty" : "EC",
"x" : "gkDNge3ZHLaTYTNQjDkVEA6B8zLEVF1BGJtIEZaFE3g",
"y" : "4FsG5y1KG_-A6l21FKovk-pt1tnArie3g33EMvnOidk"
},
"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" : "EcdsaP1363Verify",
"tests" : [
{
"tcId" : 116,
"comment" : "r and s^-1 have a large Hamming weight",
"msg" : "54657374",
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd909135bdb6799286170f5ead2de4f6511453fe50914f3df2de54a36383df8dd4",
"result" : "valid",
"flags" : []
}
]
},
{
"jwk" : {
"crv" : "P-256",
"kid" : "none",
"kty" : "EC",
"x" : "sGKUc1Z0iw_BfxcExlqh3Kbhv-Z3l1b6YW2R6q0T3yw",
"y" : "CzjBfz0GcudAnPxZkqmf_xK4Sk-EMik7QxET8bL7V50"
},
"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" : "EcdsaP1363Verify",
"tests" : [
{
"tcId" : 117,
"comment" : "r and s^-1 have a large Hamming weight",
"msg" : "54657374",
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd27b4577ca009376f71303fd5dd227dcef5deb773ad5f5a84360644669ca249a5",
"result" : "valid",
"flags" : []
}
]
},
{
"jwk" : {
"crv" : "P-256",
"kid" : "none",
"kty" : "EC",
"x" : "SgPvn5LrJoyvpgEHJImlY4D6DcQxcddxKBOzoZoeteU",
"y" : "PiE-KKYIzpovShf9gwxmVAGKebPgJj2RqLqQYi328vA"
},
"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" : "EcdsaP1363Verify",
"