{ | |
"algorithm" : "ECDH", | |
"generatorVersion" : "0.4.12", | |
"notes" : { | |
"AddSubChain" : "The private key has a special value. Implementations using addition subtraction chains for the point multiplication may get the point at infinity as an intermediate result. See CVE_2017_10176", | |
"CVE_2017_10176" : "This test vector leads to an EC point multiplication where an intermediate result can be the point at infinity, if addition-subtraction chains are used to speed up the point multiplication.", | |
"InvalidPublic" : "The public key has been modified and is invalid. An implementation should always check whether the public key is valid and on the same curve as the private key. The test vector includes the shared secret computed with the original public key if the public point is on the curve of the private key. Generating a shared secret other than the one with the original key likely indicates that the bug is exploitable.", | |
"ModifiedPrime" : "The modulus of the public key has been modified. The public point of the public key has been chosen so that it is both a point on both the curve of the modified public key and the private key.", | |
"UnnamedCurve" : "The public key does not use a named curve. RFC 3279 allows to encode such curves by explicitly encoding, the parameters of the curve equation, modulus, generator, order and cofactor. However, many crypto libraries only support named curves. Modifying some of the EC parameters and encoding the corresponding public key as an unnamed curve is a potential attack vector.", | |
"UnusedParam" : "A parameter that is typically not used for ECDH has been modified. Sometimes libraries ignore small differences between public and private key. For example, a library might ignore an incorrect cofactor in the public key. We consider ignoring such changes as acceptable as long as these differences do not change the outcome of the ECDH computation, i.e. as long as the computation is done on the curve from the private key.", | |
"WeakPublicKey" : "The vector contains a weak public key. The curve is not a named curve, the public key point has order 3 and has been chosen to be on the same curve as the private key. This test vector is used to check ECC implementations for missing steps in the verification of the public key.", | |
"WrongOrder" : "The order of the public key has been modified. If this order is used in a cryptographic primitive instead of the correct order then private keys may leak. E.g. ECDHC in BC 1.52 suffered from this." | |
}, | |
"numberOfTests" : 249, | |
"header" : [], | |
"testGroups" : [ | |
{ | |
"curve" : "P-256", | |
"encoding" : "webcrypto", | |
"type" : "ECHDComp", | |
"tests" : [ | |
{ | |
"tcId" : 1, | |
"comment" : "normal case", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "YtW9M3Kvdf6FoEBxXQ9QJCjgcEaGiwv9-mHXMa_kTyY", | |
"y" : "rDM6k6nnCoHNWpW1v40TmQ63QcjDiHK0oH0nWgFOMM8" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "BhJGXImgI6sXhVsKa86_0_67U674QThke1NS4CwQw0Y", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "tZzHZx3Wprg24s2Tlu9WGLL_PoGS3XydNsJ8tW_5FmE", | |
"y" : "SCbZ29WuZM3YV1Bou8nmPyMepX7QMkiETAkzG5U5IFM" | |
}, | |
"shared" : "53020d908b0219328b658b525f26780e3ae12bcd952bb25a93bc0895e1714285", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 2, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "WP1BaKh3lWA-KwQ5AoW9ym5X3mAn_iEd2dJeIhLSnmI", | |
"y" : "CA02vSJNdAVQkpXu0CoXFQ4DsxT5baN0RbDR0pN30Sw" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 3, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "D20gwEJh7MPpKEasrUjcjsXuNa4Ig_DS6nEhaQbuHEc", | |
"y" : "wEJomplt0SgwrkWTgulKrFa3F68uIIAhX55BlJsfUr4" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "00000000000000000000000000000000ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 4, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AMfe_rGhYjZzjpoRI7piG8jpo_JIWz-P_ef5zpj1qKE", | |
"y" : "yzOMORKxeS9gwrBuxSMeLYSw5Zbpt21BnOEF7ON5Hbw" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "0000000000000000ffffffffffffffff00000000000000010000000000000001", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 5, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6bmPssCsBF-MdhJf_ZnrilFXvh19s-hdZV7B2CECiM8", | |
"y" : "IY3yT9LCdGvlnfQSYu86l9mGdEsoNnSKdIYjCjGf_sA" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "00000000ffffffff00000000ffffffff00000000ffffffff0000000100000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 6, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6UhOWPMzG2b_7W2Qyxx4Bl-ijPulx91DUgE9MlLuQnc", | |
"y" : "vXUDsEWji0skezLFlZNYDznmq_o3bD3KIM9_nPtlnhM" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "000003ffffff0000003ffffff0000003ffffff0000003ffffff0000003ffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 7, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dn1_u4Sqak2xB5NyZE5C7LL-wgDBeIIjksuLlQ_90Mk", | |
"y" : "HIaFPK_Qm1K6Lyh_DrqiZBWjz6uvksamF6GZiFY9neo" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff00010001", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 8, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "x01Uby_MbdOS-F5b4WfjWN6Qh1awwLsBy2nYZMoIPhw", | |
"y" : "k_lZ7s5uEO4RvTk0IH1lriivaLCSWFoVCSYOzrObku8" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "085ec5a4af40176b63189069aeffcb229c96d3e046e0283ed2f9dac21b15ad3c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 9, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "NPyfHnoJTNKVmNGEH6lhPb6CMT1jOlHWP7bv8HTMm5o", | |
"y" : "Ts_Z8ljFxNQhC0l1EhOiTFlpgr0dVOBEVEPyHvFUkqU" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "190c25f88ad9ae3a098e6cffe6fd0b1bea42114eb0cedd5868a45c5fe277dff3", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 10, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "1clu_RkH_UjeKtcVrPgurlxmkP4-_hanjWHGjTv9EN8", | |
"y" : "A-rIFrnnt3YZKj9QdYh8DiJWF1BYM8qZfNoy_Q9nPF4" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "507442007322aa895340cba4abc2d730bfd0b16c2c79a46815f8780d2c55a2dd", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 11, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "9HX1A6dw33LEWu3-QsAI9ZqlfnKyMvJmAL3QNTlXyyA", | |
"y" : "vbj2QFtJGAUKNUn0TAeo66ggzc5OzmmYiMY432b1T3w" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "5f177bfe19baaaee597e68b6a87a519e805e9d28a70cb72fd40f0fe5a754ba45", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 12, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "88tnVLfiqG0GTfufkDGFqqTJK0gcLBof8nYwO7xBg-Q", | |
"y" : "nDGFmbCYTDVj3zOTEf4UOn2SHudbdVpSxvgE-Je4Cfc" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "7fff0001fffc0007fff0001fffc0007fff0001fffc0007fff0001fffc0007fff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 13, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "zOE_vclqlG37jG2e12Lb0XMWMEVWifV6Q3_uEk3VTOw", | |
"y" : "rveAJsZTAwzy8xSmcGQjawo1Te_rxekMlBJOm_XE_CQ" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "8000000000000000000000000000000000000000000000000000000000000004", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 14, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "djPf0K0GdlCXvBG9UCKyAN8x8oxP8GJUISIax-625vQ", | |
"y" : "y5xnaTYJ3db5I0OlocY1QIJA9PjicSDBJVTH_4x24v4" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "8000003ffffff0000007fffffe000000ffffffc000001ffffff8000004000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 15, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "o4as5XP4dVimjq0qIAiOP-kova6eEJRG-ToHjBV0HwQ", | |
"y" : "ISYebbK_EhBuTGv4W5WBtMAwKlJiIvkKvFpUkgaxEBE" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "ff00000001fffffffc00000007fffffff00000001fffffffc00000007fffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 16, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "jntQ99jETV00lsQxQaUC9KQ_FT0DrUPtqOOVl_HUd7g", | |
"y" : "ZH89pnlpt_mJ_0rdw5NRWvQMgghc4fLuGVQSxvWDd08" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "ffff00000003fffffff00000003fffffff00000003fffffff00000003fffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 17, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "yCf7kw_VHZJghhkbUCr4OrtfcX3ryN4piXo5NLJXHKA", | |
"y" : "WZDAWXsLei5C_r1WsTI10dQI127SyTs_rPUU2QL2kQo" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "ffffffff00000000000000ffffffffffffff00000000000000ffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 18, | |
"comment" : "y-coordinate of the public key is small", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "PLwbMbQ_F9wgDdcMKUTATGyxsIKCDCNKMAsFt3Y4RMc", | |
"y" : "T94KTvk4h0aXkycOsv8UgofakmWwM0-eJgmqwW6K1QM" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "7fffffffffffffffffffffffeecf2230ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 19, | |
"comment" : "y-coordinate of the public key is small", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "KDDZZImuJLecrUJQVugnRvnj9BmrmqIcofuxHHMl59M", | |
"y" : "GKvmb1de6KLxxKgONSYK6CrX1vZh0V8GlnkwpYUJfvc" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "000000000000000000000000111124f400000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 20, | |
"comment" : "y-coordinate of the public key is small", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "RQtrbiCXF46dKFAQlRjSjrO23tKSKlRSADvC5KTsd1w", | |
"y" : "iU6Q8N8bDmytsDud4k9qItG9CkpYzWRcJzyuHGGb_WE" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "000000000000000000000001ea77d449ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 21, | |
"comment" : "y-coordinate of the public key is large", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "PLwbMbQ_F9wgDdcMKUTATGyxsIKCDCNKMAsFt3Y4RMc", | |
"y" : "sCH1sAbHeLpobNjxTQDrfXglbZtPzLBh2fZVPpF1Kvw" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "7fffffffffffffffffffffffeecf2230ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 22, | |
"comment" : "y-coordinate of the public key is large", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "KDDZZImuJLecrUJQVugnRvnj9BmrmqIcofuxHHMl59M", | |
"y" : "51QZj6ihF14OO1fxytn1F9UoKQqeLqD5aYbPWnr2gQg" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "000000000000000000000000111124f400000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 23, | |
"comment" : "y-coordinate of the public key is large", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "RQtrbiCXF46dKFAQlRjSjrO23tKSKlRSADvC5KTsd1w", | |
"y" : "drFvDiDk8ZRST8RiHbCV3S5C9banMpuj2MNR455kAp4" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "000000000000000000000001ea77d449ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 24, | |
"comment" : "y-coordinate of the public key has many trailing 1's", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "mg8OPdMUF7vZ4pi8Boq21cNnM68m7Wdnb0EMgEuLLKE", | |
"y" : "sCyC86YaN223lWJulABVcRInOjbN2wjKqkOVOWVFRzA" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "7fffffffffffffffffffffffca089011ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 25, | |
"comment" : "y-coordinate of the public key has many trailing 1's", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "jl0i1eU-x5fFXs1ooIp8M2HNmcp_rRpo6oAqaky1ipE", | |
"y" : "jqegcCPvZ2dwJL04QeGHxkswowo3UOsu6HP75Y-hNXs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "0000000000000000000000001f6bd1e500000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 26, | |
"comment" : "y-coordinate of the public key has many trailing 1's", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "KTqjSbk0qyyDnPVLinN98jBO-bIPpJTjGtYrMV3WpTw", | |
"y" : "EYGCuF70Zuuajof5Zh99AXmEwV6oIEP1NtHuam2VtQk" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "000000000000000000000002099f55d5ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 27, | |
"comment" : "y-coordinate of the public key has many trailing 0's", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "mg8OPdMUF7vZ4pi8Boq21cNnM68m7Wdnb0EMgEuLLKE", | |
"y" : "T9N9C1nlyJNIap2Ra_-qju3YxcoyJPc1Vbxqxpq6uM8" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "7fffffffffffffffffffffffca089011ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 28, | |
"comment" : "y-coordinate of the public key has many trailing 0's", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "jl0i1eU-x5fFXs1ooIp8M2HNmcp_rRpo6oAqaky1ipE", | |
"y" : "cVhfjtwQmJmP20LHvh54ObTPXPbIrxTRF4wEGnBeyoQ" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "0000000000000000000000001f6bd1e500000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 29, | |
"comment" : "y-coordinate of the public key has many trailing 0's", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "KTqjSbk0qyyDnPVLinN98jBO-bIPpJTjGtYrMV3WpTw", | |
"y" : "7n59RqELmRVlcXgGmeCC_oZ7PqJX37wKyS4RlZJqSvY" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "Cg1iKkfkj2vBA4rOQ4xvUoqgCtK9HaXxPuRr9fYz1xo", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "dGGMuq9p_1kPX7WFUc5KlItcclHUDllaGLG6a77mraU", | |
"y" : "v_QDqOmdU6cNPORhC_0F1Lo6iFW2oNNjyB99B4zezZI" | |
}, | |
"shared" : "000000000000000000000002099f55d5ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 30, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "ZkhceA4vg9ckM71dhKBrtlQcKvMdrocXKL-FahdPk_Q" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "cfe4077c8730b1c9384581d36bff5542bc417c9eff5c2afcb98cc8829b2ce848", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 31, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAP____________________8", | |
"y" : "TyuStMWWpaR_iwQdLepgQwIax3uagLE0OsnXePT49zM" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "49ae50fe096a6cd26698b78356b2c8adf1f6a3490f14e364629f7a0639442509", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 32, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAD__________wAAAAAAAAABAAAAAAAAAAE", | |
"y" : "OBIL5qsx7fo0doxDh9L4T7SwvoqamFhkoVdfRDa7N7A" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "5a1334572b2a711ead8b4653eb310cd8d9fd114399379a8f6b872e3b8fdda2d9", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 33, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAP____8AAAAA_____wAAAAD_____AAAAAQAAAAA", | |
"y" : "RiwEZuQYAiONbJJey-_HR8_lBeoZavmi0RtihQ_OlG4" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "c73755133b6b9b4b2a00631cbc7940ecbe6ec08f20448071422e3362f2556888", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 34, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAD____AAAAP___8AAAA____wAAAD____AAAAP___8", | |
"y" : "FYL6MuLUqJ38-z0LFJ9mfbozKUkPTWTuKtWGwMnoxQg" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "06fa1059935e47a9fd667e13f469614eb257cc9a7e3fc599bfb92780d59b146d", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 35, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAD__wAA__8AAP__AAD__wAA__8AAP__AAD__wABAAE", | |
"y" : "aEyKlYbtb5y-RHBYp9ohCLqx5eCmDR9z5OLnE_Cj3-A" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "f237df4c10bd3e357971bb2b16b293566b7e355bdc8141d6c92cabc682983c45", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 36, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "CF7FpK9AF2tjGJBprv_LIpyW0-BG4Cg-0vnawhsVrTw", | |
"y" : "eFn5fLbiA_Rr80OPYSgjJelOaBtgtWaXiK6wZVvxnTg" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "d874b55678d0a04d216c31b02f3ad1f30c92caaf168f34e3a743356d9276e993", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 37, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "GQwl-IrZrjoJjmz_5v0LG-pCEU6wzt1YaKRcX-J33_M", | |
"y" : "Ibg0LvB3vGckESQD6u5aFbTDGnFYnwLe0JzZnMXbnIM" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "11a8582057463fc76fda3ab8087eb0a420b0d601bb3134165a369646931e52a6", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 38, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "UHRCAHMiqolTQMukq8LXML_QsWwseaRoFfh4DSxVot0", | |
"y" : "RhnWn5lA9RZjqhI4G8fPZ4vRpypJ-8EbC2nLItGvny0" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "4e173a80907f361fe5a5d335ba7685d5eba93e9dfc8d8fcdb1dcd2d2bde27507", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 39, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Xxd7_hm6qu5Zfmi2qHpRnoBenSinDLcv1A8P5adUukU", | |
"y" : "YsoRA_cKIAbNH2f19qNYCyncRGq8kODpEMHgWpqniM0" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "73220471ec8bad99a297db488a34a259f9bc891ffaf09922e6b5001f5df67018", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 40, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "f_8AAf_8AAf_8AAf_8AAf_8AAf_8AAf_8AAf_8AAf_8", | |
"y" : "LiITyvAwM-D9D3lRFU9ubDqSRKcvrKZenOnutcjhzqk" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "55d0a203e22ffb523c8d2705060cee9d28308b51f184beefc518cff690bad346", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 41, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQ", | |
"y" : "K-h4nbgbtIcKnmDFwYyAyD3kZCdygfGvHmQIQ6GjFI4" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "2518d846e577d95e9e7bc766cde7997cb887fb266d3a6cb598a839fd54aa2f4f", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 42, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "gAAAP___8AAAB____gAAAP___8AAAB____gAAAQAAAA", | |
"y" : "ciVA-KRxw3kIPGALWP3k2Vx9ytUJX0IZ_F6b3ePFzTk" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "bdb49f4bdf42ac64504e9ce677b3ec5c0a03828c5b3efad726005692d35c0f26", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 43, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_wAAAAH____8AAAAB_____AAAAAf____wAAAAH____8", | |
"y" : "XfgPxsria2wZUvvQDtF07hIJ0GkzX1tIWI4p6AuRka0" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "f503ac65637e0f17cb4408961cb882c875e4c6ef7a548d2d52d8c2f681838c55", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 44, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "__8AAAAD____8AAAAD____8AAAAD____8AAAAD____8", | |
"y" : "LGNlDmpdMy4ph90Jp5AI6PqrvTfknLAWv7ksjND12nc" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "e3c18e7d7377dc540bc45c08d389bdbe255fa80ca8faf1ef6b94d52049987d21", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 45, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_____wAAAAAAAAD_________AAAAAAAAAP________8", | |
"y" : "ehFslkpM1gZov4nP_hV3FKPOIbk7PKYHyKW5OsVP_Ao" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "516d6d329b095a7c7e93b4023d4d05020c1445ef1ddcb3347b3a27d7d7f57265", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 46, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "f_______________7s8iMP____________________8", | |
"y" : "AAAAAcfDBkOr7QrwpJ_jUstIP_m5fczfQnxljoeTJA0" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "6fd26661851a8de3c6d06f834ef3acb8f2a5f9c136a985ffe10d5eeb51edcfa3", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 47, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "f_______________7s8iMP____________________8", | |
"y" : "_____Tg8-b1UEvUPW2AcrTS3wAdGgjMgvYOacXhs2_I" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "6fd26661851a8de3c6d06f834ef3acb8f2a5f9c136a985ffe10d5eeb51edcfa3", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 48, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "f_______________ygiQEf____________________8", | |
"y" : "Jnv9-KYRSN7NgCg3Mt1MEJXku0C5ZYQIII3BFH____8" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "44236c8b9505a19d48774a3903c0292759b0f826e6ac092ff898d87e53d353fc", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 49, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "f_______________ygiQEf____________________8", | |
"y" : "2YQCBlnutyIyf9fIzSKz72obRMBGmnv333I-64AAAAA" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "44236c8b9505a19d48774a3903c0292759b0f826e6ac092ff898d87e53d353fc", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 50, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAEREk9AAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "AAAADRLTgbB2CxxQvorPhZOFBSx_U83mfOE3Wd4xI6A" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "f1f0e43b374feb7e7f96d4ffe7519fa8bb6c3cfd25f6f87dab2623d2a2d33851", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 51, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAEREk9AAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "____8e0sflCJ9OOvQXUwemx6-tSArDIZgx7IpiHO3F8" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "f1f0e43b374feb7e7f96d4ffe7519fa8bb6c3cfd25f6f87dab2623d2a2d33851", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 52, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAH2vR5QAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "QJbt1occMgy4qfRTF1EQXJe0wleBG7wylj6vOf____8" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "3ebbace1098a81949d5605dd94a7aa88dc396c2c23e01a9c8cca5bb07bfbb6a1", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 53, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAH2vR5QAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "v2kSKHjjzfRHVgus6K7vo2hLPal-5EPNacFQxgAAAAA" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "3ebbace1098a81949d5605dd94a7aa88dc396c2c23e01a9c8cca5bb07bfbb6a1", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 54, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAB6nfUSf____________________8", | |
"y" : "AAAAAHr7wLMl6CBkbexiL7VYpRw0KqJX9Lao7F3fFE8" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "1b085213a9c89d353e1111af078c38c502b7b4771efba51f589b5be243417bdc", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 55, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAB6nfUSf____________________8", | |
"y" : "_____oUEP03aF9-bkhOd0EqnWuTL1V2oC0lXE6Ig67A" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "1b085213a9c89d353e1111af078c38c502b7b4771efba51f589b5be243417bdc", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 56, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAACCZ9V1f____________________8", | |
"y" : "FSwaItgjonhV7QP44qtQOLsd9Nh-Q4ZfLa9pSP____8" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "67cb63566c7ceb12fdd85ce9d2f77c359242bbaa0ea1bf3cf510a4a26591d1f1", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 57, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAACCZ9V1f____________________8", | |
"y" : "6tPl3CfcXYiqEvwHHVSvx0TiCyiBvHmg0lCWtwAAAAA" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "VdVfEbuNoeoxi8pyZvA3ZmJEHqhycKogd_G3cMSFSkg", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SxZj7h2TMLcrIL6yg5hQme_3tAel6XekWoJd4p3uluk", | |
"y" : "6dB0rkqADlx2fpnriM0dV7BXimIO0r61V6hPP3YgGnU" | |
}, | |
"shared" : "67cb63566c7ceb12fdd85ce9d2f77c359242bbaa0ea1bf3cf510a4a26591d1f1", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 58, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Xsvk0aYzCkTI9--VHUvxZebGtyHvramF-0FmG8bn_Ww", | |
"y" : "hzRkDEmY_343SwbOGmSi7NgqsDY4T7g9mnmxJ6J9UDI" | |
}, | |
"shared" : "85a0b58519b28e70a694ec5198f72c4bfdabaa30a70f7143b5b1cd7536f716ca", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 59, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "AAAAAP____________________________________8", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "acDnZ_m-qr_bzfMEoOxotfbWcQPPN1if2EbaGh3UR7M", | |
"y" : "xRdBbkUBRGP8nPHEBH0CrORdpHORaqUdey3D0IAzRSs" | |
}, | |
"shared" : "a329a7d80424ea2d6c904393808e510dfbb28155092f1bac284dceda1f13afe5", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 60, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "m78G2tmrWQXgVHHOFtUiLInCyqOfJiZ6wHRxKYhfvUQ", | |
"y" : "G8x_qE3hIKNnVdrzCm9H6MDUvdwVA27So0R9-nodPog" | |
}, | |
"shared" : "bd26d0293e8851c51ebe0d426345683ae94026aca545282a4759faa85fde6687", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 61, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "f_________________________________________8", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "wdFyaeRuOHrL4pnsLMnMLa2j8F5M9BLyrZRrcAqiYTo", | |
"y" : "7bd0TzcME6T0mVfVT_eYEZ0RH2kSnCTbX1-4QWKQnbs" | |
}, | |
"shared" : "ea9350b2490a2010c7abf43fb1a38be729a2de375ea7a6ac34ff58cc87e51b6c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 62, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "d7IKkS5rIxNQZukRiRUkvE7-NWDj6SNQtS3sjzdfK1Q", | |
"y" : "o9wpGCXOo_f3sQv83QOKct9iPaHoUODxyqgB_NbMZ_8" | |
}, | |
"shared" : "34eed3f6673d340b6f716913f6dfa36b5ac85fa667791e2d6a217b0c0b7ba807", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 63, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "_____wAAAAD__________7zm-q2nF56D87nKwvxjJVE", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "D6givCgRqqWEklkuMm4l3ilJO6qtZR9-kOdctI4U22M", | |
"y" : "QAu1FgokV_OQtStDTCDndMtOWbCvAX0KG-7bq6C50Rg" | |
}, | |
"shared" : "1354ce6692c9df7b6fc3119d47c56338afbedccb62faa546c0fe6ed4959e41c3", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 64, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "_____wAAAAD__________7zm-q2nF56E86nKwvxjJVE", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "VMzJQVAm1z8gqEW3KljlsYvSfxmFQqC-7qa8kgceXIM", | |
"y" : "47zAuUuuus7FcHjqJS1A3W1h9DSicRtpMC9xCOv26V4" | |
}, | |
"shared" : "fe7496c30d534995f0bf428b5471c21585aaafc81733916f0165597a55d12cb4", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 65, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "_____wAAAAD__________7zm-q2nF56E87HKwvxjJVE", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "yQ4wCDndWJUegJVwYxVEA8tOZkTHdDZIE9AMJI-o7kE", | |
"y" : "nQr755LmGMRj-O85rHv8na-6rLnoUzKRuFnJmDwoPlE" | |
}, | |
"shared" : "348bf8042e4edf1d03c8b36ab815156e77c201b764ed4562cfe2ee90638ffef5", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 66, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "_____wAAAAD__________7zm-q2nF56E87nKwfxjJVE", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "f-NrQK8ir4khZWsyJixx2hq5GTZcZd-2OlqeIhhaWUM", | |
"y" : "GWgrptpJydxg9gv7-CNZDotMKnqEdQ3tKvLq05ZjXv4" | |
}, | |
"shared" : "6e4ec5479a7c20a537501700484f6f433a8a8fe53c288f7a25c8e8c92d39e8dc", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 67, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "_____wAAAAD__________7zm-q2nF56E87nKwvxjJPM", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "gNGZfr2-jlTgVZYZbHqV7DpT4me6KiRxmWCqV35hUOQ", | |
"y" : "DGlrAUfbBllbJyhKDBZSTAER6Y1KRlilq7k4531Xgu0" | |
}, | |
"shared" : "f7407d61fdf581be4f564621d590ca9b7ba37f31396150f9922f1501da8c83ef", | |
"result" : "valid", | |
"flags" : [ | |
"AddSubChain" | |
] | |
}, | |
{ | |
"tcId" : 68, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "_____wAAAAD__________7zm-q2nF56E87nKwvxjJTM", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "QJ-NohrqI2pfWhkE0DEMHGGSpn0NoIk2MZhpqK0IOKM", | |
"y" : "jyMITTD_canx2RjULEK_CMFmXxTp1ZhsHpwtONXhcKU" | |
}, | |
"shared" : "82236fd272208693e0574555ca465c6cc512163486084fa57f5e1bd2e2ccc0b3", | |
"result" : "valid", | |
"flags" : [ | |
"AddSubChain" | |
] | |
}, | |
{ | |
"tcId" : 69, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "_____wAAAAD__________7zm-q2nF56E87nKwvxjJUM", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "VOd6ABw4Yrl6dmR_QzbfPPEmrL56BpxeVwkncyTSkgs", | |
"y" : "CmYOQ9YLzou97eBz-l0YPI6OFYmMr2_35Fg30J8vTIo" | |
}, | |
"shared" : "06537149664dba1a9924654cb7f787ed224851b0df25ef53fcf54f8f26cd5f3f", | |
"result" : "valid", | |
"flags" : [ | |
"AddSubChain" | |
] | |
}, | |
{ | |
"tcId" : 70, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "_____wAAAAD__________7zm-q2nF56E87nKwvxjJUs", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "sBoXKnakYCyS0yQsuJfd4wJMdA3rshW0xrCq6Twikak", | |
"y" : "F6Pvis3IJSuQE_HSBFj8huP_CJDjgelCAoO3rHA4gB0" | |
}, | |
"shared" : "f2b38539bce995d443c7bfeeefadc9e42cc2c89c60bf4e86eac95d51987bd112", | |
"result" : "valid", | |
"flags" : [ | |
"AddSubChain" | |
] | |
}, | |
{ | |
"tcId" : 71, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "_____wAAAAD__________7zm-q2nF56E87nKwvxjJU4", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Xsvk0aYzCkTI9--VHUvxZebGtyHvramF-0FmG8bn_Ww", | |
"y" : "eMub8rZnAILItPkx5ZtdEyfVT8rHsEfCZYZO2F2Cr80" | |
}, | |
"shared" : "85a0b58519b28e70a694ec5198f72c4bfdabaa30a70f7143b5b1cd7536f716ca", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 72, | |
"comment" : "edge case private key", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "MQKPM3f8jysZZ-2quQITrK0NqfUIl_CPV1N_ePEWdEc", | |
"y" : "Q6GTAYk2O73irEy9FknNxvRRrdcd0vFqioZ_KxfKoWs" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "_____wAAAAD__________7zm-q2nF56E87nKwvxjJU8", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "fPJ7GI0DT36KUjgDBLUaw8CJaeJ38hs1pgtI_EdmmXg", | |
"y" : "-Iiq7iRxL8DWwmU5YIvPJEWCUhrDFn3WYftIYt2HjC4" | |
}, | |
"shared" : "027b013a6f166db655d69d643c127ef8ace175311e667dff2520f5b5c75b7659", | |
"result" : "valid", | |
"flags" : [ | |
"AddSubChain" | |
] | |
}, | |
{ | |
"tcId" : 73, | |
"comment" : "CVE-2017-8932", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AjgZgTrJaYRwWQKOqIofMN-83gP8eR06JSxrQSEYguo", | |
"y" : "-T5K5DPMEs8qQ_wO8mQAwOElUIIkzbZJOA8lR5FIpK0" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "KiZfi8vcr5TVhRkUHleBJMtA1kpQH7qcEYR7KJZbxzc", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "HAB87s8hVghneih_jnC6btXARlhEvYjJ41FxMS80aKY", | |
"y" : "DguxnlM-tMEWK9qvywU0g7HAdZ-M4DYPw8iM0H1Q6rk" | |
}, | |
"shared" : "4d4de80f1534850d261075997e3049321a0864082d24a917863366c0724f5ae3", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 74, | |
"comment" : "CVE-2017-8932", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "zBGIey1my66PTTBmJxklIpMhRrQvAdPG-SvVyLpzmwY", | |
"y" : "ovCKApzQa0YYMIW66SSLDtFbcCgMfvE6RX9a84JCYDE" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "MT9y_5_oEb9XMXYjGyhqO9tvGxTgXEAUZZByenHDvM0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "WgYrCxiSExev-7PULD2_yrKWy_IwQaYAggTDuDHG324", | |
"y" : "YGZ1nbACvlovLprkgNokiwsqmTAtWS3lUpPRY0EkY9Y" | |
}, | |
"shared" : "831c3f6b5f762d2f461901577af41354ac5f228c2591f84f8a6e51e2e3f17991", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 75, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 76, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 77, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________4" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 78, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________8" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 79, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE", | |
"y" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 80, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE", | |
"y" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 81, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE", | |
"y" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________4" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 82, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE", | |
"y" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________8" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 83, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________4", | |
"y" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 84, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________4", | |
"y" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 85, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________4", | |
"y" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________4" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 86, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________4", | |
"y" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________8" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 87, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________8", | |
"y" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 88, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________8", | |
"y" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 89, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________8", | |
"y" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________4" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 90, | |
"comment" : "point is not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________8", | |
"y" : "_____wAAAAEAAAAAAAAAAAAAAAD_______________8" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "fkqlT3FL8B34XFAmm-o6hnIfhK_nT3tB6lirzzR06I0", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "R_Z9415ctDKwV-ig0P9iLraYs0vJ_-UjURk2Y8xucnQ", | |
"y" : "FA-BXvYf9u0G3woVA2bqvPsY7aHO49SzDy0V1KT65Rc" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 91, | |
"comment" : "public point not on curve", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "FRAmTBicPVI_-ZFqvXBp76aWjY3H3bZFfXhptT6mDNw", | |
"y" : "-vt-1HhtoV0p7lklb1Nto1daSIjBuwqVslb0p-n9dkw" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "TzQU0VibSfcXLUOcu-eOW1NQ3IXepAzS1idHQMbgI5w", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Qd7jCiJE2SAcpk1v0t0Sa3CVNp5nOuyqpeBCMIUonV0", | |
"y" : "TRc1uShB5308iyBk3tLD1l2GkvCgVFJl322i5SuUock" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [ | |
"InvalidPublic" | |
] | |
}, | |
{ | |
"tcId" : 92, | |
"comment" : "public point = (0,0)", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "TzQU0VibSfcXLUOcu-eOW1NQ3IXepAzS1idHQMbgI5w", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Qd7jCiJE2SAcpk1v0t0Sa3CVNp5nOuyqpeBCMIUonV0", | |
"y" : "TRc1uShB5308iyBk3tLD1l2GkvCgVFJl322i5SuUock" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [ | |
"InvalidPublic" | |
] | |
}, | |
{ | |
"tcId" : 93, | |
"comment" : "using secp256k1", | |
"public" : { | |
"crv" : "P-256K", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "oSY-dbh64JNwYP8UcvMw7lXN-PQynWKEqev7zIVsEWg", | |
"y" : "QiXnLL6_9B5U-28A4Rr-U6F5N77b8t94f475WE93WDg" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "TzQU0VibSfcXLUOcu-eOW1NQ3IXepAzS1idHQMbgI5w", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Qd7jCiJE2SAcpk1v0t0Sa3CVNp5nOuyqpeBCMIUonV0", | |
"y" : "TRc1uShB5308iyBk3tLD1l2GkvCgVFJl322i5SuUock" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [ | |
"InvalidPublic" | |
] | |
}, | |
{ | |
"tcId" : 94, | |
"comment" : "Public key uses wrong curve: secp384r1", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "HxeQHnMbBvNJtunX0X1F6KK0YRWkdIW-Fhl5MtuHs5QFtclBs2_WG5733SCHjhKe", | |
"y" : "VaIncJnGAdzbN0f4CtbhZhFjeOHrziyVdEoJhhKM_uqsf5C3F4fZoc_kF81Mj2r1" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "tE-WcP7bqIetjoBiJgY-d2BLJ8Nig2Mm6T7Lf8xtwpc", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "n1e4_HBpzkbKmlbmPYjpnU7LWEX4HnHPa8hqzIWL0pA", | |
"y" : "iGn8nuVhfbtkaK82OB8MQJaNdHlOGDpmmwGS69nXVhE" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 95, | |
"comment" : "Public key uses wrong curve: secp521r1", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AO125YiEKPrUCf8gOrKYsPJIJ8CRk5rg-bEkXYZaxfvNJ0n5rmyQ-o4pQU0bx9x7PErKkEzYJEhEIcxm_mr0O9_S", | |
"y" : "AMH3kKCzrplJN_kba9uXeLCMg-ytuMuiKnjDe_Vl2sFk8Y5xm-DviQ7ly_IOF_z8mlWF5UFkcLmGL4L7dpM5mU9O" | |
}, | |
"private" : { | |
"crv" : "P-256", | |
"d" : "tE-WcP7bqIetjoBiJgY-d2BLJ8Nig2Mm6T7Lf8xtwpc", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "n1e4_HBpzkbKmlbmPYjpnU7LWEX4HnHPa8hqzIWL0pA", | |
"y" : "iGn8nuVhfbtkaK82OB8MQJaNdHlOGDpmmwGS69nXVhE" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"curve" : "P-384", | |
"encoding" : "webcrypto", | |
"type" : "ECHDComp", | |
"tests" : [ | |
{ | |
"tcId" : 96, | |
"comment" : "normal case", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "eQpuBZ75pZQBYxg9SngJE10peRZD_EOi8X7ov2d6uE95G2SmvhWWn_oBLdkYXYeW", | |
"y" : "2blUuqinXoLfcRs7Vurf9rD2aMOya0sa6zCKH8wcaA0ymmcFAl8cmKC15b_LFjyq" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "dm5hQlstqfhGwJ_DVkuTpvhgO3OSx4UWW_INqUjEn9H7He5O3WQ1a58hxYi3Xf2B", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "em7I0xHVyliLrtQb4-mPMMkpSETsu2KZlWU2NdvCLaLwg_KXEeD5xZY7wCG9jLIQ", | |
"y" : "na9WpV-IOnIAzqnE3kRIjm3En7nDlPUctaSfxp1-igNHkpY65Oq8Y0g6LPGomejI" | |
}, | |
"shared" : "6461defb95d996b24296f5a1832b34db05ed031114fbe7d98d098f93859866e4de1e229da71fef0c77fe49b249190135", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 97, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "SQ6W0X9MbOzNRd70CM6jPpcEpfGwGj3i6qo0Cf0WDXjTldazsAPXH9H1kPrZW_HJ", | |
"y" : "2GZe_CBw0FmqhHElwvcHQ1lVU1x8XfbWwHnsgG3Oa2hJ0zcUDbfKUGFvlFbeEyPE" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 98, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AWEyiQlnUhPjIJjTWmuDCKjVAMyjnc7l6ATnO9uN6vBv5BcpH9l5OyMe9f6GlFRE", | |
"y" : "qXoB8646gxDEr0m1ksspHvcO5bx_VTTTwj3J7v3iMEhCx3N66TfM-b0hXCgQPp_i" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 99, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "r0rpZOO8vZI6zNpdoxddQR_WLRfdPDocQQvvFzCYWmJl2Q6VCsD8UHQ7HtdxkG_z", | |
"y" : "O2jPTT2DqIWocJf90ynOg7GJ-YzsW-RMMdGjoruhD0cZYyMri6dhD6jHIXkFDrht" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 100, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "FHirbgMrlUXtqawsJk5XoR8IrLx20WoKt3sE29ryDyFcQYNDezKvxHHqpgPRTHxd", | |
"y" : "ikyE7g6JW-xcN_ChygdeEG_2vziAG1xpdAnTlnUjEQjTPEpeplqqjAPpOcldlsTE" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "0000000000000000ffffffffffffffff0000000000000000ffffffffffffffff00000000000000010000000000000001", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 101, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "9jII405-kLtfsDZDJGeomYFEQBBmO4UztHv6lL0rwW84qlFrkwpHJuOHbTCRv7cu", | |
"y" : "x4PtTaDKwGMggX3IvGT1nM8G9Iq8Q4ahUJE_qVdDp7RgEZDhxu6Pi_Y1SyVOys5F" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 102, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AzJx70LZKtR7JzsJ6i9FQBFhuqUmllkNDhdf8tHA36P-pA5CZtRGVGwF5IDVf6vs", | |
"y" : "eInxaovMF2YC9tRlYWFKL0KEq-aXt8uc559-LnGxVcsfFVzpJdFjkaaA7aIxUubh" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 103, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "c36EN-GGg94kVbaJRbujHa7D51TXLwoHdtMZKy-SmLuVyhRkuqZoequ2efgEz27G", | |
"y" : "wrTUfWGmBATfY7HprAlUs0GbvCrVKgQJruuC9HA3WFiAWRZbIDZ9y0sjWwyvcdcn" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "007fff0001fffc0007fff0001fffc0007fff0001fffc0007fff0001fffc0007fff0001fffc0007fff0001fffc0008000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 104, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "N_kASYMVa72cR4kedSN7sTAWvX_m9OD3HO8OY_FqZy8NOw4gFlwzQH4Ua2pK5pYt", | |
"y" : "07V8y5nnqvEwMkBRbQ6-COWFUT42ldQsRn3KtTQO92GZDK3I2IQKrMlESBQVwH_r" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "3b5eed80727bcbc5113b8a9e4db1c81b1dddc2d99ff56d9c3c1054348913bde296311c4bd2fa899b4d0e66aaa1b6a0dd", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 105, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "llXY5WInGLMXz7wJiUNX91prE_pRa81mMHIbhppiAZbPDD3siGCzLSftm6ws8mOv", | |
"y" : "FzIWmBFtfYEa6NqbnLv5OCweNuK2fWxq-bzqfZ3gDKcrOYYGwJigoPDEuJQZQ-1l" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "6a99a5acd4a7edb1c707d7f8be12e81140338e3e14ba563c703c681a319a3f9ce1f90f032bf840f3758e89cb852ceca6", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 106, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "zLE9Qns8S7M91PIM3avGhgDq-X7rLIHowhiukHQ-dP84ylbwwCJDedtGTc9KQPBD", | |
"y" : "UM16ZZssSFGl3PjJkPySDAfU1apQohhXUOa4TELoPP9jUFBILey0eA-BLkxJ_HQE" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "7c25a4f57f76ab13b25cab3c265db9d9bd925fecbf7bf93bef1308778646628decab067ed988a9755cd88e88de367104", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 107, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "JmRiQwfALvSHAwpjIWLFFfhB0V6jFS2Y_yNkIy16qzk0PV9wOk1aMQkqpzVsOi9n", | |
"y" : "HBzWA63f2LVHdVKjsyoY7a8-M77CLuIWf52nKWNgAqeXTq61_wgrKqv4xwVrhMOr" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "7fffffe000000ffffffc000001ffffff8000003ffffff0000007fffffe000000ffffffc000001ffffff8000004000002", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 108, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Zl8fMgtqscG1LRROUth6FUwrRImDjJEZ3mIsLRtStlsKOVXkTg1IWRdTYMD2Pe6B", | |
"y" : "PxT2mXLxjK7XkWyUpNIOw0RZHnU2pKek2MmDKBjJbWCxqB-r5k6gLF9kfjYb9bYP" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 109, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "kTV8qH27COhdexrOz9HghgeKgtGfgUdNo4k2Sjn-JUPrk0tEAXPDjmGh2UB4VbXY", | |
"y" : "nvDZ6SB2S213ZbCEz5VB2sxD0dq6o5Cw-4Vgl7DACoVW9OOEhWirSueQw9NGygG2" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "fff00000001fffffffc00000007fffffff00000001fffffffc00000007fffffff00000001fffffffc00000007fffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 110, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "1agzuuM7LRD9_223xUd622FLGRxw2XxvEwoU6TkxzB3AWAU_7lSiZKAP3RbTFm_c", | |
"y" : "QpkidreZJbr80YOwPtGCNTUJgKv-Z7gUxsEQdMOPdM1Oc0rVjNtJ2fzSGB0bjxEZ" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "fffff0000003ffffff0000003ffffff0000003ffffff0000003ffffff0000003ffffff0000003ffffff0000004000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 111, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Z1R82n--jxa-WkR3y7ApefGvcvwPOTAnc1UvvPRmeo4jq8DhKFbuYjTe7KXyKuBQ", | |
"y" : "Ok33wGjnQyQXJgy5_g1oucf89-FqKtoFaH2PiQC4RyMQPtv_CkKydRfaJ2C304hD" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "ffffff00000003fffffff00000003fffffff00000003fffffff00000003fffffff00000003fffffff00000003fffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 112, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "E2PjuZAI4Juz8IWUm5tuomoxj0lt5WipZjD9udTHLCgU3zCHoXQfMvJJibQoFn-T", | |
"y" : "xlPLOujD7PrsV-_VS7jOnXnHv2zHD7ERT5Ob6PGpm_HkK5dDESTvn6M0UPqk52g5" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "ffffffffffff00000000000000ffffffffffffff00000000000000ffffffffffffff0000000000000100000000000001", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 113, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "uivo1xR-JBfC7ICyS0waqURk_9Cq4fouB4s6-8d8FESJyp0GSsu3qc-mGW0PRnt-", | |
"y" : "Ze4coesTUf-ZaPVT3-LkxZ_4ujTCKkKzuqE6mhrcfxOr1A8f0l1GvFMwhSuTcZZq" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "ffffffffffffffffffffffffffffffff00000000000000000000000000000000ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 114, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "1phQzLrMRzbqIA_y-EiPJiR5RaKrSN03CPSUspPYy6g0F_SJdIgcf7A4VAibv2bM", | |
"y" : "HHc-wDy4zV8AfsOwO90FpAmzUhA_DezyW0FnOrjKPQQzS6vuASGfFXAfK8oi1As3" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffe", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 115, | |
"comment" : "y-coordinate of the public key has many trailing 0's", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "b8r4LZgtIi1glrqD5VscfctxpB6I8yMzP0QoTZXEvTYW2nob75KPMcJviFunrbSH", | |
"y" : "gm_eLtn1ZJwRz4Rl-L-K1Q9okUk2_Dlmb2ghnQZlBr6kAB_cgWyakOfir7Gb6ghf" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "000000000000000000000000000000000000000000000000000000001f03123b00000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 116, | |
"comment" : "y-coordinate of the public key has many trailing 1's", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "b8r4LZgtIi1glrqD5VscfctxpB6I8yMzP0QoTZXEvTYW2nob75KPMcJviFunrbSH", | |
"y" : "fZAh0SYKm2PuMHuaB0B1KvCXbrbJA8aZkJfeYvma-UBb_-AifpNlbxgdUE9kFfeg" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "000000000000000000000000000000000000000000000000000000001f03123b00000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 117, | |
"comment" : "y-coordinate of the public key is small", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "v-tH-0CmWHjmtkL0C44VAirens-oy2GAQwY0lOK8XS3xDTbzeGm1jvEtzDXjmCg1", | |
"y" : "_S5V7EH9_oyru7e82BY2RaGenaxZYw8_6TsggJT_h81GG1PO9TSC5w4ujqhyAMw_" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000036a2907c00000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 118, | |
"comment" : "y-coordinate of the public key is large", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "v-tH-0CmWHjmtkL0C44VAirens-oy2GAQwY0lOK8XS3xDTbzeGm1jvEtzDXjmCg1", | |
"y" : "AtGqE74CAXNUREhDJ-nJul5hYlOmnPDAFsTff2sAeDG55KwwCst9GPHRcViN_zPA" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "orZEKjf4o3WdLLkd9eynWxT1pnZtqANcwZQ7Fajk67YCXzc74zQIDyKrgho1Naan", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X7b8XxfVh97l6VAsTEiO89awbAmBAvYjCiZNC00ZJ8RhYB5HyrbZP68O6YIp1cXd", | |
"y" : "tBbIpSH978yrXL0Uo5sFxriMtl_7SHkIYlI1xpFkw55eJ-w0fH9Y-DEa3kIDSozh" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000036a2907c00000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 119, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "PPme8E9RpepjC6P5-WDdWToUyb45_SvSFdO0sIqq-Gu_kn8sRuUqsG-3QriFDlIe" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "6092a1757ddd43a04e185ff9472a0d18c7f7a7dc802f7e059e0c69ae16c802651719406e04de27652ff83da4a780ef2f", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 120, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC", | |
"y" : "cyFSRC-27lw-bOHZIMBZvGI1Y4FNeQQrkDzmDx1Eh_zNRQqG2gPz5u1SXQIBe_2z" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "89c804cb81443386b185bcd9e2e6c35ee6177c3b90298985c4e81a89d520cceb17d729540e56ecc343c26bf314f2d052", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 121, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD", | |
"y" : "ZmAEGxx5hGIOjX_XzNtQzDuoFtoU1BpNiv-rqEiIZ_DKWiT41C3X5EtTCifcW1ja" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "35513157e804bd918d04de202778b81a6fc7ad8aa541ee94116a0f18466725d75e71c6942bf044b1b0ecba19db33e0de", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 122, | |
"comment" : "edge cases for ephemeral key", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC" |