{ | |
"algorithm" : "XDH", | |
"generatorVersion" : "0.8r12", | |
"numberOfTests" : 531, | |
"header" : [ | |
"Test vectors of type XdhComp are intended for tests that verify the", | |
"computation of and Xdh key exchange." | |
], | |
"notes" : { | |
"InvalidPublic" : "The private key and the public key do not use the same underlying group.", | |
"LowOrderPublic" : "The curves and its twists contain some points of low order. This test vector contains a public key with such a point. While many libraries reject such public keys, doing so is not a strict requirement according to RFC 7748.", | |
"NonCanonicalPublic" : "The public key is in non-canonical form. RFC 7749, section 5 defines the value that this public key represents. Section 7 of the same RFC recommends accepting such keys. If a non-canonical key is accepted then it must follow the RFC.", | |
"SmallPublicKey" : "The public key is insecure and does not belong to a valid private key. Some libraries reject such keys.", | |
"Twist" : "Public keys are either points on a given curve or points on its twist. The functions X25519 and X448 are defined for points on a twist with the goal that the output of computations do not leak private keys. Implementations may accept or reject points on a twist. If a point multiplication is performed then it is important that the result is correct, since otherwise attacks with invalid keys are possible.", | |
"ZeroSharedSecret" : "Some libraries include a check that the shared secret is not all-zero. This check is described in Section 6.1 of RFC 7748. " | |
}, | |
"schema" : "xdh_jwk_comp_schema.json", | |
"testGroups" : [ | |
{ | |
"curve" : "curve25519", | |
"type" : "XdhJwkComp", | |
"tests" : [ | |
{ | |
"tcId" : 1, | |
"comment" : "normal case", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "UEo2mZ9InNL9vAi6_z2I-gBWm6mGy6IlSP_egPmAaCk" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "yKnVqRCRrYUcZosHNsHJoCk2wNOtYmcIWAiAR7oFdHU", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "X2S0HM6Kaz1qOHYwiPYVpJd9QiKIrkK0mrOlfi_Nb20" | |
}, | |
"shared" : "436a2c040cf45fea9b29a0cb81b1f41458f863d0d61b453d0a982720d6d61320", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 2, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "Y6pAxuODRsXK8jpt8KXmyAiJoIZH5VGzVjRJvvz8lzM" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "2F2MBhpQgErEiK13SscWw_W6cUsnEuBISRN5pQAhGVg", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "qQMfm22ifgIOV-IEKfLitbg0jEkoIQbCpbI2WnI_DSA" | |
}, | |
"shared" : "279df67a7c4611db4708a0e8282b195e5ac0ed6f4b2f292c6fbd0acac30d1332", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 3, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "D4PDb97Z0y-t9O-jrpOpC7XPpmiTvEEsQ_pyh9u5l3k" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "yLRb_TLlUyXZ_WSMswKEgDkACzkORNUh5YqrOymmlks", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_s8qHPERyRymPqNATkQbqkB7-jpudS-30g-VRmkN00M" | |
}, | |
"shared" : "4bc7e01e7d83d6cf67632bf90033487a5fc29eba5328890ea7b1026d23b9a45f", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 4, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "C4IRorYEkJf2hxxsBS08X8G6F9qeMq5FhAOwW7KDCSo" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "-HbjS8vh9H-8D939fB4apT1Xv-D2bSQwZ7Qku2IQvlE", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "zh7U1EoJFRzHND7X-kyubRJ5D5XM1gACaKcgoMpirUc" | |
}, | |
"shared" : "119d37ed4b109cbd6418b1f28dea83c836c844715cdf98a3a8c362191debd514", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 5, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "NDrCCjucaiexAIF2UJrTBzWFbsHI2PyuE5EtCNFS9Gw" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "AGrB86ZTpM2x03u6lHOPi5V6V76yTWRumU3CmidqrUU", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "sQE0TBpbB1lhEsIN8FlLP-pDFEtvyqfOkroPm0Ayz1k" | |
}, | |
"shared" : "cc4873aed3fcee4b3aaea7f0d20716b4276359081f634b7bea4b705bfc8a4d3e", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 6, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "-mlfx76NG-W_cEiY84jEUrr907jq6AX4aBqNFcLU4UI" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "CNp3sm0G3_nZ9_1MWzdp-M3VswUWpauAa-Mk_z62nmA", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fzwU1eQfCjDnG9ajoIyCbUEqTlIeM2xN4q6nuZZLWyU" | |
}, | |
"shared" : "b6f8e2fcb1affc79e2ff798319b2701139b95ad6dd07f05cbac78bd83edfd92e", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 7, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "0D7d6fPnt5kEX5rDeT1Kknfa3q3EG-wCkPgfdE9zd18", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "w1PwjHn9KJ-9iS6Z8FnuNm0XZTXuycwdTIRsBMRtRCA" | |
}, | |
"shared" : "b87a1722cc6c1e2feecb54e97abd5a22acc27616f78f6e315fd2b73d9f221e57", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 8, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "4J1XqRTjwpA2_ZpEK6Umtc3N8oIWFT5jbBBnesq2vWo", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "s5AgNK4x1FWZKknVe5hc8QhgRxiRtcQHNZDYDnc1WAA" | |
}, | |
"shared" : "a29d8dad28d590cd3017aa97a4761f851bf1d3672b042a4256a45881e2ad9035", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 9, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "4O145u4C8IvsHBXWb7vluD_8N-oU4VEswb1LLqbYBm8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "NJlDgjCA3hvJlfePKFIxdeLFMbzsidpSLEab5yYx0Hk" | |
}, | |
"shared" : "e703bc8aa94b7d87ba34e2678353d12cdaaa1a97b5ca3e1b8c060c4636087f07", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 10, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "__8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "qKGi7J-pkVrnqs5qN8aFkdOeFZlcTvXr01YcAvct2kE", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7s5U8Mp6UOjIziyX0QHWt68akkORmwxnF3p2rnNRX1Q" | |
}, | |
"shared" : "ff5cf041e924dbe1a64ac9bdba96bdcdfaf7d59d91c7e33e76ed0e4c8c836446", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 11, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "qMnfWCDrOZ1HHfoyFdlgVbPH0PTqSfirAo1qbjGUUXs", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_eVzXocaH8tbQaji0SckG6ogq04qGuZKCS5nq8e_9VI" | |
}, | |
"shared" : "a92a96fa029960f9530e6fe37e2429cd113be4d8f3f4431f8546e6c76351475d", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 12, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "____DwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "0NMcSRy9OScYWbSmOjFoJlB7HbjHAXCf0P_j6yHERnw", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "uHqGdm6vMHxTcr3R4pDb3dhV7LfiF7EINvdygY4boD4" | |
}, | |
"shared" : "9f8954868158ec62b6b586b8cae1d67d1b9f4c03d5b3ca0393cee71accc9ab65", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 13, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_____wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "0FPnvxkCYZzWHJxzngnVTEFH9G0ZByCWb33h2c_7vU4", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "wDhewpJfAtUfmH9CYU3SCGGSPEIAHuf2atgmxrjLKDo" | |
}, | |
"shared" : "6cbf1dc9af97bc148513a18be4a257de1a3b065584df94e8b43c1ab89720b110", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 14, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "oCHXUAmkWW5aM_EpIcEPNnCTO8gN3ju6IogbYSBYIUQ", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "KtudJre3L9e4_bFddUDUn7jAA5zD4n68qbutL3n5fiI" | |
}, | |
"shared" : "38284b7086095a9406028c1f800c071ea106039ad7a1d7f82fe00906fd90594b", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 15, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "qJxmh_mb1WmgH9i9Q4I2Fg0VzixXwdceuqPy2ogjOGM", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "crDKT1DGK3PS2RE7UJ85VvE-akuxF2obuuYgrfDOqCw" | |
}, | |
"shared" : "c721041df0244071794a8db06b9f7eaeec690c257265343666f4416f4166840f", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 16, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "__________8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "aJZLylFGW_D1ulJLFILO_w6WCh7Z9I3MMPFgjQ5QGlA", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "WWJ8crxI6y6C1-ox2DNT6mAooUBFb32I1IGXk5aMUDs" | |
}, | |
"shared" : "25ff9a6631b143dbdbdc207b38e38f832ae079a52a618c534322e77345fd9049", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 17, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "qOVrsTqfKzO45nULSm5mIdwmroxcYkoJksjw1bkQ8XA", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "KQkmZC_jBe68uR3yNi8FyAndDflFCtTWFrOHdGbzpCw" | |
}, | |
"shared" : "f294e7922c6cea587aefe72911630d50f2456a2ba7f21207d57f1ecce04f6213", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 18, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_____________________________________wAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "4EX1XBWUUel4FNdHBQ_XdpvUeENKAYdqVuVT9mOEp0w", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "zM6bJ9Ek8hGVo4aE6I3QUX-NnF9zgZpMvHYDL9cyOn0" | |
}, | |
"shared" : "ff4715bd8cf847b77c244ce2d9b008b19efaa8e845feb85ce4889b5b2c6a4b4d", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 19, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "____AwAA-P__HwAAwP___wAAAP7__wcAAPD__z8AAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "EF1iHh7zOcPZkkXPt3zTpb0MRCeg5Nh1LDtR8EWIm08", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "yCM2nw84xI-RK5aBRKF2YaCfAJ-DwkCLGrFzgEurHSA" | |
}, | |
"shared" : "61eace52da5f5ecefafa4f199b077ff64f2e3d2a6ece6f8ec0497826b212ef5f", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 20, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "______________________________________9_AAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "2IpEHnBvYGrn9jD4sh88JVRznj5Un4BBGMA3cfYIAXs", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "PFz-gsc0AIl7Fpdc_YneOKRrWg50lBJ1CGRUAwVdHTU" | |
}, | |
"shared" : "ff1b509a0a1a54726086f1e1c0acf040ab463a2a542e5d54e92c6df8126cf636", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 21, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "gLutFoIiJ2IAqv029_Jf3AJWMti_n2NUu3YuBvtj4lA", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "ZhbprzmZSbM_sGhTeZwr22ExqHSwWTLxeiMkdIKWfwc" | |
}, | |
"shared" : "f134e6267bf93903085117b99932cc0c7ba26f25fca12102a26d7533d9c4272a", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 22, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_________________________________________x8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "aOE0CS6U5iLIoM0Yr_Vb4j2r2ZTr3umC2QYB9vD0s2k", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "36K3mf6DtRx-kqTqGIlSVsnkDD53UK2btapdxQ66hmM" | |
}, | |
"shared" : "74bfc15e5597e9f5193f941e10a5c008fc89f051392723886a4a8fe5093a7354", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 23, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "6OQ_weusC7ybmcgDXuGsWbkPGaFsQsC5D5at_MX97ng", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "v39ZInu3T390GqjSdtIgpc2jNCm-Iy7mw9jez6AALgE" | |
}, | |
"shared" : "0d41a5b3af770bf2fcd34ff7972243a0e2cf4d34f2046a144581ae1ec68df03b", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 24, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAA_P__BwAA4P__PwAAAP___wEAAPj__w8AAMD__38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "GL_7FvkmgKniZ0c-Q8RkR21Tct3R9mTz0GeO_nyYvHk", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "PblpYq5pzsD_UKGzR7BzhGWF3z2fIPZkoD4Xs8W-9Q0" | |
}, | |
"shared" : "5894e0963583ae14a0b80420894167f4b759c8d2eb9b69cb675543f66510f646", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 25, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_________wAAAAAAAAD_________AAAAAAAAAP___38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "MAMF6wAr-Gxx_pwLMRmTcnudxhjQznJR0N_YVS0XkF0", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "qjB1hgNgXCGYvYGjkDGPs8X_VP3OmrfumVCexl_cHh4" | |
}, | |
"shared" : "f8624d6e35e6c548ac47832f2e5d151a8e53b9290363b28d2ab8d84ab7cb6a72", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 26, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAP____8AAAAA_____wAAAAD_____AAAAAP___38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "gNqfAoQiR9St5d26xR285V6n3KKETn-Xq4mHzn_YvHE", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "P36GgLPNa6DrYdY-gLtDyj8awsvS5SIzeoqYXkoLmWA" | |
}, | |
"shared" : "bfe183ba3d4157a7b53ef178613db619e27800f85359c0b39a9fd6e32152c208", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 27, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f_________________-_____________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "gG5_JsoyRt6BgpRsvtCfUrldpibII8e1BFAAGke3slI", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "jffqTNGmGTSbmWeZJzAoC8w7xtd00A2AyaOz6_vARRA" | |
}, | |
"shared" : "bca4a0724f5c1feb184078448c898c8620e7caf81f64cca746f557dff2498859", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 28, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f________7______________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "WDVP1kvAIsujpxsq5kKB5Op79tZf266tFEDusYYE_mI", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "elDQHRjQ76QJHL8AHPOPtgNAsUn8cTCDfj02TLophGk" | |
}, | |
"shared" : "b3418a52464c15ab0cacbbd43887a1199206d59229ced49202300638d7a40f04", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 29, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f______7________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "8AGc8FFZeUzIBSsAwudbf0b7ZpPEs4wCsSpP4nLoVWo", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AZkkHbWwLncPKLgkaD_KJKMO1kpZUJmT_hxjp0ms9lY" | |
}, | |
"shared" : "fcde6e0a3d5fd5b63f10c2d3aad4efa05196f26bc0cb26fd6d9d3bd015eaa74f", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 30, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f7______________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "0PymTMXzoMjnXIJOiwnRYVqnmuuhObtzAuK7L8vlS0A", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "1oI98Jm95IY3ZtnnUwZAtlCGdOuhztOaMvwYCcv0-WM" | |
}, | |
"shared" : "7d62f189444c6231a48afab10a0af2eee4a52e431ea05ff781d616af2114672f", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 31, | |
"comment" : "public key on twist", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "6v_______________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "0CRW5FaRHTxs0FSTMZmAdzLf3JWGQq0a6-kAx5O-8ko", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7QHAVUGf77k40TPwymEXZopESxiv1QZhZ49_wW9negY" | |
}, | |
"shared" : "07ba5fcbda21a9a17845c401492b10e6de0a168d5c94b606694c11bac39bea41", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 32, | |
"comment" : "public key = 0", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "iCJ0lAOPK7gR1HgFvN8EoqxYWtp_LyM4m_1GWPnd1F4", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "9cBfFrfonUZzebD_mZKQtSgx3hzI4QfJN3eVLetK_no" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"SmallPublicKey", | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 33, | |
"comment" : "public key = 1", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "SCMuiXK2HH5hkw65RQtQcOrhxnBHVoVUHwR2IX5IGE8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "vhHcgarqiwbZukCjYePqp6xDlY0zphaGKED19nMAZyo" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"SmallPublicKey", | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 34, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "qDhvfxbFBzHWT4LmoXCxQqTjTzH9d2j8uJApJefR4lo", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "X5y4MiQ4Wpn4wfBYUdw4MlbT71UvXIfFmT7opGyoZHE" | |
}, | |
"shared" : "34b7e4fa53264420d9f943d15513902342b386b172a0b0b7c8b8f2dd3d669f59", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 35, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "0Fq9CL9eYlOMuaXtEF2-3W3jjQeUAIUHK0MRwmeO130", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "yYYAxnuF0cadNJx24F-9LCk0b8JHvTmbCOIKW2r18Do" | |
}, | |
"shared" : "3aa227a30781ed746bd4b3365e5f61461b844d09410c70570abd0d75574dfc77", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 36, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "8LiwmYyDlDZNfcslo4heVxN0-RYVJ1RA2wZF7nwKb2s", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "Gc359ym0WPvl491N_KWq8J_wuUhxsKaMjwqr-CUBAWA" | |
}, | |
"shared" : "97755e7e775789184e176847ffbc2f8ef98799d46a709c6a1c0ffd29081d7039", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 37, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "0Aw13BdGDzYL-ue5Rke8Tpp62c6Cq-rbUKLxoHNuIXU", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "uQtVjzlmW3bQjCxhSSp1GNimF2dbZpBun95KFrs7fzo" | |
}, | |
"shared" : "c212bfceb91f8588d46cd94684c2c9ee0734087796dc0a9f3404ff534012123d", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 38, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "________DwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "OF_IBYkAqFAh3ZJCXS-zmmLU4jrvHVEExMLYhxLTnk0", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "2hsvFmCwrHWHPPRPzKCm6FoD8FQXcb-ENxQp38rTNWM" | |
}, | |
"shared" : "388faffb4a85d06702ba3e479c6b216a8f33efce0542979bf129d860f93b9f02", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 39, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_________wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "4GFLDECK8k2dJMCnL5E3-9axbwLMyUeX6jlxqxYHOn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "4LsT5kqfJ1N7gkYRKA_2S_EvC7Q61fy0ZVN8EPlpPFc" | |
}, | |
"shared" : "877fec0669d8c1a5c866641420eea9f6bd1dfd38d36a5d55a8c0ab2bf3105c68", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 40, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "8AS4_QXZ__2FPNxtImY4m3N-jfwpatALWmmyqdz3KVY", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "PycZCSB6ptm8GooaY_ACb-0mkVsAIxzqdQAqXFR_-mo" | |
}, | |
"shared" : "180373ea0f23ea73447e5a90398a97d490b541c69320719d7dd733fb80d5480f", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 41, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "__________________8AAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "6Avw5gm_OwNbVS-dt-nsvESgS3kQsUk2YaUk9Gw8Inc", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "zuk_ZiY2jagBjC0hp1PZfrsZEyaVwe49SrOjvPu8w2M" | |
}, | |
"shared" : "208142350af938aba52a156dce19d3c27ab1628729683cf4ef2667c3dc60cf38", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 42, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "SIkOldGwPmA7y1H99vKW8fHRD13xDgC4olyYCfmqGlQ", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "b7XtHXbSjaHzrqrqtOt4SFtWgSZC7Ifwd_kyx6-Gzg4" | |
}, | |
"shared" : "1c3263890f7a081cefe50cb92abd496582d90dcc2b9cb858bd286854aa6b0a7e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 43, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_____________________wAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "qAbx45t0JhWn3eOylBXtgnxo8H1KR6TZWVxAx_zLkmM", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "oeGSqwgK0MGfCMQM7d2DMXpebQM9-J2rABiuZ6qELCo" | |
}, | |
"shared" : "56128e78d7c66f48e863e7e6f2caa9c0988fd439deac11d4aac9664083087f7a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 44, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "mJnV4mXh_HwyNFIn1mmabWtVF88ztDqxVu4g30h4eU4", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AjXjILsTUvktXK6KBrBfVuvxSwuyRD4XriATIrYJU3Q" | |
}, | |
"shared" : "30eca56f1f1c2e8ff780134e0e9382c5927d305d86b53477e9aeca79fc9ced05", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 45, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "________________________________AAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "2EIxblR2rq7oOCBCWKBvFd4BG6QLmWJwXn9uiJ_nH0A", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "g4K9D08TVjoKr3DT5MXuV6W8vUdgIvE2HAiGndhe9AY" | |
}, | |
"shared" : "cb21b7aa3f992ecfc92954849154b3af6b96a01f17bf21c612da748db38eb364", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 46, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_____wAAAAD_____AAAAAP____8AAAAA_____wAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "oJM-4wUSsl7k6QCqoH9z5Qeo7FO1OkRibg9YmvTgNWw", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "08G8qVi4N0-fnpFGRLchhIQe8yTTRBhU67--BrIa6wg" | |
}, | |
"shared" : "c5caf8cabc36f086deaf1ab226434098c222abdf8acd3ce75c75e9debb271524", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 47, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "ONZAPhN3c0zc6YKF6CDyVq1rdp1rVhK89CzyuXlFwHM", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "X_-xNu5EJ2pbPBBwN2e8qp0Hl0agzQWWu_8JUdV6WCQ" | |
}, | |
"shared" : "4d46052c7eabba215df8d91327e0c4610421d2d9129b1486d914c766cf104c27", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 48, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_________________________________________wM" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "GCGRtwUunNYw7wgAf8a0O8dlKRO-Z3Ti_ScbcblipkE", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "Mw6RMdCuF0wTOW4Ob2ob1j3nDO8fS2dlrDa0Qc5npWE" | |
}, | |
"shared" : "a0e0315175788362d4ebe05e6ac76d52d40187bd687492af05abc7ba7c70197d", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 49, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "____DwAAAP___w8AAAD___8PAAAA____DwAAAP___w8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "EGIh_laUpxDW4UdpbF1bk9aIfVhPJPIoGC6-Gx0tuF0", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7Lo0P0qJAT_qg-hp6j96ZwcV2DOrDsQ62zrNS0gilgc" | |
}, | |
"shared" : "5e64924b91873b499a5402fa64337c65d4b2ed54beeb3fa5d7347809e43aef1c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 50, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAA_P__AwAA4P__HwAAAP___wAAAPj__wcAAMD__z8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "0DXelFYIDYWpEgg7Ljx93Xlx94byWpbF54LPb0N242I", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "4vqzR5Z3-MG6KS2dJp-AkQy5f903xp5tDP4y8TaDCDQ" | |
}, | |
"shared" : "c052466f9712d9ec4ef40f276bb7e6441c5434a83efd8e41d20ce83f2dbf5952", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 51, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_________________________________________z8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "qPNzGKTHYPPLLYlIIpGHNWg8se2s8-Zm4VaUFUl4_W0", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "jSnTklObKduZaaFkzF6Jtgc72TXOr0WEy3Ytcei7jns" | |
}, | |
"shared" : "d151b97cba9c25d48e6d576338b97d53dd8b25e84f65f7a2091a17016317c553", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 52, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f_______________________________________18" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "INTWJM9zL4JvCegIgBd0LxPy2pj03PS0BRmtt5DOv2Q", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "sziTSKZ5Wv5RSAGN4cVpR5zchsPqyi593HPCqio-6lE" | |
}, | |
"shared" : "5716296baf2b1a6b9cd15b23ba86829743d60b0396569be1d5b40014c06b477d", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 53, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f____________________________________9__38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "2AanNdE477O0BGg8nYRIWrSvVA0K8lO1dDI9iRMAPGY", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "0v1tBiLgkx7hw2TG1jmFA-LYZu7VyhfYqGTOMY8sZ30" | |
}, | |
"shared" : "ddbd56d0454b794c1d1d4923f023a51f6f34ef3f4868e3d6659307c683c74126", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 54, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "______7__3_______v__f______-__9_______7__38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "GEGYxiKBd_PvQdyaNBJY-Bga42X-nsmNk2ObC77hRn0", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "TyeEQ6KgzNf5sK4pb2Z8355Rkm3ZuCU6Rxlfp51tRAw" | |
}, | |
"shared" : "8039eebed1a4f3b811ea92102a6267d4da412370f3f0d6b70f1faaa2e8d5236d", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 55, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f____________________________________7__38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "8KRqf0uYn-UV7cRBEJNGunRuwVFoluxbfk9NkDBktGM", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "dmU7QU-RWrPq1LKdhFwzRDC1pFH6g-79btoAy2kjYSQ" | |
}, | |
"shared" : "b69524e3955da23df6ad1a7cd38540047f50860f1c8fded9b1fdfcc9e812a035", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 56, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f_______________________________v_______38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "iBh0_aOpnA8CFuEXL70Hqxx994YCzGsRJk5XqrXyOkk", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "o_KFiOB5-5QZ-pcgVNojZ10w_OJr3vObEHr9udb_EiQ" | |
}, | |
"shared" : "e417bb8854f3b4f70ecea557454c5c4e5f3804ae537960a8097b9f338410d757", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 57, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f____________________7__________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "uNDxrgWlBygxRDFQ4gKsbbADIs3zQfRn6fKWWIsE23I", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "lWq2ahIJMAaN2fJNU9J38yiY7cOJe3PGFwBPCNWdJV0" | |
}, | |
"shared" : "afca72bb8ef727b60c530c937a2f7d06bb39c39b903a7f4435b3f5d8fc1ca810", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 58, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f_________-_____________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "yGGbqYiFnbfW8g-_P_uLETQYzCeAZbTou21OWz58tWk", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "BrXb9MnPzvT-yWIinWcHNxoGbgnXfuA1vGvK5mMsXgY" | |
}, | |
"shared" : "7e41c2886fed4af04c1641a59af93802f25af0f9cba7a29ae72e2a92f35a1e5a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 59, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f____7__________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "-NTKHzejDsms1tvlpuFQ5bxEfSKzVdgLoALFsFwmk10", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "MS0pSGQn5nIxwK78JZKFLl-VSRas29DURhGt1prs_i8" | |
}, | |
"shared" : "dd3abd4746bf4f2a0d93c02a7d19f76d921c090d07e6ea5abae7f28848355947", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 60, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f__7____________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "iAN6yOM8csLFEDfHyMUoi7qSZcgv2MMXlt1-pd-aqko", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "1L6GDabuRPAJVt4RUcZ5D9QHbiNSML3rCMlVlu6gCXo" | |
}, | |
"shared" : "8c27b3bff8d3c1f6daf2d3b7b3479cf9ad2056e2002be247992a3b29de13a625", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 61, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f_-_____________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "UDTue_g6E9kWffhrBkApTzYg9PTZAw5eKT-RkIJK5WI", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "D_dEDTdi_T9hMIGUP23ZwcSxvdr8mHwOaDGGaq6N0Gc" | |
}, | |
"shared" : "8e1d2207b47432f881677448b9d426a30de1a1f3fd38cad6f4b23dbdfe8a2901", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 62, | |
"comment" : "edge case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "6________________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "QL1OHK852d73ZjgjUC2tPn0w626wHpuJUW1PL0W3zX8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "ctqVREIzBimqW-xbgM2u7UPQ3z0yJlnDDPFq9VFEEWE" | |
}, | |
"shared" : "2cf6974b0c070e3707bf92e721d3ea9de3db6f61ed810e0a23d72d433365f631", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 63, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "4Ot6fDtBuK4WVuP68Z_EatoJjeucMrH9hmIFFl9JuAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "4Pl43806jxpQk0GN5UE2pYTCC3s0mv32wFIIhvlbEnI", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "Ek4PFIfJs48cf9SmUYpHaZ0VjUTMGGZce8ygO9xybl0" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 64, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "X5yVvKNQjCSx0LFVnIPvWwREXMRYHI6G2CJO3dCfEVc" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "OHNV2ZVhYJBQOq-tSdoB-z3D7alicE6u5rhvniDJJXk", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "lnWZ1KD8R99EASLA0kYA6QI7ERUiNwF1c1zvh71PGwU" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 65, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7P_______________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "yP4N-SrmigMCP8DJrblVfTG-f-7Q06s2xVgUPa9Nu0A", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "GC1Bg5l_ZRgXxocAj03D935d9ybFbkb1xTYW9YR_nAs" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"Twist", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 66, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "4Ot6fDtBuK4WVuP68Z_EatoJjeucMrH9hmIFFl9JuIA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "yNdKzeWTTmS5iV1f96-__X9wT338z_esKPpioeZBA0c", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "QgDWZ5LG-gwhGoIXPW_NXbOTE-WOcxOSy1A4DbI5nA0" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"NonCanonicalPublic", | |
"Twist", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 67, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "X5yVvKNQjCSx0LFVnIPvWwREXMRYHI6G2CJO3dCfEdc" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "uFZJ1RIOAejMr3svuNgbYuitbz1cBVP93hkGy515wFA", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "UTxUbWYt6XRI9f0wDBMctn_ewbad6ui49lboGV2csjY" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"NonCanonicalPublic", | |
"Twist", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 68, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7P________________________________________8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "IGSy9Mncl-x89Yky_foyZbpupNEfAlm478ivs124jEg", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "9IOygwxUoSJ8btNTk9Vt0qX3dGGeNRh-MKTvoIC4KGk" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"NonCanonicalPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 69, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 70, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 71, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7P_______________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 72, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "X5yVvKNQjCSx0LFVnIPvWwREXMRYHI6G2CJO3dCfEVc" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 73, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "4Ot6fDtBuK4WVuP68Z_EatoJjeucMrH9hmIFFl9JuAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 74, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f_______________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 75, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7v_______________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 76, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 77, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 78, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7P________________________________________8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 79, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "X5yVvKNQjCSx0LFVnIPvWwREXMRYHI6G2CJO3dCfEdc" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 80, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "4Ot6fDtBuK4WVuP68Z_EatoJjeucMrH9hmIFFl9JuIA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 81, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f________________________________________8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 82, | |
"comment" : "public key with low order", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7v________________________________________8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eGozpPevKXog52QpJZMr9QnnBw-hvDaYavHrE_T1C1U", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "N-dT5ENyAkn9GgcHQfa7hq7d9B_duHVU9-Hnku4UWAM" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 83, | |
"comment" : "public key = 57896044618658097711785492504343953926634992332820282019728792003956564819949", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7f_______________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "QP9YbnPWHwlg3C12OsGemCJfEZT2_kPV3ZetVbPTWWE", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "SDUf51Y8_w4UlS73nRaua7cT39Df9aPaUJESlIgLdVQ" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"SmallPublicKey", | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 84, | |
"comment" : "public key = 57896044618658097711785492504343953926634992332820282019728792003956564819950", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7v_______________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "WE_OrrrpRL_pOy4NCldfcGzlraHaKxMRw7Qh-Rhsem8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "O8mC6p0I68W1XcIQ-eB3JOTNpsh7oy3QlCcCnw1NTTs" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"SmallPublicKey", | |
"LowOrderPublic", | |
"NonCanonicalPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 85, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "7________________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "ABa2KvXKvejECTjr8hCOBdJ_oFM-2F1wAVrUrTl2LVQ", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "ek4UEDF7PbPrqqMjCQbIoms-oFpfOSwcO63qxWCknE4" | |
}, | |
"shared" : "b4d10e832714972f96bd3382e4d082a21a8333a16315b3ffb536061d2482360d", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic", | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 86, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "8P_______________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "2DZQunzsEViBkWJV4_pfoNa43PlocxvSydKuw_Vh9kk", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "gp6FCeNZa4mp6ladhOL8DJRXaFk8yk6qZT8EFWSI8nk" | |
}, | |
"shared" : "515eac8f1ed0b00c70762322c3ef86716cd2c51fe77cec3d31b6388bc6eea336", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic", | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 87, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "8f_______________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "iN0U4nEevQsAJsZRJkypZefj2lCCeJ-6t-JEJee0N34", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fyc151Br6KOiEVufI2d7_2RZ_WvbCPv7bwDN-j46YW0" | |
}, | |
"shared" : "6919992d6a591e77b3f2bacbd74caf3aea4be4802b18b2bc07eb09ade3ad6662", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic" | |
] | |
}, | |
{ | |
"tcId" : 88, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_________________________________________38" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "mMKwjLrBThWVMVTjtVjUK7EmijZbDvLyJyUSnYrFy38", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "gxmuc3VmHQskJrTFO5cK7gTweIP-NTjA90h4wz66_UQ" | |
}, | |
"shared" : "9c034fcd8d3bf69964958c0105161fcb5d1ea5b8f8abb371491e42a7684c2322", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic" | |
] | |
}, | |
{ | |
"tcId" : 89, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "wGl7bwXg80M7ROo1LyBQjrBiMJindwhTr1yglyc0DE4", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "JbySU2aAEpa5PpvV4GsTZgmVzYQo7dnNzragh-x5UW0" | |
}, | |
"shared" : "ed18b06da512cab63f22d2d51d77d99facd3c4502e4abf4e97b094c20a9ddf10", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic", | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 90, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "GEIrWKGOD0UZt6iHuM-2SeC_5LNNdZYzUKmUTlt_W34", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "6WGzIxOd4iQ9W_-JRlh7jmbdMQLtrRGJFG_NGIYjqA4" | |
}, | |
"shared" : "448ce410fffc7e6149c5abec0ad5f3607dfde8a34e2ac3243c3009176168b432", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic", | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 91, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "IGINgkh3B77fnuNUnpXLk5DSYY9Qz2rLpH_6oQMiSm8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "y_Ia_4Z2xBanFkjemRgHhpd0Ks9iWa223wOXcWQaw3o" | |
}, | |
"shared" : "03a633df01480d0d5048d92f51b20dc1d11f73e9515c699429b90a4f6903122a", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic" | |
] | |
}, | |
{ | |
"tcId" : 92, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "2v________________________________________8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "KFpqfO63Ei8seNmcU7KpArSQiS99_zJvidEmc8MQG1M", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "MhSAni6qPxPYtsw55bFAoSqh5kOZVL4jmArrb8h8BgQ" | |
}, | |
"shared" : "9b01287717d72f4cfb583ec85f8f936849b17d978dbae7b837db56a62f100a68", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic" | |
] | |
}, | |
{ | |
"tcId" : 93, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "2_________________________________________8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "yOAzCunc7v-If7p2EiWHmkvS4NsIeZJEE25HIbLIiXA", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "GPa3mmQs4OHmfYyHrskYk1yCcTnuJXEQyhD68Isg2R4" | |
}, | |
"shared" : "dfe60831c9f4f96c816e51048804dbdc27795d760eced75ef575cbe3b464054b", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic" | |
] | |
}, | |
{ | |
"tcId" : 94, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "3P________________________________________8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "ENtiEPwfsTOCRy-heHsAS10Rhoqzp5UQ4M7jD0pt8ms", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "DKHQ9mM7SJ_M5MRLtthC2tzw245vLrvYJ_V2PcbxEEE" | |
}, | |
"shared" : "50bfa826ca77036dd2bbfd092c3f78e2e4a1f980d7c8e78f2f14dca3cce5cc3c", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic", | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 95, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "6v________________________________________8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "kEHG4ESid9-EZidcqLXuDae8AoZIBUreXFkq3TBXR04", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "pp3Zb8usyzbctj59Ug-lHaYijXGGAr0X71G1sySVt1Q" | |
}, | |
"shared" : "13da5695a4c206115409b5277a934782fe985fa050bc902cba5616f9156fe277", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic" | |
] | |
}, | |
{ | |
"tcId" : 96, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "6_________________________________________8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "uNSZBBpnE8D2-HbbdAZYf9tEWC-VQjVq6Jz6lYo00mY", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_zrgM03-6Ln9FQOEy79vGugg0d9YJvN1X4744F4gxiQ" | |
}, | |
"shared" : "63483b5d69236c63cddbed33d8e22baecc2b0ccf886598e863c844d2bf256704", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic" | |
] | |
}, | |
{ | |
"tcId" : 97, | |
"comment" : "non-canonical public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "__________________________________________8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "yF8I5gyEX4IJkUGmbcRYPSsQQEYsVE0z0EU7ILGmN34", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "-05jxMZWdywBIg8tjEKzw5NrDbhO2H2oKOhC0ZSVt2Q" | |
}, | |
"shared" : "e9db74bc88d0d9bf046ddd13f943bccbe6dbb47d49323f8dfeedc4a694991a3c", | |
"result" : "acceptable", | |
"flags" : [ | |
"NonCanonicalPublic" | |
] | |
}, | |
{ | |
"tcId" : 98, | |
"comment" : "public key = 57896044618658097711785492504343953926634992332820282019728792003956564819968", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "eIeIm6xMYpoQHTck8u2LmNk2_eeeGh932Gd5Ymv48mM", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "O7gi19iIonzao-eR96-Cm0h3U0czdYrPVQ67Uwpdn2Y" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"SmallPublicKey", | |
"LowOrderPublic", | |
"NonCanonicalPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 99, | |
"comment" : "public key = 57896044618658097711785492504343953926634992332820282019728792003956564819969", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "4Hlx7oIOSLCyZti-PNu7XpAKQ_We6FNcZXJBhhXeSWI", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "A1CmmIbVM3XN1FDJb2qn2_kanhfXmWUJJctVXJt4O1k" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"SmallPublicKey", | |
"LowOrderPublic", | |
"NonCanonicalPublic", | |
"Twist", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 100, | |
"comment" : "RFC 7748", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "5ttoZ1gwMNs1lMGkJLFffHJmJOwmszU7EKkDptCrHEw" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "oEbja_BSfJ07FhVLgkZe3WIUTArB_FoYUGoiRLpEmkQ", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "HJ_Yj0VgbZMqgMcYJK4VHRXXPnfeOOjgAIUuYU-ucBk" | |
}, | |
"shared" : "c3da55379de9c6908e94ea4df28d084f32eccf03491c71f754b4075577a28552", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 101, | |
"comment" : "RFC 7748", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "5SEPEnhoEdP0t5WdBTiuLDHb5xBvwDw-_EzVSccVpBM" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "SGbp1NG0Zzxa0iaRlX1q9cEbZCHg6gHULKQWnnkYuk0", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_2P-V7-_Q_o_VjYosUmvcE09tiU2nEmYNlA0empx4A4" | |
}, | |
"shared" : "95cbde9476e8907d7aade45cb4b873f88b595a68799fa152e6f8f7647aac7957", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 102, | |
"comment" : "RFC 8037, Section A.6", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "3p7bfXt9wbTTW2HC7OQ1Nz-DQ8hbeGdNrfx-FG-IK08" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "dwdtCnMYpX08FsFyUbJmRd9ML4frwJkqsXf7pR25LCo", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "hSDwCYkwp1R0i33ctD73Wg2_Og0mOBr066SpjqqbTmo" | |
}, | |
"shared" : "4a5d9d5ba4ce2de1728e3bf480350f25e07e21c947d19e3376f09b3c1e161742", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 103, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "t7bTnHZctgwMhUL085Uv-1HTAC1K65-P-YixkgQ-bQo" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "0200000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 104, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "OxjfHlC4mevViMMWHL07-Y68wsH331O4Eb0OkbTVFT0" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "0900000000000000000000000000000000000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 105, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "yrb559jOAN_OqbvY8Gnvf7KsUEq_g7h9tgG1rgp_dhU" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "1000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 106, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "SXfQ2JfhulZlkPYPLrDbb3skwT1DaRjM_TJwjfrX4kc" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "feffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 107, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "mHMLwD4p6LBX-x0g74wL_8giSF09t_RfTjzCw8bR0Uw" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "fcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 108, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "l7T_9oLffwls0XVlaeJS20gtRUBqMZihr_KCpdpHTEk" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "f9ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 109, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "MXeBsBY7rnSszAbA1E75qRGiKw03-vdyZiFZH5ND6i8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "f3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 110, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fib48ky1kAJ_nRvEmw4aJCx9j0NiTT6PqyjuCOAstF4" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 111, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "6W0ngOVGmnRiCrWqL2IVHRQMRzMg2-GwKPGkj452-V8" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "e5ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 112, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "jWEsWDGqZLBXMA5-MQ86ozKvNAZv78qysInJWSh4-DI" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "e3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 113, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "jUQQjQXZQNPf5WR-p6h74k0NA2yfCpWiOGuDnnt78UU" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "ddffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 114, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "IaNdXbG2I3xzm1Y0WpMK7uNzzc-0cBJmeCqKxZSROyk" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "dbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 115, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "Pl77Y8NSzpQnYkgryTN6XTW6VWZHQ6xek9EflXM2yxA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000002", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 116, | |
"comment" : "edge case for shared secret", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "jkHwXqPHZXK-EErYeI6XCGPG4so9quZNHC9G3s__pXE" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "YKOk8TC5ilvksc7bfLhVhKNSDhQtR03JzLkJoHOpdn8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "fGzLqS_wCm6DOCzQa57J5lger-PCQ_DFLPaOBnhD43o" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000008000", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 117, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "yNB8Rrv7gndTuSxw5JWDzov6RGQac4IljqkD1qgyyWs", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "DYBVOO5LoABpfpLjgBPm6AyuVncF02abeXuMrZ38yBQ" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"SmallPublicKey", | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 118, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "kLfvI3oFXzSNy0xDZKWdfTHtx6t48solTiyBCXXD9UM", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "MnmWy1HV1sPSgwqCqYcK9AgXbvuGPGVcD6sKN6UAACI" | |
}, | |
"shared" : "0000000000000000000000000000000000000000000000000000000000000000", | |
"result" : "acceptable", | |
"flags" : [ | |
"SmallPublicKey", | |
"LowOrderPublic", | |
"ZeroSharedSecret" | |
] | |
}, | |
{ | |
"tcId" : 119, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "4Ki-YzFcTw8KP-5gf0TTClW-Y_CVYdmvk-Chyc8O11E", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "ODBWMsMqQVeqFgcFE8NgWwE-kOcr4M140YaO6ThGmm8" | |
}, | |
"shared" : "0c50ac2bfb6815b47d0734c5981379882a24a2de6166853c735329d978baee4d", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 120, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "EgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "CECor1vExI2ohQ6XPX4UIg9FwZLOpAINN37s0lx8NkM", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "nNMseMuIR_NTcYvflOoNb5QWxJbDEuUoShxYo-05uHY" | |
}, | |
"shared" : "77557137a2a2a651c49627a9b239ac1f2bf78b8a3e72168ccecc10a51fc5ae66", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 121, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "AJIinHU6cShNCFOQlHCthHq2L0OepRSC-0HTDMO0R0M", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "gB0ToJkJyRFDEdkxxUXiSxbEAtHOwfFAc6z2Jj-a-mk" | |
}, | |
"shared" : "c88e719ae5c2248b5f90da346a92ae214f44a5d129fd4e9c26cf6a0da1efe077", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 122, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "uNor0tfPJaPlTl-H7hWRHv-5_4a67EB21WyOlTZwv1s", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "UWgpa2aVZDywm5F7wJ9BdnK5F52YjW2CnmW1FC15QEw" | |
}, | |
"shared" : "4bf6789c7ea036f973cde0af02d6fdb9b64a0b957022111439570fad7d7a453f", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 123, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "__________________8AAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "aEzUIK9Bq7PRDGHncyOM9ynCFV-UGsJ-FfTDf0mylXY", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "oTfJvihcVh61Ua1e--YodUR6v2fagQASjLkFY8713Hw" | |
}, | |
"shared" : "bcac235ae15cc7148372e11f9315e3bc76ceb904b3d2a8246bd9d9be2082bb62", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 124, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AQAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "OM-sqkRgeWtN5DS91nOfDQQ2cfl_qClRdRHmtHqpNHQ", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "RfAT0obodgYOBVZ9WBrH4RaZAbPD47SdQOMbgcOMFRs" | |
}, | |
"shared" : "5dd7d16fff25cc5fdf9e03c3157cb0a235cea17d618f36e6f13461567edeb943", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 125, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "MIMujLYnrBlfd7EQUljkuxi5ml7ZREBL-ss6A5-9sUs", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "3-G4hM6sU91iQ_MrgkL-vrTTJ48GaXsdFCovPxKmLBU" | |
}, | |
"shared" : "2816fd031d51d6750f9225ede950625cca47441ca97e43092650396991afcb6d", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 126, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "2Bj9aXHlRkR_Nh0z09uz6tzwL7KPJG8dUQe5BzqTzU8", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "JdDr5FOMMbDp67Fk5P2zPd0UIOUoiWO4Yyu7RY9Hsho" | |
}, | |
"shared" : "7ed8f2d5424e7ebb3edbdf4abe455447e5a48b658e64abd06c218f33bd151f64", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 127, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "_____________________________________wAAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "ECHNhoK9w_XakQCt_1siMLOs2DazpFXbg1Kiwn5p0X4", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "QhgTlcsLxCdCnGFPqIYWzbDjsR-AnAAkjHi6ASx1ODs" | |
}, | |
"shared" : "e8620ed5ca89c72c5ea5503e6dcd01131cd5e875c30e13d5dc619ce28ec7d559", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |
{ | |
"tcId" : 128, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAA" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "IOTJJHECKSZV1nZdfYTG_OUwm4AEBF2uptfX3K1GKHE", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "6pzP6i6oBYpeZEug6z9dg3risLkS8n390tlNs4AVrDY" | |
}, | |
"shared" : "ceadb264379dcadd6e3bb8ad24dd653d2a609dd703d41da6caf3ad00f001862c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 129, | |
"comment" : "special case public key", | |
"public" : { | |
"crv" : "X25519", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "qLnHNyEYpTqd6erwho47Gj2I6Byy5Af_cSXp9cUIhxU" | |
}, | |
"private" : { | |
"crv" : "X25519", | |
"d" : "kLFQ1GLeUSBW1b1VFzB0lptJbyYvtpFrcz9iY6gHiXE", | |
"kid" : "none", | |
"kty" : "OKP", | |
"x" : "ZChyrqgy67oX7nlXlrtBXSLu0_WFiUNqyqjtcKazhBg" | |
}, | |
"shared" : "f86cc7bf1be49574fc97a074282e9bb5cd238e002bc8e9a7b8552b2d60eccb52", | |
"result" : "acceptable", | |
"flags" : [ | |
"Twist" | |
] | |
}, | |