{ | |
"algorithm" : "ECDSA", | |
"generatorVersion" : "0.4", | |
"numberOfTests" : 303, | |
"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." | |
}, | |
"header" : [], | |
"testGroups" : [ | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKSexBRK64+3c/kZ4KBKLrSkDJpkZ\n9whgacjE32xzKDjHeHlk6qwA5ZIfsUmKYPRgZ2az2WhQAVWNGpdOc0FRPg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "KSexBRK64-3c_kZ4KBKLrSkDJpkZ9whgacjE32xzKDg", | |
"y" : "x3h5ZOqsAOWSH7FJimD0YGdms9loUAFVjRqXTnNBUT4" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "2927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838", | |
"wy" : "0c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 1, | |
"comment" : "signature malleability", | |
"msg" : "313233343030", | |
"sig" : "2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e184cd60b855d442f5b3c7b11eb6c4e0ae7525fe710fab9aa7c77a67f79e6fadd76", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 2, | |
"comment" : "random signature", | |
"msg" : "313233343030", | |
"sig" : "8c526513e8ca357036e73ba8226f28bb532936036536ef67213076cfb95e1374b4da25485c638e9371ff7fcde72073f4008aeefab4e78e15bda7a9d21ae5298c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 3, | |
"comment" : "random signature", | |
"msg" : "313233343030", | |
"sig" : "8c8d854e6af6848193e770e03fe9a0d16d2df9a10ccaa11de5e1c6dbf3b6608275090dbab427b7e312d46d011fca33b9aa853db73c8c526dee92ccccb99a0028", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 4, | |
"comment" : "random signature", | |
"msg" : "313233343030", | |
"sig" : "7e0327b81330972b880c1341aa1e31d09f38180f0153cb8ee3df1272a724e49e651f7f0131c72a9f48b47525cffd008f1b968af7b9cff2207bbf889a5f7941f9", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 5, | |
"comment" : "random signature", | |
"msg" : "313233343030", | |
"sig" : "dd3d20d487625ce65f4d608b6e704e87d9a7d987e68444e3e833202ecaf0d949b87d8bbcf0e1ef12607540b1f38e3f55ad8fd9b3cf5cfd0908d06d4e94d360fe", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 6, | |
"comment" : "random signature", | |
"msg" : "313233343030", | |
"sig" : "184968ed81fd25b2a270c4417f0de526a13c1c532c7707fb35e72b31eaf7b4ae224130d9d89358bce5def9ebaa3e3ec139abf676ef0ea2dd93c3c1f81f1354a5", | |
"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" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d705d16f80987e2d9b1a6957d29ce22febf7d10fa515153182415c8361baaca4b1fc105ee5ce80d514ec1238beae2037a6f83625593620d460819e8682160926", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1wXRb4CYfi2bGmlX0pziL+v30Q+l\nFRUxgkFcg2G6rKSx/BBe5c6A1RTsEji+riA3pvg2JVk2INRggZ6GghYJJg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "1wXRb4CYfi2bGmlX0pziL-v30Q-lFRUxgkFcg2G6rKQ", | |
"y" : "sfwQXuXOgNUU7BI4vq4gN6b4NiVZNiDUYIGehoIWCSY" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0d705d16f80987e2d9b1a6957d29ce22febf7d10fa515153182415c8361baaca4", | |
"wy" : "0b1fc105ee5ce80d514ec1238beae2037a6f83625593620d460819e8682160926" | |
}, | |
"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" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043cd8d2f81d6953b0844c09d7b560d527cd2ef67056893eadafa52c8501387d59ee41fdb4d10402ce7a0c5e3b747adfa3a490b62a6b7719068903485c0bb6dc2d", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPNjS+B1pU7CETAnXtWDVJ80u9nBW\niT6tr6UshQE4fVnuQf200QQCznoMXjt0et+jpJC2Kmt3GQaJA0hcC7bcLQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "PNjS-B1pU7CETAnXtWDVJ80u9nBWiT6tr6UshQE4fVk", | |
"y" : "7kH9tNEEAs56DF47dHrfo6SQtiprdxkGiQNIXAu23C0" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "3cd8d2f81d6953b0844c09d7b560d527cd2ef67056893eadafa52c8501387d59", | |
"wy" : "0ee41fdb4d10402ce7a0c5e3b747adfa3a490b62a6b7719068903485c0bb6dc2d" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 66, | |
"comment" : "r,s are large", | |
"msg" : "54657374", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254fffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048240cd81edd91cb6936133508c3915100e81f332c4545d41189b481196851378e05b06e72d4a1bff80ea5db514aa2f93ea6dd6d9c0ae27b7837dc432f9ce89d9", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgkDNge3ZHLaTYTNQjDkVEA6B8zLE\nVF1BGJtIEZaFE3jgWwbnLUob/4DqXbUUqi+T6m3W2cCuJ7eDfcQy+c6J2Q==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "gkDNge3ZHLaTYTNQjDkVEA6B8zLEVF1BGJtIEZaFE3g", | |
"y" : "4FsG5y1KG_-A6l21FKovk-pt1tnArie3g33EMvnOidk" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "08240cd81edd91cb6936133508c3915100e81f332c4545d41189b481196851378", | |
"wy" : "0e05b06e72d4a1bff80ea5db514aa2f93ea6dd6d9c0ae27b7837dc432f9ce89d9" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 67, | |
"comment" : "r and s^-1 have a large Hamming weight", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd909135bdb6799286170f5ead2de4f6511453fe50914f3df2de54a36383df8dd4", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004b062947356748b0fc17f1704c65aa1dca6e1bfe6779756fa616d91eaad13df2c0b38c17f3d0672e7409cfc5992a99fff12b84a4f8432293b431113f1b2fb579d", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsGKUc1Z0iw/BfxcExlqh3Kbhv+Z3\nl1b6YW2R6q0T3ywLOMF/PQZy50Cc/FmSqZ//ErhKT4QyKTtDERPxsvtXnQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "sGKUc1Z0iw_BfxcExlqh3Kbhv-Z3l1b6YW2R6q0T3yw", | |
"y" : "CzjBfz0GcudAnPxZkqmf_xK4Sk-EMik7QxET8bL7V50" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0b062947356748b0fc17f1704c65aa1dca6e1bfe6779756fa616d91eaad13df2c", | |
"wy" : "0b38c17f3d0672e7409cfc5992a99fff12b84a4f8432293b431113f1b2fb579d" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 68, | |
"comment" : "r and s^-1 have a large Hamming weight", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd27b4577ca009376f71303fd5dd227dcef5deb773ad5f5a84360644669ca249a5", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044a03ef9f92eb268cafa601072489a56380fa0dc43171d7712813b3a19a1eb5e53e213e28a608ce9a2f4a17fd830c6654018a79b3e0263d91a8ba90622df6f2f0", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAESgPvn5LrJoyvpgEHJImlY4D6DcQx\ncddxKBOzoZoeteU+IT4opgjOmi9KF/2DDGZUAYp5s+AmPZGoupBiLfby8A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SgPvn5LrJoyvpgEHJImlY4D6DcQxcddxKBOzoZoeteU", | |
"y" : "PiE-KKYIzpovShf9gwxmVAGKebPgJj2RqLqQYi328vA" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "4a03ef9f92eb268cafa601072489a56380fa0dc43171d7712813b3a19a1eb5e5", | |
"wy" : "3e213e28a608ce9a2f4a17fd830c6654018a79b3e0263d91a8ba90622df6f2f0" | |
}, | |
"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" | |
] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004091194c1cba17f34e286b4833701606a41cef26177ada8850b601ea1f859e70127242fcec708828758403ce2fe501983a7984e6209f4d6b95db9ad77767f55eb", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECRGUwcuhfzTihrSDNwFgakHO8mF3\nraiFC2AeofhZ5wEnJC/OxwiCh1hAPOL+UBmDp5hOYgn01rldua13dn9V6w==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "CRGUwcuhfzTihrSDNwFgakHO8mF3raiFC2AeofhZ5wE", | |
"y" : "JyQvzscIgodYQDzi_lAZg6eYTmIJ9Na5Xbmtd3Z_Ves" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "091194c1cba17f34e286b4833701606a41cef26177ada8850b601ea1f859e701", | |
"wy" : "27242fcec708828758403ce2fe501983a7984e6209f4d6b95db9ad77767f55eb" | |
}, | |
"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" | |
] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004103c6ecceff59e71ea8f56fee3a4b2b148e81c2bdbdd39c195812c96dcfb41a72303a193dc591be150b883d770ec51ebb4ebce8b09042c2ecb16c448d8e57bf5", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEEDxuzO/1nnHqj1b+46SysUjoHCvb\n3TnBlYEsltz7QacjA6GT3Fkb4VC4g9dw7FHrtOvOiwkELC7LFsRI2OV79Q==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "EDxuzO_1nnHqj1b-46SysUjoHCvb3TnBlYEsltz7Qac", | |
"y" : "IwOhk9xZG-FQuIPXcOxR67TrzosJBCwuyxbESNjle_U" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "103c6ecceff59e71ea8f56fee3a4b2b148e81c2bdbdd39c195812c96dcfb41a7", | |
"wy" : "2303a193dc591be150b883d770ec51ebb4ebce8b09042c2ecb16c448d8e57bf5" | |
}, | |
"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" | |
] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043b66b829fe604638bcb2bfe8c22228be67390c20111bd2b451468927e87fb6eabc8e59c009361758b274ba2cad36b58fde485a3ed09dade76712fa9e9c4ac212", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEO2a4Kf5gRji8sr/owiIovmc5DCAR\nG9K0UUaJJ+h/tuq8jlnACTYXWLJ0uiytNrWP3khaPtCdrednEvqenErCEg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "O2a4Kf5gRji8sr_owiIovmc5DCARG9K0UUaJJ-h_tuo", | |
"y" : "vI5ZwAk2F1iydLosrTa1j95IWj7Qna3nZxL6npxKwhI" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "3b66b829fe604638bcb2bfe8c22228be67390c20111bd2b451468927e87fb6ea", | |
"wy" : "0bc8e59c009361758b274ba2cad36b58fde485a3ed09dade76712fa9e9c4ac212" | |
}, | |
"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" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044ff2f6c24e4a33cd71c09fdcbc74a6233961b874b8c8e0eb94582092cbc50c3084fa9547afda5c66335f3f937d4c79afa120486b534139d59ae82d61ead26420", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAET/L2wk5KM81xwJ/cvHSmIzlhuHS4\nyODrlFggksvFDDCE+pVHr9pcZjNfP5N9THmvoSBIa1NBOdWa6C1h6tJkIA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "T_L2wk5KM81xwJ_cvHSmIzlhuHS4yODrlFggksvFDDA", | |
"y" : "hPqVR6_aXGYzXz-TfUx5r6EgSGtTQTnVmugtYerSZCA" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "4ff2f6c24e4a33cd71c09fdcbc74a6233961b874b8c8e0eb94582092cbc50c30", | |
"wy" : "084fa9547afda5c66335f3f937d4c79afa120486b534139d59ae82d61ead26420" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 78, | |
"comment" : "s is larger than n", | |
"msg" : "54657374", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000005ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc75fbd8", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000484b959080bb30859cd53c2fb973cf14d60cdaa8ee00587889b5bc657ac588175a02ce5c1e53cb196113c78b4cb8dc7d360e5ea7850b0f6650b0c45af2c3cd7ca", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhLlZCAuzCFnNU8L7lzzxTWDNqo7g\nBYeIm1vGV6xYgXWgLOXB5TyxlhE8eLTLjcfTYOXqeFCw9mULDEWvLDzXyg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "hLlZCAuzCFnNU8L7lzzxTWDNqo7gBYeIm1vGV6xYgXU", | |
"y" : "oCzlweU8sZYRPHi0y43H02Dl6nhQsPZlCwxFryw818o" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "084b959080bb30859cd53c2fb973cf14d60cdaa8ee00587889b5bc657ac588175", | |
"wy" : "0a02ce5c1e53cb196113c78b4cb8dc7d360e5ea7850b0f6650b0c45af2c3cd7ca" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 79, | |
"comment" : "small r and s^-1", | |
"msg" : "54657374", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000001008f1e3c7862c58b16bb76eddbb76eddbb516af4f63f2d74d76e0d28c9bb75ea88", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004df4083bd6ecbda5a77ae578e5d835fa7f74a07ebb91e0570e1ff32a563354e9925af80b09a167d9ef647df28e2d9acd0d4bc4f2deec5723818edaf9071e311f8", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE30CDvW7L2lp3rleOXYNfp/dKB+u5\nHgVw4f8ypWM1Tpklr4CwmhZ9nvZH3yji2azQ1LxPLe7FcjgY7a+QceMR+A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "30CDvW7L2lp3rleOXYNfp_dKB-u5HgVw4f8ypWM1Tpk", | |
"y" : "Ja-AsJoWfZ72R98o4tms0NS8Ty3uxXI4GO2vkHHjEfg" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0df4083bd6ecbda5a77ae578e5d835fa7f74a07ebb91e0570e1ff32a563354e99", | |
"wy" : "25af80b09a167d9ef647df28e2d9acd0d4bc4f2deec5723818edaf9071e311f8" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 80, | |
"comment" : "smallish r and s^-1", | |
"msg" : "54657374", | |
"sig" : "000000000000000000000000000000000000000000000000002d9b4d347952d6ef3043e7329581dbb3974497710ab11505ee1c87ff907beebadd195a0ffe6d7a", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004c2569a3c9bf8c1838ca821f7ba6f000cc8679d278f3736b414a34a7c956a03770387ea85bc4f28804b4a91c9b7d65bc6434c975806795ab7d441a4e9683aeb09", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwlaaPJv4wYOMqCH3um8ADMhnnSeP\nNza0FKNKfJVqA3cDh+qFvE8ogEtKkcm31lvGQ0yXWAZ5WrfUQaTpaDrrCQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "wlaaPJv4wYOMqCH3um8ADMhnnSePNza0FKNKfJVqA3c", | |
"y" : "A4fqhbxPKIBLSpHJt9ZbxkNMl1gGeVq31EGk6Wg66wk" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0c2569a3c9bf8c1838ca821f7ba6f000cc8679d278f3736b414a34a7c956a0377", | |
"wy" : "387ea85bc4f28804b4a91c9b7d65bc6434c975806795ab7d441a4e9683aeb09" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 81, | |
"comment" : "100-bit r and small s^-1", | |
"msg" : "54657374", | |
"sig" : "000000000000000000000000000000000000001033e67e37b32b445580bf4eff8b748b74000000008b748b748b748b7466e769ad4a16d3dcd87129b8e91d1b4d", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044a9f7da2a6c359a16540c271774a6bf1c586357c978256f44a6496d80670968ac496e73a44563f8d56fbd7bb9e4e3ae304c86f2c508eb777b03924755beb40d4", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAESp99oqbDWaFlQMJxd0pr8cWGNXyX\nglb0SmSW2AZwlorEluc6RFY/jVb717ueTjrjBMhvLFCOt3ewOSR1W+tA1A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Sp99oqbDWaFlQMJxd0pr8cWGNXyXglb0SmSW2AZwloo", | |
"y" : "xJbnOkRWP41W-9e7nk464wTIbyxQjrd3sDkkdVvrQNQ" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "4a9f7da2a6c359a16540c271774a6bf1c586357c978256f44a6496d80670968a", | |
"wy" : "0c496e73a44563f8d56fbd7bb9e4e3ae304c86f2c508eb777b03924755beb40d4" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 82, | |
"comment" : "small r and 100 bit s^-1", | |
"msg" : "54657374", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000100ef9f6ba4d97c09d03178fa20b4aaad83be3cf9cb824a879fec3270fc4b81ef5b", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004874146432b3cd2c9e26204c0a34136996067d466dde4917a8ff23a8e95ca106b709b3d50976ef8b385a813bc35f3a20710bdc6edd465e6f43ac4866703a6608c", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEh0FGQys80sniYgTAo0E2mWBn1Gbd\n5JF6j/I6jpXKEGtwmz1Ql274s4WoE7w186IHEL3G7dRl5vQ6xIZnA6ZgjA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "h0FGQys80sniYgTAo0E2mWBn1Gbd5JF6j_I6jpXKEGs", | |
"y" : "cJs9UJdu-LOFqBO8NfOiBxC9xu3UZeb0OsSGZwOmYIw" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0874146432b3cd2c9e26204c0a34136996067d466dde4917a8ff23a8e95ca106b", | |
"wy" : "709b3d50976ef8b385a813bc35f3a20710bdc6edd465e6f43ac4866703a6608c" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 83, | |
"comment" : "100-bit r and s^-1", | |
"msg" : "54657374", | |
"sig" : "00000000000000000000000000000000000000062522bbd3ecbe7c39e93e7c25ef9f6ba4d97c09d03178fa20b4aaad83be3cf9cb824a879fec3270fc4b81ef5b", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200047a736d8e326a9ca62bbe25a34ea4e3633b499a96afa7aaa3fcf3fd88f8e07edeb3e45879d8622b93e818443a686e869eeda7bf9ae46aa3eafcc48a5934864627", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEenNtjjJqnKYrviWjTqTjYztJmpav\np6qj/PP9iPjgft6z5Fh52GIrk+gYRDpoboae7ae/muRqo+r8xIpZNIZGJw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "enNtjjJqnKYrviWjTqTjYztJmpavp6qj_PP9iPjgft4", | |
"y" : "s-RYedhiK5PoGEQ6aG6Gnu2nv5rkaqPq_MSKWTSGRic" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "7a736d8e326a9ca62bbe25a34ea4e3633b499a96afa7aaa3fcf3fd88f8e07ede", | |
"wy" : "0b3e45879d8622b93e818443a686e869eeda7bf9ae46aa3eafcc48a5934864627" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 84, | |
"comment" : "r and s^-1 are close to n", | |
"msg" : "54657374", | |
"sig" : "ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6324d5555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e84d9b232e971a43382630f99725e423ec1ecb41e55172e9c69748a03f0d5988618b15b427ad83363bd041ff75fac98ef2ee923714e7d1dfe31753793c7588d4", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE6E2bIy6XGkM4JjD5lyXkI+wey0Hl\nUXLpxpdIoD8NWYhhixW0J62DNjvQQf91+smO8u6SNxTn0d/jF1N5PHWI1A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6E2bIy6XGkM4JjD5lyXkI-wey0HlUXLpxpdIoD8NWYg", | |
"y" : "YYsVtCetgzY70EH_dfrJjvLukjcU59Hf4xdTeTx1iNQ" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0e84d9b232e971a43382630f99725e423ec1ecb41e55172e9c69748a03f0d5988", | |
"wy" : "618b15b427ad83363bd041ff75fac98ef2ee923714e7d1dfe31753793c7588d4" | |
}, | |
"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" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040203736fcb198b15d8d7a0c80f66dddd15259240aa78d08aae67c467de04503434383438d5041ea9a387ee8e4d4e84b4471b160c6bcf2568b072f8f20e87a996", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAgNzb8sZixXY16DID2bd3RUlkkCq\neNCKrmfEZ94EUDQ0ODQ41QQeqaOH7o5NToS0RxsWDGvPJWiwcvjyDoeplg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AgNzb8sZixXY16DID2bd3RUlkkCqeNCKrmfEZ94EUDQ", | |
"y" : "NDg0ONUEHqmjh-6OTU6EtEcbFgxrzyVosHL48g6HqZY" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "203736fcb198b15d8d7a0c80f66dddd15259240aa78d08aae67c467de045034", | |
"wy" : "34383438d5041ea9a387ee8e4d4e84b4471b160c6bcf2568b072f8f20e87a996" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 87, | |
"comment" : "point at infinity during verify", | |
"msg" : "54657374", | |
"sig" : "7fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a8555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a17f5b75a35ed64623ca5cbf1f91951292db0c23f0c2ea24c3d0cad0988cabc083a7a618625c228940730b4fa3ee64faecbb2fc20fdde7c58b3a3f6300424dc6", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoX9bdaNe1kYjyly/H5GVEpLbDCPw\nwuokw9DK0JiMq8CDp6YYYlwiiUBzC0+j7mT67Lsvwg/d58WLOj9jAEJNxg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "oX9bdaNe1kYjyly_H5GVEpLbDCPwwuokw9DK0JiMq8A", | |
"y" : "g6emGGJcIolAcwtPo-5k-uy7L8IP3efFizo_YwBCTcY" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0a17f5b75a35ed64623ca5cbf1f91951292db0c23f0c2ea24c3d0cad0988cabc0", | |
"wy" : "083a7a618625c228940730b4fa3ee64faecbb2fc20fdde7c58b3a3f6300424dc6" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 88, | |
"comment" : "u1 == 1", | |
"msg" : "54657374", | |
"sig" : "555555550000000055555555555555553ef7a8e48d07df81a693439654210c70532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000404ba0cba291a37db13f33bf90dab628c04ec8393a0200419e9eaa1ebcc9fb5c31f3a0a0e6823a49b625ad57b12a32d4047970fc3428f0f0049ecf4265dc12f62", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEBLoMuikaN9sT8zv5DatijATsg5Og\nIAQZ6eqh68yftcMfOgoOaCOkm2Ja1XsSoy1AR5cPw0KPDwBJ7PQmXcEvYg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "BLoMuikaN9sT8zv5DatijATsg5OgIAQZ6eqh68yftcM", | |
"y" : "HzoKDmgjpJtiWtV7EqMtQEeXD8NCjw8ASez0Jl3BL2I" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "4ba0cba291a37db13f33bf90dab628c04ec8393a0200419e9eaa1ebcc9fb5c3", | |
"wy" : "1f3a0a0e6823a49b625ad57b12a32d4047970fc3428f0f0049ecf4265dc12f62" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 89, | |
"comment" : "u1 == n - 1", | |
"msg" : "54657374", | |
"sig" : "555555550000000055555555555555553ef7a8e48d07df81a693439654210c70acd155416a8b77f34089464733ff7cd39c400e9c69af7beb9eac5054ed2ec72c", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004692b6c828e0feed63d8aeaa2b7322f9ccbe8723a1ed39f229f204a434b8900efa1f6f6abcb38ea3b8fde38b98c7c271f274af56a8c5628dc3329069ae4dd5716", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaStsgo4P7tY9iuqitzIvnMvocjoe\n058inyBKQ0uJAO+h9varyzjqO4/eOLmMfCcfJ0r1aoxWKNwzKQaa5N1XFg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "aStsgo4P7tY9iuqitzIvnMvocjoe058inyBKQ0uJAO8", | |
"y" : "ofb2q8s46juP3ji5jHwnHydK9WqMVijcMykGmuTdVxY" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "692b6c828e0feed63d8aeaa2b7322f9ccbe8723a1ed39f229f204a434b8900ef", | |
"wy" : "0a1f6f6abcb38ea3b8fde38b98c7c271f274af56a8c5628dc3329069ae4dd5716" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 90, | |
"comment" : "u2 == 1", | |
"msg" : "54657374", | |
"sig" : "555555550000000055555555555555553ef7a8e48d07df81a693439654210c70555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000400cefd9162d13e64cb93687a9cd8f9755ebb5a3ef7632f800f84871874ccef09543ecbeaf7e8044ef721be2fb5f549e4b8480d2587404ebf7dbbef2c54bc0cb1", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAM79kWLRPmTLk2h6nNj5dV67Wj73\nYy+AD4SHGHTM7wlUPsvq9+gETvchvi+19UnkuEgNJYdATr99u+8sVLwMsQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AM79kWLRPmTLk2h6nNj5dV67Wj73Yy-AD4SHGHTM7wk", | |
"y" : "VD7L6vfoBE73Ib4vtfVJ5LhIDSWHQE6_fbvvLFS8DLE" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0cefd9162d13e64cb93687a9cd8f9755ebb5a3ef7632f800f84871874ccef09", | |
"wy" : "543ecbeaf7e8044ef721be2fb5f549e4b8480d2587404ebf7dbbef2c54bc0cb1" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 91, | |
"comment" : "u2 == n - 1", | |
"msg" : "54657374", | |
"sig" : "555555550000000055555555555555553ef7a8e48d07df81a693439654210c70aaaaaaaa00000000aaaaaaaaaaaaaaaa7def51c91a0fbf034d26872ca84218e1", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004b975183b42551cf52f291d5c1921fd5e12f50c8c85a4beb9de03efa3f0f244862243018e6866df922dc313612020311ff21e242ce3fb15bc78c406b25ab43091", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuXUYO0JVHPUvKR1cGSH9XhL1DIyF\npL653gPvo/DyRIYiQwGOaGbfki3DE2EgIDEf8h4kLOP7Fbx4xAayWrQwkQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "uXUYO0JVHPUvKR1cGSH9XhL1DIyFpL653gPvo_DyRIY", | |
"y" : "IkMBjmhm35ItwxNhICAxH_IeJCzj-xW8eMQGslq0MJE" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0b975183b42551cf52f291d5c1921fd5e12f50c8c85a4beb9de03efa3f0f24486", | |
"wy" : "2243018e6866df922dc313612020311ff21e242ce3fb15bc78c406b25ab43091" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 92, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd710f8e3edc7c2d5a3fd23de844002bb949d9f794f6d5405f6d97c1bb03dd2bd2", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004c25f1d166f3e211cdf042a26f8abf6094d48b8d17191d74ed71714927446699965d06dd6a88abfa49e8b4c5da6bb922851969adf9604b5accfb52a114e77ccdb", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwl8dFm8+IRzfBCom+Kv2CU1IuNFx\nkddO1xcUknRGaZll0G3WqIq/pJ6LTF2mu5IoUZaa35YEtazPtSoRTnfM2w==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "wl8dFm8-IRzfBCom-Kv2CU1IuNFxkddO1xcUknRGaZk", | |
"y" : "ZdBt1qiKv6Sei0xdpruSKFGWmt-WBLWsz7UqEU53zNs" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0c25f1d166f3e211cdf042a26f8abf6094d48b8d17191d74ed717149274466999", | |
"wy" : "65d06dd6a88abfa49e8b4c5da6bb922851969adf9604b5accfb52a114e77ccdb" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 93, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdedffbc270f722c243069a7e5f40335a61a58525c7b4db2e7a8e269274ffe4e1b", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048fe5e88243a76e41a004236218a3c3a2d6eee398a23c3a0b008d7f0164cbc0ca98a20d1bdcf573513c7cfd9b83c63e3a82d40127c897697c86b8cb387af7f240", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEj+XogkOnbkGgBCNiGKPDotbu45ii\nPDoLAI1/AWTLwMqYog0b3PVzUTx8/ZuDxj46gtQBJ8iXaXyGuMs4evfyQA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "j-XogkOnbkGgBCNiGKPDotbu45iiPDoLAI1_AWTLwMo", | |
"y" : "mKING9z1c1E8fP2bg8Y-OoLUASfIl2l8hrjLOHr38kA" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "08fe5e88243a76e41a004236218a3c3a2d6eee398a23c3a0b008d7f0164cbc0ca", | |
"wy" : "098a20d1bdcf573513c7cfd9b83c63e3a82d40127c897697c86b8cb387af7f240" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 94, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffda25adcae105ed7ff4f95d2344e24ee523314c3e178525d007904b68919ba4d53", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000402148256b530fbc470c7b341970b38243ecee6d5a840a37beca2efb37e8dff2cc0adbea0882482a7489ca703a399864ba987eeb6ddb738af53a83573473cb30d", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAhSCVrUw+8Rwx7NBlws4JD7O5tWo\nQKN77KLvs36N/yzArb6giCSCp0icpwOjmYZLqYfutt23OK9TqDVzRzyzDQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AhSCVrUw-8Rwx7NBlws4JD7O5tWoQKN77KLvs36N_yw", | |
"y" : "wK2-oIgkgqdInKcDo5mGS6mH7rbdtzivU6g1c0c8sw0" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "2148256b530fbc470c7b341970b38243ecee6d5a840a37beca2efb37e8dff2c", | |
"wy" : "0c0adbea0882482a7489ca703a399864ba987eeb6ddb738af53a83573473cb30d" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 95, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd2e4348c645707dce6760d773de3f3e87346924b2f64bd3dd0297e766b5805ebb", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a34db012ce6eda1e9c7375c5fcf3e54ed698e19615124273b3a621d021c76f8e777458d6f55a364c221e39e1205d5510bb4fbb7ddf08d8d8fdde13d1d6df7f14", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEo02wEs5u2h6cc3XF/PPlTtaY4ZYV\nEkJzs6Yh0CHHb453dFjW9Vo2TCIeOeEgXVUQu0+7fd8I2Nj93hPR1t9/FA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "o02wEs5u2h6cc3XF_PPlTtaY4ZYVEkJzs6Yh0CHHb44", | |
"y" : "d3RY1vVaNkwiHjnhIF1VELtPu33fCNjY_d4T0dbffxQ" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0a34db012ce6eda1e9c7375c5fcf3e54ed698e19615124273b3a621d021c76f8e", | |
"wy" : "777458d6f55a364c221e39e1205d5510bb4fbb7ddf08d8d8fdde13d1d6df7f14" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 96, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd348c673b07dce3920d773de3f3e87408869e916dbcf797d8f9684fb67753d1dc", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004b97af3fe78be15f2912b6271dd8a43badb6dd2a1b315b2ce7ae37b4e7778041d930d71ee1992d2466495c42102d08e81154c305307d1dcd52d0fa4c479b278e7", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuXrz/ni+FfKRK2Jx3YpDuttt0qGz\nFbLOeuN7Tnd4BB2TDXHuGZLSRmSVxCEC0I6BFUwwUwfR3NUtD6TEebJ45w==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "uXrz_ni-FfKRK2Jx3YpDuttt0qGzFbLOeuN7Tnd4BB0", | |
"y" : "kw1x7hmS0kZklcQhAtCOgRVMMFMH0dzVLQ-kxHmyeOc" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0b97af3fe78be15f2912b6271dd8a43badb6dd2a1b315b2ce7ae37b4e7778041d", | |
"wy" : "0930d71ee1992d2466495c42102d08e81154c305307d1dcd52d0fa4c479b278e7" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 97, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6918ce760fb9c7241aee7bc7e7d0e8110d3d22db79ef2fb1f2d09f6ceea7a3b8", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000481e7198a3c3f23901cedc7a1d6eff6e9bf81108e6c35cd8559139af3135dbcbb9ef1568530291a8061b90c9f4285eefcba990d4570a4e3b7b737525b5d580034", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgecZijw/I5Ac7ceh1u/26b+BEI5s\nNc2FWROa8xNdvLue8VaFMCkagGG5DJ9Che78upkNRXCk47e3N1JbXVgANA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "gecZijw_I5Ac7ceh1u_26b-BEI5sNc2FWROa8xNdvLs", | |
"y" : "nvFWhTApGoBhuQyfQoXu_LqZDUVwpOO3tzdSW11YADQ" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "081e7198a3c3f23901cedc7a1d6eff6e9bf81108e6c35cd8559139af3135dbcbb", | |
"wy" : "09ef1568530291a8061b90c9f4285eefcba990d4570a4e3b7b737525b5d580034" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 98, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd73b3c694391d8eadde3f3e874089464715ac20e4c126bbf6d864d648969f5b5a", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ab4d792ca121d1dba39cb9de645149c2ab573e8becc6ddff3cc9960f188ddf737f90ba23664153e93262ff73355415195858d7be1315a69456386de68285a3c8", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEq015LKEh0dujnLneZFFJwqtXPovs\nxt3/PMmWDxiN33N/kLojZkFT6TJi/3M1VBUZWFjXvhMVppRWOG3mgoWjyA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "q015LKEh0dujnLneZFFJwqtXPovsxt3_PMmWDxiN33M", | |
"y" : "f5C6I2ZBU-kyYv9zNVQVGVhY174TFaaUVjht5oKFo8g" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0ab4d792ca121d1dba39cb9de645149c2ab573e8becc6ddff3cc9960f188ddf73", | |
"wy" : "7f90ba23664153e93262ff73355415195858d7be1315a69456386de68285a3c8" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 99, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdbb07ac7a86948c2c2989a16db1930ef1b89ce112595197656877e53c41457f28", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004518412b69af43aae084476a68d59bbde51fbfa9e5be80563f587c9c2652f88ef2d3b90d25baa6bdb7b0c55e5240a3a98fbc24afed8523edec1c70503fc10f233", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUYQStpr0Oq4IRHamjVm73lH7+p5b\n6AVj9YfJwmUviO8tO5DSW6pr23sMVeUkCjqY+8JK/thSPt7BxwUD/BDyMw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "UYQStpr0Oq4IRHamjVm73lH7-p5b6AVj9YfJwmUviO8", | |
"y" : "LTuQ0luqa9t7DFXlJAo6mPvCSv7YUj7ewccFA_wQ8jM" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "518412b69af43aae084476a68d59bbde51fbfa9e5be80563f587c9c2652f88ef", | |
"wy" : "2d3b90d25baa6bdb7b0c55e5240a3a98fbc24afed8523edec1c70503fc10f233" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 100, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd27e4d82cb6c061dd9337c69bf9332ed3d198662d6f2299443f62c861187db648", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a08f14a644b9a935dffea4761ebaf592d1f66fe6cd373aa7f5d370af34f8352da54b5bc4025cf335900a914c2934ec2fec7a396d0a7affcad732a5741c7aaaf5", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoI8UpkS5qTXf/qR2Hrr1ktH2b+bN\nNzqn9dNwrzT4NS2lS1vEAlzzNZAKkUwpNOwv7Ho5bQp6/8rXMqV0HHqq9Q==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "oI8UpkS5qTXf_qR2Hrr1ktH2b-bNNzqn9dNwrzT4NS0", | |
"y" : "pUtbxAJc8zWQCpFMKTTsL-x6OW0Kev_K1zKldBx6qvU" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0a08f14a644b9a935dffea4761ebaf592d1f66fe6cd373aa7f5d370af34f8352d", | |
"wy" : "0a54b5bc4025cf335900a914c2934ec2fec7a396d0a7affcad732a5741c7aaaf5" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 101, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffde7c5cf3aac2e88923b77850515fff6a12d13b356dfe9ec275c3dd81ae94609a4", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ccf2296a6a89b62b90739d38af4ae3a20e9f45715b90044639241061e33f8f8caace0046491eeaa1c6e9a472b96d88f4af83e7ff1bb84438c7e058034412ae08", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzPIpamqJtiuQc504r0rjog6fRXFb\nkARGOSQQYeM/j4yqzgBGSR7qocbppHK5bYj0r4Pn/xu4RDjH4FgDRBKuCA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "zPIpamqJtiuQc504r0rjog6fRXFbkARGOSQQYeM_j4w", | |
"y" : "qs4ARkke6qHG6aRyuW2I9K-D5_8buEQ4x-BYA0QSrgg" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0ccf2296a6a89b62b90739d38af4ae3a20e9f45715b90044639241061e33f8f8c", | |
"wy" : "0aace0046491eeaa1c6e9a472b96d88f4af83e7ff1bb84438c7e058034412ae08" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 102, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc77838df91c1e953e016e10bddffea2317f9fee32bacfe553cede9e57a748f68", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000494b0fc1525bcabf82b1f34895e5819a06c02b23e04002276e165f962c86e3927be7c2ab4d0b25303204fb32a1f8292902792225e16a6d2dbfb29fbc89a9c3376", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAElLD8FSW8q/grHzSJXlgZoGwCsj4E\nACJ24WX5YshuOSe+fCq00LJTAyBPsyofgpKQJ5IiXham0tv7KfvImpwzdg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "lLD8FSW8q_grHzSJXlgZoGwCsj4EACJ24WX5YshuOSc", | |
"y" : "vnwqtNCyUwMgT7MqH4KSkCeSIl4WptLb-yn7yJqcM3Y" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "094b0fc1525bcabf82b1f34895e5819a06c02b23e04002276e165f962c86e3927", | |
"wy" : "0be7c2ab4d0b25303204fb32a1f8292902792225e16a6d2dbfb29fbc89a9c3376" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 103, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd8ef071c02383d2a6c02dc217bbffd446730d0318b0425e2586220907f885f97f", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200045351f37e1de0c88c508527d89882d183ccdcf2efca407edb0627cadfd16de6ec44b4b57cdf960d32ebcc4c97847eed218425853b5b675eb781b766a1a1300349", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEU1Hzfh3gyIxQhSfYmILRg8zc8u/K\nQH7bBifK39Ft5uxEtLV835YNMuvMTJeEfu0hhCWFO1tnXreBt2ahoTADSQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "U1Hzfh3gyIxQhSfYmILRg8zc8u_KQH7bBifK39Ft5uw", | |
"y" : "RLS1fN-WDTLrzEyXhH7tIYQlhTtbZ163gbdmoaEwA0k" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "5351f37e1de0c88c508527d89882d183ccdcf2efca407edb0627cadfd16de6ec", | |
"wy" : "44b4b57cdf960d32ebcc4c97847eed218425853b5b675eb781b766a1a1300349" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 104, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd5668aaa0b545bbf9a044a32399ffbe69ce20074e34d7bdf5cf56282a76976396", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004748bbafc320e6735cb64019710a269c6c2b5d147bdc831325cb2fb276ac971a69d655e9a755bc9d800ad21ee3fd4d980d93a7a49a8c5ccd37005177578f51163", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdIu6/DIOZzXLZAGXEKJpxsK10Ue9\nyDEyXLL7J2rJcaadZV6adVvJ2ACtIe4/1NmA2Tp6SajFzNNwBRd1ePURYw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dIu6_DIOZzXLZAGXEKJpxsK10Ue9yDEyXLL7J2rJcaY", | |
"y" : "nWVemnVbydgArSHuP9TZgNk6ekmoxczTcAUXdXj1EWM" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "748bbafc320e6735cb64019710a269c6c2b5d147bdc831325cb2fb276ac971a6", | |
"wy" : "09d655e9a755bc9d800ad21ee3fd4d980d93a7a49a8c5ccd37005177578f51163" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 105, | |
"comment" : "edge case for u1", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd12d6e56882f6c0027cae91a27127728f7fddf478fb4fdc2b65f40a60b0eb952", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000414b3bbd75c5e1c0c36535a934d4ab85112410b3b90fa97a31c33038964fd85cc112f7d837f8f9c36b460d636c965a5f818f2b50c5d00fb3f9705561dd6631883", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEFLO711xeHAw2U1qTTUq4URJBCzuQ\n+pejHDMDiWT9hcwRL32Df4+cNrRg1jbJZaX4GPK1DF0A+z+XBVYd1mMYgw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "FLO711xeHAw2U1qTTUq4URJBCzuQ-pejHDMDiWT9hcw", | |
"y" : "ES99g3-PnDa0YNY2yWWl-BjytQxdAPs_lwVWHdZjGIM" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "14b3bbd75c5e1c0c36535a934d4ab85112410b3b90fa97a31c33038964fd85cc", | |
"wy" : "112f7d837f8f9c36b460d636c965a5f818f2b50c5d00fb3f9705561dd6631883" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 106, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7fffffffaaaaaaaaffffffffffffffffe9a2538f37b28a2c513dee40fecbb71a", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d823533c04cd8edc6d6f950a8e08ade04a9bafa2f14a590356935671ae9305bf43178d1f88b6a57a96924c265f0ddb75b58312907b195acb59d7797303123775", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2CNTPATNjtxtb5UKjgit4Eqbr6Lx\nSlkDVpNWca6TBb9DF40fiLalepaSTCZfDdt1tYMSkHsZWstZ13lzAxI3dQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "2CNTPATNjtxtb5UKjgit4Eqbr6LxSlkDVpNWca6TBb8", | |
"y" : "QxeNH4i2pXqWkkwmXw3bdbWDEpB7GVrLWdd5cwMSN3U" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0d823533c04cd8edc6d6f950a8e08ade04a9bafa2f14a590356935671ae9305bf", | |
"wy" : "43178d1f88b6a57a96924c265f0ddb75b58312907b195acb59d7797303123775" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 107, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdb62f26b5f2a2b26f6de86d42ad8a13da3ab3cccd0459b201de009e526adf21f2", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004db2b3408b3167d91030624c6328e8ce3ec108c105575c2f3d209b92e654bab69c34318139c50b0802c6e612f0fd3189d800df7c996d5d7b7c3d6be82836fa258", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2ys0CLMWfZEDBiTGMo6M4+wQjBBV\ndcLz0gm5LmVLq2nDQxgTnFCwgCxuYS8P0xidgA33yZbV17fD1r6Cg2+iWA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "2ys0CLMWfZEDBiTGMo6M4-wQjBBVdcLz0gm5LmVLq2k", | |
"y" : "w0MYE5xQsIAsbmEvD9MYnYAN98mW1de3w9a-goNvolg" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0db2b3408b3167d91030624c6328e8ce3ec108c105575c2f3d209b92e654bab69", | |
"wy" : "0c34318139c50b0802c6e612f0fd3189d800df7c996d5d7b7c3d6be82836fa258" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 108, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdbb1d9ac949dd748cd02bbbe749bd351cd57b38bb61403d700686aa7b4c90851e", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000409179ce7c59225392216453b2ac1e9d178c24837dfae26bc1dd7ab60638527425556b42e330289f3b826b2db7a86d19d45c2860a59f2be1ddcc3b691f95a9255", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECRec58WSJTkiFkU7KsHp0XjCSDff\nria8HderYGOFJ0JVVrQuMwKJ87gmstt6htGdRcKGClnyvh3cw7aR+VqSVQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "CRec58WSJTkiFkU7KsHp0XjCSDffria8HderYGOFJ0I", | |
"y" : "VVa0LjMCifO4JrLbeobRnUXChgpZ8r4d3MO2kflaklU" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "09179ce7c59225392216453b2ac1e9d178c24837dfae26bc1dd7ab6063852742", | |
"wy" : "5556b42e330289f3b826b2db7a86d19d45c2860a59f2be1ddcc3b691f95a9255" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 109, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd66755a00638cdaec1c732513ca0234ece52545dac11f816e818f725b4f60aaf2", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000401959fb8deda56e5467b7e4b214ea4c2d0c2fb29d70ff19b6b1eccebd6568d7ed9dbd77a918297fd970bff01e1343f6925167db5a14d098a211c39cc3a413398", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAZWfuN7aVuVGe35LIU6kwtDC+ynX\nD/Gbax7M69ZWjX7Z29d6kYKX/ZcL/wHhND9pJRZ9taFNCYohHDnMOkEzmA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AZWfuN7aVuVGe35LIU6kwtDC-ynXD_Gbax7M69ZWjX4", | |
"y" : "2dvXepGCl_2XC_8B4TQ_aSUWfbWhTQmKIRw5zDpBM5g" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "1959fb8deda56e5467b7e4b214ea4c2d0c2fb29d70ff19b6b1eccebd6568d7e", | |
"wy" : "0d9dbd77a918297fd970bff01e1343f6925167db5a14d098a211c39cc3a413398" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 110, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd55a00c9fcdaebb6032513ca0234ecfffe98ebe492fdf02e48ca48e982beb3669", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004567f1fdc387e5350c852b4e8f8ba9d6d947e1c5dd7ccc61a5938245dd6bcab3a9960bebaf919514f9535c22eaaf0b5812857970e26662267b1f3eb1011130a11", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEVn8f3Dh+U1DIUrTo+LqdbZR+HF3X\nzMYaWTgkXda8qzqZYL66+RlRT5U1wi6q8LWBKFeXDiZmImex8+sQERMKEQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Vn8f3Dh-U1DIUrTo-LqdbZR-HF3XzMYaWTgkXda8qzo", | |
"y" : "mWC-uvkZUU-VNcIuqvC1gShXlw4mZiJnsfPrEBETChE" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "567f1fdc387e5350c852b4e8f8ba9d6d947e1c5dd7ccc61a5938245dd6bcab3a", | |
"wy" : "09960bebaf919514f9535c22eaaf0b5812857970e26662267b1f3eb1011130a11" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 111, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdab40193f9b5d76c064a27940469d9fffd31d7c925fbe05c919491d3057d66cd2", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043499f974ff4ca6bbb2f51682fd5f51762f9dd6dd2855262660b36d46d3e4bec2f498fae2487807e220119152f0122476c64d4fa46ddce85c4546630f0d5c5e81", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAENJn5dP9Mpruy9RaC/V9Rdi+d1t0o\nVSYmYLNtRtPkvsL0mPriSHgH4iARkVLwEiR2xk1PpG3c6FxFRmMPDVxegQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "NJn5dP9Mpruy9RaC_V9Rdi-d1t0oVSYmYLNtRtPkvsI", | |
"y" : "9Jj64kh4B-IgEZFS8BIkdsZNT6Rt3OhcRUZjDw1cXoE" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "3499f974ff4ca6bbb2f51682fd5f51762f9dd6dd2855262660b36d46d3e4bec2", | |
"wy" : "0f498fae2487807e220119152f0122476c64d4fa46ddce85c4546630f0d5c5e81" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 112, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdca0234ebb5fdcb13ca0234ecffffffffcb0dadbbc7f549f8a26b4408d0dc8600", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042c5c01662cf00c1929596257db13b26ecf30d0f3ec4b9f0351b0f27094473426e986a086060d086eee822ddd2fc744247a0154b57f7a69c51d9fdafa484e4ac7", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELFwBZizwDBkpWWJX2xOybs8w0PPs\nS58DUbDycJRHNCbphqCGBg0Ibu6CLd0vx0QkegFUtX96acUdn9r6SE5Kxw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "LFwBZizwDBkpWWJX2xOybs8w0PPsS58DUbDycJRHNCY", | |
"y" : "6YaghgYNCG7ugi3dL8dEJHoBVLV_emnFHZ_a-khOSsc" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "2c5c01662cf00c1929596257db13b26ecf30d0f3ec4b9f0351b0f27094473426", | |
"wy" : "0e986a086060d086eee822ddd2fc744247a0154b57f7a69c51d9fdafa484e4ac7" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 113, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdbfffffff3ea3677e082b9310572620ae19933a9e65b285598711c77298815ad3", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000491d4cba813a04d86dbae94c23be6f52c15774183be7ba5b2d9f3cf010b160501900b8adfea6491019a9ac080d516025a541bf4b952b0ad7be4b1874b02fd544a", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkdTLqBOgTYbbrpTCO+b1LBV3QYO+\ne6Wy2fPPAQsWBQGQC4rf6mSRAZqawIDVFgJaVBv0uVKwrXvksYdLAv1USg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "kdTLqBOgTYbbrpTCO-b1LBV3QYO-e6Wy2fPPAQsWBQE", | |
"y" : "kAuK3-pkkQGamsCA1RYCWlQb9LlSsK175LGHSwL9VEo" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "091d4cba813a04d86dbae94c23be6f52c15774183be7ba5b2d9f3cf010b160501", | |
"wy" : "0900b8adfea6491019a9ac080d516025a541bf4b952b0ad7be4b1874b02fd544a" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 114, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd266666663bbbbbbbe6666666666666665b37902e023fab7c8f055d86e5cc41f4", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ef7fd0a3a36386638330ecad41e1a3b302af36960831d0210c614b948e8aa124ef0d6d800e4047d6d3c1be0fdeaf11fcd8cab5ab59c730eb34116e35a8c7d098", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE73/Qo6NjhmODMOytQeGjswKvNpYI\nMdAhDGFLlI6KoSTvDW2ADkBH1tPBvg/erxH82Mq1q1nHMOs0EW41qMfQmA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "73_Qo6NjhmODMOytQeGjswKvNpYIMdAhDGFLlI6KoSQ", | |
"y" : "7w1tgA5AR9bTwb4P3q8R_NjKtatZxzDrNBFuNajH0Jg" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0ef7fd0a3a36386638330ecad41e1a3b302af36960831d0210c614b948e8aa124", | |
"wy" : "0ef0d6d800e4047d6d3c1be0fdeaf11fcd8cab5ab59c730eb34116e35a8c7d098" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 115, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdbfffffff36db6db7a492492492492492146c573f4c6dfc8d08a443e258970b09", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a521dab13cc9152d8ca77035a607fea06c55cc3ca5dbeb868cea92eafe93df2a7bfb9b28531996635e6a5ccaa2826a406ce1111bdb9c2e0ca36500418a2f43de", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEpSHasTzJFS2Mp3A1pgf+oGxVzDyl\n2+uGjOqS6v6T3yp7+5soUxmWY15qXMqigmpAbOERG9ucLgyjZQBBii9D3g==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "pSHasTzJFS2Mp3A1pgf-oGxVzDyl2-uGjOqS6v6T3yo", | |
"y" : "e_ubKFMZlmNealzKooJqQGzhERvbnC4Mo2UAQYovQ94" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0a521dab13cc9152d8ca77035a607fea06c55cc3ca5dbeb868cea92eafe93df2a", | |
"wy" : "7bfb9b28531996635e6a5ccaa2826a406ce1111bdb9c2e0ca36500418a2f43de" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 116, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdbfffffff2aaaaaab7fffffffffffffffc815d0e60b3e596ecb1ad3a27cfd49c4", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004474d58a4eec16e0d565f2187fe11d4e8e7a2683a12f38b4fc01d1237a81a10976e55f73bb7cdda46bdb67ef77f6fd2969df2b67920fb5945fde3a517a6ded4cd", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAER01YpO7Bbg1WXyGH/hHU6OeiaDoS\n84tPwB0SN6gaEJduVfc7t83aRr22fvd/b9KWnfK2eSD7WUX946UXpt7UzQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R01YpO7Bbg1WXyGH_hHU6OeiaDoS84tPwB0SN6gaEJc", | |
"y" : "blX3O7fN2ka9tn73f2_Slp3ytnkg-1lF_eOlF6be1M0" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "474d58a4eec16e0d565f2187fe11d4e8e7a2683a12f38b4fc01d1237a81a1097", | |
"wy" : "6e55f73bb7cdda46bdb67ef77f6fd2969df2b67920fb5945fde3a517a6ded4cd" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 117, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7fffffff55555555ffffffffffffffffd344a71e6f651458a27bdc81fd976e37", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004692da5cd4309d9a6e5cb525c37da8fa0879f7b57208cdabbf47d223a5b23a62140e0daa78cfdd207a7389aaed61738b17fc5fc3e6a5ed3397d2902e9125e6ab4", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaS2lzUMJ2ably1JcN9qPoIefe1cg\njNq79H0iOlsjpiFA4NqnjP3SB6c4mq7WFzixf8X8Pmpe0zl9KQLpEl5qtA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "aS2lzUMJ2ably1JcN9qPoIefe1cgjNq79H0iOlsjpiE", | |
"y" : "QODap4z90genOJqu1hc4sX_F_D5qXtM5fSkC6RJearQ" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "692da5cd4309d9a6e5cb525c37da8fa0879f7b57208cdabbf47d223a5b23a621", | |
"wy" : "40e0daa78cfdd207a7389aaed61738b17fc5fc3e6a5ed3397d2902e9125e6ab4" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 118, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192aa", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000485689b3e0775c7718a90279f14a8082cfcd4d1f1679274f4e9b8805c570a0670167fcc5ca734552e09afa3640f4a034e15b9b7ca661ec7ff70d3f240ebe705b1", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhWibPgd1x3GKkCefFKgILPzU0fFn\nknT06biAXFcKBnAWf8xcpzRVLgmvo2QPSgNOFbm3ymYex/9w0/JA6+cFsQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "hWibPgd1x3GKkCefFKgILPzU0fFnknT06biAXFcKBnA", | |
"y" : "Fn_MXKc0VS4Jr6NkD0oDThW5t8pmHsf_cNPyQOvnBbE" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "085689b3e0775c7718a90279f14a8082cfcd4d1f1679274f4e9b8805c570a0670", | |
"wy" : "167fcc5ca734552e09afa3640f4a034e15b9b7ca661ec7ff70d3f240ebe705b1" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 119, | |
"comment" : "edge case for u2", | |
"msg" : "54657374", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd5d8ecd64a4eeba466815ddf3a4de9a8e6abd9c5db0a01eb80343553da648428f", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237e2a964fc00d377a8592b8b61aafa7a4aaa7c7b9fd2b41d6e0e17bd1ba5677edcd", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAVgTd1W5AfeXqQ1MqIh+Ajyy72Oy\nuiwNRV7a70LPI34qlk/ADTd6hZK4thqvp6Sqp8e5/StB1uDhe9G6VnftzQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AVgTd1W5AfeXqQ1MqIh-Ajyy72OyuiwNRV7a70LPI34", | |
"y" : "KpZPwA03eoWSuLYar6ekqqfHuf0rQdbg4XvRulZ37c0" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237e", | |
"wy" : "2a964fc00d377a8592b8b61aafa7a4aaa7c7b9fd2b41d6e0e17bd1ba5677edcd" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 120, | |
"comment" : "point duplication during verification", | |
"msg" : "54657374", | |
"sig" : "6f2347cab7dd76858fe0555ac3bc99048c4aacafdfb6bcbe05ea6c42c4934569f21d907e3890916dc4fa1f4703c1e50d3f54ddf7383e44023a41de562aa18ed8", | |
"result" : "valid", | |
"flags" : [ | |
"PointDuplication" | |
] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237ed569b03ef2c8857b6d4749e550585b5558384603d4be291f1e842e45a9881232", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAVgTd1W5AfeXqQ1MqIh+Ajyy72Oy\nuiwNRV7a70LPI37VabA+8siFe21HSeVQWFtVWDhGA9S+KR8ehC5FqYgSMg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AVgTd1W5AfeXqQ1MqIh-Ajyy72OyuiwNRV7a70LPI34", | |
"y" : "1WmwPvLIhXttR0nlUFhbVVg4RgPUvikfHoQuRamIEjI" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "158137755b901f797a90d4ca8887e023cb2ef63b2ba2c0d455edaef42cf237e", | |
"wy" : "0d569b03ef2c8857b6d4749e550585b5558384603d4be291f1e842e45a9881232" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 121, | |
"comment" : "duplication bug", | |
"msg" : "54657374", | |
"sig" : "6f2347cab7dd76858fe0555ac3bc99048c4aacafdfb6bcbe05ea6c42c4934569f21d907e3890916dc4fa1f4703c1e50d3f54ddf7383e44023a41de562aa18ed8", | |
"result" : "invalid", | |
"flags" : [ | |
"PointDuplication" | |
] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000438a084ffccc4ae2f8204be2abca9fb8ad4ab283b2aa50f13b6bb2347adabc69ca699799b77b1cc6dad271e88b899c12931986e958e1f5cf5653dddf7389365e2", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEOKCE/8zEri+CBL4qvKn7itSrKDsq\npQ8TtrsjR62rxpymmXmbd7HMba0nHoi4mcEpMZhulY4fXPVlPd33OJNl4g==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "OKCE_8zEri-CBL4qvKn7itSrKDsqpQ8TtrsjR62rxpw", | |
"y" : "ppl5m3exzG2tJx6IuJnBKTGYbpWOH1z1ZT3d9ziTZeI" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "38a084ffccc4ae2f8204be2abca9fb8ad4ab283b2aa50f13b6bb2347adabc69c", | |
"wy" : "0a699799b77b1cc6dad271e88b899c12931986e958e1f5cf5653dddf7389365e2" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 122, | |
"comment" : "point with x-coordinate 0", | |
"msg" : "54657374", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200047a876fbf821d96c555c35393d3b2d2e809a6d839b0b115d964da3e919ef82504733dcf41d833b0530b87a7b1a52f7d91bfa19913f7151886913b160de07cd69b", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEeodvv4IdlsVVw1OT07LS6Amm2Dmw\nsRXZZNo+kZ74JQRzPc9B2DOwUwuHp7GlL32Rv6GZE/cVGIaROxYN4HzWmw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "eodvv4IdlsVVw1OT07LS6Amm2DmwsRXZZNo-kZ74JQQ", | |
"y" : "cz3PQdgzsFMLh6expS99kb-hmRP3FRiGkTsWDeB81ps" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "7a876fbf821d96c555c35393d3b2d2e809a6d839b0b115d964da3e919ef82504", | |
"wy" : "733dcf41d833b0530b87a7b1a52f7d91bfa19913f7151886913b160de07cd69b" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 123, | |
"comment" : "point with x-coordinate 0", | |
"msg" : "54657374", | |
"sig" : "010000000000000000000000000000000000000000000000000000000000000000003333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aa9", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004664ce273320d918d8bdb2e61201b4549b36b7cdc54e33b84adb6f2c10aac831e49e68831f18bda2973ac3d76bfbc8c5ee1cceed2dd862e2dc7c915c736cef1f4", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEZkziczINkY2L2y5hIBtFSbNrfNxU\n4zuErbbywQqsgx5J5ogx8YvaKXOsPXa/vIxe4czu0t2GLi3HyRXHNs7x9A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ZkziczINkY2L2y5hIBtFSbNrfNxU4zuErbbywQqsgx4", | |
"y" : "SeaIMfGL2ilzrD12v7yMXuHM7tLdhi4tx8kVxzbO8fQ" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "664ce273320d918d8bdb2e61201b4549b36b7cdc54e33b84adb6f2c10aac831e", | |
"wy" : "49e68831f18bda2973ac3d76bfbc8c5ee1cceed2dd862e2dc7c915c736cef1f4" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 124, | |
"comment" : "comparison with point at infinity ", | |
"msg" : "54657374", | |
"sig" : "555555550000000055555555555555553ef7a8e48d07df81a693439654210c703333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aa9", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004961691a5e960d07a301dbbad4d86247ec27d7089faeb3ddd1add395efff1e0fe7254622cc371866cdf990d2c5377790e37d1f1519817f09a231bd260a9e78aeb", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAElhaRpelg0HowHbutTYYkfsJ9cIn6\n6z3dGt05Xv/x4P5yVGIsw3GGbN+ZDSxTd3kON9HxUZgX8JojG9JgqeeK6w==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "lhaRpelg0HowHbutTYYkfsJ9cIn66z3dGt05Xv_x4P4", | |
"y" : "clRiLMNxhmzfmQ0sU3d5DjfR8VGYF_CaIxvSYKnnius" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0961691a5e960d07a301dbbad4d86247ec27d7089faeb3ddd1add395efff1e0fe", | |
"wy" : "7254622cc371866cdf990d2c5377790e37d1f1519817f09a231bd260a9e78aeb" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 125, | |
"comment" : "extreme value for k", | |
"msg" : "54657374", | |
"sig" : "7cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004db02d1f3421d600e9d9ef9e47419dba3208eed08c2d4189a5db63abeb2739666e0ed26967b9ada9ed7ffe480827f90a0d210d5fd8ec628e31715e6b24125512a", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2wLR80IdYA6dnvnkdBnboyCO7QjC\n1BiaXbY6vrJzlmbg7SaWe5rantf/5ICCf5Cg0hDV/Y7GKOMXFeayQSVRKg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "2wLR80IdYA6dnvnkdBnboyCO7QjC1BiaXbY6vrJzlmY", | |
"y" : "4O0mlnua2p7X_-SAgn-QoNIQ1f2OxijjFxXmskElUSo" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "0db02d1f3421d600e9d9ef9e47419dba3208eed08c2d4189a5db63abeb2739666", | |
"wy" : "0e0ed26967b9ada9ed7ffe480827f90a0d210d5fd8ec628e31715e6b24125512a" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 126, | |
"comment" : "extreme value for k", | |
"msg" : "54657374", | |
"sig" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaxfR8uEsQkf4vOblY6RA8ncDfYEt\n6zOg9KE5RdiYwpZP40Li/hp/m47n60p8D54WK84zV2sxXs7LtkBoN79R9Q==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "axfR8uEsQkf4vOblY6RA8ncDfYEt6zOg9KE5RdiYwpY", | |
"y" : "T-NC4v4af5uO5-tKfA-eFivOM1drMV7Oy7ZAaDe_UfU" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296", | |
"wy" : "4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 127, | |
"comment" : "testing point duplication", | |
"msg" : "54657374", | |
"sig" : "532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 128, | |
"comment" : "testing point duplication", | |
"msg" : "54657374", | |
"sig" : "acd155416a8b77f34089464733ff7cd39c400e9c69af7beb9eac5054ed2ec72c249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296b01cbd1c01e58065711814b583f061e9d431cca994cea1313449bf97c840ae0a", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaxfR8uEsQkf4vOblY6RA8ncDfYEt\n6zOg9KE5RdiYwpawHL0cAeWAZXEYFLWD8GHp1DHMqZTOoTE0Sb+XyECuCg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "axfR8uEsQkf4vOblY6RA8ncDfYEt6zOg9KE5RdiYwpY", | |
"y" : "sBy9HAHlgGVxGBS1g_Bh6dQxzKmUzqExNEm_l8hArgo" | |
}, | |
"key" : { | |
"curve" : "secp256r1", | |
"keySize" : 256, | |
"type" : "ECPublicKey", | |
"wx" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296", | |
"wy" : "0b01cbd1c01e58065711814b583f061e9d431cca994cea1313449bf97c840ae0a" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 129, | |
"comment" : "testing point duplication", | |
"msg" : "54657374", | |
"sig" : "532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 130, | |
"comment" : "testing point duplication", | |
"msg" : "54657374", | |
"sig" : "acd155416a8b77f34089464733ff7cd39c400e9c69af7beb9eac5054ed2ec72c249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004011d2fc994df204b63f05ae8420ca390559b80c4988ef639b95c469e5cb24cf216540cbebc470bcaa0466612dbde6d03098c6996e0a05f02902183ceba4b530f4f3500a99e4cdc8a50c0d98d870944e56548dc4cf6bbbf3d6978efbc8fc8778b33e132d2c185c20844cf3df394d522259317e3931f0130f23f6500c880f3a8319ab44a0e", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBHS/JlN8gS2PwWuhCDKOQVZuAxJiO\n9jm5XEaeXLJM8hZUDL68RwvKoEZmEtvebQMJjGmW4KBfApAhg866S1MPTzUAqZ5M\n3IpQwNmNhwlE5WVI3Ez2u789aXjvvI/Id4sz4TLSwYXCCETPPfOU1SIlkxfjkx8B\nMPI/ZQDIgPOoMZq0Sg4=\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-512", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AR0vyZTfIEtj8FroQgyjkFWbgMSYjvY5uVxGnlyyTPIWVAy-vEcLyqBGZhLb3m0DCYxpluCgXwKQIYPOuktTD081", | |
"y" : "AKmeTNyKUMDZjYcJROVlSNxM9ru_PWl477yPyHeLM-Ey0sGFwghEzz3zlNUiJZMX45MfATDyP2UAyIDzqDGatEoO" | |
}, | |
"key" : { | |
"curve" : "secp521r1", | |
"keySize" : 521, | |
"type" : "ECPublicKey", | |
"wx" : "11d2fc994df204b63f05ae8420ca390559b80c4988ef639b95c469e5cb24cf216540cbebc470bcaa0466612dbde6d03098c6996e0a05f02902183ceba4b530f4f35", | |
"wy" : "0a99e4cdc8a50c0d98d870944e56548dc4cf6bbbf3d6978efbc8fc8778b33e132d2c185c20844cf3df394d522259317e3931f0130f23f6500c880f3a8319ab44a0e" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 131, | |
"comment" : "k*G has a large x-coordinate", | |
"msg" : "54657374", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000000005ae79787c40d069948033feb708f65a2fc44a36477663b851449048e16ec79bf501fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386406", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 132, | |
"comment" : "r too large", | |
"msg" : "54657374", | |
"sig" : "01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386406", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004019a029c77fed04cab1ab8937fda8128fc19bf8c41a8f242f6a9ca6f0ae813c1709b8b03e26a9298fe59f99e3706ffc28c43d26a11690d2ffd815a33ea329076697800125b2a4b635f514fd5d63215672f311ae5935c1774ed5d8a44897b68191e6369ab26df915e2066a943e59a3577319dac5a86640bc8c718d2b159479fdd22d11441", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBmgKcd/7QTKsauJN/2oEo/Bm/jEGo\n8kL2qcpvCugTwXCbiwPiapKY/ln5njcG/8KMQ9JqEWkNL/2BWjPqMpB2aXgAElsq\nS2NfUU/V1jIVZy8xGuWTXBd07V2KRIl7aBkeY2mrJt+RXiBmqUPlmjV3MZ2sWoZk\nC8jHGNKxWUef3SLRFEE=\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-512", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AZoCnHf-0EyrGriTf9qBKPwZv4xBqPJC9qnKbwroE8Fwm4sD4mqSmP5Z-Z43Bv_CjEPSahFpDS_9gVoz6jKQdml4", | |
"y" : "ABJbKktjX1FP1dYyFWcvMRrlk1wXdO1dikSJe2gZHmNpqybfkV4gZqlD5Zo1dzGdrFqGZAvIxxjSsVlHn90i0RRB" | |
}, | |
"key" : { | |
"curve" : "secp521r1", | |
"keySize" : 521, | |
"type" : "ECPublicKey", | |
"wx" : "19a029c77fed04cab1ab8937fda8128fc19bf8c41a8f242f6a9ca6f0ae813c1709b8b03e26a9298fe59f99e3706ffc28c43d26a11690d2ffd815a33ea3290766978", | |
"wy" : "125b2a4b635f514fd5d63215672f311ae5935c1774ed5d8a44897b68191e6369ab26df915e2066a943e59a3577319dac5a86640bc8c718d2b159479fdd22d11441" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 133, | |
"comment" : "r,s are large", | |
"msg" : "54657374", | |
"sig" : "01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e9138640701fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386406", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000400eb62878040b4ca0c8c61afe7e195e22e395f69c7859ac2b79802967098325573b56d3d65b7bcf3111bc4859e1d0816c541473ac1ffcf4a2cc7d6e6aa591ba117af005bea26cac7ce213584b5d35ab22d8b45dc88ff26edbadd487aa98ccaa71613bb7b79dce67a9bc36d3e980fc10d4313ac20c4cf271ecc1f4adab39513971aa4fb9d", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQA62KHgEC0ygyMYa/n4ZXiLjlfaceF\nmsK3mAKWcJgyVXO1bT1lt7zzERvEhZ4dCBbFQUc6wf/PSizH1uaqWRuhF68AW+om\nysfOITWEtdNasi2LRdyI/ybtut1IeqmMyqcWE7t7edzmepvDbT6YD8ENQxOsIMTP\nJx7MH0ras5UTlxqk+50=\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-512", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AOtih4BAtMoMjGGv5-GV4i45X2nHhZrCt5gClnCYMlVztW09Zbe88xEbxIWeHQgWxUFHOsH_z0osx9bmqlkboRev", | |
"y" : "AFvqJsrHziE1hLXTWrIti0XciP8m7brdSHqpjMqnFhO7e3nc5nqbw20-mA_BDUMTrCDEzycezB9K2rOVE5capPud" | |
}, | |
"key" : { | |
"curve" : "secp521r1", | |
"keySize" : 521, | |
"type" : "ECPublicKey", | |
"wx" : "0eb62878040b4ca0c8c61afe7e195e22e395f69c7859ac2b79802967098325573b56d3d65b7bcf3111bc4859e1d0816c541473ac1ffcf4a2cc7d6e6aa591ba117af", | |
"wy" : "5bea26cac7ce213584b5d35ab22d8b45dc88ff26edbadd487aa98ccaa71613bb7b79dce67a9bc36d3e980fc10d4313ac20c4cf271ecc1f4adab39513971aa4fb9d" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 134, | |
"comment" : "r and s^-1 have a large Hamming weight", | |
"msg" : "54657374", | |
"sig" : "00fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0095e19fd2b755d603bf994562d9a11f63cf4eadecbdc0ecb5a394e54529e8da58a527bc6d85725043786362ab4de6cbc7d80e625ae0a98861aea1c7bf7109c91f66", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401296b049f1979785b3377c5e28edf4c2787f213f2836beaf5d61407870ade857d5083e01d8728b0ddde1ba1bb3e791617eddb02a52c78049791ca52b646f93117c200b977a711a5030c4ef6990833296132203badbdbc01407c4aceb49c96b658fc77ff1f655ad74e1344e2fc55c91c7fc3432355192db3d2c03cd134ba387ad3acde40", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBKWsEnxl5eFszd8Xijt9MJ4fyE/KD\na+r11hQHhwrehX1Qg+Adhyiw3d4bobs+eRYX7dsCpSx4BJeRylK2RvkxF8IAuXen\nEaUDDE72mQgzKWEyIDutvbwBQHxKzrSclrZY/Hf/H2Va104TROL8Vckcf8NDI1UZ\nLbPSwDzRNLo4etOs3kA=\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-512", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ASlrBJ8ZeXhbM3fF4o7fTCeH8hPyg2vq9dYUB4cK3oV9UIPgHYcosN3eG6G7PnkWF-3bAqUseASXkcpStkb5MRfC", | |
"y" : "ALl3pxGlAwxO9pkIMylhMiA7rb28AUB8Ss60nJa2WPx3_x9lWtdOE0Ti_FXJHH_DQyNVGS2z0sA80TS6OHrTrN5A" | |
}, | |
"key" : { | |
"curve" : "secp521r1", | |
"keySize" : 521, | |
"type" : "ECPublicKey", | |
"wx" : "1296b049f1979785b3377c5e28edf4c2787f213f2836beaf5d61407870ade857d5083e01d8728b0ddde1ba1bb3e791617eddb02a52c78049791ca52b646f93117c2", | |
"wy" : "0b977a711a5030c4ef6990833296132203badbdbc01407c4aceb49c96b658fc77ff1f655ad74e1344e2fc55c91c7fc3432355192db3d2c03cd134ba387ad3acde40" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 135, | |
"comment" : "r and s^-1 have a large Hamming weight", | |
"msg" : "54657374", | |
"sig" : "00fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015837645583a37a7a665f983c5e347f65dca47647aa80fd2498a791d44d9b2850a151a6e86fce7d7bb814e724ff11b9ef726bf36c6e7548c37f82a24902876ee19", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004005f5059308349f9ebbb4d1c55c0afccf62162ec1dd12ef3ed906656924ffd99cab9f06b0eb218cff078a4677a5ce1cc07652bc976aefc732c28f67ef078a434e99900a5d14df310630d76ec03cb6f9b95bf1a22438105c88cd9fd3dac80f857add38271d8ba901684b26d436d4a859ad4cda5e9677b73cab3f3e5e41a3d7996607279ab", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAX1BZMINJ+eu7TRxVwK/M9iFi7B3R\nLvPtkGZWkk/9mcq58GsOshjP8HikZ3pc4cwHZSvJdq78cywo9n7weKQ06ZkApdFN\n8xBjDXbsA8tvm5W/GiJDgQXIjNn9PayA+Fet04Jx2LqQFoSybUNtSoWa1M2l6Wd7\nc8qz8+XkGj15lmByeas=\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-512", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AF9QWTCDSfnru00cVcCvzPYhYuwd0S7z7ZBmVpJP_ZnKufBrDrIYz_B4pGd6XOHMB2UryXau_HMsKPZ-8HikNOmZ", | |
"y" : "AKXRTfMQYw127APLb5uVvxoiQ4EFyIzZ_T2sgPhXrdOCcdi6kBaEsm1DbUqFmtTNpelne3PKs_Pl5Bo9eZZgcnmr" | |
}, | |
"key" : { | |
"curve" : "secp521r1", | |
"keySize" : 521, | |
"type" : "ECPublicKey", | |
"wx" : "5f5059308349f9ebbb4d1c55c0afccf62162ec1dd12ef3ed906656924ffd99cab9f06b0eb218cff078a4677a5ce1cc07652bc976aefc732c28f67ef078a434e999", | |
"wy" : "0a5d14df310630d76ec03cb6f9b95bf1a22438105c88cd9fd3dac80f857add38271d8ba901684b26d436d4a859ad4cda5e9677b73cab3f3e5e41a3d7996607279ab" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 136, | |
"comment" : "small r and s", | |
"msg" : "54657374", | |
"sig" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 137, | |
"comment" : "incorrect size of signature", | |
"msg" : "54657374", | |
"sig" : "0101", | |
"result" : "acceptable", | |
"flags" : [ | |
"SigSize" | |
] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004001fb7064274ba3b5950f00a027cb2cf42d1ed69c89d944da0415e9086f35c85b44afdd635cdc1fade2ce71e62485e243ceb9f075a111476302e60d7d78b1207cda7006b4252077172332059a9c60f966893fda7e73377debcba9a8f69cee8f59d67a2ca892fad1df4463161f157c7c117c1bbfddc88441c4c8abc63667be5c1ff22f6e2", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAH7cGQnS6O1lQ8AoCfLLPQtHtacid\nlE2gQV6QhvNchbRK/dY1zcH63iznHmJIXiQ8658HWhEUdjAuYNfXixIHzacAa0JS\nB3FyMyBZqcYPlmiT/afnM3fevLqaj2nO6PWdZ6LKiS+tHfRGMWHxV8fBF8G7/dyI\nRBxMirxjZnvlwf8i9uI=\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-512", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AB-3BkJ0ujtZUPAKAnyyz0LR7WnInZRNoEFekIbzXIW0Sv3WNc3B-t4s5x5iSF4kPOufB1oRFHYwLmDX14sSB82n", | |
"y" : "AGtCUgdxcjMgWanGD5Zok_2n5zN33ry6mo9pzuj1nWeiyokvrR30RjFh8VfHwRfBu_3ciEQcTIq8Y2Z75cH_Ivbi" | |
}, | |
"key" : { | |
"curve" : "secp521r1", | |
"keySize" : 521, | |
"type" : "ECPublicKey", | |
"wx" : "1fb7064274ba3b5950f00a027cb2cf42d1ed69c89d944da0415e9086f35c85b44afdd635cdc1fade2ce71e62485e243ceb9f075a111476302e60d7d78b1207cda7", | |
"wy" : "6b4252077172332059a9c60f966893fda7e73377debcba9a8f69cee8f59d67a2ca892fad1df4463161f157c7c117c1bbfddc88441c4c8abc63667be5c1ff22f6e2" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 138, | |
"comment" : "small r and s", | |
"msg" : "54657374", | |
"sig" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 139, | |
"comment" : "incorrect size of signature", | |
"msg" : "54657374", | |
"sig" : "0102", | |
"result" : "acceptable", | |
"flags" : [ | |
"SigSize" | |
] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "30819b301006072a8648ce3d020106052b81040023038186000401877d42c110a9fbe3723e684ea01c552697a8e83678145cbadc2e27c33e76ef2ed885e7af77f83313213b04107b4b92f80aebfd670fd1467b2bb9333ac280ea9b6101acf4e85a0ccbdfc4703638c21eb45b4a93db3fa747b365238535cdaee4fc56aa95854b4ec9c451693aaf72a90d66d300d2211bdc1fa0cf85e5c24ae08ef2a24248", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBh31CwRCp++NyPmhOoBxVJpeo6DZ4\nFFy63C4nwz527y7Yheevd/gzEyE7BBB7S5L4Cuv9Zw/RRnsruTM6woDqm2EBrPTo\nWgzL38RwNjjCHrRbSpPbP6dHs2UjhTXNruT8VqqVhUtOycRRaTqvcqkNZtMA0iEb\n3B+gz4XlwkrgjvKiQkg=\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-512", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AYd9QsEQqfvjcj5oTqAcVSaXqOg2eBRcutwuJ8M-du8u2IXnr3f4MxMhOwQQe0uS-Arr_WcP0UZ7K7kzOsKA6pth", | |
"y" : "Aaz06FoMy9_EcDY4wh60W0qT2z-nR7NlI4U1za7k_FaqlYVLTsnEUWk6r3KpDWbTANIhG9wfoM-F5cJK4I7yokJI" | |
}, | |
"key" : { | |
"curve" : "secp521r1", | |
"keySize" : 521, | |
"type" : "ECPublicKey", | |
"wx" : "1877d42c110a9fbe3723e684ea01c552697a8e83678145cbadc2e27c33e76ef2ed885e7af77f83313213b04107b4b92f80aebfd670fd1467b2bb9333ac280ea9b61", | |
"wy" : "1acf4e85a0ccbdfc4703638c21eb45b4a93db3fa747b365238535cdaee4fc56aa95854b4ec9c451693aaf72a90d66d300d2211bdc1fa0cf85e5c24ae08ef2a24248" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 140, | |
"comment" : "small r and s", | |
"msg" : "54657374", | |
"sig" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 141, | |
"comment" : "incorrect size of signature", | |
"msg" : "54657374", | |
"sig" : "0103", | |
"result" : "acceptable", | |
"flags" : [ | |
"SigSize" | |
] | |
}, | |
{ | |
"tcId" : 142, | |
"comment" : "r is larger than n", | |
"msg" : "54657374", | |
"sig" : "01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e9138640a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"keyDer" : "30819b301006072a8648ce3d020106052b810400230381860004016eaf2c3043b10ad8a99be7f8ccc4931519b6ec59326f6a06f374cb4f86e1237df0f26df6a90cf86c30d42e3bd0583c744830decf78344545f4b6daea674a882db9006dfd09320a976d592c4d39d3090d6f4ad3992b700e3e90ed1a1346238c75f4baf493be8c1c16838ecec2d9994266042ff9c624869296ee9b023bbb12d40bc0af07", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBbq8sMEOxCtipm+f4zMSTFRm27Fky\nb2oG83TLT4bhI33w8m32qQz4bDDULjvQWDx0SDDez3g0RUX0ttrqZ0qILbkAbf0J\nMgqXbVksTTnTCQ1vStOZK3AOPpDtGhNGI4x19Lr0k76MHBaDjs7C2ZlCZgQv+cYk\nhpKW7psCO7sS1AvArwc=\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-512", | |
"type" : "ECDSAVer", | |
"jwk" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AW6vLDBDsQrYqZvn-MzEkxUZtuxZMm9qBvN0y0-G4SN98PJt9qkM-Gww1C470Fg8dEgw3s94NEVF9Lba6mdKiC25", | |
"y" : "AG39CTIKl21ZLE050wkNb0rTmStwDj6Q7RoTRiOMdfS69JO-jBwWg47OwtmZQmYEL_nGJIaSlu6bAju7EtQLwK8H" | |
}, | |
"key" : { | |
"curve" : "secp521r1", | |
"keySize" : 521, | |
"type" : "ECPublicKey", | |
"wx" : "16eaf2c3043b10ad8a99be7f8ccc4931519b6ec59326f6a06f374cb4f86e1237df0f26df6a90cf86c30d42e3bd0583c744830decf78344545f4b6daea674a882db9", | |
"wy" : "6dfd09320a976d592c4d39d3090d6f4ad3992b700e3e90ed1a1346238c75f4baf493be8c1c16838ecec2d9994266042ff9c624869296ee9b023bbb12d40bc0af07" | |
}, | |
"tests" : [ | |
{ | |
"tcId" : 143, | |
"comment" : "s is larger than n", | |
"msg" : "54657374", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e914b3a90", | |
"result" : "invalid", | |