{ | |
"algorithm" : "ECDSA", | |
"generatorVersion" : "0.4.6", | |
"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." | |
}, | |
"numberOfTests" : 323, | |
"header" : [], | |
"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" : "0c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKSexBRK64+3c/kZ4KBKLrSkDJpkZ\n9whgacjE32xzKDjHeHlk6qwA5ZIfsUmKYPRgZ2az2WhQAVWNGpdOc0FRPg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 1, | |
"comment" : "signature malleability", | |
"msg" : "313233343030", | |
"sig" : "2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e184cd60b855d442f5b3c7b11eb6c4e0ae7525fe710fab9aa7c77a67f79e6fadd76", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 2, | |
"comment" : "random signature", | |
"msg" : "313233343030", | |
"sig" : "5c3b213fdd4a73f21a15af8177f4063e12dd916cab1e470cb57a5086ef9d0238955c31598545bbd622e3656b7741e62fe51b614679eef2dd4e865bf0d7fe7a17", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 3, | |
"comment" : "random signature", | |
"msg" : "313233343030", | |
"sig" : "3b0b177c7c2c4654427b1fab78cc0b27457e83c31677113980606bb79a3ade203cdecb3774d3c04086e91c8589805b2d75cdddfec2e39c31c2cc567b2e035b7c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 4, | |
"comment" : "random signature", | |
"msg" : "313233343030", | |
"sig" : "cc0be61b7622f3740ef9728a5b08ffecdbe24de790ba97aa5ba1aa9ae92792dc021643fe89acc11a71457f1110449b9beb37e1970cad877468c7456f903e8120", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 5, | |
"comment" : "random signature", | |
"msg" : "313233343030", | |
"sig" : "eaa7bf98b28c8362b93403574c2fe7382e6f180c52e33f611ba055aee14516c72429782ebe309d61bcee01ff1bea9f5b7682116e03d98620b0273e2f17d01c6e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 6, | |
"comment" : "random signature", | |
"msg" : "313233343030", | |
"sig" : "0fffdc35623e3e4169a28436dc73e85795efade1bf4e877f42cc5e333ee722042dda53533326f4707ddb2048543ce428bccd6d04be662d372b00c4e6b44f3611", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 7, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "012ba3a8bd6b94d5ed80a6d9d1190a436ebccc0833490686deac8635bcb9bf536900b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 8, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "d45c5740946b2a147f59262ee6f5bc90bd01ed280528b62b3aed5fc93f06f739b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 9, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "012ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1800b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 10, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "d45c5741946b2a137f59262ee6f5bc91001af27a5e1117a64733950642a3d1e8b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 11, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "002ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1801b329f478a2bbd0a6c384ee1493b1f518276e0e4a5375928d6fcd160c11cb6d2c", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 12, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "002ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1801b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 13, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e184cd60b865d442f5a3c7b11eb6c4e0ae79578ec6353a20bf783ecb4b6ea97b825", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 14, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 15, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 16, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000000ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 17, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000000ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 18, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000000ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 19, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000000ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 20, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000000ffffffff00000001000000000000000000000001000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 21, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 22, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 23, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 24, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 25, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 26, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 27, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001ffffffff00000001000000000000000000000001000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 28, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 29, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 30, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 31, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 32, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 33, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 34, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551ffffffff00000001000000000000000000000001000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 35, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325500000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 36, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325500000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 37, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 38, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 39, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 40, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 41, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550ffffffff00000001000000000000000000000001000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 42, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325520000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 43, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325520000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 44, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 45, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 46, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 47, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 48, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552ffffffff00000001000000000000000000000001000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 49, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 50, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 51, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffffffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 52, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffffffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 53, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffffffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 54, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffffffffffff00000001000000000000000000000000ffffffffffffffffffffffff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 55, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000001000000000000000000000000ffffffffffffffffffffffffffffffff00000001000000000000000000000001000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 56, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff000000010000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 57, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff000000010000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 58, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000001000000000000000000000001000000000000000000000000ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 59, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000001000000000000000000000001000000000000000000000000ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 60, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000001000000000000000000000001000000000000000000000000ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 61, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000001000000000000000000000001000000000000000000000000ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 62, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "ffffffff00000001000000000000000000000001000000000000000000000000ffffffff00000001000000000000000000000001000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 63, | |
"comment" : "Edge case for Shamir multiplication", | |
"msg" : "3639383139", | |
"sig" : "64a1aab5000d0e804f3e2fc02bdee9be8ff312334e2ba16d11547c97711c898e6af015971cc30be6d1a206d4e013e0997772a2f91d73286ffd683b9bb2cf4f1b", | |
"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" : "0d705d16f80987e2d9b1a6957d29ce22febf7d10fa515153182415c8361baaca4", | |
"wy" : "0b1fc105ee5ce80d514ec1238beae2037a6f83625593620d460819e8682160926" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d705d16f80987e2d9b1a6957d29ce22febf7d10fa515153182415c8361baaca4b1fc105ee5ce80d514ec1238beae2037a6f83625593620d460819e8682160926", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1wXRb4CYfi2bGmlX0pziL+v30Q+l\nFRUxgkFcg2G6rKSx/BBe5c6A1RTsEji+riA3pvg2JVk2INRggZ6GghYJJg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 64, | |
"comment" : "k*G has a large x-coordinate", | |
"msg" : "54657374", | |
"sig" : "000000000000000000000000000000004319055358e8617b0c46353d039cdaabffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 65, | |
"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" : "0ee41fdb4d10402ce7a0c5e3b747adfa3a490b62a6b7719068903485c0bb6dc2d" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043cd8d2f81d6953b0844c09d7b560d527cd2ef67056893eadafa52c8501387d59ee41fdb4d10402ce7a0c5e3b747adfa3a490b62a6b7719068903485c0bb6dc2d", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPNjS+B1pU7CETAnXtWDVJ80u9nBW\niT6tr6UshQE4fVnuQf200QQCznoMXjt0et+jpJC2Kmt3GQaJA0hcC7bcLQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 66, | |
"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" : "08240cd81edd91cb6936133508c3915100e81f332c4545d41189b481196851378", | |
"wy" : "0e05b06e72d4a1bff80ea5db514aa2f93ea6dd6d9c0ae27b7837dc432f9ce89d9" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048240cd81edd91cb6936133508c3915100e81f332c4545d41189b481196851378e05b06e72d4a1bff80ea5db514aa2f93ea6dd6d9c0ae27b7837dc432f9ce89d9", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgkDNge3ZHLaTYTNQjDkVEA6B8zLE\nVF1BGJtIEZaFE3jgWwbnLUob/4DqXbUUqi+T6m3W2cCuJ7eDfcQy+c6J2Q==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 67, | |
"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" : "0b062947356748b0fc17f1704c65aa1dca6e1bfe6779756fa616d91eaad13df2c", | |
"wy" : "0b38c17f3d0672e7409cfc5992a99fff12b84a4f8432293b431113f1b2fb579d" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004b062947356748b0fc17f1704c65aa1dca6e1bfe6779756fa616d91eaad13df2c0b38c17f3d0672e7409cfc5992a99fff12b84a4f8432293b431113f1b2fb579d", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsGKUc1Z0iw/BfxcExlqh3Kbhv+Z3\nl1b6YW2R6q0T3ywLOMF/PQZy50Cc/FmSqZ//ErhKT4QyKTtDERPxsvtXnQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 68, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 69, | |
"comment" : "small r and s", | |
"msg" : "54657374", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 70, | |
"comment" : "incorrect size of signature", | |
"msg" : "54657374", | |
"sig" : "0501", | |
"result" : "acceptable", | |
"flags" : [ | |
"SigSize" | |
] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "CRGUwcuhfzTihrSDNwFgakHO8mF3raiFC2AeofhZ5wE", | |
"y" : "JyQvzscIgodYQDzi_lAZg6eYTmIJ9Na5Xbmtd3Z_Ves" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 71, | |
"comment" : "small r and s", | |
"msg" : "54657374", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000003", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 72, | |
"comment" : "incorrect size of signature", | |
"msg" : "54657374", | |
"sig" : "0503", | |
"result" : "acceptable", | |
"flags" : [ | |
"SigSize" | |
] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "EDxuzO_1nnHqj1b-46SysUjoHCvb3TnBlYEsltz7Qac", | |
"y" : "IwOhk9xZG-FQuIPXcOxR67TrzosJBCwuyxbESNjle_U" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 73, | |
"comment" : "small r and s", | |
"msg" : "54657374", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000005", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 74, | |
"comment" : "incorrect size of signature", | |
"msg" : "54657374", | |
"sig" : "0505", | |
"result" : "acceptable", | |
"flags" : [ | |
"SigSize" | |
] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "O2a4Kf5gRji8sr_owiIovmc5DCARG9K0UUaJJ-h_tuo", | |
"y" : "vI5ZwAk2F1iydLosrTa1j95IWj7Qna3nZxL6npxKwhI" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "043b66b829fe604638bcb2bfe8c22228be67390c20111bd2b451468927e87fb6eabc8e59c009361758b274ba2cad36b58fde485a3ed09dade76712fa9e9c4ac212", | |
"wx" : "3b66b829fe604638bcb2bfe8c22228be67390c20111bd2b451468927e87fb6ea", | |
"wy" : "0bc8e59c009361758b274ba2cad36b58fde485a3ed09dade76712fa9e9c4ac212" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043b66b829fe604638bcb2bfe8c22228be67390c20111bd2b451468927e87fb6eabc8e59c009361758b274ba2cad36b58fde485a3ed09dade76712fa9e9c4ac212", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEO2a4Kf5gRji8sr/owiIovmc5DCAR\nG9K0UUaJJ+h/tuq8jlnACTYXWLJ0uiytNrWP3khaPtCdrednEvqenErCEg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 75, | |
"comment" : "small r and s", | |
"msg" : "54657374", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000006", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 76, | |
"comment" : "incorrect size of signature", | |
"msg" : "54657374", | |
"sig" : "0506", | |
"result" : "acceptable", | |
"flags" : [ | |
"SigSize" | |
] | |
}, | |
{ | |
"tcId" : 77, | |
"comment" : "r is larger than n", | |
"msg" : "54657374", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325560000000000000000000000000000000000000000000000000000000000000006", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "T_L2wk5KM81xwJ_cvHSmIzlhuHS4yODrlFggksvFDDA", | |
"y" : "hPqVR6_aXGYzXz-TfUx5r6EgSGtTQTnVmugtYerSZCA" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "044ff2f6c24e4a33cd71c09fdcbc74a6233961b874b8c8e0eb94582092cbc50c3084fa9547afda5c66335f3f937d4c79afa120486b534139d59ae82d61ead26420", | |
"wx" : "4ff2f6c24e4a33cd71c09fdcbc74a6233961b874b8c8e0eb94582092cbc50c30", | |
"wy" : "084fa9547afda5c66335f3f937d4c79afa120486b534139d59ae82d61ead26420" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044ff2f6c24e4a33cd71c09fdcbc74a6233961b874b8c8e0eb94582092cbc50c3084fa9547afda5c66335f3f937d4c79afa120486b534139d59ae82d61ead26420", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAET/L2wk5KM81xwJ/cvHSmIzlhuHS4\nyODrlFggksvFDDCE+pVHr9pcZjNfP5N9THmvoSBIa1NBOdWa6C1h6tJkIA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 78, | |
"comment" : "s is larger than n", | |
"msg" : "54657374", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000005ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc75fbd8", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "hLlZCAuzCFnNU8L7lzzxTWDNqo7gBYeIm1vGV6xYgXU", | |
"y" : "oCzlweU8sZYRPHi0y43H02Dl6nhQsPZlCwxFryw818o" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "0484b959080bb30859cd53c2fb973cf14d60cdaa8ee00587889b5bc657ac588175a02ce5c1e53cb196113c78b4cb8dc7d360e5ea7850b0f6650b0c45af2c3cd7ca", | |
"wx" : "084b959080bb30859cd53c2fb973cf14d60cdaa8ee00587889b5bc657ac588175", | |
"wy" : "0a02ce5c1e53cb196113c78b4cb8dc7d360e5ea7850b0f6650b0c45af2c3cd7ca" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000484b959080bb30859cd53c2fb973cf14d60cdaa8ee00587889b5bc657ac588175a02ce5c1e53cb196113c78b4cb8dc7d360e5ea7850b0f6650b0c45af2c3cd7ca", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhLlZCAuzCFnNU8L7lzzxTWDNqo7g\nBYeIm1vGV6xYgXWgLOXB5TyxlhE8eLTLjcfTYOXqeFCw9mULDEWvLDzXyg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 79, | |
"comment" : "small r and s^-1", | |
"msg" : "54657374", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000001008f1e3c7862c58b16bb76eddbb76eddbb516af4f63f2d74d76e0d28c9bb75ea88", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "30CDvW7L2lp3rleOXYNfp_dKB-u5HgVw4f8ypWM1Tpk", | |
"y" : "Ja-AsJoWfZ72R98o4tms0NS8Ty3uxXI4GO2vkHHjEfg" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04df4083bd6ecbda5a77ae578e5d835fa7f74a07ebb91e0570e1ff32a563354e9925af80b09a167d9ef647df28e2d9acd0d4bc4f2deec5723818edaf9071e311f8", | |
"wx" : "0df4083bd6ecbda5a77ae578e5d835fa7f74a07ebb91e0570e1ff32a563354e99", | |
"wy" : "25af80b09a167d9ef647df28e2d9acd0d4bc4f2deec5723818edaf9071e311f8" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004df4083bd6ecbda5a77ae578e5d835fa7f74a07ebb91e0570e1ff32a563354e9925af80b09a167d9ef647df28e2d9acd0d4bc4f2deec5723818edaf9071e311f8", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE30CDvW7L2lp3rleOXYNfp/dKB+u5\nHgVw4f8ypWM1Tpklr4CwmhZ9nvZH3yji2azQ1LxPLe7FcjgY7a+QceMR+A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 80, | |
"comment" : "smallish r and s^-1", | |
"msg" : "54657374", | |
"sig" : "000000000000000000000000000000000000000000000000002d9b4d347952d6ef3043e7329581dbb3974497710ab11505ee1c87ff907beebadd195a0ffe6d7a", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "wlaaPJv4wYOMqCH3um8ADMhnnSePNza0FKNKfJVqA3c", | |
"y" : "A4fqhbxPKIBLSpHJt9ZbxkNMl1gGeVq31EGk6Wg66wk" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04c2569a3c9bf8c1838ca821f7ba6f000cc8679d278f3736b414a34a7c956a03770387ea85bc4f28804b4a91c9b7d65bc6434c975806795ab7d441a4e9683aeb09", | |
"wx" : "0c2569a3c9bf8c1838ca821f7ba6f000cc8679d278f3736b414a34a7c956a0377", | |
"wy" : "387ea85bc4f28804b4a91c9b7d65bc6434c975806795ab7d441a4e9683aeb09" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004c2569a3c9bf8c1838ca821f7ba6f000cc8679d278f3736b414a34a7c956a03770387ea85bc4f28804b4a91c9b7d65bc6434c975806795ab7d441a4e9683aeb09", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwlaaPJv4wYOMqCH3um8ADMhnnSeP\nNza0FKNKfJVqA3cDh+qFvE8ogEtKkcm31lvGQ0yXWAZ5WrfUQaTpaDrrCQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 81, | |
"comment" : "100-bit r and small s^-1", | |
"msg" : "54657374", | |
"sig" : "000000000000000000000000000000000000001033e67e37b32b445580bf4eff8b748b74000000008b748b748b748b7466e769ad4a16d3dcd87129b8e91d1b4d", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Sp99oqbDWaFlQMJxd0pr8cWGNXyXglb0SmSW2AZwloo", | |
"y" : "xJbnOkRWP41W-9e7nk464wTIbyxQjrd3sDkkdVvrQNQ" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "044a9f7da2a6c359a16540c271774a6bf1c586357c978256f44a6496d80670968ac496e73a44563f8d56fbd7bb9e4e3ae304c86f2c508eb777b03924755beb40d4", | |
"wx" : "4a9f7da2a6c359a16540c271774a6bf1c586357c978256f44a6496d80670968a", | |
"wy" : "0c496e73a44563f8d56fbd7bb9e4e3ae304c86f2c508eb777b03924755beb40d4" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044a9f7da2a6c359a16540c271774a6bf1c586357c978256f44a6496d80670968ac496e73a44563f8d56fbd7bb9e4e3ae304c86f2c508eb777b03924755beb40d4", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAESp99oqbDWaFlQMJxd0pr8cWGNXyX\nglb0SmSW2AZwlorEluc6RFY/jVb717ueTjrjBMhvLFCOt3ewOSR1W+tA1A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 82, | |
"comment" : "small r and 100 bit s^-1", | |
"msg" : "54657374", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000100ef9f6ba4d97c09d03178fa20b4aaad83be3cf9cb824a879fec3270fc4b81ef5b", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "h0FGQys80sniYgTAo0E2mWBn1Gbd5JF6j_I6jpXKEGs", | |
"y" : "cJs9UJdu-LOFqBO8NfOiBxC9xu3UZeb0OsSGZwOmYIw" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04874146432b3cd2c9e26204c0a34136996067d466dde4917a8ff23a8e95ca106b709b3d50976ef8b385a813bc35f3a20710bdc6edd465e6f43ac4866703a6608c", | |
"wx" : "0874146432b3cd2c9e26204c0a34136996067d466dde4917a8ff23a8e95ca106b", | |
"wy" : "709b3d50976ef8b385a813bc35f3a20710bdc6edd465e6f43ac4866703a6608c" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004874146432b3cd2c9e26204c0a34136996067d466dde4917a8ff23a8e95ca106b709b3d50976ef8b385a813bc35f3a20710bdc6edd465e6f43ac4866703a6608c", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEh0FGQys80sniYgTAo0E2mWBn1Gbd\n5JF6j/I6jpXKEGtwmz1Ql274s4WoE7w186IHEL3G7dRl5vQ6xIZnA6ZgjA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 83, | |
"comment" : "100-bit r and s^-1", | |
"msg" : "54657374", | |
"sig" : "00000000000000000000000000000000000000062522bbd3ecbe7c39e93e7c25ef9f6ba4d97c09d03178fa20b4aaad83be3cf9cb824a879fec3270fc4b81ef5b", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "enNtjjJqnKYrviWjTqTjYztJmpavp6qj_PP9iPjgft4", | |
"y" : "s-RYedhiK5PoGEQ6aG6Gnu2nv5rkaqPq_MSKWTSGRic" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "047a736d8e326a9ca62bbe25a34ea4e3633b499a96afa7aaa3fcf3fd88f8e07edeb3e45879d8622b93e818443a686e869eeda7bf9ae46aa3eafcc48a5934864627", | |
"wx" : "7a736d8e326a9ca62bbe25a34ea4e3633b499a96afa7aaa3fcf3fd88f8e07ede", | |
"wy" : "0b3e45879d8622b93e818443a686e869eeda7bf9ae46aa3eafcc48a5934864627" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200047a736d8e326a9ca62bbe25a34ea4e3633b499a96afa7aaa3fcf3fd88f8e07edeb3e45879d8622b93e818443a686e869eeda7bf9ae46aa3eafcc48a5934864627", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEenNtjjJqnKYrviWjTqTjYztJmpav\np6qj/PP9iPjgft6z5Fh52GIrk+gYRDpoboae7ae/muRqo+r8xIpZNIZGJw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 84, | |
"comment" : "r and s^-1 are close to n", | |
"msg" : "54657374", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6324d5555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6E2bIy6XGkM4JjD5lyXkI-wey0HlUXLpxpdIoD8NWYg", | |
"y" : "YYsVtCetgzY70EH_dfrJjvLukjcU59Hf4xdTeTx1iNQ" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04e84d9b232e971a43382630f99725e423ec1ecb41e55172e9c69748a03f0d5988618b15b427ad83363bd041ff75fac98ef2ee923714e7d1dfe31753793c7588d4", | |
"wx" : "0e84d9b232e971a43382630f99725e423ec1ecb41e55172e9c69748a03f0d5988", | |
"wy" : "618b15b427ad83363bd041ff75fac98ef2ee923714e7d1dfe31753793c7588d4" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e84d9b232e971a43382630f99725e423ec1ecb41e55172e9c69748a03f0d5988618b15b427ad83363bd041ff75fac98ef2ee923714e7d1dfe31753793c7588d4", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE6E2bIy6XGkM4JjD5lyXkI+wey0Hl\nUXLpxpdIoD8NWYhhixW0J62DNjvQQf91+smO8u6SNxTn0d/jF1N5PHWI1A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 85, | |
"comment" : "s == 1", | |
"msg" : "54657374", | |
"sig" : "555555550000000055555555555555553ef7a8e48d07df81a693439654210c700000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 86, | |
"comment" : "s == 0", | |
"msg" : "54657374", | |
"sig" : "555555550000000055555555555555553ef7a8e48d07df81a693439654210c700000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AgNzb8sZixXY16DID2bd3RUlkkCqeNCKrmfEZ94EUDQ", | |
"y" : "NDg0ONUEHqmjh-6OTU6EtEcbFgxrzyVosHL48g6HqZY" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "040203736fcb198b15d8d7a0c80f66dddd15259240aa78d08aae67c467de04503434383438d5041ea9a387ee8e4d4e84b4471b160c6bcf2568b072f8f20e87a996", | |
"wx" : "203736fcb198b15d8d7a0c80f66dddd15259240aa78d08aae67c467de045034", | |
"wy" : "34383438d5041ea9a387ee8e4d4e84b4471b160c6bcf2568b072f8f20e87a996" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040203736fcb198b15d8d7a0c80f66dddd15259240aa78d08aae67c467de04503434383438d5041ea9a387ee8e4d4e84b4471b160c6bcf2568b072f8f20e87a996", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAgNzb8sZixXY16DID2bd3RUlkkCq\neNCKrmfEZ94EUDQ0ODQ41QQeqaOH7o5NToS0RxsWDGvPJWiwcvjyDoeplg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 87, | |
"comment" : "point at infinity during verify", | |
"msg" : "54657374", | |
"sig" : "7fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a8555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "oX9bdaNe1kYjyly_H5GVEpLbDCPwwuokw9DK0JiMq8A", | |
"y" : "g6emGGJcIolAcwtPo-5k-uy7L8IP3efFizo_YwBCTcY" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04a17f5b75a35ed64623ca5cbf1f91951292db0c23f0c2ea24c3d0cad0988cabc083a7a618625c228940730b4fa3ee64faecbb2fc20fdde7c58b3a3f6300424dc6", | |
"wx" : "0a17f5b75a35ed64623ca5cbf1f91951292db0c23f0c2ea24c3d0cad0988cabc0", | |
"wy" : "083a7a618625c228940730b4fa3ee64faecbb2fc20fdde7c58b3a3f6300424dc6" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a17f5b75a35ed64623ca5cbf1f91951292db0c23f0c2ea24c3d0cad0988cabc083a7a618625c228940730b4fa3ee64faecbb2fc20fdde7c58b3a3f6300424dc6", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoX9bdaNe1kYjyly/H5GVEpLbDCPw\nwuokw9DK0JiMq8CDp6YYYlwiiUBzC0+j7mT67Lsvwg/d58WLOj9jAEJNxg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 88, | |
"comment" : "u1 == 1", | |
"msg" : "54657374", | |
"sig" : "555555550000000055555555555555553ef7a8e48d07df81a693439654210c70532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "BLoMuikaN9sT8zv5DatijATsg5OgIAQZ6eqh68yftcM", | |
"y" : "HzoKDmgjpJtiWtV7EqMtQEeXD8NCjw8ASez0Jl3BL2I" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "0404ba0cba291a37db13f33bf90dab628c04ec8393a0200419e9eaa1ebcc9fb5c31f3a0a0e6823a49b625ad57b12a32d4047970fc3428f0f0049ecf4265dc12f62", | |
"wx" : "4ba0cba291a37db13f33bf90dab628c04ec8393a0200419e9eaa1ebcc9fb5c3", | |
"wy" : "1f3a0a0e6823a49b625ad57b12a32d4047970fc3428f0f0049ecf4265dc12f62" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000404ba0cba291a37db13f33bf90dab628c04ec8393a0200419e9eaa1ebcc9fb5c31f3a0a0e6823a49b625ad57b12a32d4047970fc3428f0f0049ecf4265dc12f62", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEBLoMuikaN9sT8zv5DatijATsg5Og\nIAQZ6eqh68yftcMfOgoOaCOkm2Ja1XsSoy1AR5cPw0KPDwBJ7PQmXcEvYg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 89, | |
"comment" : "u1 == n - 1", | |
"msg" : "54657374", | |
"sig" : "555555550000000055555555555555553ef7a8e48d07df81a693439654210c70acd155416a8b77f34089464733ff7cd39c400e9c69af7beb9eac5054ed2ec72c", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "aStsgo4P7tY9iuqitzIvnMvocjoe058inyBKQ0uJAO8", | |
"y" : "ofb2q8s46juP3ji5jHwnHydK9WqMVijcMykGmuTdVxY" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04692b6c828e0feed63d8aeaa2b7322f9ccbe8723a1ed39f229f204a434b8900efa1f6f6abcb38ea3b8fde38b98c7c271f274af56a8c5628dc3329069ae4dd5716", | |
"wx" : "692b6c828e0feed63d8aeaa2b7322f9ccbe8723a1ed39f229f204a434b8900ef", | |
"wy" : "0a1f6f6abcb38ea3b8fde38b98c7c271f274af56a8c5628dc3329069ae4dd5716" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004692b6c828e0feed63d8aeaa2b7322f9ccbe8723a1ed39f229f204a434b8900efa1f6f6abcb38ea3b8fde38b98c7c271f274af56a8c5628dc3329069ae4dd5716", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaStsgo4P7tY9iuqitzIvnMvocjoe\n058inyBKQ0uJAO+h9varyzjqO4/eOLmMfCcfJ0r1aoxWKNwzKQaa5N1XFg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 90, | |
"comment" : "u2 == 1", | |
"msg" : "54657374", | |
"sig" : "555555550000000055555555555555553ef7a8e48d07df81a693439654210c70555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AM79kWLRPmTLk2h6nNj5dV67Wj73Yy-AD4SHGHTM7wk", | |
"y" : "VD7L6vfoBE73Ib4vtfVJ5LhIDSWHQE6_fbvvLFS8DLE" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "0400cefd9162d13e64cb93687a9cd8f9755ebb5a3ef7632f800f84871874ccef09543ecbeaf7e8044ef721be2fb5f549e4b8480d2587404ebf7dbbef2c54bc0cb1", | |
"wx" : "0cefd9162d13e64cb93687a9cd8f9755ebb5a3ef7632f800f84871874ccef09", | |
"wy" : "543ecbeaf7e8044ef721be2fb5f549e4b8480d2587404ebf7dbbef2c54bc0cb1" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000400cefd9162d13e64cb93687a9cd8f9755ebb5a3ef7632f800f84871874ccef09543ecbeaf7e8044ef721be2fb5f549e4b8480d2587404ebf7dbbef2c54bc0cb1", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAM79kWLRPmTLk2h6nNj5dV67Wj73\nYy+AD4SHGHTM7wlUPsvq9+gETvchvi+19UnkuEgNJYdATr99u+8sVLwMsQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 91, | |
"comment" : "u2 == n - 1", | |
"msg" : "54657374", | |
"sig" : "555555550000000055555555555555553ef7a8e48d07df81a693439654210c70aaaaaaaa00000000aaaaaaaaaaaaaaaa7def51c91a0fbf034d26872ca84218e1", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "uXUYO0JVHPUvKR1cGSH9XhL1DIyFpL653gPvo_DyRIY", | |
"y" : "IkMBjmhm35ItwxNhICAxH_IeJCzj-xW8eMQGslq0MJE" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04b975183b42551cf52f291d5c1921fd5e12f50c8c85a4beb9de03efa3f0f244862243018e6866df922dc313612020311ff21e242ce3fb15bc78c406b25ab43091", | |
"wx" : "0b975183b42551cf52f291d5c1921fd5e12f50c8c85a4beb9de03efa3f0f24486", | |
"wy" : "2243018e6866df922dc313612020311ff21e242ce3fb15bc78c406b25ab43091" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004b975183b42551cf52f291d5c1921fd5e12f50c8c85a4beb9de03efa3f0f244862243018e6866df922dc313612020311ff21e242ce3fb15bc78c406b25ab43091", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuXUYO0JVHPUvKR1cGSH9XhL1DIyF\npL653gPvo/DyRIYiQwGOaGbfki3DE2EgIDEf8h4kLOP7Fbx4xAayWrQwkQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 92, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd710f8e3edc7c2d5a3fd23de844002bb949d9f794f6d5405f6d97c1bb03dd2bd2", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "wl8dFm8-IRzfBCom-Kv2CU1IuNFxkddO1xcUknRGaZk", | |
"y" : "ZdBt1qiKv6Sei0xdpruSKFGWmt-WBLWsz7UqEU53zNs" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04c25f1d166f3e211cdf042a26f8abf6094d48b8d17191d74ed71714927446699965d06dd6a88abfa49e8b4c5da6bb922851969adf9604b5accfb52a114e77ccdb", | |
"wx" : "0c25f1d166f3e211cdf042a26f8abf6094d48b8d17191d74ed717149274466999", | |
"wy" : "65d06dd6a88abfa49e8b4c5da6bb922851969adf9604b5accfb52a114e77ccdb" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004c25f1d166f3e211cdf042a26f8abf6094d48b8d17191d74ed71714927446699965d06dd6a88abfa49e8b4c5da6bb922851969adf9604b5accfb52a114e77ccdb", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwl8dFm8+IRzfBCom+Kv2CU1IuNFx\nkddO1xcUknRGaZll0G3WqIq/pJ6LTF2mu5IoUZaa35YEtazPtSoRTnfM2w==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 93, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdedffbc270f722c243069a7e5f40335a61a58525c7b4db2e7a8e269274ffe4e1b", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "j-XogkOnbkGgBCNiGKPDotbu45iiPDoLAI1_AWTLwMo", | |
"y" : "mKING9z1c1E8fP2bg8Y-OoLUASfIl2l8hrjLOHr38kA" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "048fe5e88243a76e41a004236218a3c3a2d6eee398a23c3a0b008d7f0164cbc0ca98a20d1bdcf573513c7cfd9b83c63e3a82d40127c897697c86b8cb387af7f240", | |
"wx" : "08fe5e88243a76e41a004236218a3c3a2d6eee398a23c3a0b008d7f0164cbc0ca", | |
"wy" : "098a20d1bdcf573513c7cfd9b83c63e3a82d40127c897697c86b8cb387af7f240" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048fe5e88243a76e41a004236218a3c3a2d6eee398a23c3a0b008d7f0164cbc0ca98a20d1bdcf573513c7cfd9b83c63e3a82d40127c897697c86b8cb387af7f240", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEj+XogkOnbkGgBCNiGKPDotbu45ii\nPDoLAI1/AWTLwMqYog0b3PVzUTx8/ZuDxj46gtQBJ8iXaXyGuMs4evfyQA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 94, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffda25adcae105ed7ff4f95d2344e24ee523314c3e178525d007904b68919ba4d53", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AhSCVrUw-8Rwx7NBlws4JD7O5tWoQKN77KLvs36N_yw", | |
"y" : "wK2-oIgkgqdInKcDo5mGS6mH7rbdtzivU6g1c0c8sw0" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "0402148256b530fbc470c7b341970b38243ecee6d5a840a37beca2efb37e8dff2cc0adbea0882482a7489ca703a399864ba987eeb6ddb738af53a83573473cb30d", | |
"wx" : "2148256b530fbc470c7b341970b38243ecee6d5a840a37beca2efb37e8dff2c", | |
"wy" : "0c0adbea0882482a7489ca703a399864ba987eeb6ddb738af53a83573473cb30d" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000402148256b530fbc470c7b341970b38243ecee6d5a840a37beca2efb37e8dff2cc0adbea0882482a7489ca703a399864ba987eeb6ddb738af53a83573473cb30d", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAhSCVrUw+8Rwx7NBlws4JD7O5tWo\nQKN77KLvs36N/yzArb6giCSCp0icpwOjmYZLqYfutt23OK9TqDVzRzyzDQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 95, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd2e4348c645707dce6760d773de3f3e87346924b2f64bd3dd0297e766b5805ebb", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "o02wEs5u2h6cc3XF_PPlTtaY4ZYVEkJzs6Yh0CHHb44", | |
"y" : "d3RY1vVaNkwiHjnhIF1VELtPu33fCNjY_d4T0dbffxQ" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04a34db012ce6eda1e9c7375c5fcf3e54ed698e19615124273b3a621d021c76f8e777458d6f55a364c221e39e1205d5510bb4fbb7ddf08d8d8fdde13d1d6df7f14", | |
"wx" : "0a34db012ce6eda1e9c7375c5fcf3e54ed698e19615124273b3a621d021c76f8e", | |
"wy" : "777458d6f55a364c221e39e1205d5510bb4fbb7ddf08d8d8fdde13d1d6df7f14" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a34db012ce6eda1e9c7375c5fcf3e54ed698e19615124273b3a621d021c76f8e777458d6f55a364c221e39e1205d5510bb4fbb7ddf08d8d8fdde13d1d6df7f14", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEo02wEs5u2h6cc3XF/PPlTtaY4ZYV\nEkJzs6Yh0CHHb453dFjW9Vo2TCIeOeEgXVUQu0+7fd8I2Nj93hPR1t9/FA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 96, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd348c673b07dce3920d773de3f3e87408869e916dbcf797d8f9684fb67753d1dc", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "uXrz_ni-FfKRK2Jx3YpDuttt0qGzFbLOeuN7Tnd4BB0", | |
"y" : "kw1x7hmS0kZklcQhAtCOgRVMMFMH0dzVLQ-kxHmyeOc" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04b97af3fe78be15f2912b6271dd8a43badb6dd2a1b315b2ce7ae37b4e7778041d930d71ee1992d2466495c42102d08e81154c305307d1dcd52d0fa4c479b278e7", | |
"wx" : "0b97af3fe78be15f2912b6271dd8a43badb6dd2a1b315b2ce7ae37b4e7778041d", | |
"wy" : "0930d71ee1992d2466495c42102d08e81154c305307d1dcd52d0fa4c479b278e7" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004b97af3fe78be15f2912b6271dd8a43badb6dd2a1b315b2ce7ae37b4e7778041d930d71ee1992d2466495c42102d08e81154c305307d1dcd52d0fa4c479b278e7", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuXrz/ni+FfKRK2Jx3YpDuttt0qGz\nFbLOeuN7Tnd4BB2TDXHuGZLSRmSVxCEC0I6BFUwwUwfR3NUtD6TEebJ45w==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 97, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6918ce760fb9c7241aee7bc7e7d0e8110d3d22db79ef2fb1f2d09f6ceea7a3b8", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "gecZijw_I5Ac7ceh1u_26b-BEI5sNc2FWROa8xNdvLs", | |
"y" : "nvFWhTApGoBhuQyfQoXu_LqZDUVwpOO3tzdSW11YADQ" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "0481e7198a3c3f23901cedc7a1d6eff6e9bf81108e6c35cd8559139af3135dbcbb9ef1568530291a8061b90c9f4285eefcba990d4570a4e3b7b737525b5d580034", | |
"wx" : "081e7198a3c3f23901cedc7a1d6eff6e9bf81108e6c35cd8559139af3135dbcbb", | |
"wy" : "09ef1568530291a8061b90c9f4285eefcba990d4570a4e3b7b737525b5d580034" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000481e7198a3c3f23901cedc7a1d6eff6e9bf81108e6c35cd8559139af3135dbcbb9ef1568530291a8061b90c9f4285eefcba990d4570a4e3b7b737525b5d580034", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgecZijw/I5Ac7ceh1u/26b+BEI5s\nNc2FWROa8xNdvLue8VaFMCkagGG5DJ9Che78upkNRXCk47e3N1JbXVgANA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 98, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd73b3c694391d8eadde3f3e874089464715ac20e4c126bbf6d864d648969f5b5a", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "q015LKEh0dujnLneZFFJwqtXPovsxt3_PMmWDxiN33M", | |
"y" : "f5C6I2ZBU-kyYv9zNVQVGVhY174TFaaUVjht5oKFo8g" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04ab4d792ca121d1dba39cb9de645149c2ab573e8becc6ddff3cc9960f188ddf737f90ba23664153e93262ff73355415195858d7be1315a69456386de68285a3c8", | |
"wx" : "0ab4d792ca121d1dba39cb9de645149c2ab573e8becc6ddff3cc9960f188ddf73", | |
"wy" : "7f90ba23664153e93262ff73355415195858d7be1315a69456386de68285a3c8" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ab4d792ca121d1dba39cb9de645149c2ab573e8becc6ddff3cc9960f188ddf737f90ba23664153e93262ff73355415195858d7be1315a69456386de68285a3c8", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEq015LKEh0dujnLneZFFJwqtXPovs\nxt3/PMmWDxiN33N/kLojZkFT6TJi/3M1VBUZWFjXvhMVppRWOG3mgoWjyA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 99, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdbb07ac7a86948c2c2989a16db1930ef1b89ce112595197656877e53c41457f28", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "UYQStpr0Oq4IRHamjVm73lH7-p5b6AVj9YfJwmUviO8", | |
"y" : "LTuQ0luqa9t7DFXlJAo6mPvCSv7YUj7ewccFA_wQ8jM" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 100, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd27e4d82cb6c061dd9337c69bf9332ed3d198662d6f2299443f62c861187db648", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "oI8UpkS5qTXf_qR2Hrr1ktH2b-bNNzqn9dNwrzT4NS0", | |
"y" : "pUtbxAJc8zWQCpFMKTTsL-x6OW0Kev_K1zKldBx6qvU" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04a08f14a644b9a935dffea4761ebaf592d1f66fe6cd373aa7f5d370af34f8352da54b5bc4025cf335900a914c2934ec2fec7a396d0a7affcad732a5741c7aaaf5", | |
"wx" : "0a08f14a644b9a935dffea4761ebaf592d1f66fe6cd373aa7f5d370af34f8352d", | |
"wy" : "0a54b5bc4025cf335900a914c2934ec2fec7a396d0a7affcad732a5741c7aaaf5" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a08f14a644b9a935dffea4761ebaf592d1f66fe6cd373aa7f5d370af34f8352da54b5bc4025cf335900a914c2934ec2fec7a396d0a7affcad732a5741c7aaaf5", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoI8UpkS5qTXf/qR2Hrr1ktH2b+bN\nNzqn9dNwrzT4NS2lS1vEAlzzNZAKkUwpNOwv7Ho5bQp6/8rXMqV0HHqq9Q==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 101, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffde7c5cf3aac2e88923b77850515fff6a12d13b356dfe9ec275c3dd81ae94609a4", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "zPIpamqJtiuQc504r0rjog6fRXFbkARGOSQQYeM_j4w", | |
"y" : "qs4ARkke6qHG6aRyuW2I9K-D5_8buEQ4x-BYA0QSrgg" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04ccf2296a6a89b62b90739d38af4ae3a20e9f45715b90044639241061e33f8f8caace0046491eeaa1c6e9a472b96d88f4af83e7ff1bb84438c7e058034412ae08", | |
"wx" : "0ccf2296a6a89b62b90739d38af4ae3a20e9f45715b90044639241061e33f8f8c", | |
"wy" : "0aace0046491eeaa1c6e9a472b96d88f4af83e7ff1bb84438c7e058034412ae08" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ccf2296a6a89b62b90739d38af4ae3a20e9f45715b90044639241061e33f8f8caace0046491eeaa1c6e9a472b96d88f4af83e7ff1bb84438c7e058034412ae08", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzPIpamqJtiuQc504r0rjog6fRXFb\nkARGOSQQYeM/j4yqzgBGSR7qocbppHK5bYj0r4Pn/xu4RDjH4FgDRBKuCA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 102, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc77838df91c1e953e016e10bddffea2317f9fee32bacfe553cede9e57a748f68", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "lLD8FSW8q_grHzSJXlgZoGwCsj4EACJ24WX5YshuOSc", | |
"y" : "vnwqtNCyUwMgT7MqH4KSkCeSIl4WptLb-yn7yJqcM3Y" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "0494b0fc1525bcabf82b1f34895e5819a06c02b23e04002276e165f962c86e3927be7c2ab4d0b25303204fb32a1f8292902792225e16a6d2dbfb29fbc89a9c3376", | |
"wx" : "094b0fc1525bcabf82b1f34895e5819a06c02b23e04002276e165f962c86e3927", | |
"wy" : "0be7c2ab4d0b25303204fb32a1f8292902792225e16a6d2dbfb29fbc89a9c3376" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000494b0fc1525bcabf82b1f34895e5819a06c02b23e04002276e165f962c86e3927be7c2ab4d0b25303204fb32a1f8292902792225e16a6d2dbfb29fbc89a9c3376", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAElLD8FSW8q/grHzSJXlgZoGwCsj4E\nACJ24WX5YshuOSe+fCq00LJTAyBPsyofgpKQJ5IiXham0tv7KfvImpwzdg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 103, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd8ef071c02383d2a6c02dc217bbffd446730d0318b0425e2586220907f885f97f", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "U1Hzfh3gyIxQhSfYmILRg8zc8u_KQH7bBifK39Ft5uw", | |
"y" : "RLS1fN-WDTLrzEyXhH7tIYQlhTtbZ163gbdmoaEwA0k" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 104, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd5668aaa0b545bbf9a044a32399ffbe69ce20074e34d7bdf5cf56282a76976396", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dIu6_DIOZzXLZAGXEKJpxsK10Ue9yDEyXLL7J2rJcaY", | |
"y" : "nWVemnVbydgArSHuP9TZgNk6ekmoxczTcAUXdXj1EWM" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04748bbafc320e6735cb64019710a269c6c2b5d147bdc831325cb2fb276ac971a69d655e9a755bc9d800ad21ee3fd4d980d93a7a49a8c5ccd37005177578f51163", | |
"wx" : "748bbafc320e6735cb64019710a269c6c2b5d147bdc831325cb2fb276ac971a6", | |
"wy" : "09d655e9a755bc9d800ad21ee3fd4d980d93a7a49a8c5ccd37005177578f51163" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004748bbafc320e6735cb64019710a269c6c2b5d147bdc831325cb2fb276ac971a69d655e9a755bc9d800ad21ee3fd4d980d93a7a49a8c5ccd37005177578f51163", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdIu6/DIOZzXLZAGXEKJpxsK10Ue9\nyDEyXLL7J2rJcaadZV6adVvJ2ACtIe4/1NmA2Tp6SajFzNNwBRd1ePURYw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 105, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd12d6e56882f6c0027cae91a27127728f7fddf478fb4fdc2b65f40a60b0eb952", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "FLO711xeHAw2U1qTTUq4URJBCzuQ-pejHDMDiWT9hcw", | |
"y" : "ES99g3-PnDa0YNY2yWWl-BjytQxdAPs_lwVWHdZjGIM" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 106, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7fffffffaaaaaaaaffffffffffffffffe9a2538f37b28a2c513dee40fecbb71a", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "2CNTPATNjtxtb5UKjgit4Eqbr6LxSlkDVpNWca6TBb8", | |
"y" : "QxeNH4i2pXqWkkwmXw3bdbWDEpB7GVrLWdd5cwMSN3U" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04d823533c04cd8edc6d6f950a8e08ade04a9bafa2f14a590356935671ae9305bf43178d1f88b6a57a96924c265f0ddb75b58312907b195acb59d7797303123775", | |
"wx" : "0d823533c04cd8edc6d6f950a8e08ade04a9bafa2f14a590356935671ae9305bf", | |
"wy" : "43178d1f88b6a57a96924c265f0ddb75b58312907b195acb59d7797303123775" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d823533c04cd8edc6d6f950a8e08ade04a9bafa2f14a590356935671ae9305bf43178d1f88b6a57a96924c265f0ddb75b58312907b195acb59d7797303123775", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2CNTPATNjtxtb5UKjgit4Eqbr6Lx\nSlkDVpNWca6TBb9DF40fiLalepaSTCZfDdt1tYMSkHsZWstZ13lzAxI3dQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 107, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdb62f26b5f2a2b26f6de86d42ad8a13da3ab3cccd0459b201de009e526adf21f2", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "2ys0CLMWfZEDBiTGMo6M4-wQjBBVdcLz0gm5LmVLq2k", | |
"y" : "w0MYE5xQsIAsbmEvD9MYnYAN98mW1de3w9a-goNvolg" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04db2b3408b3167d91030624c6328e8ce3ec108c105575c2f3d209b92e654bab69c34318139c50b0802c6e612f0fd3189d800df7c996d5d7b7c3d6be82836fa258", | |
"wx" : "0db2b3408b3167d91030624c6328e8ce3ec108c105575c2f3d209b92e654bab69", | |
"wy" : "0c34318139c50b0802c6e612f0fd3189d800df7c996d5d7b7c3d6be82836fa258" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004db2b3408b3167d91030624c6328e8ce3ec108c105575c2f3d209b92e654bab69c34318139c50b0802c6e612f0fd3189d800df7c996d5d7b7c3d6be82836fa258", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2ys0CLMWfZEDBiTGMo6M4+wQjBBV\ndcLz0gm5LmVLq2nDQxgTnFCwgCxuYS8P0xidgA33yZbV17fD1r6Cg2+iWA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 108, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdbb1d9ac949dd748cd02bbbe749bd351cd57b38bb61403d700686aa7b4c90851e", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "CRec58WSJTkiFkU7KsHp0XjCSDffria8HderYGOFJ0I", | |
"y" : "VVa0LjMCifO4JrLbeobRnUXChgpZ8r4d3MO2kflaklU" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 109, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd66755a00638cdaec1c732513ca0234ece52545dac11f816e818f725b4f60aaf2", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AZWfuN7aVuVGe35LIU6kwtDC-ynXD_Gbax7M69ZWjX4", | |
"y" : "2dvXepGCl_2XC_8B4TQ_aSUWfbWhTQmKIRw5zDpBM5g" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "0401959fb8deda56e5467b7e4b214ea4c2d0c2fb29d70ff19b6b1eccebd6568d7ed9dbd77a918297fd970bff01e1343f6925167db5a14d098a211c39cc3a413398", | |
"wx" : "1959fb8deda56e5467b7e4b214ea4c2d0c2fb29d70ff19b6b1eccebd6568d7e", | |
"wy" : "0d9dbd77a918297fd970bff01e1343f6925167db5a14d098a211c39cc3a413398" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000401959fb8deda56e5467b7e4b214ea4c2d0c2fb29d70ff19b6b1eccebd6568d7ed9dbd77a918297fd970bff01e1343f6925167db5a14d098a211c39cc3a413398", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAZWfuN7aVuVGe35LIU6kwtDC+ynX\nD/Gbax7M69ZWjX7Z29d6kYKX/ZcL/wHhND9pJRZ9taFNCYohHDnMOkEzmA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 110, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd55a00c9fcdaebb6032513ca0234ecfffe98ebe492fdf02e48ca48e982beb3669", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Vn8f3Dh-U1DIUrTo-LqdbZR-HF3XzMYaWTgkXda8qzo", | |
"y" : "mWC-uvkZUU-VNcIuqvC1gShXlw4mZiJnsfPrEBETChE" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04567f1fdc387e5350c852b4e8f8ba9d6d947e1c5dd7ccc61a5938245dd6bcab3a9960bebaf919514f9535c22eaaf0b5812857970e26662267b1f3eb1011130a11", | |
"wx" : "567f1fdc387e5350c852b4e8f8ba9d6d947e1c5dd7ccc61a5938245dd6bcab3a", | |
"wy" : "09960bebaf919514f9535c22eaaf0b5812857970e26662267b1f3eb1011130a11" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004567f1fdc387e5350c852b4e8f8ba9d6d947e1c5dd7ccc61a5938245dd6bcab3a9960bebaf919514f9535c22eaaf0b5812857970e26662267b1f3eb1011130a11", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEVn8f3Dh+U1DIUrTo+LqdbZR+HF3X\nzMYaWTgkXda8qzqZYL66+RlRT5U1wi6q8LWBKFeXDiZmImex8+sQERMKEQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 111, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdab40193f9b5d76c064a27940469d9fffd31d7c925fbe05c919491d3057d66cd2", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "NJn5dP9Mpruy9RaC_V9Rdi-d1t0oVSYmYLNtRtPkvsI", | |
"y" : "9Jj64kh4B-IgEZFS8BIkdsZNT6Rt3OhcRUZjDw1cXoE" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "043499f974ff4ca6bbb2f51682fd5f51762f9dd6dd2855262660b36d46d3e4bec2f498fae2487807e220119152f0122476c64d4fa46ddce85c4546630f0d5c5e81", | |
"wx" : "3499f974ff4ca6bbb2f51682fd5f51762f9dd6dd2855262660b36d46d3e4bec2", | |
"wy" : "0f498fae2487807e220119152f0122476c64d4fa46ddce85c4546630f0d5c5e81" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043499f974ff4ca6bbb2f51682fd5f51762f9dd6dd2855262660b36d46d3e4bec2f498fae2487807e220119152f0122476c64d4fa46ddce85c4546630f0d5c5e81", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAENJn5dP9Mpruy9RaC/V9Rdi+d1t0o\nVSYmYLNtRtPkvsL0mPriSHgH4iARkVLwEiR2xk1PpG3c6FxFRmMPDVxegQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 112, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdca0234ebb5fdcb13ca0234ecffffffffcb0dadbbc7f549f8a26b4408d0dc8600", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "LFwBZizwDBkpWWJX2xOybs8w0PPsS58DUbDycJRHNCY", | |
"y" : "6YaghgYNCG7ugi3dL8dEJHoBVLV_emnFHZ_a-khOSsc" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "042c5c01662cf00c1929596257db13b26ecf30d0f3ec4b9f0351b0f27094473426e986a086060d086eee822ddd2fc744247a0154b57f7a69c51d9fdafa484e4ac7", | |
"wx" : "2c5c01662cf00c1929596257db13b26ecf30d0f3ec4b9f0351b0f27094473426", | |
"wy" : "0e986a086060d086eee822ddd2fc744247a0154b57f7a69c51d9fdafa484e4ac7" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042c5c01662cf00c1929596257db13b26ecf30d0f3ec4b9f0351b0f27094473426e986a086060d086eee822ddd2fc744247a0154b57f7a69c51d9fdafa484e4ac7", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELFwBZizwDBkpWWJX2xOybs8w0PPs\nS58DUbDycJRHNCbphqCGBg0Ibu6CLd0vx0QkegFUtX96acUdn9r6SE5Kxw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 113, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdbfffffff3ea3677e082b9310572620ae19933a9e65b285598711c77298815ad3", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "kdTLqBOgTYbbrpTCO-b1LBV3QYO-e6Wy2fPPAQsWBQE", | |
"y" : "kAuK3-pkkQGamsCA1RYCWlQb9LlSsK175LGHSwL9VEo" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "0491d4cba813a04d86dbae94c23be6f52c15774183be7ba5b2d9f3cf010b160501900b8adfea6491019a9ac080d516025a541bf4b952b0ad7be4b1874b02fd544a", | |
"wx" : "091d4cba813a04d86dbae94c23be6f52c15774183be7ba5b2d9f3cf010b160501", | |
"wy" : "0900b8adfea6491019a9ac080d516025a541bf4b952b0ad7be4b1874b02fd544a" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000491d4cba813a04d86dbae94c23be6f52c15774183be7ba5b2d9f3cf010b160501900b8adfea6491019a9ac080d516025a541bf4b952b0ad7be4b1874b02fd544a", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkdTLqBOgTYbbrpTCO+b1LBV3QYO+\ne6Wy2fPPAQsWBQGQC4rf6mSRAZqawIDVFgJaVBv0uVKwrXvksYdLAv1USg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 114, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd266666663bbbbbbbe6666666666666665b37902e023fab7c8f055d86e5cc41f4", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "73_Qo6NjhmODMOytQeGjswKvNpYIMdAhDGFLlI6KoSQ", | |
"y" : "7w1tgA5AR9bTwb4P3q8R_NjKtatZxzDrNBFuNajH0Jg" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04ef7fd0a3a36386638330ecad41e1a3b302af36960831d0210c614b948e8aa124ef0d6d800e4047d6d3c1be0fdeaf11fcd8cab5ab59c730eb34116e35a8c7d098", | |
"wx" : "0ef7fd0a3a36386638330ecad41e1a3b302af36960831d0210c614b948e8aa124", | |
"wy" : "0ef0d6d800e4047d6d3c1be0fdeaf11fcd8cab5ab59c730eb34116e35a8c7d098" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ef7fd0a3a36386638330ecad41e1a3b302af36960831d0210c614b948e8aa124ef0d6d800e4047d6d3c1be0fdeaf11fcd8cab5ab59c730eb34116e35a8c7d098", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE73/Qo6NjhmODMOytQeGjswKvNpYI\nMdAhDGFLlI6KoSTvDW2ADkBH1tPBvg/erxH82Mq1q1nHMOs0EW41qMfQmA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 115, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdbfffffff36db6db7a492492492492492146c573f4c6dfc8d08a443e258970b09", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "pSHasTzJFS2Mp3A1pgf-oGxVzDyl2-uGjOqS6v6T3yo", | |
"y" : "e_ubKFMZlmNealzKooJqQGzhERvbnC4Mo2UAQYovQ94" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04a521dab13cc9152d8ca77035a607fea06c55cc3ca5dbeb868cea92eafe93df2a7bfb9b28531996635e6a5ccaa2826a406ce1111bdb9c2e0ca36500418a2f43de", | |
"wx" : "0a521dab13cc9152d8ca77035a607fea06c55cc3ca5dbeb868cea92eafe93df2a", | |
"wy" : "7bfb9b28531996635e6a5ccaa2826a406ce1111bdb9c2e0ca36500418a2f43de" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a521dab13cc9152d8ca77035a607fea06c55cc3ca5dbeb868cea92eafe93df2a7bfb9b28531996635e6a5ccaa2826a406ce1111bdb9c2e0ca36500418a2f43de", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEpSHasTzJFS2Mp3A1pgf+oGxVzDyl\n2+uGjOqS6v6T3yp7+5soUxmWY15qXMqigmpAbOERG9ucLgyjZQBBii9D3g==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 116, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdbfffffff2aaaaaab7fffffffffffffffc815d0e60b3e596ecb1ad3a27cfd49c4", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R01YpO7Bbg1WXyGH_hHU6OeiaDoS84tPwB0SN6gaEJc", | |
"y" : "blX3O7fN2ka9tn73f2_Slp3ytnkg-1lF_eOlF6be1M0" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 117, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7fffffff55555555ffffffffffffffffd344a71e6f651458a27bdc81fd976e37", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "aS2lzUMJ2ably1JcN9qPoIefe1cgjNq79H0iOlsjpiE", | |
"y" : "QODap4z90genOJqu1hc4sX_F_D5qXtM5fSkC6RJearQ" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 118, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192aa", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "hWibPgd1x3GKkCefFKgILPzU0fFnknT06biAXFcKBnA", | |
"y" : "Fn_MXKc0VS4Jr6NkD0oDThW5t8pmHsf_cNPyQOvnBbE" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "0485689b3e0775c7718a90279f14a8082cfcd4d1f1679274f4e9b8805c570a0670167fcc5ca734552e09afa3640f4a034e15b9b7ca661ec7ff70d3f240ebe705b1", | |
"wx" : "085689b3e0775c7718a90279f14a8082cfcd4d1f1679274f4e9b8805c570a0670", | |
"wy" : "167fcc5ca734552e09afa3640f4a034e15b9b7ca661ec7ff70d3f240ebe705b1" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000485689b3e0775c7718a90279f14a8082cfcd4d1f1679274f4e9b8805c570a0670167fcc5ca734552e09afa3640f4a034e15b9b7ca661ec7ff70d3f240ebe705b1", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhWibPgd1x3GKkCefFKgILPzU0fFn\nknT06biAXFcKBnAWf8xcpzRVLgmvo2QPSgNOFbm3ymYex/9w0/JA6+cFsQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 119, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd5d8ecd64a4eeba466815ddf3a4de9a8e6abd9c5db0a01eb80343553da648428f", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AVgTd1W5AfeXqQ1MqIh-Ajyy72OyuiwNRV7a70LPI34", | |
"y" : "KpZPwA03eoWSuLYar6ekqqfHuf0rQdbg4XvRulZ37c0" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "040158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237e2a964fc00d377a8592b8b61aafa7a4aaa7c7b9fd2b41d6e0e17bd1ba5677edcd", | |
"wx" : "158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237e", | |
"wy" : "2a964fc00d377a8592b8b61aafa7a4aaa7c7b9fd2b41d6e0e17bd1ba5677edcd" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237e2a964fc00d377a8592b8b61aafa7a4aaa7c7b9fd2b41d6e0e17bd1ba5677edcd", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAVgTd1W5AfeXqQ1MqIh+Ajyy72Oy\nuiwNRV7a70LPI34qlk/ADTd6hZK4thqvp6Sqp8e5/StB1uDhe9G6VnftzQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 120, | |
"comment" : "point duplication during verification", | |
"msg" : "54657374", | |
"sig" : "6f2347cab7dd76858fe0555ac3bc99048c4aacafdfb6bcbe05ea6c42c4934569f21d907e3890916dc4fa1f4703c1e50d3f54ddf7383e44023a41de562aa18ed8", | |
"result" : "valid", | |
"flags" : [ | |
"PointDuplication" | |
] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AVgTd1W5AfeXqQ1MqIh-Ajyy72OyuiwNRV7a70LPI34", | |
"y" : "1WmwPvLIhXttR0nlUFhbVVg4RgPUvikfHoQuRamIEjI" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "040158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237ed569b03ef2c8857b6d4749e550585b5558384603d4be291f1e842e45a9881232", | |
"wx" : "158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237e", | |
"wy" : "0d569b03ef2c8857b6d4749e550585b5558384603d4be291f1e842e45a9881232" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237ed569b03ef2c8857b6d4749e550585b5558384603d4be291f1e842e45a9881232", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAVgTd1W5AfeXqQ1MqIh+Ajyy72Oy\nuiwNRV7a70LPI37VabA+8siFe21HSeVQWFtVWDhGA9S+KR8ehC5FqYgSMg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 121, | |
"comment" : "duplication bug", | |
"msg" : "54657374", | |
"sig" : "6f2347cab7dd76858fe0555ac3bc99048c4aacafdfb6bcbe05ea6c42c4934569f21d907e3890916dc4fa1f4703c1e50d3f54ddf7383e44023a41de562aa18ed8", | |
"result" : "invalid", | |
"flags" : [ | |
"PointDuplication" | |
] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "OKCE_8zEri-CBL4qvKn7itSrKDsqpQ8TtrsjR62rxpw", | |
"y" : "ppl5m3exzG2tJx6IuJnBKTGYbpWOH1z1ZT3d9ziTZeI" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "0438a084ffccc4ae2f8204be2abca9fb8ad4ab283b2aa50f13b6bb2347adabc69ca699799b77b1cc6dad271e88b899c12931986e958e1f5cf5653dddf7389365e2", | |
"wx" : "38a084ffccc4ae2f8204be2abca9fb8ad4ab283b2aa50f13b6bb2347adabc69c", | |
"wy" : "0a699799b77b1cc6dad271e88b899c12931986e958e1f5cf5653dddf7389365e2" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000438a084ffccc4ae2f8204be2abca9fb8ad4ab283b2aa50f13b6bb2347adabc69ca699799b77b1cc6dad271e88b899c12931986e958e1f5cf5653dddf7389365e2", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEOKCE/8zEri+CBL4qvKn7itSrKDsq\npQ8TtrsjR62rxpymmXmbd7HMba0nHoi4mcEpMZhulY4fXPVlPd33OJNl4g==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 122, | |
"comment" : "point with x-coordinate 0", | |
"msg" : "54657374", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "eodvv4IdlsVVw1OT07LS6Amm2DmwsRXZZNo-kZ74JQQ", | |
"y" : "cz3PQdgzsFMLh6expS99kb-hmRP3FRiGkTsWDeB81ps" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 123, | |
"comment" : "point with x-coordinate 0", | |
"msg" : "54657374", | |
"sig" : "010000000000000000000000000000000000000000000000000000000000000000003333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aa9", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ZkziczINkY2L2y5hIBtFSbNrfNxU4zuErbbywQqsgx4", | |
"y" : "SeaIMfGL2ilzrD12v7yMXuHM7tLdhi4tx8kVxzbO8fQ" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 124, | |
"comment" : "comparison with point at infinity ", | |
"msg" : "54657374", | |
"sig" : "555555550000000055555555555555553ef7a8e48d07df81a693439654210c703333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aa9", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "lhaRpelg0HowHbutTYYkfsJ9cIn66z3dGt05Xv_x4P4", | |
"y" : "clRiLMNxhmzfmQ0sU3d5DjfR8VGYF_CaIxvSYKnnius" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04961691a5e960d07a301dbbad4d86247ec27d7089faeb3ddd1add395efff1e0fe7254622cc371866cdf990d2c5377790e37d1f1519817f09a231bd260a9e78aeb", | |
"wx" : "0961691a5e960d07a301dbbad4d86247ec27d7089faeb3ddd1add395efff1e0fe", | |
"wy" : "7254622cc371866cdf990d2c5377790e37d1f1519817f09a231bd260a9e78aeb" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004961691a5e960d07a301dbbad4d86247ec27d7089faeb3ddd1add395efff1e0fe7254622cc371866cdf990d2c5377790e37d1f1519817f09a231bd260a9e78aeb", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAElhaRpelg0HowHbutTYYkfsJ9cIn6\n6z3dGt05Xv/x4P5yVGIsw3GGbN+ZDSxTd3kON9HxUZgX8JojG9JgqeeK6w==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 125, | |
"comment" : "extreme value for k and edgecase s", | |
"msg" : "54657374", | |
"sig" : "7cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "XSg-E86Mpg2oaOOw-zPmtPEHR5MnTikoJQ5x4qymPpw", | |
"y" : "IU3HT6JTcftNnlBtQY7Zob_W0Mi7ZZHT4PRFBahIhs4" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 126, | |
"comment" : "extreme value for k and s^-1", | |
"msg" : "54657374", | |
"sig" : "7cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978b6db6db6249249254924924924924924625bd7a09bec4ca81bcdd9f8fd6b63cc", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "D8NR2gOK4IA70dhlFK4EYvn4IWVR2TFaqdKX95Lu9qM", | |
"y" : "QcdO7XhvLTPaNTYMp6qSXnU_ANYHeh6eX8M51jQBnHM" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 127, | |
"comment" : "extreme value for k and s^-1", | |
"msg" : "54657374", | |
"sig" : "7cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978cccccccc00000000cccccccccccccccc971f2ef152794b9d8fc7d568c9e8eaa7", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "oeNMjxbROGc_7lXAgFR8K_1N51UAZfY4Miu6lDDOS2A", | |
"y" : "Zivpu1EmY6pNffirPztBgcXUSnvfQkNmILfYprgayTY" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04a1e34c8f16d138673fee55c080547c2bfd4de7550065f638322bba9430ce4b60662be9bb512663aa4d7df8ab3f3b4181c5d44a7bdf42436620b7d8a6b81ac936", | |
"wx" : "0a1e34c8f16d138673fee55c080547c2bfd4de7550065f638322bba9430ce4b60", | |
"wy" : "662be9bb512663aa4d7df8ab3f3b4181c5d44a7bdf42436620b7d8a6b81ac936" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a1e34c8f16d138673fee55c080547c2bfd4de7550065f638322bba9430ce4b60662be9bb512663aa4d7df8ab3f3b4181c5d44a7bdf42436620b7d8a6b81ac936", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoeNMjxbROGc/7lXAgFR8K/1N51UA\nZfY4Miu6lDDOS2BmK+m7USZjqk19+Ks/O0GBxdRKe99CQ2Ygt9imuBrJNg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 128, | |
"comment" : "extreme value for k and s^-1", | |
"msg" : "54657374", | |
"sig" : "7cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc476699783333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aaa", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "fhqKgzjX_Yz0HTIqMC0geKh6I8cYYVDtfNpuUoF8G98", | |
"y" : "0KkTWonSHOgh4pAUsomDSSVNdIJystTrjVnuNMYVN38" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "047e1a8a8338d7fd8cf41d322a302d2078a87a23c7186150ed7cda6e52817c1bdfd0a9135a89d21ce821e29014b2898349254d748272b2d4eb8d59ee34c615377f", | |
"wx" : "7e1a8a8338d7fd8cf41d322a302d2078a87a23c7186150ed7cda6e52817c1bdf", | |
"wy" : "0d0a9135a89d21ce821e29014b2898349254d748272b2d4eb8d59ee34c615377f" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200047e1a8a8338d7fd8cf41d322a302d2078a87a23c7186150ed7cda6e52817c1bdfd0a9135a89d21ce821e29014b2898349254d748272b2d4eb8d59ee34c615377f", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEfhqKgzjX/Yz0HTIqMC0geKh6I8cY\nYVDtfNpuUoF8G9/QqRNaidIc6CHikBSyiYNJJU10gnKy1OuNWe40xhU3fw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 129, | |
"comment" : "extreme value for k and s^-1", | |
"msg" : "54657374", | |
"sig" : "7cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc4766997849249248db6db6dbb6db6db6db6db6db5a8b230d0b2b51dcd7ebf0c9fef7c185", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "XBn-Inphq8ZcYe56AYzJVxssb2Y-ozWD92pob2S-B4s", | |
"y" : "e0oNc0lA9hPVK8SGc7RXws94SSSQpcxWBsBUHReyTds" | |
}, | |
"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" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 130, | |
"comment" : "extreme value for k", | |
"msg" : "54657374", | |
"sig" : "7cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc4766997816a4502e2781e11ac82cbc9d1edd8c981584d13e18411e2f6e0478c34416e3bb", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "2wLR80IdYA6dnvnkdBnboyCO7QjC1BiaXbY6vrJzlmY", | |
"y" : "4O0mlnua2p7X_-SAgn-QoNIQ1f2OxijjFxXmskElUSo" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04db02d1f3421d600e9d9ef9e47419dba3208eed08c2d4189a5db63abeb2739666e0ed26967b9ada9ed7ffe480827f90a0d210d5fd8ec628e31715e6b24125512a", | |
"wx" : "0db02d1f3421d600e9d9ef9e47419dba3208eed08c2d4189a5db63abeb2739666", | |
"wy" : "0e0ed26967b9ada9ed7ffe480827f90a0d210d5fd8ec628e31715e6b24125512a" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004db02d1f3421d600e9d9ef9e47419dba3208eed08c2d4189a5db63abeb2739666e0ed26967b9ada9ed7ffe480827f90a0d210d5fd8ec628e31715e6b24125512a", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2wLR80IdYA6dnvnkdBnboyCO7QjC\n1BiaXbY6vrJzlmbg7SaWe5rantf/5ICCf5Cg0hDV/Y7GKOMXFeayQSVRKg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 131, | |
"comment" : "extreme value for k and edgecase s", | |
"msg" : "54657374", | |
"sig" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "YiLRliZVUBiTwp5EE5W2wFcRvT7VoO9yz6szi4ginEs", | |
"y" : "qq4HnLRKGvBwNiqqUg7iTKwmJkI7C_ga8cVDEdji_SM" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "046222d1962655501893c29e441395b6c05711bd3ed5a0ef72cfab338b88229c4baaae079cb44a1af070362aaa520ee24cac2626423b0bf81af1c54311d8e2fd23", | |
"wx" : "6222d1962655501893c29e441395b6c05711bd3ed5a0ef72cfab338b88229c4b", | |
"wy" : "0aaae079cb44a1af070362aaa520ee24cac2626423b0bf81af1c54311d8e2fd23" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046222d1962655501893c29e441395b6c05711bd3ed5a0ef72cfab338b88229c4baaae079cb44a1af070362aaa520ee24cac2626423b0bf81af1c54311d8e2fd23", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYiLRliZVUBiTwp5EE5W2wFcRvT7V\noO9yz6szi4ginEuqrgectEoa8HA2KqpSDuJMrCYmQjsL+BrxxUMR2OL9Iw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 132, | |
"comment" : "extreme value for k and s^-1", | |
"msg" : "54657374", | |
"sig" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296b6db6db6249249254924924924924924625bd7a09bec4ca81bcdd9f8fd6b63cc", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "TM-iTGfz3vf6gbyZxwuwQZwJUrpZn0wDNh2hhLBM3KU", | |
"y" : "23a3l_f0HZxymiIZR4p-Ypco34cIAL6M9sp6CoIVO_o" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "044ccfa24c67f3def7fa81bc99c70bb0419c0952ba599f4c03361da184b04cdca5db76b797f7f41d9c729a2219478a7e629728df870800be8cf6ca7a0a82153bfa", | |
"wx" : "4ccfa24c67f3def7fa81bc99c70bb0419c0952ba599f4c03361da184b04cdca5", | |
"wy" : "0db76b797f7f41d9c729a2219478a7e629728df870800be8cf6ca7a0a82153bfa" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044ccfa24c67f3def7fa81bc99c70bb0419c0952ba599f4c03361da184b04cdca5db76b797f7f41d9c729a2219478a7e629728df870800be8cf6ca7a0a82153bfa", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAETM+iTGfz3vf6gbyZxwuwQZwJUrpZ\nn0wDNh2hhLBM3KXbdreX9/QdnHKaIhlHin5ilyjfhwgAvoz2ynoKghU7+g==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 133, | |
"comment" : "extreme value for k and s^-1", | |
"msg" : "54657374", | |
"sig" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296cccccccc00000000cccccccccccccccc971f2ef152794b9d8fc7d568c9e8eaa7", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6hxyyRA0A2uscUArbp7MSvPb3nqZ3FdAYemf7_-dhNo", | |
"y" : "t90FfnW3isb1bjTrBI8KnSnV0FVAjJDQK8LqkYwYy2M" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04ea1c72c91034036bac71402b6e9ecc4af3dbde7a99dc574061e99fefff9d84dab7dd057e75b78ac6f56e34eb048f0a9d29d5d055408c90d02bc2ea918c18cb63", | |
"wx" : "0ea1c72c91034036bac71402b6e9ecc4af3dbde7a99dc574061e99fefff9d84da", | |
"wy" : "0b7dd057e75b78ac6f56e34eb048f0a9d29d5d055408c90d02bc2ea918c18cb63" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ea1c72c91034036bac71402b6e9ecc4af3dbde7a99dc574061e99fefff9d84dab7dd057e75b78ac6f56e34eb048f0a9d29d5d055408c90d02bc2ea918c18cb63", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE6hxyyRA0A2uscUArbp7MSvPb3nqZ\n3FdAYemf7/+dhNq33QV+dbeKxvVuNOsEjwqdKdXQVUCMkNArwuqRjBjLYw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 134, | |
"comment" : "extreme value for k and s^-1", | |
"msg" : "54657374", | |
"sig" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2963333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aaa", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "woeaZthssguCC3eV2i2mKziST3gX0c01DZNpiOkOebw", | |
"y" : "VDGnJo_2kxx6dZ3gJO_5C8sBdyFttv0fOqqhH6O2oIM" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"uncompressed" : "04c2879a66d86cb20b820b7795da2da62b38924f7817d1cd350d936988e90e79bc5431a7268ff6931c7a759de024eff90bcb0177216db6fd1f3aaaa11fa3b6a083", | |
"wx" : "0c2879a66d86cb20b820b7795da2da62b38924f7817d1cd350d936988e90e79bc", | |
"wy" : "5431a7268ff6931c7a759de024eff90bcb0177216db6fd1f3aaaa11fa3b6a083" | |
}, | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004c2879a66d86cb20b820b7795da2da62b38924f7817d1cd350d936988e90e79bc5431a7268ff6931c7a759de024eff90bcb0177216db6fd1f3aaaa11fa3b6a083", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwoeaZthssguCC3eV2i2mKziST3gX\n0c01DZNpiOkOebxUMacmj/aTHHp1neAk7/kLywF3IW22/R86qqEfo7aggw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"tests" : [ | |
{ | |
"tcId" : 135, | |
"comment" : "extreme value for k and s^-1", | |
"msg" : "54657374", | |
"sig" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c29649249248db6db6dbb6db6db6db6db6db5a8b230d0b2b51dcd7ebf0c9fef7c185", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "qxwPJz90q8K4SMdQBvLvPFTCbfJ3EbBlWPRVB5ruC6M", | |
"y" : "31EPLs722aBZl8d28UrWRWwXnwoTrxdx5NbDf6SLR_I" | |