{ | |
"algorithm" : "ECDH", | |
"generatorVersion" : "0.4", | |
"numberOfTests" : 148, | |
"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.", | |
"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." | |
}, | |
"header" : [], | |
"testGroups" : [ | |
{ | |
"curve" : "P-256", | |
"tests" : [ | |
{ | |
"tcId" : 1, | |
"comment" : "normal case", | |
"curve" : "P-256", | |
"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 cases for shared secret", | |
"curve" : "P-256", | |
"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 cases for shared secret", | |
"curve" : "P-256", | |
"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 cases for shared secret", | |
"curve" : "P-256", | |
"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 cases for shared secret", | |
"curve" : "P-256", | |
"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 cases for shared secret", | |
"curve" : "P-256", | |
"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 cases for shared secret", | |
"curve" : "P-256", | |
"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 cases for shared secret", | |
"curve" : "P-256", | |
"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" : 9, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-256", | |
"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" : 10, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-256", | |
"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" : 11, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-256", | |
"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" : 12, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-256", | |
"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" : 13, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-256", | |
"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" : 14, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-256", | |
"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" : 15, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-256", | |
"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" : 16, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-256", | |
"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" : 17, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-256", | |
"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" : 18, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-256", | |
"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" : 19, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-256", | |
"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" : 20, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-256", | |
"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" : 21, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-256", | |
"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" : 22, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-256", | |
"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" : 23, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-256", | |
"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" : 24, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-256", | |
"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" : 25, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-256", | |
"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" : 26, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 27, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 28, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 29, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 30, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 31, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 32, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 33, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 34, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 35, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 36, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 37, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 38, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 39, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 40, | |
"comment" : "edge case private key", | |
"curve" : "P-256", | |
"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" : 41, | |
"comment" : "CVE-2017-8932", | |
"curve" : "P-256", | |
"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" : 42, | |
"comment" : "CVE-2017-8932", | |
"curve" : "P-256", | |
"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" : 43, | |
"comment" : "public point not on curve", | |
"curve" : "P-256", | |
"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" : [] | |
}, | |
{ | |
"tcId" : 44, | |
"comment" : "public point = (0,0)", | |
"curve" : "P-256", | |
"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" : [] | |
}, | |
{ | |
"tcId" : 45, | |
"comment" : "Private key and public key are not on the same curve", | |
"curve" : "P-256", | |
"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" : 46, | |
"comment" : "Private key and public key are not on the same curve", | |
"curve" : "P-256", | |
"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", | |
"tests" : [ | |
{ | |
"tcId" : 47, | |
"comment" : "normal case", | |
"curve" : "P-384", | |
"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" : 48, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 49, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 50, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 51, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 52, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 53, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 54, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 55, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 56, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 57, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 58, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 59, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 60, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 61, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-384", | |
"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" : 62, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"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" : 63, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"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" : 64, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAD__________wAAAAAAAAAA__________8AAAAAAAAAAQAAAAAAAAAB", | |
"y" : "FBue5TEOqBcBMbYESEptZ37UJXYEW3FDwCZxCukrJ3r7vqDERYwiDVYeaUBNx9iI" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "102080c047881d19aefb01c29c82a4fb328a8ea6e6d6c914af73100507c8ee499799aaa646de0ea8c2727c0b5ed2439b", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 65, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAP____8AAAAA_____wAAAAD_____AAAAAP____8AAAAA_____wAAAAD_____", | |
"y" : "cDcDhUE9Pv9vo0B7ok9oLCsBtRRF299e97DdCXnxfnE-CQgVcfHpTftmvyggAvOf" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "f689f6e475b4e15162521acab4637a3cdb9cb42aa92f9114b0ee300ddae89d5eafff3463a1f5004a2a1bd4aeffa47b78", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 66, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAD__wAA__8AAP__AAD__wAA__8AAP__AAD__wAA__8AAP__AAD__wAA__8AAP__", | |
"y" : "ES4ZHx94u8VLbMTwseWa6Mb_Ggf1Eo5B36KCjhtlONT6LKI5TGqrNEncs_xOtEwJ" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "f3486244119b3632fd55be9e6951eb5d9c8c62f6a27042f94b924155ecfd4ff8744ba3d25bcf85a7b925bd28a12b897f", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 67, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AH__AAH__AAH__AAH__AAH__AAH__AAH__AAH__AAH__AAH__AAH__AAH__AAIAA", | |
"y" : "AopMjaWgURL-YCXvQZCJad4g0F2WaOXIUu8tSSFy3cKgpiL8SIFk_MGgdrhylCry" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "8171b7c80d4c90bb58ae54393921ab9c5c0b3196f045e9fe5c8b168f0e5f6a77e1aa34ecedc5481ce55ab34c14e0f2e8", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 68, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "f___4AAAD____AAAAf___4AAAD____AAAAf___4AAAD____AAAAf___4AAAEAAAC", | |
"y" : "RICrM8tL98t5wCTureP9ZB4vMANphADomGpzQ6XaWaOybupLQXblMjk3FDfYNKGn" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "1911a0ee6aebe263fdcf3db073f2598cdafabec2123a2f24a28c3d9151c871f32d6dc2f31d25af9c498fd68da23e5bef", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 69, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC", | |
"y" : "B5faTAdRztFt6A0Wq3xlSl3CfQkmJtCGWhkqHF6nwbiMn8qwV5RnQeQcwoyA7Aua" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "15900643e2e0583976974b05f83c7a96611425f7c4a6eb51916ab958a037fd9cc172bdcfff4540a2ff3ce64e6505557e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 70, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "__AAAAAf____wAAAAH____8AAAAB_____AAAAAf____wAAAAH____8AAAAB_____", | |
"y" : "bHCJiub7MfovCGViry0QSGukxv1eQd_kqmFZi0cHo7wnamL-sbmFV-OxfAJfet9O" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "88a544a769d5c34a051416bd509dfac911863f604c83ea844bf0e4c5c272dec86d057a88b152a9274701938c705900c3", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 71, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "___wAAAD____AAAAP___8AAAA____wAAAD____AAAAP___8AAAA____wAAAEAAAA", | |
"y" : "DrFZKFi25uOhmcDz58XwtKkpFZNu-4vAQHaA63J0vnQiFWzoz8i1BbLZAsOZkjgP" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "b7db26b286e7527cb1f454782fe541862ff0f8d7eed960e22855deb7ac2a69611668c777c53bb74c2bcd40edfbf7944d", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 72, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "____AAAAA_____AAAAA_____AAAAA_____AAAAA_____AAAAA_____AAAAA_____", | |
"y" : "SYerrkEoCcL6SP0jsb355iL1pgbEQRchX_phsY70blSn-78R-aa6WcmRtK5QH-3O" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "b1e8aab1aa633d98dc6b768594e1e3edb801a9ef483f287c83e19744d2ad343ad3debdc4dc178213ad6876b52284f552", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 73, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "________AAAAAAAAAP________8AAAAAAAAA_________wAAAAAAAAEAAAAAAAAB", | |
"y" : "NpH-ST1NKL-O4d_sgS1sMG6uCEKRntptxSXw1JrC0mqZIlGRITmik2hJ-db6lJpo" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "b0de006f80f6f89e4eea6e46dfe305153005612d1e903171ec2886230971961b5202a9f3187bdac413ac24c836adf7a0", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 74, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "_____________________wAAAAAAAAAAAAAAAAAAAAD_____________________", | |
"y" : "YVhCqgawb3jwpm976ojUtu5ZZT7qoA3F4KK2WPlptxr5DJtOlr08ozhGlVvcy9NZ" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "K8Fc85geq2ECw5-aklqhMJ21nCwCpUQRko1zw5RdFXhI3DaVnv73SVyFKOooTByX", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y1Kls3Y2tCEAc0JSdEIrCtba2jk3yUYSpIyyiS37wGwyrdu-neoULwnDul5Y8VTu", | |
"y" : "IIqE4Mc6BiCHtJwtE2syzqtJrZ3c-ukkQCnEEgy7n_YIfy6-VojCB5emR8hx0NEE" | |
}, | |
"shared" : "ca8cfa42c5e374914c14d6402b1a99208e47e02ec49818913694ea0822a2cc6c310259a8f3ab7559b9974bc4c2fa337e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 75, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "__________________________________________7_____AAAAAAAAAAD____-", | |
"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" : "edf040bace18d90bf9ce720df2a3b31d76d95b7ed9530a159ac0b24e82a871033eada40552f9e606f7115e6a78927511", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 76, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "B3pB1GBv-hRkeTx-X9x9mMudORAgLc0GvqTyQNNWbaa0CLuuUCZYDQLX5ccFAMgx", | |
"y" : "yZX3ygsMQoN9C76WAqn8mYUgtByFEVql92hMDtwRHqzCSr1r5LXSmLZfKGAKLx3x" | |
}, | |
"shared" : "455aea9924330bd6d2d6403478327900e172e93598e254cf6d8eb13f0a3d21be51a46107333844e61dfa3d80df6928e9", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 77, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "AAAAAP__________________________________________________________", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "r1HxihVijVYSyPcUQ275D5DVoLo1BU6ZxXRbsQ0L8xjMgsD38sEZ4Iox4_zKW5_j", | |
"y" : "HP-1ZchnGMWeHmpwpleQdon3OnET41__WWhh0-L67nCSm7E1dODhA1aUQgzXPgz1" | |
}, | |
"shared" : "db1d8ef1117282870db8113aa4f58723c756ce598686eb8ea531aa4d39abb1b982b1e7bb2648a6c268d2d351204db8d5", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 78, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "KEG02v8RPTdX_8rK2HpKdfBxGi_9I1Ke8fM_ynVmW0moqKzOVBOJSk0V6z20Hzcu", | |
"y" : "fEUl6RpTGNFxhPn_Up-j75atipUVVQ5YHC04kJz8TX7CWC202z4bd8IYFZDJ-rJJ" | |
}, | |
"shared" : "e98062df47ef884c9411e16466af84ad271d586008b1fbc50aeb3b36836a35a770dd42e0db84d39b26f4dcd2dc03d90b", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 79, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "f_______________________________________________________________", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "0T-b0MBbVsww9gEGpLjlAGk7nfBZac9HSU1dLBaFTvHYaSs-CbgJR_c1cQdhbdyz", | |
"y" : "uzx-gwbEb8OYxlIbZDRwwld02tg_r--1xkHP7K3sv5Sz1t1Zr3ruhqmJOQfWgZgU" | |
}, | |
"shared" : "898aae0ebf1cb49fb6b1234d60f59006325421049a8a320820e1ad6af6593cdc2229a08c500aa55ca05999d12829db9c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 80, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "4-Jc2xYCCLZHTis01yv1hruhT3LD-X9RWkBdFCkZbmZzFht4rYCv5mTuUE1LFhq3", | |
"y" : "N3C2TVRCaVlZ-4nafrOnyvy6B50yAx32ITBJwcxQnj-RIMr43ZEJEV9AOFmsM3rM" | |
}, | |
"shared" : "83f862f496ab8af12b82a8a0c047d836bdfa36281324b3a1eb2e9c1d46699d81cb125cbe4b93939fd84e1ae86d8a83cb", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 81, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "________________________________x2NNgfQ3Ld9YGg2ySLCneezsGWrMxSlz", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "B53FZlEMxxj_NIeX4s_mfC_Ok79fbzm_dMGsPYy64--S3Zze36D1bQa6WRjXTZZC", | |
"y" : "WbJfZaJveEN2V7yBo3-Qd52ciI97e0oOydiqx3bbplXWC2KuM6470F8TKjA-lErc" | |
}, | |
"shared" : "9a26894887a0342ca559a74a4d4a8e1d6b2084f02e1c65b3097121a9a9af047d8810fb945dc25bbf02222b3b625f1e0a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 82, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "________________________________x2NNgfQ3Ld9YGg2ySLCneuzcGWrMxSlz", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "2ul25L7jPfzrNGjph0zQ1HLI2rnst1ODT6Y4hMczqjhgc7sWNwblrLUAS13O1-XO", | |
"y" : "i6wBz6smj6QSpGD3AHV5Sl7eVsmhYPEzFzroaKJZGBYM1GuUHNy85AngsPTXAnsi" | |
}, | |
"shared" : "8a8d9dc194a26910cbdae7908d185b6ad04b620c94c5ee331e584ed804e495bebc2290a2d7006a06e65b9bcace86c6f6", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 83, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "________________________________x2NNgfQ3Ld9YGg2ySLCneuzkGWrMxSlz", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "pxs13OBdGmF3ZPsuJC1iunQshrE5I-iFZktg5Q8-VqRT6V9OFDYLwckAKqsdRacj", | |
"y" : "xpnhNP3vFVPuNWIOeUEOU2lr_U64di40Ngpn3K0L87rRj5Fg-PrGfoG7dGdJb7Gd" | |
}, | |
"shared" : "d57f6aa12d3f07e8958499f249e52cfbe5be58482e146c5414dbbf984fc5333710350e2ce96b33beb7678381f40f1dcb", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 84, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "________________________________x2NNgfQ3Ld9YGg2ySLCneuzsGWnMxSlz", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "uiITx61iuJVicr7rUdJYoqW-gE4OKe7RYaFiFu6J-4pFNGwthEOayBrDudZ1737O", | |
"y" : "VwJGw7uSeWHjgSMz76lMfW7Nu3EgoOE-uKYex9khVHElSl8-cfqiD_3cudv81_tk" | |
}, | |
"shared" : "188e8041d9a5f0b6cfdad315ada4823beda0146774fad65b500e6ef94376ebf8af7a40ff6f6b45019a09dde7d7fb5552", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 85, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "________________________________x2NNgfQ3Ld9YGg2ySLCneuzsGWrMxSlZ", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "iNrpbcdquMsriNNj0fzuxqQ3PHHJA5mnzruyWgd5LEMU_N87yFZSdpws1Iu2Um6A", | |
"y" : "Qok3vbvwXLRErBLt_vNenzKaO7llj1ZjlYvs6zSe5zFee83A8ztVb4b55650Wmhl" | |
}, | |
"shared" : "2ecf9dc47e8b07ae61ddbd1680ead02698e9e8469f78d5a28328e48d0c9d7a2ac787e50cba58cc44a32fb1235d2d7027", | |
"result" : "valid", | |
"flags" : [ | |
"AddSubChain" | |
] | |
}, | |
{ | |
"tcId" : 86, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "________________________________x2NNgfQ3Ld9YGg2ySLCneuzsGWrMxSlp", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "pmnFVjvWfuxnjSnW70_ehk83LZC3m56Ikx1cKSkSOMztjoWrUHv5GqnLLRMYZlj7", | |
"y" : "VndI1Rg-2GDdJvfCSg8TIgj-5qrz58POOv0ghzxI-lbWkn5p2313JmiHsJZIxd4i" | |
}, | |
"shared" : "06ee9f55079d3d3c18c683ba33e0d2521be97c4fbf7917bf3b6287d58ffcde2df88842e3f5530b39549ac20974b1b60e", | |
"result" : "valid", | |
"flags" : [ | |
"AddSubChain" | |
] | |
}, | |
{ | |
"tcId" : 87, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "________________________________x2NNgfQ3Ld9YGg2ySLCneuzsGWrMxSlw", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "B3pB1GBv-hRkeTx-X9x9mMudORAgLc0GvqTyQNNWbaa0CLuuUCZYDQLX5ccFAMgx", | |
"y" : "NmoINfTzvXyC9EFp_VYDZnrfS-N67qVaCJez8SPu4VI9tUKTG0otZ0mg16D10OIO" | |
}, | |
"shared" : "455aea9924330bd6d2d6403478327900e172e93598e254cf6d8eb13f0a3d21be51a46107333844e61dfa3d80df6928e9", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 88, | |
"comment" : "edge case private key", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "6d-qq4CLOqwczKfMYkKn7lgySa_o7o9muQTMjuw0rTNEVuAPM6lN6LUWnPAZlVDA", | |
"y" : "IBVullFzT_mZxfPqYrg9AIOmCT8jRFclHs9yxB5N986iQgtUVKf2kANDgLrJgeku" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "________________________________x2NNgfQ3Ld9YGg2ySLCneuzsGWrMxSlx", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "CNmZBXuj0tlpJgBFxVuX8IkCWVmm9DTWUdIH0Z-5bp5P4Ohuvg5k-FuWqcdSld9h", | |
"y" : "cX8OBaTkwxJIQBcgApJFi02KJ4pDkzvBb7GvoNqVS9mgArwVssYd0p6v4ZD1a_F_" | |
}, | |
"shared" : "024c5281487216058270cd1cfe259e948310e4adc263a9edaa4da0bc3f5f8ce8ffc88ae41b2c050bf6dd9c8c66857237", | |
"result" : "valid", | |
"flags" : [ | |
"AddSubChain" | |
] | |
}, | |
{ | |
"tcId" : 89, | |
"comment" : "public point not on curve", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ISGjSPl0OFWFnElvkdDzn-co_EbkjQB3EwUbIvHAJX_iDdhbId9-Hsgr-LObITii", | |
"y" : "rnT4DmJXd4-Myp8nm1fSXu6xVZYGQpcvBWfiBFFPCsHrHifbURUFMhGRSWHQlkTI" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "3kTmP9kk8Xc0DXgK9qquonH1LSy5pcUZtgIOBsPPC6r7wLgBxlCMLhSDsVz-96_C", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Zc5rnX5x6TG2_R-skQUHtDd6wV5FMpKiNV3zmrdByjYpe_bePDSlr7utNxgGuJHy", | |
"y" : "SwiLxdFGRqdPPvz-o54S4rX1brvdUD1ej-4_wwDXUJuqIrZo2_H9JBgHCrQKB9n2" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 90, | |
"comment" : "public point = (0,0)", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-384", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "3kTmP9kk8Xc0DXgK9qquonH1LSy5pcUZtgIOBsPPC6r7wLgBxlCMLhSDsVz-96_C", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Zc5rnX5x6TG2_R-skQUHtDd6wV5FMpKiNV3zmrdByjYpe_bePDSlr7utNxgGuJHy", | |
"y" : "SwiLxdFGRqdPPvz-o54S4rX1brvdUD1ej-4_wwDXUJuqIrZo2_H9JBgHCrQKB9n2" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 91, | |
"comment" : "using secp256r1", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "y_ZgZZWj7lD5_OqieYwnQMglQFFrTlp9Nh_yTp3RU2Q", | |
"y" : "5UCLLmefnVMQ0faJOzbOFrSlB1CRdfy1KupTt4FVazk" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "3kTmP9kk8Xc0DXgK9qquonH1LSy5pcUZtgIOBsPPC6r7wLgBxlCMLhSDsVz-96_C", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Zc5rnX5x6TG2_R-skQUHtDd6wV5FMpKiNV3zmrdByjYpe_bePDSlr7utNxgGuJHy", | |
"y" : "SwiLxdFGRqdPPvz-o54S4rX1brvdUD1ej-4_wwDXUJuqIrZo2_H9JBgHCrQKB9n2" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 92, | |
"comment" : "Private key and public key are not on the same curve", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-256", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "X6T6CyNcIeXJ87rqkwO_huzLfTHQuZjhQbxUtdxDsj4", | |
"y" : "73_Fz1YwjtWV7uma3mqvdNWRw9AKobQ4q8WclgfCLDY" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "1jMaWpaOTTvXM2pCO0EFW2jt0QC4uZjQDrntk4gcIeORK7LuCOcTJ74gWJhnXvek", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Lf93OogynmDUoGvzJrQTg6RSsTuMgHRexwG5xH4RThYRU4AmWcVyhAtW96p35FwW", | |
"y" : "LObo-hlEr8xFWhF_Id6Rz3sPPU6DoTziqqXlsLnvQzIqhN6zEXy3eEqG2KGGvLFb" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 93, | |
"comment" : "Private key and public key are not on the same curve", | |
"curve" : "P-384", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AFvOYf4nxED-261H2IvM9kXbnB0w2qCG5ZLotqChc7h5kbYZgBkHtCD6VYx5U6uXut2cbB2FhZ2evvdEGgiP9X7V", | |
"y" : "AI12ON5wP6q-taeOg-j81Ot4YUSnXXm9TMjPqL5mYS11bHtlxn9yxqy63m8NWel1LoRSBbKlYNT41qnoS_gS-U0Y" | |
}, | |
"private" : { | |
"crv" : "P-384", | |
"d" : "1jMaWpaOTTvXM2pCO0EFW2jt0QC4uZjQDrntk4gcIeORK7LuCOcTJ74gWJhnXvek", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "Lf93OogynmDUoGvzJrQTg6RSsTuMgHRexwG5xH4RThYRU4AmWcVyhAtW96p35FwW", | |
"y" : "LObo-hlEr8xFWhF_Id6Rz3sPPU6DoTziqqXlsLnvQzIqhN6zEXy3eEqG2KGGvLFb" | |
}, | |
"shared" : "", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"curve" : "P-521", | |
"tests" : [ | |
{ | |
"tcId" : 94, | |
"comment" : "normal case", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AGTaPpRzPbU2p0oNilyyJloxxUodplKaGYN3-9OFddnXl2nKK98tTJcmQpJtREiRplLn9JIzclGt8WE88wd5mbXO", | |
"y" : "AOBK0Zz5_UcisMgkwGn3DDwOfrxSiJQN-pJCIVKuSk95GDztN1r7VNsUCd3zOLhbttv8WVAWM0a7Y6kKcMWroJj3" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AZOZgrUpWWznepS8bv0D6SwhqEnrT4e49hnVBu_JuyLnxhZAyQ1Zj3lbZFZtxt9DmSrjShNB1FhXRECnNx9hHH3N", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AfrISzjXMtrM_O-q2aF449BPLDDhnEkl0RLogjXBDAiANtTR6iUo9eAgA9pwNTMXBInGV21uHk0Pxz7sEmylWs2E", | |
"y" : "AAkEthmdL26JCmVL4gyeZaQK0SAVcEOIGCL8Ut9BIORWOnzVkFwBZ41l6EXq6cZT4wP3nFI5EFUdIS-9fCXi0TRJ" | |
}, | |
"shared" : "01f1e410f2c6262bce6879a3f46dfb7dd11d30eeee9ab49852102e1892201dd10f27266c2cf7cbccc7f6885099043dad80ff57f0df96acf283fb090de53df95f7d87", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 95, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AUxkMylpG6J0WaQN_nxM4Xs-oU0M16pHsB8TFUBNtRQ2-7_m3ghC4PfhJl9v86yih1BnfTNwsvsqbvSXNW9LlYES", | |
"y" : "AQUbFBeGOaCaQUZcctN0NDbuHBkf9ziKQBQLNNUxfeWRHqA827Ayn960RmlaO5LUNycanzwxiwLexNRzkIFYFA6X" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 96, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ACnNMhJcI6Qa8k_UtynaD6rLw1UW7wulkJZgJXFpPNKC4m1n4Y70ZD0PbxWNc3DTOUypqN55OAMqwXjG_TTjcCuN", | |
"y" : "AIZJg04rQb46i3UQv-Vw9MZwdZQ80Mu52eHR2lJhi1uW1q7JtlDa8cpmJME-URYwK5x5yMTT01GRXR6OGratdgmO" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 97, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ADLG8GzmoV6gZEZNNao2jSmcmp4eNo9pSu-2A4diSPiY8iPOAhe-831h6wmyfJMYfPjmG6exTjyb7mkrBqxtlfg2", | |
"y" : "AZ_Rn4SA4hxjIR1I1F-W9jZc9V-VjhoP5-pra5_yMKh7cLsbFNOl-2ZpqRZBxqz0VwwdOp5wmRO3_ms1_4HDlNan" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 98, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AG3fmxCWXV_BKelvejdmfM9mzEQ4R3KQb-2yH53kYp4BqqCax8mGYRIGS7yb1Y68Ejqy_hnY_tGgVtJ7_vBjBQnH", | |
"y" : "ABxEExHvIKFjRjMupC1cZXiNaPaBewJn_KsR6pyUjtEIEV3ajoI6OAtgFGB0LTdy1kJMZ7JA2iR3L_DSzNmh4M6m" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "000000ffffffffffffff00000000000000ffffffffffffff00000000000000ffffffffffffff00000000000000ffffffffffffff0000000000000100000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 99, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AHqMVHJoyUi2JtpjbPVEKOoqsjhh1JmoSte-HPaRuShyoG4mxtugjKntOG-D05YVbV-gI_V9XqZEDsdAHa0sCK1w", | |
"y" : "AYw4FbG5ouQlVUGabBkEP6Kw3cxLWm43L-6fyyJ9hbrXBGh-fhqBi2EtXARs11ly96LdXJogCsVYLNWf7EesUl7P" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "00003fffffff00000003fffffff00000003fffffff00000003fffffff00000003fffffff00000003fffffff00000003fffffff00000003fffffff00000003fffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 100, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ACkVPPBi-I8wPl1vmqyWi9kBB21ZlOp_gxgzseabZ-np_iDPnFYj4A4LnjWS_KKgMyS133yTGGr_aXrKhkYA1E7M", | |
"y" : "ACgBpi4vQQbzQQbaI9yT1Q4-l1odR1EAIYNSkGSbekElEJ9la2sLW9ALJNhOobpOHtSeYcUm-xARAFExyu5-4FAe" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 101, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AKYeuZTihyLFmzxgB9_fizeJP2NQ9GGyagDhpFEEMUqumYnah-T6yyxO9yEYW32W2aRaKKECdWUBoazF0ymiG79z", | |
"y" : "AQ6NDhL1qaQODVnJDOcwQ9OXMK6t03iOMdfCu2KhFmFhmUZkr6ZYzi5goT9F8n-RQwfI1vjU7RarBBuPaZCKYngv" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "010000003ffffff0000003ffffff0000003ffffff0000003ffffff0000003ffffff0000003ffffff0000003ffffff0000003ffffff0000003ffffff0000003ffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 102, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AR3Ul7MMc3CZBrFkqaedx_KpjAFI7WMBa7lSQ4NPvN-Ot0sP9lLVT1nzGu9R2m6JdNNjZVsdoTjcTeDyqNgA9HWu", | |
"y" : "AFe9S4RgdADYY_-_RaPPWJme4kugXpPsp7DkrnYOsXM1WaRdFVedM3DXFv-j7Ev9rkGOMvsGE438ohNyCpOFd2EO" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "01ff00000000000000000000000000000000ffffffffffffffffffffffffffffffff0000000000000000000000000000000100000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 103, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ASg-uT-jaf5wErZH0h4Kl8-ZUOX77YGe9WFY8gyKlHOkGOzLyk3CtH9MttMi-RcAWFm_Ih6ErJgnyrgqgBxif7Hs", | |
"y" : "AHXEgMuvs1L8r5O68joUBf2B_r4JcpqQjRB34XfdiZPZSyUaDVJlLaPttv34ZOgM1RVA5z0LUQfjQzV23KpOGNtD" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "01ff0000000000000000ffffffffffffffff0000000000000000ffffffffffffffff0000000000000000ffffffffffffffff0000000000000000ffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 104, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ABc77v417oaNSX_2YBYo9lzhihWR9-SjpAZiLz9Qji2mjxAe0C_rw4QYxt38JqXsmEjEJ5JGOx6UX54WfbNL3y1m", | |
"y" : "AFMHBkerp81g6ylauBomijkD85PF0ou8XgIjUcN3zYTwLBnes2RCNyyuEzLpL5W6YLbIUuDeBxjonSTkPNR5yfsR" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "01ff00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 105, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AJgpzVQyaHc5q2rhCvjqc9LLU7geuwa1lht7rcFnaz73sARU983lZ3SgExLVdKkZPBpf5TNvvmJiOtm_gRQ3ifn5", | |
"y" : "ABL5VWl-1XggcZe_mqw4llIWFdusyNxmXU8XFbCEOfScKqbtM3Aj_8zFB1qFlEk2gm25L5GXN8o6_q26GEcIS973" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "01ff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff00010000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 106, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ASbjyVnNQRILuDaTsdagNLOFE3wbsyE7d2Ei_tlgVuMpiFcYpzvuY5wLpLaIGGgvSYzlSWklACvXZSUWQF_MT-yt", | |
"y" : "AHOpxuOwxpS_fMjMu9CYAOgeNUi6RKDCOBzvCwe_cCoZBUu11xeht5KUYJy9r9TiAYBk97LEwgTYGOt85SHDJozl" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "01ffc000001ffffff8000003ffffff0000007fffffe000000ffffffc000001ffffff8000003ffffff0000007fffffe000000ffffffc000001ffffff8000004000001", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 107, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AVPcSBqzxdyN7NJM6u4b7Hf1nyH38xwZU4rwR9KBrJ4lZ5M_09IQlrGF1AmJGVcZMbubC-cZeZXi-68hyKEAB63g", | |
"y" : "Aa1p8I_K4WQ5C-gmJWtQ-uR1As4OnKRq8MSQy0AzyIb4hmGpn_K9PJyOfaMPrytMdp7cWDGBCsBQVMl-QQY_SW4f" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "01ffc0007fff0001fffc0007fff0001fffc0007fff0001fffc0007fff0001fffc0007fff0001fffc0007fff0001fffc0007fff0001fffc0007fff0001fffc0007fff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 108, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AfWGYRyHFQKIw-hhFsXblKJnGJeIKdcB3awF6bDOIt7ksY6V9gy6eD7TOE2jc96u_Fe4Jl06NO60WL8kudgr4ygZ", | |
"y" : "AIRW4PHYBJLvAHjMJG0y_Hx_tnILTUWLUbIJjTV0Z1Kw7wNFvQ00Lf7m3S8S7RKzS9ldBYwoEf1HnS3eMhgObJ7y" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "01ffffff00000001fffffffc00000007fffffff00000001fffffffc00000007fffffff00000001fffffffc00000007fffffff00000001fffffffc000000080000002", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 109, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AV7ch_1JmnPqv_0U0ranCo-2m2o50NnE3aIze1PMcuSanj1aLZ6JMM-hGFLawzRDIn-6ZoS9dHMuaHmIS2752umP", | |
"y" : "AQ7rjS4zYOqXJmKAhSaK8_KgWtQSNdCokgmL1mG2NvfvCoICgpBu2j8f8ZgLmPtZNyKOntzWMy42QSFscwfn8_RS" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 110, | |
"comment" : "edge cases for shared secret", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "ATG0MAL35ofuwez2olPCzMnkjwTYb8zRj-4NLSIZHx6lOcQNUhlwtHCdwDmG9kfg6LszQM-KPmQ6NUEDVDfPJfAV", | |
"y" : "ALJ6VaxF8ClvjJZWvP1Stc6p9BFcBuTGQxlgmEfUXpJBhADnhoZywNPm5ebgBKcZBHbtd8_DOtGaS9LGFa2ZUPN0" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "AKK2RCo3-KN1nSy5HfXsp1r2uJ4nuvL2y_lx3uUFj_qdjayAXHvHLzcYSJ1qnLJ4evjJOhfd6xoZIRqyNgTUe3ZG", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AD3ewT4NSLOUrihSr1ajt9tSpa__sU7UrYewKGBNDKMvORitbObL_UlQSGXKZHR-p9HVHRZ25XWSBJyF_oXHlOkn", | |
"y" : "AFitu6d2cyRAt8T6o7IcKkSLQBdppZYdPpVJvSd9LaywzrQRfUJVNprQ8ydOsciIX2KuREMq19F5SVUizFdPXp88" | |
}, | |
"shared" : "01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 111, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"y" : "ANIOyf6mtXfBDSbKG7RG9AspnmSLGtUIqtBoiW_uP45hS8YwVNV3K_AaZdQS4LyqjpZdL10zLX85-EbUQK4AH0-H" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "ASvBXPOYHqthAsOfmpJaoTB2PQHtbtrxQwbrChTddd_1BAcN73uI2LFlCC9pmS3g_6XukiyzqzmRfahSTKxz8KCc", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AX_Hz2ZtrFo4FsY3DNaSxOKGZdWpqnDOUYke5cdvkhRJ6WIFJecYzVJ5zWEu-7-4LxeuEqABQH9V05tpu3xvWbLq", | |
"y" : "AfYaLq3O-KwbkoMK9io0PLsTJSoszxq3UssVHgvTm1gBdSNL9kHUToZgdz2EIGhBHa838C5Z5UWpRsqcPvB-XAu9" | |
}, | |
"shared" : "0053bf137fee8922769f8d0fe279caa4dac9c6054ad0460995588a845d0a959e24bc0fc2391a2b92f7bd400f50a11a9db37f07bef7fa8dad2a903fcf534abc8736f7", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 112, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB", | |
"y" : "ABDlm-k8TyacAmnHnir9ZdauqptwHqzBlPs-4D30eEm_VQ7GNuvuDd1KFvHNlAZgWvOPWEVndw4_Jy1ojIMuhDVk" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "ASvBXPOYHqthAsOfmpJaoTB2PQHtbtrxQwbrChTddd_1BAcN73uI2LFlCC9pmS3g_6XukiyzqzmRfahSTKxz8KCc", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AX_Hz2ZtrFo4FsY3DNaSxOKGZdWpqnDOUYke5cdvkhRJ6WIFJecYzVJ5zWEu-7-4LxeuEqABQH9V05tpu3xvWbLq", | |
"y" : "AfYaLq3O-KwbkoMK9io0PLsTJSoszxq3UssVHgvTm1gBdSNL9kHUToZgdz2EIGhBHa838C5Z5UWpRsqcPvB-XAu9" | |
}, | |
"shared" : "01c95ac417c90a520149b29105cdab36f528a23efb5621520dbdafea95a7d43499c4c8be02cd1c2de000da18104fa84a1e9ece6386f0e0efa5234a24595d7c4c96f4", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 113, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC", | |
"y" : "ANklT9-ABJasszeQsQPF7p-sEoMv5UbGMiJbD3_OPaRXSxqHm2I9ci-o_DTV_CqHMarWkamou4tVTJWgUdaqUFrP" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "ASvBXPOYHqthAsOfmpJaoTB2PQHtbtrxQwbrChTddd_1BAcN73uI2LFlCC9pmS3g_6XukiyzqzmRfahSTKxz8KCc", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AX_Hz2ZtrFo4FsY3DNaSxOKGZdWpqnDOUYke5cdvkhRJ6WIFJecYzVJ5zWEu-7-4LxeuEqABQH9V05tpu3xvWbLq", | |
"y" : "AfYaLq3O-KwbkoMK9io0PLsTJSoszxq3UssVHgvTm1gBdSNL9kHUToZgdz2EIGhBHa838C5Z5UWpRsqcPvB-XAu9" | |
}, | |
"shared" : "01b47ec41e3a5abd9dd9808fc04d9078cbed72b9eba98d3c1ded70a29938f0efd5a27a7113ff721f122cb17411de307a355c685074f5766b6d1a033d2fa188c945b6", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 114, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAAA_________wAAAAAAAAD_________AAAAAAAAAP________8AAAAAAAAA_________wAAAAAAAAEAAAAAAAAA", | |
"y" : "APM__EXaPqwbqrcnq4_TVc-hNMQgR9VSYmUWVPtQ336aWnXxecjIbEOIITtWh9xD3-uzfzAShwPETM1cMoSDO4cX" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "ASvBXPOYHqthAsOfmpJaoTB2PQHtbtrxQwbrChTddd_1BAcN73uI2LFlCC9pmS3g_6XukiyzqzmRfahSTKxz8KCc", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AX_Hz2ZtrFo4FsY3DNaSxOKGZdWpqnDOUYke5cdvkhRJ6WIFJecYzVJ5zWEu-7-4LxeuEqABQH9V05tpu3xvWbLq", | |
"y" : "AfYaLq3O-KwbkoMK9io0PLsTJSoszxq3UssVHgvTm1gBdSNL9kHUToZgdz2EIGhBHa838C5Z5UWpRsqcPvB-XAu9" | |
}, | |
"shared" : "0168df272d53e3161926168c4aeab5f355b8d2a6689cfd567f2b6eb2011a18c775ac2a21f8dd497f6957217020b3b1afcb7021f24fccc2523be76a2bff44596e5a14", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 115, | |
"comment" : "edge cases for ephemeral key", | |
"curve" : "P-521", | |
"public" : { | |
"crv" : "P-521", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" : "AAA_____AAAAA_____AAAAA_____AAAAA_____AAAAA_____AAAAA_____AAAAA_____AAAAA_____AAAAA_____", | |
"y" : "AM0oOdhXtGmfXI6KAZR4biaoYvCGtLqAdGrlIl7Tqmj5a3quxVIlgwu5j1LXUiEUGJe6SdejHrvwttfTE1LlJmGQ" | |
}, | |
"private" : { | |
"crv" : "P-521", | |
"d" : "ASvBXPOYHqthAsOfmpJaoTB2PQHtbtrxQwbrChTddd_1BAcN73uI2LFlCC9pmS3g_6XukiyzqzmRfahSTKxz8KCc", | |
"kid" : "none", | |
"kty" : "EC", | |
"x" |