{ | |
"algorithm" : "ECDSA", | |
"generatorVersion" : "0.8r12", | |
"numberOfTests" : 211, | |
"header" : [ | |
"Test vectors of type EcdsaVerify are meant for the verification", | |
"of IEEE P1363 encoded ECDSA signatures." | |
], | |
"notes" : { | |
"EdgeCase" : "Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA implementation does not check boundaries and computes s^(-1)==0.", | |
"PointDuplication" : "Some implementations of ECDSA do not handle duplication and points at infinity correctly. This is a test vector that has been specially crafted to check for such an omission.", | |
"SigSize" : "The size of the signature should always be twice the number of bytes of the size of the order. But some libraries accept signatures with less bytes." | |
}, | |
"schema" : "ecdsa_p1363_verify_schema.json", | |
"testGroups" : [ | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "uDj_ROW8F3vyEYnQdmCC_J2EMiaIf8l2A3EQC37iCm8", | |
"y" : "8MnXW_unsxpryhl0SW7rVt41cHGVXYPEsbraoLIYMuk" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6ff0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9", | |
"wx" : "00b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6f", | |
"wy" : "00f0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b838ff44e5bc177bf21189d0766082fc9d843226887fc9760371100b7ee20a6ff0c9d75bfba7b31a6bca1974496eeb56de357071955d83c4b1badaa0b21832e9", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEuDj/ROW8F3vyEYnQdmCC/J2EMiaIf8l2\nA3EQC37iCm/wyddb+6ezGmvKGXRJbutW3jVwcZVdg8Sxutqgshgy6Q==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 1, | |
"comment" : "signature malleability", | |
"msg" : "313233343030", | |
"sig" : "813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365900e75ad233fcc908509dbff5922647db37c21f4afd3203ae8dc4ae7794b0f87", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 2, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "01813ef79ccefa9a56f7ba805f0e478583b90deabca4b05c4574e49b5899b964a6006ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 3, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "7ec10863310565a908457fa0f1b87a79bc4fcf10b9e0e4320ac021c106b31ddc6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 4, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "01813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365006ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 5, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "7ec10863310565a908457fa0f1b87a7b01a0f22a0a9843f64aedc334367cdc9b6ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 6, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365016ff18a52dcc0336f7af62400a6dd9b7fc1e197d8aebe203c96c87232272172fb", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 7, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "00813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365016ff18a52dcc0336f7af62400a6dd9b810732baf1ff758000d6f613a556eb31ba", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 8, | |
"comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", | |
"msg" : "313233343030", | |
"sig" : "813ef79ccefa9a56f7ba805f0e478584fe5f0dd5f567bc09b5123ccbc9832365900e75ad233fcc908509dbff5922647ef8cd450e008a7fff2909ec5aa914ce46", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 9, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 10, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 11, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 12, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 13, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 14, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 15, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 16, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 17, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 18, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 19, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 20, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 21, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 22, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 23, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 24, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 25, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 26, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 27, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 28, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 29, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 30, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641400000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 31, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641400000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 32, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 33, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 34, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 35, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 36, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 37, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641420000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 38, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641420000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 39, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 40, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 41, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 42, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 43, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 44, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 45, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 46, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2ffffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 47, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2ffffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 48, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2ffffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 49, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 50, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 51, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc300000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 52, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc300000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 53, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 54, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 55, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 56, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 57, | |
"comment" : "Signature with special case values for r and s", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30", | |
"result" : "invalid", | |
"flags" : [ | |
"EdgeCase" | |
] | |
}, | |
{ | |
"tcId" : 58, | |
"comment" : "Edge case for Shamir multiplication", | |
"msg" : "3235353835", | |
"sig" : "dd1b7d09a7bd8218961034a39a87fecf5314f00c4d25eb58a07ac85e85eab51635138c401ef8d3493d65c9002fe62b43aee568731b744548358996d9cc427e06", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 59, | |
"comment" : "special case hash", | |
"msg" : "343236343739373234", | |
"sig" : "95c29267d972a043d955224546222bba343fc1d4db0fec262a33ac61305696ae6edfe96713aed56f8a28a6653f57e0b829712e5eddc67f34682b24f0676b2640", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 60, | |
"comment" : "special case hash", | |
"msg" : "37313338363834383931", | |
"sig" : "28f94a894e92024699e345fe66971e3edcd050023386135ab3939d550898fb25cd69c1a42be05a6ee1270c821479251e134c21858d800bda6f4e98b37196238e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 61, | |
"comment" : "special case hash", | |
"msg" : "3130333539333331363638", | |
"sig" : "be26b18f9549f89f411a9b52536b15aa270b84548d0e859a1952a27af1a77ac68f3e2b05632fc33715572af9124681113f2b84325b80154c044a544dc1a8fa12", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 62, | |
"comment" : "special case hash", | |
"msg" : "33393439343031323135", | |
"sig" : "b1a4b1478e65cc3eafdf225d1298b43f2da19e4bcff7eacc0a2e98cd4b74b114e8655ce1cfb33ebd30af8ce8e8ae4d6f7b50cd3e22af51bf69e0a2851760d52b", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 63, | |
"comment" : "special case hash", | |
"msg" : "31333434323933303739", | |
"sig" : "325332021261f1bd18f2712aa1e2252da23796da8a4b1ff6ea18cafec7e171f240b4f5e287ee61fc3c804186982360891eaa35c75f05a43ecd48b35d984a6648", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 64, | |
"comment" : "special case hash", | |
"msg" : "33373036323131373132", | |
"sig" : "a23ad18d8fc66d81af0903890cbd453a554cb04cdc1a8ca7f7f78e5367ed88a0dc1c14d31e3fb158b73c764268c8b55579734a7e2a2c9b5ee5d9d0144ef652eb", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 65, | |
"comment" : "special case hash", | |
"msg" : "333433363838373132", | |
"sig" : "2bdea41cda63a2d14bf47353bd20880a690901de7cd6e3cc6d8ed5ba0cdb1091c31599433036064073835b1e3eba8335a650c8fd786f94fe235ad7d41dc94c7a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 66, | |
"comment" : "special case hash", | |
"msg" : "31333531353330333730", | |
"sig" : "d7cd76ec01c1b1079eba9e2aa2a397243c4758c98a1ba0b7404a340b9b00ced6ca8affe1e626dd192174c2937b15bc48f77b5bdfe01f073a8aeaf7f24dc6c85b", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 67, | |
"comment" : "special case hash", | |
"msg" : "36353533323033313236", | |
"sig" : "a872c744d936db21a10c361dd5c9063355f84902219652f6fc56dc95a7139d96400df7575d9756210e9ccc77162c6b593c7746cfb48ac263c42750b421ef4bb9", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 68, | |
"comment" : "special case hash", | |
"msg" : "31353634333436363033", | |
"sig" : "9fa9afe07752da10b36d3afcd0fe44bfc40244d75203599cf8f5047fa3453854af1f583fec4040ae7e68c968d2bb4b494eec3a33edc7c0ccf95f7f75bc2569c7", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 69, | |
"comment" : "special case hash", | |
"msg" : "34343239353339313137", | |
"sig" : "885640384d0d910efb177b46be6c3dc5cac81f0b88c3190bb6b5f99c2641f205738ed9bff116306d9caa0f8fc608be243e0b567779d8dab03e8e19d553f1dc8e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 70, | |
"comment" : "special case hash", | |
"msg" : "3130393533323631333531", | |
"sig" : "2d051f91c5a9d440c5676985710483bc4f1a6c611b10c95a2ff0363d90c2a45892206b19045a41a797cc2f3ac30de9518165e96d5b86341ecb3bcff231b3fd65", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 71, | |
"comment" : "special case hash", | |
"msg" : "35393837333530303431", | |
"sig" : "f3ac2523967482f53d508522712d583f4379cd824101ff635ea0935117baa54f27f10812227397e02cea96fb0e680761636dab2b080d1fc5d11685cbe8500cfe", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 72, | |
"comment" : "special case hash", | |
"msg" : "33343633303036383738", | |
"sig" : "96447cf68c3ab7266ed7447de3ac52fed7cc08cbdfea391c18a9b8ab370bc913f0a1878b2c53f16e70fe377a5e9c6e86f18ae480a22bb499f5b32e7109c07385", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 73, | |
"comment" : "special case hash", | |
"msg" : "39383137333230323837", | |
"sig" : "530a0832b691da0b5619a0b11de6877f3c0971baaa68ed122758c29caaf46b7293761bb0a14ccf9f15b4b9ce73c6ec700bd015b8cb1cfac56837f4463f53074e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 74, | |
"comment" : "special case hash", | |
"msg" : "33323232303431303436", | |
"sig" : "9c54c25500bde0b92d72d6ec483dc2482f3654294ca74de796b681255ed58a77988bac394a90ad89ce360984c0c149dcbd2684bb64498ace90bcf6b6af1c170e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 75, | |
"comment" : "special case hash", | |
"msg" : "36363636333037313034", | |
"sig" : "e7909d41439e2f6af29136c7348ca2641a2b070d5b64f91ea9da7070c7a2618b42d782f132fa1d36c2c88ba27c3d678d80184a5d1eccac7501f0b47e3d205008", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 76, | |
"comment" : "special case hash", | |
"msg" : "31303335393531383938", | |
"sig" : "5924873209593135a4c3da7bb381227f8a4b6aa9f34fe5bb7f8fbc131a039ffee0e44ee4bbe370155bf0bbdec265bf9fe31c0746faab446de62e3631eacd111f", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 77, | |
"comment" : "special case hash", | |
"msg" : "31383436353937313935", | |
"sig" : "eeb692c9b262969b231c38b5a7f60649e0c875cd64df88f33aa571fa3d29ab0e218b3a1eb06379c2c18cf51b06430786d1c64cd2d24c9b232b23e5bac7989acd", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 78, | |
"comment" : "special case hash", | |
"msg" : "33313336303436313839", | |
"sig" : "a40034177f36091c2b653684a0e3eb5d4bff18e4d09f664c2800e7cafda1daf83a3ec29853704e52031c58927a800a968353adc3d973beba9172cbbeab4dd149", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 79, | |
"comment" : "special case hash", | |
"msg" : "32363633373834323534", | |
"sig" : "b5d795cc75cea5c434fa4185180cd6bd21223f3d5a86da6670d71d95680dadbfab1b277ef5ffe134460835e3d1402461ba104cb50b16f397fdc7a9abfefef280", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 80, | |
"comment" : "special case hash", | |
"msg" : "31363532313030353234", | |
"sig" : "07dc2478d43c1232a4595608c64426c35510051a631ae6a5a6eb1161e57e42e14a59ea0fdb72d12165cea3bf1ca86ba97517bd188db3dbd21a5a157850021984", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 81, | |
"comment" : "special case hash", | |
"msg" : "35373438303831363936", | |
"sig" : "ddd20c4a05596ca868b558839fce9f6511ddd83d1ccb53f82e5269d559a01552a46e8cb8d626cf6c00ddedc3b5da7e613ac376445ee260743f06f79054c7d42a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 82, | |
"comment" : "special case hash", | |
"msg" : "36333433393133343638", | |
"sig" : "9cde6e0ede0a003f02fda0a01b59facfe5dec063318f279ce2de7a9b1062f7b72886a5b8c679bdf8224c66f908fd6205492cb70b0068d46ae4f33a4149b12a52", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 83, | |
"comment" : "special case hash", | |
"msg" : "31353431313033353938", | |
"sig" : "c5771016d0dd6357143c89f684cd740423502554c0c59aa8c99584f1ff38f609ab4bfa0bb88ab99791b9b3ab9c4b02bd2a57ae8dde50b9064063fcf85315cfe5", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 84, | |
"comment" : "special case hash", | |
"msg" : "3130343738353830313238", | |
"sig" : "a24ebc0ec224bd67ae397cbe6fa37b3125adbd34891abe2d7c7356921916dfe634f6eb6374731bbbafc4924fb8b0bdcdda49456d724cdae6178d87014cb53d8c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 85, | |
"comment" : "special case hash", | |
"msg" : "3130353336323835353638", | |
"sig" : "2557d64a7aee2e0931c012e4fea1cd3a2c334edae68cdeb7158caf21b68e5a2480f93244956ffdc568c77d12684f7f004fa92da7e60ae94a1b98c422e23eda34", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 86, | |
"comment" : "special case hash", | |
"msg" : "393533393034313035", | |
"sig" : "c4f2eccbb6a24350c8466450b9d61b207ee359e037b3dcedb42a3f2e6dd6aeb5cd9c394a65d0aa322e391eb76b2a1a687f8620a88adef3a01eb8e4fb05b6477a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 87, | |
"comment" : "special case hash", | |
"msg" : "393738383438303339", | |
"sig" : "eff04781c9cbcd162d0a25a6e2ebcca43506c523385cb515d49ea38a1b12fcadea5328ce6b36e56ab87acb0dcfea498bcec1bba86a065268f6eff3c41c4b0c9c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 88, | |
"comment" : "special case hash", | |
"msg" : "33363130363732343432", | |
"sig" : "f58b4e3110a64bf1b5db97639ee0e5a9c8dfa49dc59b679891f520fdf0584c87d32701ae777511624c1f8abbf02b248b04e7a9eb27938f524f3e8828ba40164a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 89, | |
"comment" : "special case hash", | |
"msg" : "31303534323430373035", | |
"sig" : "f8abecaa4f0c502de4bf5903d48417f786bf92e8ad72fec0bd7fcb7800c0bbe34c7f9e231076a30b7ae36b0cebe69ccef1cd194f7cce93a5588fd6814f437c0e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 90, | |
"comment" : "special case hash", | |
"msg" : "35313734343438313937", | |
"sig" : "5d5b38bd37ad498b2227a633268a8cca879a5c7c94a4e416bd0a614d09e606d212b8d664ea9991062ecbb834e58400e25c46007af84f6007d7f1685443269afe", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 91, | |
"comment" : "special case hash", | |
"msg" : "31393637353631323531", | |
"sig" : "0c1cd9fe4034f086a2b52d65b9d3834d72aebe7f33dfe8f976da82648177d8e313105782e3d0cfe85c2778dec1a848b27ac0ae071aa6da341a9553a946b41e59", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 92, | |
"comment" : "special case hash", | |
"msg" : "33343437323533333433", | |
"sig" : "ae7935fb96ff246b7b5d5662870d1ba587b03d6e1360baf47988b5c02ccc1a5b5f00c323272083782d4a59f2dfd65e49de0693627016900ef7e61428056664b3", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 93, | |
"comment" : "special case hash", | |
"msg" : "333638323634333138", | |
"sig" : "00a134b5c6ccbcefd4c882b945baeb4933444172795fa6796aae149067547098a991b9efa2db276feae1c115c140770901839d87e60e7ec45a2b81cf3b437be6", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 94, | |
"comment" : "special case hash", | |
"msg" : "33323631313938363038", | |
"sig" : "2e4721363ad3992c139e5a1c26395d2c2d777824aa24fde075e0d7381171309d8bf083b6bbe71ecff22baed087d5a77eaeaf726bf14ace2c03fd6e37ba6c26f2", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 95, | |
"comment" : "special case hash", | |
"msg" : "39363738373831303934", | |
"sig" : "6852e9d3cd9fe373c2d504877967d365ab1456707b6817a042864694e1960ccff9b4d815ebd4cf77847b37952334d05b2045cb398d4c21ba207922a7a4714d84", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 96, | |
"comment" : "special case hash", | |
"msg" : "34393538383233383233", | |
"sig" : "188a8c5648dc79eace158cf886c62b5468f05fd95f03a7635c5b4c31f09af4c536361a0b571a00c6cd5e686ccbfcfa703c4f97e48938346d0c103fdc76dc5867", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 97, | |
"comment" : "special case hash", | |
"msg" : "383234363337383337", | |
"sig" : "a74f1fb9a8263f62fc4416a5b7d584f4206f3996bb91f6fc8e73b9e92bad0e136815032e8c7d76c3ab06a86f33249ce9940148cb36d1f417c2e992e801afa3fa", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 98, | |
"comment" : "special case hash", | |
"msg" : "3131303230383333373736", | |
"sig" : "07244865b72ff37e62e3146f0dc14682badd7197799135f0b00ade7671742bfef27f3ddc7124b1b58579573a835650e7a8bad5eeb96e9da215cd7bf9a2a039ed", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 99, | |
"comment" : "special case hash", | |
"msg" : "313333383731363438", | |
"sig" : "da7fdd05b5badabd619d805c4ee7d9a84f84ddd5cf9c5bf4d4338140d689ef0828f1cf4fa1c3c5862cfa149c0013cf5fe6cf5076cae000511063e7de25bb38e5", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 100, | |
"comment" : "special case hash", | |
"msg" : "333232313434313632", | |
"sig" : "d3027c656f6d4fdfd8ede22093e3c303b0133c340d615e7756f6253aea927238f6510f9f371b31068d68bfeeaa720eb9bbdc8040145fcf88d4e0b58de0777d2a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 101, | |
"comment" : "special case hash", | |
"msg" : "3130363836363535353436", | |
"sig" : "0bf6c0188dc9571cd0e21eecac5fbb19d2434988e9cc10244593ef3a98099f694864a562661f9221ec88e3dd0bc2f6e27ac128c30cc1a80f79ec670a22b042ee", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 102, | |
"comment" : "special case hash", | |
"msg" : "3632313535323436", | |
"sig" : "ae459640d5d1179be47a47fa538e16d94ddea5585e7a244804a51742c686443a6c8e30e530a634fae80b3ceb062978b39edbe19777e0a24553b68886181fd897", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 103, | |
"comment" : "special case hash", | |
"msg" : "37303330383138373734", | |
"sig" : "1cf3517ba3bf2ab8b9ead4ebb6e866cb88a1deacb6a785d3b63b483ca02ac495249a798b73606f55f5f1c70de67cb1a0cff95d7dc50b3a617df861bad3c6b1c9", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 104, | |
"comment" : "special case hash", | |
"msg" : "35393234353233373434", | |
"sig" : "e69b5238265ea35d77e4dd172288d8cea19810a10292617d5976519dc5757cb84b03c5bc47e826bdb27328abd38d3056d77476b2130f3df6ec4891af08ba1e29", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 105, | |
"comment" : "special case hash", | |
"msg" : "31343935353836363231", | |
"sig" : "5f9d7d7c870d085fc1d49fff69e4a275812800d2cf8973e7325866cb40fa2b6f6d1f5491d9f717a597a15fd540406486d76a44697b3f0d9d6dcef6669f8a0a56", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 106, | |
"comment" : "special case hash", | |
"msg" : "34303035333134343036", | |
"sig" : "0a7d5b1959f71df9f817146ee49bd5c89b431e7993e2fdecab6858957da685ae0f8aad2d254690bdc13f34a4fec44a02fd745a422df05ccbb54635a8b86b9609", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 107, | |
"comment" : "special case hash", | |
"msg" : "33303936343537353132", | |
"sig" : "79e88bf576b74bc07ca142395fda28f03d3d5e640b0b4ff0752c6d94cd55340832cea05bd2d706c8f6036a507e2ab7766004f0904e2e5c5862749c0073245d6a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 108, | |
"comment" : "special case hash", | |
"msg" : "32373834303235363230", | |
"sig" : "9d54e037a00212b377bc8874798b8da080564bbdf7e07591b861285809d0148818b4e557667a82bd95965f0706f81a29243fbdd86968a7ebeb43069db3b18c7f", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 109, | |
"comment" : "special case hash", | |
"msg" : "32363138373837343138", | |
"sig" : "2664f1ffa982fedbcc7cab1b8bc6e2cb420218d2a6077ad08e591ba9feab33bd49f5c7cb515e83872a3d41b4cdb85f242ad9d61a5bfc01debfbb52c6c84ba728", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 110, | |
"comment" : "special case hash", | |
"msg" : "31363432363235323632", | |
"sig" : "5827518344844fd6a7de73cbb0a6befdea7b13d2dee4475317f0f18ffc81524bb0a334b1f4b774a5a289f553224d286d239ef8a90929ed2d91423e024eb7fa66", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 111, | |
"comment" : "special case hash", | |
"msg" : "36383234313839343336", | |
"sig" : "97ab19bd139cac319325869218b1bce111875d63fb12098a04b0cd59b6fdd3a3bce26315c5dbc7b8cfc31425a9b89bccea7aa9477d711a4d377f833dcc28f820", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 112, | |
"comment" : "special case hash", | |
"msg" : "343834323435343235", | |
"sig" : "52c683144e44119ae2013749d4964ef67509278f6d38ba869adcfa69970e123d3479910167408f45bda420a626ec9c4ec711c1274be092198b4187c018b562ca", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "BzEPkKnq4UmghAL1QZSg97SsQnv42b1sdoEHHcR9w2I", | |
"y" : "JqbTesRtYf1gDAvxv_h2ie0RfdprDlkxiuAQoZeibKA" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0407310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc36226a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0", | |
"wx" : "07310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc362", | |
"wy" : "26a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000407310f90a9eae149a08402f54194a0f7b4ac427bf8d9bd6c7681071dc47dc36226a6d37ac46d61fd600c0bf1bff87689ed117dda6b0e59318ae010a197a26ca0", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEBzEPkKnq4UmghAL1QZSg97SsQnv42b1s\ndoEHHcR9w2ImptN6xG1h/WAMC/G/+HaJ7RF92msOWTGK4BChl6JsoA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 113, | |
"comment" : "k*G has a large x-coordinate", | |
"msg" : "313233343030", | |
"sig" : "000000000000000000000000000000014551231950b75fc4402da1722fc9baebfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 114, | |
"comment" : "r too large", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2cfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "vJfnWF7srUjhZoO8QJFwjhqTDGg_xHAB1LODWU8sTiI", | |
"y" : "cFmJz2na6t1OTkuBUe2Ijf7CD7AXKNidVrPzjyrpyMU" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5", | |
"wx" : "00bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22", | |
"wy" : "705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bc97e7585eecad48e16683bc4091708e1a930c683fc47001d4b383594f2c4e22705989cf69daeadd4e4e4b8151ed888dfec20fb01728d89d56b3f38f2ae9c8c5", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEvJfnWF7srUjhZoO8QJFwjhqTDGg/xHAB\n1LODWU8sTiJwWYnPadrq3U5OS4FR7YiN/sIPsBco2J1Ws/OPKunIxQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 115, | |
"comment" : "r,s are large", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413ffffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "RK0zmvvCHpq_e2AqXKU16jeBNbbRDYExC92Ck9HfMlI", | |
"y" : "tj_30HdHcPj-HRci-oOs0C9DTk_BEKDMj23d031WxGM" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0444ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463", | |
"wx" : "44ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252", | |
"wy" : "00b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000444ad339afbc21e9abf7b602a5ca535ea378135b6d10d81310bdd8293d1df3252b63ff7d0774770f8fe1d1722fa83acd02f434e4fc110a0cc8f6dddd37d56c463", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERK0zmvvCHpq/e2AqXKU16jeBNbbRDYEx\nC92Ck9HfMlK2P/fQd0dw+P4dFyL6g6zQL0NOT8EQoMyPbd3TfVbEYw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 116, | |
"comment" : "r and s^-1 have a large Hamming weight", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3e9a7582886089c62fb840cf3b83061cd1cff3ae4341808bb5bdee6191174177", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "EmDCEiyeJE4a9RUb7eDDriO1TXxZaIHT7rrSHzfdh4w", | |
"y" : "XJoMGprednN6iBG9an-Sh8l47jlqqJwR5HIp0sy1UvA" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "041260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0", | |
"wx" : "1260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c", | |
"wy" : "5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041260c2122c9e244e1af5151bede0c3ae23b54d7c596881d3eebad21f37dd878c5c9a0c1a9ade76737a8811bd6a7f9287c978ee396aa89c11e47229d2ccb552f0", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEEmDCEiyeJE4a9RUb7eDDriO1TXxZaIHT\n7rrSHzfdh4xcmgwamt52c3qIEb1qf5KHyXjuOWqonBHkcinSzLVS8A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 117, | |
"comment" : "r and s^-1 have a large Hamming weight", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc24238e70b431b1a64efdf9032669939d4b77f249503fc6905feb7540dea3e6d2", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "GHcEW-JdNKHQYA-dXADQZFoqVDebbO760ua_XCozUs4", | |
"y" : "ghpTLMF1HuHTbUHD1qtOmxQ-ROxG1zR46mp5pcDlQVk" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "041877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159", | |
"wx" : "1877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce", | |
"wy" : "00821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041877045be25d34a1d0600f9d5c00d0645a2a54379b6ceefad2e6bf5c2a3352ce821a532cc1751ee1d36d41c3d6ab4e9b143e44ec46d73478ea6a79a5c0e54159", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGHcEW+JdNKHQYA+dXADQZFoqVDebbO76\n0ua/XCozUs6CGlMswXUe4dNtQcPWq06bFD5E7EbXNHjqanmlwOVBWQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 118, | |
"comment" : "small r and s", | |
"msg" : "313233343030", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 119, | |
"comment" : "incorrect size of signature", | |
"msg" : "313233343030", | |
"sig" : "0101", | |
"result" : "acceptable", | |
"flags" : [ | |
"SigSize" | |
] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "RVQ5_MPS3uzt3q7OYOe9FzBPNuu2Aq31oi4Ljx20alA", | |
"y" : "rsOPsrryIemo0Yh8e_YiLdGDRjTncmMxWvbSNgnQT3c" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77", | |
"wx" : "455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50", | |
"wy" : "00aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004455439fcc3d2deeceddeaece60e7bd17304f36ebb602adf5a22e0b8f1db46a50aec38fb2baf221e9a8d1887c7bf6222dd1834634e77263315af6d23609d04f77", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERVQ5/MPS3uzt3q7OYOe9FzBPNuu2Aq31\noi4Ljx20alCuw4+yuvIh6ajRiHx79iIt0YNGNOdyYzFa9tI2CdBPdw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 120, | |
"comment" : "small r and s", | |
"msg" : "313233343030", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 121, | |
"comment" : "incorrect size of signature", | |
"msg" : "313233343030", | |
"sig" : "0102", | |
"result" : "acceptable", | |
"flags" : [ | |
"SigSize" | |
] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Lh9GawJMDDrOJDfeCRJ_7QS3BvlLGaIbscKs81zs5xg", | |
"y" : "BEmuNSPXJTTpZJcs_Ts4rwvd2WGeWvIj5NGkDzTPnx0" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "042e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece7180449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d", | |
"wx" : "2e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece718", | |
"wy" : "0449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200042e1f466b024c0c3ace2437de09127fed04b706f94b19a21bb1c2acf35cece7180449ae3523d72534e964972cfd3b38af0bddd9619e5af223e4d1a40f34cf9f1d", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAELh9GawJMDDrOJDfeCRJ/7QS3BvlLGaIb\nscKs81zs5xgESa41I9clNOlklyz9OzivC93ZYZ5a8iPk0aQPNM+fHQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 122, | |
"comment" : "small r and s", | |
"msg" : "313233343030", | |
"sig" : "00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 123, | |
"comment" : "incorrect size of signature", | |
"msg" : "313233343030", | |
"sig" : "0103", | |
"result" : "acceptable", | |
"flags" : [ | |
"SigSize" | |
] | |
}, | |
{ | |
"tcId" : 124, | |
"comment" : "r is larger than n", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641420000000000000000000000000000000000000000000000000000000000000003", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "3aldewaY3l0tC08ANNvjW1D5ePzFGKhKv5yZ79lqJTA", | |
"y" : "WtwI1qY9voMauZzZFG48TEVJKtGVIWElQiVtavYOeIg" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04dda95d7b0698de5d2d0b4f0034dbe35b50f978fcc518a84abf9c99efd96a25305adc08d6a63dbe831ab99cd9146e3c4c45492ad19521612542256d6af60e7888", | |
"wx" : "00dda95d7b0698de5d2d0b4f0034dbe35b50f978fcc518a84abf9c99efd96a2530", | |
"wy" : "5adc08d6a63dbe831ab99cd9146e3c4c45492ad19521612542256d6af60e7888" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004dda95d7b0698de5d2d0b4f0034dbe35b50f978fcc518a84abf9c99efd96a25305adc08d6a63dbe831ab99cd9146e3c4c45492ad19521612542256d6af60e7888", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE3aldewaY3l0tC08ANNvjW1D5ePzFGKhK\nv5yZ79lqJTBa3AjWpj2+gxq5nNkUbjxMRUkq0ZUhYSVCJW1q9g54iA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 125, | |
"comment" : "s is larger than n", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000001fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd04917c8", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Au9NbWz9WpTx13hCJuPipsCkNsVYOWGfOPtEcrX57nc", | |
"y" : "frSs1O69pc1yh1_9Ki8mIpwtxrRlAJGaQyyGc5866GY" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0402ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee777eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866", | |
"wx" : "02ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee77", | |
"wy" : "7eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000402ef4d6d6cfd5a94f1d7784226e3e2a6c0a436c55839619f38fb4472b5f9ee777eb4acd4eebda5cd72875ffd2a2f26229c2dc6b46500919a432c86739f3ae866", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAu9NbWz9WpTx13hCJuPipsCkNsVYOWGf\nOPtEcrX57nd+tKzU7r2lzXKHX/0qLyYinC3GtGUAkZpDLIZznzroZg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 126, | |
"comment" : "small r and s^-1", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000101c58b162c58b162c58b162c58b162c58a1b242973853e16db75c8a1a71da4d39d", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Rk9P9xVynK5Qcso72AHTGVtnrsZemwGq0gopQ9y8tYQ", | |
"y" : "sa_SnTGjmhHVcKoVl0ObOy0Zcb8vGr8VQy0CB7ENHQg" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08", | |
"wx" : "464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584", | |
"wy" : "00b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004464f4ff715729cae5072ca3bd801d3195b67aec65e9b01aad20a2943dcbcb584b1afd29d31a39a11d570aa1597439b3b2d1971bf2f1abf15432d0207b10d1d08", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERk9P9xVynK5Qcso72AHTGVtnrsZemwGq\n0gopQ9y8tYSxr9KdMaOaEdVwqhWXQ5s7LRlxvy8avxVDLQIHsQ0dCA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 127, | |
"comment" : "smallish r and s^-1", | |
"msg" : "313233343030", | |
"sig" : "000000000000000000000000000000000000000000000000002d9b4d347952ccfcbc5103d0da267477d1791461cf2aa44bf9d43198f79507bd8779d69a13108e", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "FX-P3fNz619Jz88Q2LhTz5HLzX1mXDUiun3XON23mkw", | |
"y" : "3q3xpcRI6jyfQZGomZq_zHV6xtZFZ-8HLEf-xhNEO48" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4cdeadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f", | |
"wx" : "157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4c", | |
"wy" : "00deadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004157f8fddf373eb5f49cfcf10d8b853cf91cbcd7d665c3522ba7dd738ddb79a4cdeadf1a5c448ea3c9f4191a8999abfcc757ac6d64567ef072c47fec613443b8f", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEFX+P3fNz619Jz88Q2LhTz5HLzX1mXDUi\nun3XON23mkzerfGlxEjqPJ9BkaiZmr/MdXrG1kVn7wcsR/7GE0Q7jw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 128, | |
"comment" : "100-bit r and small s^-1", | |
"msg" : "313233343030", | |
"sig" : "000000000000000000000000000000000000001033e67e37b32b445580bf4efc906f906f906f906f906f906f906f906ed8e426f7b1968c35a204236a579723d2", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "CTSlN0ZsB0MOLEj-uZC7Gft4zsyc7kJOpNEwKRqiN_A", | |
"y" : "1PktI7RigEtbaMUlWMAcmZbb9yf8yrvu25YhpABTWvo" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "040934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa", | |
"wx" : "0934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0", | |
"wy" : "00d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200040934a537466c07430e2c48feb990bb19fb78cecc9cee424ea4d130291aa237f0d4f92d23b462804b5b68c52558c01c9996dbf727fccabbeedb9621a400535afa", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAECTSlN0ZsB0MOLEj+uZC7Gft4zsyc7kJO\npNEwKRqiN/DU+S0jtGKAS1toxSVYwByZltv3J/zKu+7bliGkAFNa+g==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 129, | |
"comment" : "small r and 100 bit s^-1", | |
"msg" : "313233343030", | |
"sig" : "0000000000000000000000000000000000000000000000000000000000000101783266e90f43dafe5cd9b3b0be86de22f9de83677d0f50713a468ec72fcf5d57", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "1u8gvmbIk_dBqb-Q2bdGddHCoxKWOXrLPvF0_QswDGU", | |
"y" : "SgyVR4ygA5kWLX8PLcie_cKyijD7q-KFhXKVpLDE4mU" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04d6ef20be66c893f741a9bf90d9b74675d1c2a31296397acb3ef174fd0b300c654a0c95478ca00399162d7f0f2dc89efdc2b28a30fbabe285857295a4b0c4e265", | |
"wx" : "00d6ef20be66c893f741a9bf90d9b74675d1c2a31296397acb3ef174fd0b300c65", | |
"wy" : "4a0c95478ca00399162d7f0f2dc89efdc2b28a30fbabe285857295a4b0c4e265" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d6ef20be66c893f741a9bf90d9b74675d1c2a31296397acb3ef174fd0b300c654a0c95478ca00399162d7f0f2dc89efdc2b28a30fbabe285857295a4b0c4e265", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE1u8gvmbIk/dBqb+Q2bdGddHCoxKWOXrL\nPvF0/QswDGVKDJVHjKADmRYtfw8tyJ79wrKKMPur4oWFcpWksMTiZQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 130, | |
"comment" : "100-bit r and s^-1", | |
"msg" : "313233343030", | |
"sig" : "00000000000000000000000000000000000000062522bbd3ecbe7c39e93e7c26783266e90f43dafe5cd9b3b0be86de22f9de83677d0f50713a468ec72fcf5d57", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "tykdFATgwMB9q5NyGJ9L1Y0s6qjRXt5UTZUUVFup7gY", | |
"y" : "KcmmPV4wh2nMMOwnakEOZGSifur9nlmdsQ8FOk_kqCk" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04b7291d1404e0c0c07dab9372189f4bd58d2ceaa8d15ede544d9514545ba9ee0629c9a63d5e308769cc30ec276a410e6464a27eeafd9e599db10f053a4fe4a829", | |
"wx" : "00b7291d1404e0c0c07dab9372189f4bd58d2ceaa8d15ede544d9514545ba9ee06", | |
"wy" : "29c9a63d5e308769cc30ec276a410e6464a27eeafd9e599db10f053a4fe4a829" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004b7291d1404e0c0c07dab9372189f4bd58d2ceaa8d15ede544d9514545ba9ee0629c9a63d5e308769cc30ec276a410e6464a27eeafd9e599db10f053a4fe4a829", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEtykdFATgwMB9q5NyGJ9L1Y0s6qjRXt5U\nTZUUVFup7gYpyaY9XjCHacww7CdqQQ5kZKJ+6v2eWZ2xDwU6T+SoKQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 131, | |
"comment" : "r and s^-1 are close to n", | |
"msg" : "313233343030", | |
"sig" : "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03640c155555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "u3n2GFf3Q7-htucRHOQJQ3claWnk4VFZEj2VSKzDvmw", | |
"y" : "H52fiGDc_9PrNt1sMf8ucibCAJxMlNjX0rVoa_er1nc" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04bb79f61857f743bfa1b6e7111ce4094377256969e4e15159123d9548acc3be6c1f9d9f8860dcffd3eb36dd6c31ff2e7226c2009c4c94d8d7d2b5686bf7abd677", | |
"wx" : "00bb79f61857f743bfa1b6e7111ce4094377256969e4e15159123d9548acc3be6c", | |
"wy" : "1f9d9f8860dcffd3eb36dd6c31ff2e7226c2009c4c94d8d7d2b5686bf7abd677" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bb79f61857f743bfa1b6e7111ce4094377256969e4e15159123d9548acc3be6c1f9d9f8860dcffd3eb36dd6c31ff2e7226c2009c4c94d8d7d2b5686bf7abd677", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEu3n2GFf3Q7+htucRHOQJQ3claWnk4VFZ\nEj2VSKzDvmwfnZ+IYNz/0+s23Wwx/y5yJsIAnEyU2NfStWhr96vWdw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 132, | |
"comment" : "s == 1", | |
"msg" : "313233343030", | |
"sig" : "55555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c10000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 133, | |
"comment" : "s == 0", | |
"msg" : "313233343030", | |
"sig" : "55555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c10000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "1TO3iaSviQ-nqCofrljEBPmmKlC0mtr6s0nFE7QVCHQ", | |
"y" : "AbQXG4A-drNKmGHhD3vCiaBm_QG9KfhMmHoQpfsYwtQ" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04d533b789a4af890fa7a82a1fae58c404f9a62a50b49adafab349c513b415087401b4171b803e76b34a9861e10f7bc289a066fd01bd29f84c987a10a5fb18c2d4", | |
"wx" : "00d533b789a4af890fa7a82a1fae58c404f9a62a50b49adafab349c513b4150874", | |
"wy" : "01b4171b803e76b34a9861e10f7bc289a066fd01bd29f84c987a10a5fb18c2d4" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d533b789a4af890fa7a82a1fae58c404f9a62a50b49adafab349c513b415087401b4171b803e76b34a9861e10f7bc289a066fd01bd29f84c987a10a5fb18c2d4", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE1TO3iaSviQ+nqCofrljEBPmmKlC0mtr6\ns0nFE7QVCHQBtBcbgD52s0qYYeEPe8KJoGb9Ab0p+EyYehCl+xjC1A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 134, | |
"comment" : "point at infinity during verify", | |
"msg" : "313233343030", | |
"sig" : "7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a055555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215c0", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "OjFQeYyK9p0ebpgfOkVAK6HXMvS-gzDFFk9J4Q7FVbQ", | |
"y" : "IhvYQrxeTZfv83Fl9g45mKQk1ypFDPlepHfHgofQNDo" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "043a3150798c8af69d1e6e981f3a45402ba1d732f4be8330c5164f49e10ec555b4221bd842bc5e4d97eff37165f60e3998a424d72a450cf95ea477c78287d0343a", | |
"wx" : "3a3150798c8af69d1e6e981f3a45402ba1d732f4be8330c5164f49e10ec555b4", | |
"wy" : "221bd842bc5e4d97eff37165f60e3998a424d72a450cf95ea477c78287d0343a" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200043a3150798c8af69d1e6e981f3a45402ba1d732f4be8330c5164f49e10ec555b4221bd842bc5e4d97eff37165f60e3998a424d72a450cf95ea477c78287d0343a", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEOjFQeYyK9p0ebpgfOkVAK6HXMvS+gzDF\nFk9J4Q7FVbQiG9hCvF5Nl+/zcWX2DjmYpCTXKkUM+V6kd8eCh9A0Og==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 135, | |
"comment" : "edge case for signature malleability", | |
"msg" : "313233343030", | |
"sig" : "7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a07fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "OzffX7NHxpoPF9hcDHyoNzaIOoJeExQ9D8_IEB6FHoA", | |
"y" : "DePAkLbKIbpUNRczDASxL5SMa63xSmOr_99O-MdTcCY" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "043b37df5fb347c69a0f17d85c0c7ca83736883a825e13143d0fcfc8101e851e800de3c090b6ca21ba543517330c04b12f948c6badf14a63abffdf4ef8c7537026", | |
"wx" : "3b37df5fb347c69a0f17d85c0c7ca83736883a825e13143d0fcfc8101e851e80", | |
"wy" : "0de3c090b6ca21ba543517330c04b12f948c6badf14a63abffdf4ef8c7537026" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200043b37df5fb347c69a0f17d85c0c7ca83736883a825e13143d0fcfc8101e851e800de3c090b6ca21ba543517330c04b12f948c6badf14a63abffdf4ef8c7537026", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEOzffX7NHxpoPF9hcDHyoNzaIOoJeExQ9\nD8/IEB6FHoAN48CQtsohulQ1FzMMBLEvlIxrrfFKY6v/3074x1NwJg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 136, | |
"comment" : "edge case for signature malleability", | |
"msg" : "313233343030", | |
"sig" : "7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a07fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_rUWOw7OMP8-A8fVXEOA-i-oHuLANUlC_28IyZ0M2Cw", | |
"y" : "6H3gXuG9oInT5OJI-g9yEQKs__31DmVL4oFDOZnfiX4" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04feb5163b0ece30ff3e03c7d55c4380fa2fa81ee2c0354942ff6f08c99d0cd82ce87de05ee1bda089d3e4e248fa0f721102acfffdf50e654be281433999df897e", | |
"wx" : "00feb5163b0ece30ff3e03c7d55c4380fa2fa81ee2c0354942ff6f08c99d0cd82c", | |
"wy" : "00e87de05ee1bda089d3e4e248fa0f721102acfffdf50e654be281433999df897e" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004feb5163b0ece30ff3e03c7d55c4380fa2fa81ee2c0354942ff6f08c99d0cd82ce87de05ee1bda089d3e4e248fa0f721102acfffdf50e654be281433999df897e", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE/rUWOw7OMP8+A8fVXEOA+i+oHuLANUlC\n/28IyZ0M2CzofeBe4b2gidPk4kj6D3IRAqz//fUOZUvigUM5md+Jfg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 137, | |
"comment" : "u1 == 1", | |
"msg" : "313233343030", | |
"sig" : "55555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca605023", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "I4ztABzyK4hT4C7cicvspQULp-BCp6d_k4LNQUkiiXY", | |
"y" : "QGg9MJRkOEDylYkKpMGKo5tB133Q-zuycA5PnsKE_8I" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04238ced001cf22b8853e02edc89cbeca5050ba7e042a7a77f9382cd414922897640683d3094643840f295890aa4c18aa39b41d77dd0fb3bb2700e4f9ec284ffc2", | |
"wx" : "238ced001cf22b8853e02edc89cbeca5050ba7e042a7a77f9382cd4149228976", | |
"wy" : "40683d3094643840f295890aa4c18aa39b41d77dd0fb3bb2700e4f9ec284ffc2" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004238ced001cf22b8853e02edc89cbeca5050ba7e042a7a77f9382cd414922897640683d3094643840f295890aa4c18aa39b41d77dd0fb3bb2700e4f9ec284ffc2", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEI4ztABzyK4hT4C7cicvspQULp+BCp6d/\nk4LNQUkiiXZAaD0wlGQ4QPKViQqkwYqjm0HXfdD7O7JwDk+ewoT/wg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 138, | |
"comment" : "u1 == n - 1", | |
"msg" : "313233343030", | |
"sig" : "55555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b844a5ad0bd0636d9e12bc9e0a6bdd5e1bba77f523842193b3b82e448e05d5f11e", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "lhz2SBfAbA5Rs8JzbJIv3hi9jEkG_Nf172bEZ4UI814", | |
"y" : "0sXRgWjPvnDy8SO9dBkjK7kt1pET4pQQYYiUgcWgJ78" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04961cf64817c06c0e51b3c2736c922fde18bd8c4906fcd7f5ef66c4678508f35ed2c5d18168cfbe70f2f123bd7419232bb92dd69113e2941061889481c5a027bf", | |
"wx" : "00961cf64817c06c0e51b3c2736c922fde18bd8c4906fcd7f5ef66c4678508f35e", | |
"wy" : "00d2c5d18168cfbe70f2f123bd7419232bb92dd69113e2941061889481c5a027bf" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004961cf64817c06c0e51b3c2736c922fde18bd8c4906fcd7f5ef66c4678508f35ed2c5d18168cfbe70f2f123bd7419232bb92dd69113e2941061889481c5a027bf", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAElhz2SBfAbA5Rs8JzbJIv3hi9jEkG/Nf1\n72bEZ4UI817SxdGBaM++cPLxI710GSMruS3WkRPilBBhiJSBxaAnvw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 139, | |
"comment" : "u2 == 1", | |
"msg" : "313233343030", | |
"sig" : "55555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b855555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "E2gerhaM1Op88uKkXQUnQtEKn2TnloZ9vcuCn-CxAog", | |
"y" : "FlKHYNF3N2wJ33neOVV8MpzBdTUXrP_o-i7CmAJrg4Q" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0413681eae168cd4ea7cf2e2a45d052742d10a9f64e796867dbdcb829fe0b1028816528760d177376c09df79de39557c329cc1753517acffe8fa2ec298026b8384", | |
"wx" : "13681eae168cd4ea7cf2e2a45d052742d10a9f64e796867dbdcb829fe0b10288", | |
"wy" : "16528760d177376c09df79de39557c329cc1753517acffe8fa2ec298026b8384" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000413681eae168cd4ea7cf2e2a45d052742d10a9f64e796867dbdcb829fe0b1028816528760d177376c09df79de39557c329cc1753517acffe8fa2ec298026b8384", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEE2gerhaM1Op88uKkXQUnQtEKn2TnloZ9\nvcuCn+CxAogWUodg0Xc3bAnfed45VXwynMF1NRes/+j6LsKYAmuDhA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 140, | |
"comment" : "u2 == n - 1", | |
"msg" : "313233343030", | |
"sig" : "55555555555555555555555555555554e8e4f44ce51835693ff0ca2ef01215b8aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa9d1c9e899ca306ad27fe1945de0242b89", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Wqer_ba0CG1UMyXl15xulc5C-GbSu4SQljOgS7GqMcI", | |
"y" : "kcgAiHlJBeHaMzNth04vkcz0XMWRhb7eXdbz96yq4Ys" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "045aa7abfdb6b4086d543325e5d79c6e95ce42f866d2bb84909633a04bb1aa31c291c80088794905e1da33336d874e2f91ccf45cc59185bede5dd6f3f7acaae18b", | |
"wx" : "5aa7abfdb6b4086d543325e5d79c6e95ce42f866d2bb84909633a04bb1aa31c2", | |
"wy" : "0091c80088794905e1da33336d874e2f91ccf45cc59185bede5dd6f3f7acaae18b" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200045aa7abfdb6b4086d543325e5d79c6e95ce42f866d2bb84909633a04bb1aa31c291c80088794905e1da33336d874e2f91ccf45cc59185bede5dd6f3f7acaae18b", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEWqer/ba0CG1UMyXl15xulc5C+GbSu4SQ\nljOgS7GqMcKRyACIeUkF4dozM22HTi+RzPRcxZGFvt5d1vP3rKrhiw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 141, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffce91e1ba6ba898620a46bcb51dc0b8b4ad1dc35dad892c4552d1847b2ce444637", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ACd3kbMFpFsrOVkLLwXTOSpsgYLO9OtUASDg9cIGw-Q", | |
"y" : "ZBCCM_sLjDrIktee-OD7-S7RM63bRVQnATJYTcUu70E" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0400277791b305a45b2b39590b2f05d3392a6c8182cef4eb540120e0f5c206c3e464108233fb0b8c3ac892d79ef8e0fbf92ed133addb4554270132584dc52eef41", | |
"wx" : "277791b305a45b2b39590b2f05d3392a6c8182cef4eb540120e0f5c206c3e4", | |
"wy" : "64108233fb0b8c3ac892d79ef8e0fbf92ed133addb4554270132584dc52eef41" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000400277791b305a45b2b39590b2f05d3392a6c8182cef4eb540120e0f5c206c3e464108233fb0b8c3ac892d79ef8e0fbf92ed133addb4554270132584dc52eef41", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEACd3kbMFpFsrOVkLLwXTOSpsgYLO9OtU\nASDg9cIGw+RkEIIz+wuMOsiS15744Pv5LtEzrdtFVCcBMlhNxS7vQQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 142, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffce36bf0cec06d9b841da81332812f74f30bbaec9f202319206c6f0b8a0a400ff7", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "bvoJK2jelGDwvMkZAFpfboDhnemJaL480sdwqZSb-xo", | |
"y" : "x15uUIfWVQ1fm-seeeUCkwe8JVI14tXcmSQaw6uIbEk" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "046efa092b68de9460f0bcc919005a5f6e80e19de98968be3cd2c770a9949bfb1ac75e6e5087d6550d5f9beb1e79e5029307bc255235e2d5dc99241ac3ab886c49", | |
"wx" : "6efa092b68de9460f0bcc919005a5f6e80e19de98968be3cd2c770a9949bfb1a", | |
"wy" : "00c75e6e5087d6550d5f9beb1e79e5029307bc255235e2d5dc99241ac3ab886c49" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200046efa092b68de9460f0bcc919005a5f6e80e19de98968be3cd2c770a9949bfb1ac75e6e5087d6550d5f9beb1e79e5029307bc255235e2d5dc99241ac3ab886c49", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEbvoJK2jelGDwvMkZAFpfboDhnemJaL48\n0sdwqZSb+xrHXm5Qh9ZVDV+b6x555QKTB7wlUjXi1dyZJBrDq4hsSQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 143, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcea26b57af884b6c06e348efe139c1e4e9ec9518d60c340f6bac7d278ca08d8a6", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ctShnE-dLPWEjqQERbcNRpa18C1jLAxlTMfX7rDG0Fg", | |
"y" : "6MTNmUPkWRdMesAfp0IZjkfmwZpr2wxPbCN4McGz-UI" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0472d4a19c4f9d2cf5848ea40445b70d4696b5f02d632c0c654cc7d7eeb0c6d058e8c4cd9943e459174c7ac01fa742198e47e6c19a6bdb0c4f6c237831c1b3f942", | |
"wx" : "72d4a19c4f9d2cf5848ea40445b70d4696b5f02d632c0c654cc7d7eeb0c6d058", | |
"wy" : "00e8c4cd9943e459174c7ac01fa742198e47e6c19a6bdb0c4f6c237831c1b3f942" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000472d4a19c4f9d2cf5848ea40445b70d4696b5f02d632c0c654cc7d7eeb0c6d058e8c4cd9943e459174c7ac01fa742198e47e6c19a6bdb0c4f6c237831c1b3f942", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEctShnE+dLPWEjqQERbcNRpa18C1jLAxl\nTMfX7rDG0FjoxM2ZQ+RZF0x6wB+nQhmOR+bBmmvbDE9sI3gxwbP5Qg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 144, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc5b1d27a7694c146244a5ad0bd0636d9d9ef3b9fb58385418d9c982105077d1b7", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Ko6i9Q3M7QwhdXW9-nzUfRxvEABB7A41USeUwb5-dAI", | |
"y" : "WPjBcSLtMD_acUPrWL7ecClbZTJmATsLDr0_BTE39uw" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "042a8ea2f50dcced0c217575bdfa7cd47d1c6f100041ec0e35512794c1be7e740258f8c17122ed303fda7143eb58bede70295b653266013b0b0ebd3f053137f6ec", | |
"wx" : "2a8ea2f50dcced0c217575bdfa7cd47d1c6f100041ec0e35512794c1be7e7402", | |
"wy" : "58f8c17122ed303fda7143eb58bede70295b653266013b0b0ebd3f053137f6ec" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200042a8ea2f50dcced0c217575bdfa7cd47d1c6f100041ec0e35512794c1be7e740258f8c17122ed303fda7143eb58bede70295b653266013b0b0ebd3f053137f6ec", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEKo6i9Q3M7QwhdXW9+nzUfRxvEABB7A41\nUSeUwb5+dAJY+MFxIu0wP9pxQ+tYvt5wKVtlMmYBOwsOvT8FMTf27A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 145, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcd27a7694c146244a5ad0bd0636d9e12abe687897e8e9998ddbd4e59a78520d0f", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "iN5onOmvHpS-aiCJyKixJT_9u2yOnIYkm6IgABpK07g", | |
"y" : "DEmY5UhC9BO57bGCWsu2M16B5NGEsrAci-vchdHyiUY" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0488de689ce9af1e94be6a2089c8a8b1253ffdbb6c8e9c86249ba220001a4ad3b80c4998e54842f413b9edb1825acbb6335e81e4d184b2b01c8bebdc85d1f28946", | |
"wx" : "0088de689ce9af1e94be6a2089c8a8b1253ffdbb6c8e9c86249ba220001a4ad3b8", | |
"wy" : "0c4998e54842f413b9edb1825acbb6335e81e4d184b2b01c8bebdc85d1f28946" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000488de689ce9af1e94be6a2089c8a8b1253ffdbb6c8e9c86249ba220001a4ad3b80c4998e54842f413b9edb1825acbb6335e81e4d184b2b01c8bebdc85d1f28946", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEiN5onOmvHpS+aiCJyKixJT/9u2yOnIYk\nm6IgABpK07gMSZjlSEL0E7ntsYJay7YzXoHk0YSysByL69yF0fKJRg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 146, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffca4f4ed29828c4894b5a17a0c6db3c256c2221449228a92dff7d76ca8206dd8dd", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_qLTH3D5DV-z4A4YasQqs8FhXO5xTgtOETGz1NgiW_c", | |
"y" : "sDehjfKsFTQ_MPdAZ93ynoF9X3f43OBXFNpZwJTwzak" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04fea2d31f70f90d5fb3e00e186ac42ab3c1615cee714e0b4e1131b3d4d8225bf7b037a18df2ac15343f30f74067ddf29e817d5f77f8dce05714da59c094f0cda9", | |
"wx" : "00fea2d31f70f90d5fb3e00e186ac42ab3c1615cee714e0b4e1131b3d4d8225bf7", | |
"wy" : "00b037a18df2ac15343f30f74067ddf29e817d5f77f8dce05714da59c094f0cda9" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004fea2d31f70f90d5fb3e00e186ac42ab3c1615cee714e0b4e1131b3d4d8225bf7b037a18df2ac15343f30f74067ddf29e817d5f77f8dce05714da59c094f0cda9", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE/qLTH3D5DV+z4A4YasQqs8FhXO5xTgtO\nETGz1NgiW/ewN6GN8qwVND8w90Bn3fKegX1fd/jc4FcU2lnAlPDNqQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 147, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc694c146244a5ad0bd0636d9e12bc9e09e60e68b90d0b5e6c5dddd0cb694d8799", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "cliRHj1CM0kWZHnb4Lg0Gvf70D0KfhDtzLNrbO6lo9s", | |
"y" : "F6wriZJ5ESj6O5bcL71Mo7-ngu8oMvxmVpQ9sY5zRrA" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "047258911e3d423349166479dbe0b8341af7fbd03d0a7e10edccb36b6ceea5a3db17ac2b8992791128fa3b96dc2fbd4ca3bfa782ef2832fc6656943db18e7346b0", | |
"wx" : "7258911e3d423349166479dbe0b8341af7fbd03d0a7e10edccb36b6ceea5a3db", | |
"wy" : "17ac2b8992791128fa3b96dc2fbd4ca3bfa782ef2832fc6656943db18e7346b0" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200047258911e3d423349166479dbe0b8341af7fbd03d0a7e10edccb36b6ceea5a3db17ac2b8992791128fa3b96dc2fbd4ca3bfa782ef2832fc6656943db18e7346b0", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEcliRHj1CM0kWZHnb4Lg0Gvf70D0KfhDt\nzLNrbO6lo9sXrCuJknkRKPo7ltwvvUyjv6eC7ygy/GZWlD2xjnNGsA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 148, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3d7f487c07bfc5f30846938a3dcef696444707cf9677254a92b06c63ab867d22", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "TyhGHepkR01rs00Umcl9N7npVjPfHO7qrNRQFsmLORQ", | |
"y" : "yIGIELjMBt20DooSYcUo-qWJRV1abfk7d7xeDkk8dHA" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "044f28461dea64474d6bb34d1499c97d37b9e95633df1ceeeaacd45016c98b3914c8818810b8cc06ddb40e8a1261c528faa589455d5a6df93b77bc5e0e493c7470", | |
"wx" : "4f28461dea64474d6bb34d1499c97d37b9e95633df1ceeeaacd45016c98b3914", | |
"wy" : "00c8818810b8cc06ddb40e8a1261c528faa589455d5a6df93b77bc5e0e493c7470" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200044f28461dea64474d6bb34d1499c97d37b9e95633df1ceeeaacd45016c98b3914c8818810b8cc06ddb40e8a1261c528faa589455d5a6df93b77bc5e0e493c7470", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAETyhGHepkR01rs00Umcl9N7npVjPfHO7q\nrNRQFsmLORTIgYgQuMwG3bQOihJhxSj6pYlFXVpt+Tt3vF4OSTx0cA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 149, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc6c7648fc0fbf8a06adb8b839f97b4ff7a800f11b1e37c593b261394599792ba4", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dPKoFPtdjsqRppteYHEnMrOTfeMoKb6XTte2jFwvXWY", | |
"y" : "7_DwfFb5h6ZX9CGWIF9YjA8dlv2KY6XyOLSPR4eI_js" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0474f2a814fb5d8eca91a69b5e60712732b3937de32829be974ed7b68c5c2f5d66eff0f07c56f987a657f42196205f588c0f1d96fd8a63a5f238b48f478788fe3b", | |
"wx" : "74f2a814fb5d8eca91a69b5e60712732b3937de32829be974ed7b68c5c2f5d66", | |
"wy" : "00eff0f07c56f987a657f42196205f588c0f1d96fd8a63a5f238b48f478788fe3b" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000474f2a814fb5d8eca91a69b5e60712732b3937de32829be974ed7b68c5c2f5d66eff0f07c56f987a657f42196205f588c0f1d96fd8a63a5f238b48f478788fe3b", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEdPKoFPtdjsqRppteYHEnMrOTfeMoKb6X\nTte2jFwvXWbv8PB8VvmHplf0IZYgX1iMDx2W/YpjpfI4tI9Hh4j+Ow==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 150, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc9be363a286f23f6322c205449d320baad417953ecb70f6214e90d49d7d1f26a8", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "GVtRp8xKIbgnSnCpDed5gUw8jKNYMoIIwJop8za4LWo", | |
"y" : "skFrfJL__cKcOxKC3Sp3pNBN9_dFIEc5PYSZicXO6a0" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04195b51a7cc4a21b8274a70a90de779814c3c8ca358328208c09a29f336b82d6ab2416b7c92fffdc29c3b1282dd2a77a4d04df7f7452047393d849989c5cee9ad", | |
"wx" : "195b51a7cc4a21b8274a70a90de779814c3c8ca358328208c09a29f336b82d6a", | |
"wy" : "00b2416b7c92fffdc29c3b1282dd2a77a4d04df7f7452047393d849989c5cee9ad" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004195b51a7cc4a21b8274a70a90de779814c3c8ca358328208c09a29f336b82d6ab2416b7c92fffdc29c3b1282dd2a77a4d04df7f7452047393d849989c5cee9ad", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGVtRp8xKIbgnSnCpDed5gUw8jKNYMoII\nwJop8za4LWqyQWt8kv/9wpw7EoLdKnek0E3390UgRzk9hJmJxc7prQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 151, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc29798c5c45bdf58b4a7b2fdc2c46ab4af1218c7eeb9f0f27a88f1267674de3b0", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Yi_HRzIDS-wt3zvBbTSz0fejJ90qjBm6tLtP46JLWKo", | |
"y" : "c2svL6529N-uzJCWMzsBMo1R6z_anJIn6Q0LRJmDxPA" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04622fc74732034bec2ddf3bc16d34b3d1f7a327dd2a8c19bab4bb4fe3a24b58aa736b2f2fae76f4dfaecc9096333b01328d51eb3fda9c9227e90d0b449983c4f0", | |
"wx" : "622fc74732034bec2ddf3bc16d34b3d1f7a327dd2a8c19bab4bb4fe3a24b58aa", | |
"wy" : "736b2f2fae76f4dfaecc9096333b01328d51eb3fda9c9227e90d0b449983c4f0" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004622fc74732034bec2ddf3bc16d34b3d1f7a327dd2a8c19bab4bb4fe3a24b58aa736b2f2fae76f4dfaecc9096333b01328d51eb3fda9c9227e90d0b449983c4f0", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEYi/HRzIDS+wt3zvBbTSz0fejJ90qjBm6\ntLtP46JLWKpzay8vrnb0367MkJYzOwEyjVHrP9qckifpDQtEmYPE8A==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 152, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0b70f22ca2bb3cefadca1a5711fa3a59f4695385eb5aedf3495d0b6d00f8fd85", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "H3-FyvLXVQ56-bZQI-u03ONFAxFpIwnbJplpuDS2Ecc", | |
"y" : "CCf0W3gCDsu69IT91b-q5ocPEYTCFYG69u-CvXtTD5M" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "041f7f85caf2d7550e7af9b65023ebb4dce3450311692309db269969b834b611c70827f45b78020ecbbaf484fdd5bfaae6870f1184c21581baf6ef82bd7b530f93", | |
"wx" : "1f7f85caf2d7550e7af9b65023ebb4dce3450311692309db269969b834b611c7", | |
"wy" : "0827f45b78020ecbbaf484fdd5bfaae6870f1184c21581baf6ef82bd7b530f93" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041f7f85caf2d7550e7af9b65023ebb4dce3450311692309db269969b834b611c70827f45b78020ecbbaf484fdd5bfaae6870f1184c21581baf6ef82bd7b530f93", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEH3+FyvLXVQ56+bZQI+u03ONFAxFpIwnb\nJplpuDS2EccIJ/RbeAIOy7r0hP3Vv6rmhw8RhMIVgbr274K9e1MPkw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 153, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc16e1e459457679df5b9434ae23f474b3e8d2a70bd6b5dbe692ba16da01f1fb0a", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ScGX3ICtHaR6Q0K5OJPo4fsLuU_DOoPng8ALJMeBN3o", | |
"y" : "78INqSusdilR9yR0vsxzTUzCK6gbiV4oL9rE33rw830" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0449c197dc80ad1da47a4342b93893e8e1fb0bb94fc33a83e783c00b24c781377aefc20da92bac762951f72474becc734d4cc22ba81b895e282fdac4df7af0f37d", | |
"wx" : "49c197dc80ad1da47a4342b93893e8e1fb0bb94fc33a83e783c00b24c781377a", | |
"wy" : "00efc20da92bac762951f72474becc734d4cc22ba81b895e282fdac4df7af0f37d" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000449c197dc80ad1da47a4342b93893e8e1fb0bb94fc33a83e783c00b24c781377aefc20da92bac762951f72474becc734d4cc22ba81b895e282fdac4df7af0f37d", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEScGX3ICtHaR6Q0K5OJPo4fsLuU/DOoPn\ng8ALJMeBN3rvwg2pK6x2KVH3JHS+zHNNTMIrqBuJXigv2sTfevDzfQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 154, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2252d685e831b6cf095e4f0535eeaf0ddd3bfa91c210c9d9dc17224702eaf88f", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "2MtoUXthalZACqOGhjXlS29plZii9hZ3V2VJgLr2rL4", | |
"y" : "fsjPRJyEmqA0YaMO-tpBRTxXxub7yTu8b6Sa2m3AVVw" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04d8cb68517b616a56400aa3868635e54b6f699598a2f6167757654980baf6acbe7ec8cf449c849aa03461a30efada41453c57c6e6fbc93bbc6fa49ada6dc0555c", | |
"wx" : "00d8cb68517b616a56400aa3868635e54b6f699598a2f6167757654980baf6acbe", | |
"wy" : "7ec8cf449c849aa03461a30efada41453c57c6e6fbc93bbc6fa49ada6dc0555c" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004d8cb68517b616a56400aa3868635e54b6f699598a2f6167757654980baf6acbe7ec8cf449c849aa03461a30efada41453c57c6e6fbc93bbc6fa49ada6dc0555c", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE2MtoUXthalZACqOGhjXlS29plZii9hZ3\nV2VJgLr2rL5+yM9EnISaoDRhow762kFFPFfG5vvJO7xvpJrabcBVXA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 155, | |
"comment" : "edge case for u1", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc75135abd7c425b60371a477f09ce0f274f64a8c6b061a07b5d63e93c65046c53", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AwcT-2Pyqm_iyt8bIO_CWcd0Rdr6h9rDmLhAZco0ffM", | |
"y" : "sieBjeGjm1icsHHYPlMXzM3CM45R4xL-MdjcNKSAF1A" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04030713fb63f2aa6fe2cadf1b20efc259c77445dafa87dac398b84065ca347df3b227818de1a39b589cb071d83e5317cccdc2338e51e312fe31d8dc34a4801750", | |
"wx" : "030713fb63f2aa6fe2cadf1b20efc259c77445dafa87dac398b84065ca347df3", | |
"wy" : "00b227818de1a39b589cb071d83e5317cccdc2338e51e312fe31d8dc34a4801750" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004030713fb63f2aa6fe2cadf1b20efc259c77445dafa87dac398b84065ca347df3b227818de1a39b589cb071d83e5317cccdc2338e51e312fe31d8dc34a4801750", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEAwcT+2Pyqm/iyt8bIO/CWcd0Rdr6h9rD\nmLhAZco0ffOyJ4GN4aObWJywcdg+UxfMzcIzjlHjEv4x2Nw0pIAXUA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 156, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcd55555555555555555555555555555547c74934474db157d2a8c3f088aced62a", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "urs2d7CVWALY6SmkE1VkDq8eoTU_incTMcSUbjSAr6c", | |
"y" : "JS8ZbIftPSpZ07G1WRN_7QAT_s78Gftakmgrm8pRuVA" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04babb3677b0955802d8e929a41355640eaf1ea1353f8a771331c4946e3480afa7252f196c87ed3d2a59d3b1b559137fed0013fecefc19fb5a92682b9bca51b950", | |
"wx" : "00babb3677b0955802d8e929a41355640eaf1ea1353f8a771331c4946e3480afa7", | |
"wy" : "252f196c87ed3d2a59d3b1b559137fed0013fecefc19fb5a92682b9bca51b950" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004babb3677b0955802d8e929a41355640eaf1ea1353f8a771331c4946e3480afa7252f196c87ed3d2a59d3b1b559137fed0013fecefc19fb5a92682b9bca51b950", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEurs2d7CVWALY6SmkE1VkDq8eoTU/incT\nMcSUbjSAr6clLxlsh+09KlnTsbVZE3/tABP+zvwZ+1qSaCubylG5UA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 157, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcc1777c8853938e536213c02464a936000ba1e21c0fc62075d46c624e23b52f31", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "GqsgGHk0cREaig6bFD_eAvyVkgeW06Y94ym0JDlvumA", | |
"y" : "u-QTBwUXR5JEGzGNOqMd_oV3gh6bRG7Fc9Jy4DbE6-k" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "041aab2018793471111a8a0e9b143fde02fc95920796d3a63de329b424396fba60bbe4130705174792441b318d3aa31dfe8577821e9b446ec573d272e036c4ebe9", | |
"wx" : "1aab2018793471111a8a0e9b143fde02fc95920796d3a63de329b424396fba60", | |
"wy" : "00bbe4130705174792441b318d3aa31dfe8577821e9b446ec573d272e036c4ebe9" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200041aab2018793471111a8a0e9b143fde02fc95920796d3a63de329b424396fba60bbe4130705174792441b318d3aa31dfe8577821e9b446ec573d272e036c4ebe9", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEGqsgGHk0cREaig6bFD/eAvyVkgeW06Y9\n4ym0JDlvumC75BMHBRdHkkQbMY06ox3+hXeCHptEbsVz0nLgNsTr6Q==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 158, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc30bbb794db588363b40679f6c182a50d3ce9679acdd3ffbe36d7813dacbdc818", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "jLC5CUmcg-qAbNiFsd1GegEZ8GqIoCdusM_aJ0U1qP8", | |
"y" : "R7VCiDO8PyyL-dkEEVjPM3GKaZYc0BcpvAAR0eWGq3U" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "048cb0b909499c83ea806cd885b1dd467a0119f06a88a0276eb0cfda274535a8ff47b5428833bc3f2c8bf9d9041158cf33718a69961cd01729bc0011d1e586ab75", | |
"wx" : "008cb0b909499c83ea806cd885b1dd467a0119f06a88a0276eb0cfda274535a8ff", | |
"wy" : "47b5428833bc3f2c8bf9d9041158cf33718a69961cd01729bc0011d1e586ab75" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200048cb0b909499c83ea806cd885b1dd467a0119f06a88a0276eb0cfda274535a8ff47b5428833bc3f2c8bf9d9041158cf33718a69961cd01729bc0011d1e586ab75", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEjLC5CUmcg+qAbNiFsd1GegEZ8GqIoCdu\nsM/aJ0U1qP9HtUKIM7w/LIv52QQRWM8zcYpplhzQFym8ABHR5YardQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 159, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2c37fd995622c4fb7fffffffffffffffc7cee745110cb45ab558ed7c90c15a2f", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "jwPPGkInK7FTJyMJP3Lm_urIXhcA6fvppqLdZC10v10", | |
"y" : "O4mnGJ2tjPdfwi9vFYqif5wsoA2sp4W-M1jyvaOGLKA" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "048f03cf1a42272bb1532723093f72e6feeac85e1700e9fbe9a6a2dd642d74bf5d3b89a7189dad8cf75fc22f6f158aa27f9c2ca00daca785be3358f2bda3862ca0", | |
"wx" : "008f03cf1a42272bb1532723093f72e6feeac85e1700e9fbe9a6a2dd642d74bf5d", | |
"wy" : "3b89a7189dad8cf75fc22f6f158aa27f9c2ca00daca785be3358f2bda3862ca0" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200048f03cf1a42272bb1532723093f72e6feeac85e1700e9fbe9a6a2dd642d74bf5d3b89a7189dad8cf75fc22f6f158aa27f9c2ca00daca785be3358f2bda3862ca0", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEjwPPGkInK7FTJyMJP3Lm/urIXhcA6fvp\npqLdZC10v107iacYna2M91/CL28ViqJ/nCygDaynhb4zWPK9o4YsoA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 160, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc7fd995622c4fb7ffffffffffffffffff5d883ffab5b32652ccdcaa290fccb97d", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "RN47nHpXqMnoIJUnU0IefZh7s9efcfATgFyJfgGPis4", | |
"y" : "okYHWMj5jT_c4SGpQ2WeNywyb_8uX8Kuf6P3narhPBI" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0444de3b9c7a57a8c9e820952753421e7d987bb3d79f71f013805c897e018f8acea2460758c8f98d3fdce121a943659e372c326fff2e5fc2ae7fa3f79daae13c12", | |
"wx" : "44de3b9c7a57a8c9e820952753421e7d987bb3d79f71f013805c897e018f8ace", | |
"wy" : "00a2460758c8f98d3fdce121a943659e372c326fff2e5fc2ae7fa3f79daae13c12" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000444de3b9c7a57a8c9e820952753421e7d987bb3d79f71f013805c897e018f8acea2460758c8f98d3fdce121a943659e372c326fff2e5fc2ae7fa3f79daae13c12", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAERN47nHpXqMnoIJUnU0IefZh7s9efcfAT\ngFyJfgGPis6iRgdYyPmNP9zhIalDZZ43LDJv/y5fwq5/o/edquE8Eg==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 161, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcffb32ac4589f6ffffffffffffffffffebb107ff56b664ca599b954521f9972fa", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "b7iytI4zAxJorWpRdITciDnqkPZmnqDHrDIz4qwxOUo", | |
"y" : "Csi75_c8L_TfmXhyesHfwv1YZH0g8x-ZEFMWtkZx8gQ" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "046fb8b2b48e33031268ad6a517484dc8839ea90f6669ea0c7ac3233e2ac31394a0ac8bbe7f73c2ff4df9978727ac1dfc2fd58647d20f31f99105316b64671f204", | |
"wx" : "6fb8b2b48e33031268ad6a517484dc8839ea90f6669ea0c7ac3233e2ac31394a", | |
"wy" : "0ac8bbe7f73c2ff4df9978727ac1dfc2fd58647d20f31f99105316b64671f204" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200046fb8b2b48e33031268ad6a517484dc8839ea90f6669ea0c7ac3233e2ac31394a0ac8bbe7f73c2ff4df9978727ac1dfc2fd58647d20f31f99105316b64671f204", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEb7iytI4zAxJorWpRdITciDnqkPZmnqDH\nrDIz4qwxOUoKyLvn9zwv9N+ZeHJ6wd/C/VhkfSDzH5kQUxa2RnHyBA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 162, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc5622c4fb7fffffffffffffffffffffff928a8f1c7ac7bec1808b9f61c01ec327", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "vqcRIqBIaT6QX_YCs8-d0Yr2m5_J2EMdKx3Sa5QsleY", | |
"y" : "9Dx7i5XrYggsEtudvaf-OORcvkpIhpB_uBvbDF6pJGw" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04bea71122a048693e905ff602b3cf9dd18af69b9fc9d8431d2b1dd26b942c95e6f43c7b8b95eb62082c12db9dbda7fe38e45cbe4a4886907fb81bdb0c5ea9246c", | |
"wx" : "00bea71122a048693e905ff602b3cf9dd18af69b9fc9d8431d2b1dd26b942c95e6", | |
"wy" : "00f43c7b8b95eb62082c12db9dbda7fe38e45cbe4a4886907fb81bdb0c5ea9246c" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004bea71122a048693e905ff602b3cf9dd18af69b9fc9d8431d2b1dd26b942c95e6f43c7b8b95eb62082c12db9dbda7fe38e45cbe4a4886907fb81bdb0c5ea9246c", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEvqcRIqBIaT6QX/YCs8+d0Yr2m5/J2EMd\nKx3Sa5Qsleb0PHuLletiCCwS2529p/445Fy+SkiGkH+4G9sMXqkkbA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 163, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc44104104104104104104104104104103b87853fd3b7d3f8e175125b4382f25ed", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "2pGMcxugaiDLlO8zt3jpgaQEowXxlB_jNma0WwM1MVY", | |
"y" : "4rsmlPV1tFGDvnjlybUhC_O_SI_UyClFFtiVcspPU5E" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "04da918c731ba06a20cb94ef33b778e981a404a305f1941fe33666b45b03353156e2bb2694f575b45183be78e5c9b5210bf3bf488fd4c8294516d89572ca4f5391", | |
"wx" : "00da918c731ba06a20cb94ef33b778e981a404a305f1941fe33666b45b03353156", | |
"wy" : "00e2bb2694f575b45183be78e5c9b5210bf3bf488fd4c8294516d89572ca4f5391" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a03420004da918c731ba06a20cb94ef33b778e981a404a305f1941fe33666b45b03353156e2bb2694f575b45183be78e5c9b5210bf3bf488fd4c8294516d89572ca4f5391", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE2pGMcxugaiDLlO8zt3jpgaQEowXxlB/j\nNma0WwM1MVbiuyaU9XW0UYO+eOXJtSEL879Ij9TIKUUW2JVyyk9TkQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 164, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2739ce739ce739ce739ce739ce739ce705560298d1f2f08dc419ac273a5b54d9", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MAfpLDk32t55ZN-jWw7_Ax9-sCrtCgMUQREGzetw_j0", | |
"y" : "WnVG_AVSmXsg49b0E-deLLZuEWMiaXEUt5usc0v8TcU" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "043007e92c3937dade7964dfa35b0eff031f7eb02aed0a0314411106cdeb70fe3d5a7546fc0552997b20e3d6f413e75e2cb66e116322697114b79bac734bfc4dc5", | |
"wx" : "3007e92c3937dade7964dfa35b0eff031f7eb02aed0a0314411106cdeb70fe3d", | |
"wy" : "5a7546fc0552997b20e3d6f413e75e2cb66e116322697114b79bac734bfc4dc5" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200043007e92c3937dade7964dfa35b0eff031f7eb02aed0a0314411106cdeb70fe3d5a7546fc0552997b20e3d6f413e75e2cb66e116322697114b79bac734bfc4dc5", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEMAfpLDk32t55ZN+jWw7/Ax9+sCrtCgMU\nQREGzetw/j1adUb8BVKZeyDj1vQT514stm4RYyJpcRS3m6xzS/xNxQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 165, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcb777777777777777777777777777777688e6a1fe808a97a348671222ff16b863", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "YOc071Yk08vw3dN1ARvWY9bWrrxkTrWZ_fmNvc0Yzps", | |
"y" : "0tkLOsMfE5r4MszPbMu7LG6hH6lzcNyZBtpHTX2KdWc" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0460e734ef5624d3cbf0ddd375011bd663d6d6aebc644eb599fdf98dbdcd18ce9bd2d90b3ac31f139af832cccf6ccbbb2c6ea11fa97370dc9906da474d7d8a7567", | |
"wx" : "60e734ef5624d3cbf0ddd375011bd663d6d6aebc644eb599fdf98dbdcd18ce9b", | |
"wy" : "00d2d90b3ac31f139af832cccf6ccbbb2c6ea11fa97370dc9906da474d7d8a7567" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000460e734ef5624d3cbf0ddd375011bd663d6d6aebc644eb599fdf98dbdcd18ce9bd2d90b3ac31f139af832cccf6ccbbb2c6ea11fa97370dc9906da474d7d8a7567", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEYOc071Yk08vw3dN1ARvWY9bWrrxkTrWZ\n/fmNvc0YzpvS2Qs6wx8TmvgyzM9sy7ssbqEfqXNw3JkG2kdNfYp1Zw==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 166, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc6492492492492492492492492492492406dd3a19b8d5fb875235963c593bd2d3", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "hakA6XhY9pPAt9-iYeOA2tbqBG0fZd3u7dX32K8Lozc", | |
"y" : "aXRNFa3U9sC8Ow2irsk7NMuMZfk0Dd9057AAnu7Mzjw" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0485a900e97858f693c0b7dfa261e380dad6ea046d1f65ddeeedd5f7d8af0ba33769744d15add4f6c0bc3b0da2aec93b34cb8c65f9340ddf74e7b0009eeeccce3c", | |
"wx" : "0085a900e97858f693c0b7dfa261e380dad6ea046d1f65ddeeedd5f7d8af0ba337", | |
"wy" : "69744d15add4f6c0bc3b0da2aec93b34cb8c65f9340ddf74e7b0009eeeccce3c" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000485a900e97858f693c0b7dfa261e380dad6ea046d1f65ddeeedd5f7d8af0ba33769744d15add4f6c0bc3b0da2aec93b34cb8c65f9340ddf74e7b0009eeeccce3c", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEhakA6XhY9pPAt9+iYeOA2tbqBG0fZd3u\n7dX32K8LozdpdE0VrdT2wLw7DaKuyTs0y4xl+TQN33TnsACe7szOPA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 167, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc955555555555555555555555555555547c74934474db157d2a8c3f088aced62c", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "OAZvddiO_EyT3jb0ngN7I0zBix3lYIdQpiyrA0VAEEY", | |
"y" : "o-hL7Yz8uBnvTVUERPLOS2UXZraeLikB-Ig2_5ADT-0" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0438066f75d88efc4c93de36f49e037b234cc18b1de5608750a62cab0345401046a3e84bed8cfcb819ef4d550444f2ce4b651766b69e2e2901f88836ff90034fed", | |
"wx" : "38066f75d88efc4c93de36f49e037b234cc18b1de5608750a62cab0345401046", | |
"wy" : "00a3e84bed8cfcb819ef4d550444f2ce4b651766b69e2e2901f88836ff90034fed" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000438066f75d88efc4c93de36f49e037b234cc18b1de5608750a62cab0345401046a3e84bed8cfcb819ef4d550444f2ce4b651766b69e2e2901f88836ff90034fed", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEOAZvddiO/EyT3jb0ngN7I0zBix3lYIdQ\npiyrA0VAEEaj6EvtjPy4Ge9NVQRE8s5LZRdmtp4uKQH4iDb/kANP7Q==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 168, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa3e3a49a23a6d8abe95461f8445676b17", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "mPaBd9yVwbTL-lJFSIylI6fVYpRw0DXWIaRDxy85qr8", | |
"y" : "oz0pVG-hxkjyx9XM9wzxzkq3m12xrAWdvs0Gjb3_G4k" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "0498f68177dc95c1b4cbfa5245488ca523a7d5629470d035d621a443c72f39aabfa33d29546fa1c648f2c7d5ccf70cf1ce4ab79b5db1ac059dbecd068dbdff1b89", | |
"wx" : "0098f68177dc95c1b4cbfa5245488ca523a7d5629470d035d621a443c72f39aabf", | |
"wy" : "00a33d29546fa1c648f2c7d5ccf70cf1ce4ab79b5db1ac059dbecd068dbdff1b89" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a0342000498f68177dc95c1b4cbfa5245488ca523a7d5629470d035d621a443c72f39aabfa33d29546fa1c648f2c7d5ccf70cf1ce4ab79b5db1ac059dbecd068dbdff1b89", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEmPaBd9yVwbTL+lJFSIylI6fVYpRw0DXW\nIaRDxy85qr+jPSlUb6HGSPLH1cz3DPHOSrebXbGsBZ2+zQaNvf8biQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 169, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcbffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364143", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "XCu_ojybmtB_A4qom0kwvyZ9lAHkJV3p6NoKUHjsgnc", | |
"y" : "4-iCox1eajeeB5OYPM3tOblcQ1OrL_AepTabpHsMMZE" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "045c2bbfa23c9b9ad07f038aa89b4930bf267d9401e4255de9e8da0a5078ec8277e3e882a31d5e6a379e0793983ccded39b95c4353ab2ff01ea5369ba47b0c3191", | |
"wx" : "5c2bbfa23c9b9ad07f038aa89b4930bf267d9401e4255de9e8da0a5078ec8277", | |
"wy" : "00e3e882a31d5e6a379e0793983ccded39b95c4353ab2ff01ea5369ba47b0c3191" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200045c2bbfa23c9b9ad07f038aa89b4930bf267d9401e4255de9e8da0a5078ec8277e3e882a31d5e6a379e0793983ccded39b95c4353ab2ff01ea5369ba47b0c3191", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEXCu/ojybmtB/A4qom0kwvyZ9lAHkJV3p\n6NoKUHjsgnfj6IKjHV5qN54Hk5g8ze05uVxDU6sv8B6lNpukewwxkQ==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 170, | |
"comment" : "edge case for u2", | |
"msg" : "313233343030", | |
"sig" : "7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc185ddbca6dac41b1da033cfb60c152869e74b3cd66e9ffdf1b6bc09ed65ee40c", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "LqcTNDIznGnSf5smcoG9Ld1fGdYzjUAKBc02R7FXo4U", | |
"y" : "NUeAgphEjttecBrehM1fsayVZ7pej7aKa5M-xLXMhMw" | |
}, | |
"key" : { | |
"curve" : "secp256k1", | |
"keySize" : 256, | |
"type" : "EcPublicKey", | |
"uncompressed" : "042ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a3853547808298448edb5e701ade84cd5fb1ac9567ba5e8fb68a6b933ec4b5cc84cc", | |
"wx" : "2ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a385", | |
"wy" : "3547808298448edb5e701ade84cd5fb1ac9567ba5e8fb68a6b933ec4b5cc84cc" | |
}, | |
"keyDer" : "3056301006072a8648ce3d020106052b8104000a034200042ea7133432339c69d27f9b267281bd2ddd5f19d6338d400a05cd3647b157a3853547808298448edb5e701ade84cd5fb1ac9567ba5e8fb68a6b933ec4b5cc84cc", | |
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAELqcTNDIznGnSf5smcoG9Ld1fGdYzjUAK\nBc02R7FXo4U1R4CCmESO215wGt6EzV+xrJVnul6Ptoprkz7EtcyEzA==\n-----END PUBLIC KEY-----", | |
"sha" : "SHA-256", | |
"type" : "EcdsaP1363Verify", | |
"tests" : [ | |
{ | |
"tcId" : 171, | |
"comment" : "point duplication during verification", | |
"msg" : "313233343030", | |
"sig" : "32b0d10d8d0e04bc8d4d064d270699e87cffc9b49c5c20730e1c26f6105ddcdad612c2984c2afa416aa7f2882a486d4a8426cb6cfc91ed5b737278f9fca8be68", | |
"result" : "valid", | |
"flags" : [ | |
"PointDuplication" | |
] | |
} | |
] | |
}, | |
{ | |
"jwk" : { | |
"crv" |