1{ 2 "algorithm" : "EDDSA", 3 "generatorVersion" : "0.8r12", 4 "numberOfTests" : 86, 5 "header" : [ 6 "Test vectors of type EddsaVerify are intended for testing", 7 "the verification of Eddsa signatures." 8 ], 9 "notes" : { 10 "SignatureMalleability" : "EdDSA signatures are non-malleable, if implemented accordingly. Failing to check the range of S allows to modify signatures. See RFC 8032, Section 5.2.7 and Section 8.4." 11 }, 12 "schema" : "eddsa_verify_schema.json", 13 "testGroups" : [ 14 { 15 "jwk" : { 16 "crv" : "Ed448", 17 "d" : "iDAeB2UY01N_kwLuD1Ij5LY-HwFgB9PC69_sX3CZfoEZxrrQrnuAP0h5HKjsVJqiobhi96UVkLnV", 18 "kid" : "none", 19 "kty" : "OKP", 20 "x" : "QZYQpTSvEn9YOwSBjNt_D_MAsCXy4BaCvK4z_Wkc7gOVEd8M3caQ7peEJuizjlDOWvfc-6UPcEwA" 21 }, 22 "key" : { 23 "curve" : "edwards448", 24 "keySize" : 448, 25 "pk" : "419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00", 26 "sk" : "88301e076518d3537f9302ee0f5223e4b63e1f016007d3c2ebdfec5f70997e8119c6bad0ae7b803f48791ca8ec549aa2a1b862f7a51590b9d5", 27 "type" : "EDDSAKeyPair" 28 }, 29 "keyDer" : "3043300506032b6571033a00419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00", 30 "keyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAQZYQpTSvEn9YOwSBjNt/D/MAsCXy4BaCvK4z/Wkc7gOVEd8M3caQ7peEJuizjlDOWvfc+6UPcEwA\n-----END PUBLIC KEY-----\n", 31 "type" : "EddsaVerify", 32 "tests" : [ 33 { 34 "tcId" : 1, 35 "comment" : "", 36 "msg" : "", 37 "sig" : "cf7953007666e12f73af9ec92e3e018da5ee5a8d5b17f5100a354c58f1d5f4bb37ab835c52f72374c72d612689149cf6d36a70db6dc5a6c400b597348e0e31e51e65bb144e63c892a367b4c055c036aa6cd7e728cdd2a098963bda863903e6dd025b5a5d891209f4e28537694804e50b0800", 38 "result" : "valid", 39 "flags" : [] 40 }, 41 { 42 "tcId" : 2, 43 "comment" : "", 44 "msg" : "78", 45 "sig" : "c56e94d5c9ca860c244f33db556bf6b3cec38b024b77604a35d6a07211b1316b9a027133c374b86f72665cc45ce01583a2e0f2775c6172da801acef168717cab1196cddfb149359dfef589756257cc2d6b02fc516d8d41b4adaa3f11428f41410ef0dc3c1b008d3d052173d4389508ed0100", 46 "result" : "valid", 47 "flags" : [] 48 }, 49 { 50 "tcId" : 3, 51 "comment" : "", 52 "msg" : "54657374", 53 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd982600", 54 "result" : "valid", 55 "flags" : [] 56 }, 57 { 58 "tcId" : 4, 59 "comment" : "", 60 "msg" : "48656c6c6f", 61 "sig" : "442e33780f199dd7bc71d1335f74df7f3a0ec789e21a175c1bffddb6e50091998d969ac8194b3acefb7702f6c222f84f7eeca3b80406f1fe80687915e7925bf52deb47b6b779e26d30eec7c5fef03580f280a089eefd0bacc9fbbb6a4d73a591d1671d192e6bbcfdb79ad3db5673a1263000", 62 "result" : "valid", 63 "flags" : [] 64 }, 65 { 66 "tcId" : 5, 67 "comment" : "", 68 "msg" : "313233343030", 69 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff28060a05236fc9c1682b0e55b60a082c9a57bffe61ef4dda5ce65df539805122b3a09a05976d41ad68ab52df85428152c57da93531e5d16920e00", 70 "result" : "valid", 71 "flags" : [] 72 }, 73 { 74 "tcId" : 6, 75 "comment" : "", 76 "msg" : "000000000000000000000000", 77 "sig" : "a8ca64d1ab00eae77fd2854d8422db3ae12fca91c14f274f30a44df98590786ec4cbb96a9564fc1b9b16c22d2bd00aa65f0876323729f5ac809fb0b89a4d3f27afbabb596851d835173d60ea34e0875359f3d6adb13cef1395b7eaa5f9147583ff38b4deb183062874915bf194ae61072300", 78 "result" : "valid", 79 "flags" : [] 80 }, 81 { 82 "tcId" : 7, 83 "comment" : "", 84 "msg" : "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161", 85 "sig" : "b205d3e24ccef64c1e86f15f48ddfa682453503489475188b04a8f55860b3c8a9c01e6de820bb7d9b15daff8de25a4a870e987157a115ec1802da0d0606da12842ea7eab658b5eea6dd1f3a641a5174425578003cd318b8d6b8dcb4de954b5078d1912c578ad8281515d6df3672b94173f00", 86 "result" : "valid", 87 "flags" : [] 88 }, 89 { 90 "tcId" : 8, 91 "comment" : "", 92 "msg" : "202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f60", 93 "sig" : "3492ef66e5fdf1503e9e206c5c2f0d4b7891aad793575527d2251e0df1b97c2feac188bc382ce3c92c4bc36ba2695f32bedadd480eaa932300d0db1f9a9c60844d2ea5aea64933c7be46c4f9d21cb48b39eae23d08496de7ce9501197185cc5d4ff8aa4b018ce7ad321f6a7d778c4a070400", 94 "result" : "valid", 95 "flags" : [] 96 }, 97 { 98 "tcId" : 9, 99 "comment" : "", 100 "msg" : "ffffffffffffffffffffffffffffffff", 101 "sig" : "545e1905af1b5886552eaf78e17304c6f83fcfb3444df2d1ea056486db615e3bb29131bb0c1fd295364dc515dae581967148eb23c6c9012e806d3623baff00548c648e3cb3756aaaaf659f2fb7dd2e71c7611448593ca63f2a98913ab7f182e6820eaf1334e2745e0e7bc0dccab98de71600", 102 "result" : "valid", 103 "flags" : [] 104 }, 105 { 106 "tcId" : 10, 107 "comment" : "special values for r and s", 108 "msg" : "3f", 109 "sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 110 "result" : "invalid", 111 "flags" : [] 112 }, 113 { 114 "tcId" : 11, 115 "comment" : "special values for r and s", 116 "msg" : "3f", 117 "sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 118 "result" : "invalid", 119 "flags" : [] 120 }, 121 { 122 "tcId" : 12, 123 "comment" : "special values for r and s", 124 "msg" : "3f", 125 "sig" : "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f24458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", 126 "result" : "invalid", 127 "flags" : [] 128 }, 129 { 130 "tcId" : 13, 131 "comment" : "special values for r and s", 132 "msg" : "3f", 133 "sig" : "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", 134 "result" : "invalid", 135 "flags" : [] 136 }, 137 { 138 "tcId" : 14, 139 "comment" : "special values for r and s", 140 "msg" : "3f", 141 "sig" : "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff", 142 "result" : "invalid", 143 "flags" : [] 144 }, 145 { 146 "tcId" : 15, 147 "comment" : "special values for r and s", 148 "msg" : "3f", 149 "sig" : "01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 150 "result" : "invalid", 151 "flags" : [] 152 }, 153 { 154 "tcId" : 16, 155 "comment" : "special values for r and s", 156 "msg" : "3f", 157 "sig" : "01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 158 "result" : "invalid", 159 "flags" : [] 160 }, 161 { 162 "tcId" : 17, 163 "comment" : "special values for r and s", 164 "msg" : "3f", 165 "sig" : "0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f24458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", 166 "result" : "invalid", 167 "flags" : [] 168 }, 169 { 170 "tcId" : 18, 171 "comment" : "special values for r and s", 172 "msg" : "3f", 173 "sig" : "0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", 174 "result" : "invalid", 175 "flags" : [] 176 }, 177 { 178 "tcId" : 19, 179 "comment" : "special values for r and s", 180 "msg" : "3f", 181 "sig" : "0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff", 182 "result" : "invalid", 183 "flags" : [] 184 }, 185 { 186 "tcId" : 20, 187 "comment" : "special values for r and s", 188 "msg" : "3f", 189 "sig" : "f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 190 "result" : "invalid", 191 "flags" : [] 192 }, 193 { 194 "tcId" : 21, 195 "comment" : "special values for r and s", 196 "msg" : "3f", 197 "sig" : "f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 198 "result" : "invalid", 199 "flags" : [] 200 }, 201 { 202 "tcId" : 22, 203 "comment" : "special values for r and s", 204 "msg" : "3f", 205 "sig" : "f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3ff24458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", 206 "result" : "invalid", 207 "flags" : [] 208 }, 209 { 210 "tcId" : 23, 211 "comment" : "special values for r and s", 212 "msg" : "3f", 213 "sig" : "f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3ff34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", 214 "result" : "invalid", 215 "flags" : [] 216 }, 217 { 218 "tcId" : 24, 219 "comment" : "special values for r and s", 220 "msg" : "3f", 221 "sig" : "f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff", 222 "result" : "invalid", 223 "flags" : [] 224 }, 225 { 226 "tcId" : 25, 227 "comment" : "special values for r and s", 228 "msg" : "3f", 229 "sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 230 "result" : "invalid", 231 "flags" : [] 232 }, 233 { 234 "tcId" : 26, 235 "comment" : "special values for r and s", 236 "msg" : "3f", 237 "sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 238 "result" : "invalid", 239 "flags" : [] 240 }, 241 { 242 "tcId" : 27, 243 "comment" : "special values for r and s", 244 "msg" : "3f", 245 "sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffff24458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", 246 "result" : "invalid", 247 "flags" : [] 248 }, 249 { 250 "tcId" : 28, 251 "comment" : "special values for r and s", 252 "msg" : "3f", 253 "sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffff34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", 254 "result" : "invalid", 255 "flags" : [] 256 }, 257 { 258 "tcId" : 29, 259 "comment" : "special values for r and s", 260 "msg" : "3f", 261 "sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff", 262 "result" : "invalid", 263 "flags" : [] 264 }, 265 { 266 "tcId" : 30, 267 "comment" : "empty signature", 268 "msg" : "54657374", 269 "sig" : "", 270 "result" : "invalid", 271 "flags" : [] 272 }, 273 { 274 "tcId" : 31, 275 "comment" : "s missing", 276 "msg" : "54657374", 277 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f280", 278 "result" : "invalid", 279 "flags" : [] 280 }, 281 { 282 "tcId" : 32, 283 "comment" : "signature too short", 284 "msg" : "54657374", 285 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd98", 286 "result" : "invalid", 287 "flags" : [] 288 }, 289 { 290 "tcId" : 33, 291 "comment" : "signature too long", 292 "msg" : "54657374", 293 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd9826002020", 294 "result" : "invalid", 295 "flags" : [] 296 }, 297 { 298 "tcId" : 34, 299 "comment" : "include pk in signature", 300 "msg" : "54657374", 301 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd982600419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00", 302 "result" : "invalid", 303 "flags" : [] 304 }, 305 { 306 "tcId" : 35, 307 "comment" : "prepending 0 byte to signature", 308 "msg" : "54657374", 309 "sig" : "005d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd982600", 310 "result" : "invalid", 311 "flags" : [] 312 }, 313 { 314 "tcId" : 36, 315 "comment" : "prepending 0 byte to s", 316 "msg" : "54657374", 317 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f2800031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd982600", 318 "result" : "invalid", 319 "flags" : [] 320 }, 321 { 322 "tcId" : 37, 323 "comment" : "appending 0 byte to signature", 324 "msg" : "54657374", 325 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd98260000", 326 "result" : "invalid", 327 "flags" : [] 328 }, 329 { 330 "tcId" : 38, 331 "comment" : "removing 0 byte from signature", 332 "msg" : "5465737430", 333 "sig" : "dbd6384516ab6b0eb2d609414564ec217383b66040dfb0676128251ae24c1d7c179c21a9ee307dc13f8fe6550bc40187f093da85617bcf5d009d3ee8b798ad978b6e683bc4e911940ea82ea0b7e95dc24fe0b29e44663211892c2aaa3451379d22c289b94378f11fb700f1689d4a00d73e", 334 "result" : "invalid", 335 "flags" : [] 336 }, 337 { 338 "tcId" : 39, 339 "comment" : "removing 0 byte from signature", 340 "msg" : "546573743535", 341 "sig" : "ce2b2fff0bf445a36813cf2a76e0cc5619a4f16ee53f0fe3cd46fc0414db7248b32fbda54bbb37e708d6238076ea12bf850b964b044520bb80fbaf0e1d1ed3bcab261462df5e7f2de73ac9cbae26dfa29015039acf90575961fc9b91b9ca276dae7d5fa805bd202c5579a0f4c66e801400", 342 "result" : "invalid", 343 "flags" : [] 344 }, 345 { 346 "tcId" : 40, 347 "comment" : "dropping byte from signature", 348 "msg" : "546573743633", 349 "sig" : "c283ed36d78c275a5d02f7939aed2c4ef68320ae1bf6fc25e834b758046a6d52a480216a942dfe771f3bd307f4ce7d3f446e0824961bd5de80cda42b5cc38e6ec3d53f386978b9877d3c98a28ac8fc66630ffd178933a18de1aee23cab5011c9ff4c9277311b4c6c33acb8e82b8c693c00", 350 "result" : "invalid", 351 "flags" : [] 352 }, 353 { 354 "tcId" : 41, 355 "comment" : "removing leading 0 byte from signature", 356 "msg" : "54657374333631", 357 "sig" : "62e629bd2b8f595df401c362c766216d45de89fceecd99c69d323b5c53ad5ac3ea7224963feba2f2895551d94f548248ef8597d2a959f880d59934a5e8f07847834d66ba1a6b09de5dba692172b13f768f0c29e8196144c130d2353445d63cbd0b690794fdad30a48e8bb7cc2504f80700", 358 "result" : "invalid", 359 "flags" : [] 360 }, 361 { 362 "tcId" : 42, 363 "comment" : "modified bit 0 in R", 364 "msg" : "313233343030", 365 "sig" : "5cb94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280afc33a525116cc12e0d1c3a1fde6de518a6544f360d0fe18d5be7770b057a2bf792db4b7648fa84a6eaecae909e33fa59c5dfe4804ba2623", 366 "result" : "invalid", 367 "flags" : [] 368 }, 369 { 370 "tcId" : 43, 371 "comment" : "modified bit 1 in R", 372 "msg" : "313233343030", 373 "sig" : "5fb94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280f91386c3e9dd9e7c9af7ca6bbef8b7a44ae3d68eeade449d7dfbb31de8419eb943e2ecbcdd06df5227e82b9ded519a56e70f0a1c0fc17b06", 374 "result" : "invalid", 375 "flags" : [] 376 }, 377 { 378 "tcId" : 44, 379 "comment" : "modified bit 2 in R", 380 "msg" : "313233343030", 381 "sig" : "59b94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280f1aab07b4ad069dfafc01b4532e1e44cbf7177e1bdda197fc87434046db5b935afd9114ac5e1138eaead23c3b59dba9026d2da4a86fe800b", 382 "result" : "invalid", 383 "flags" : [] 384 }, 385 { 386 "tcId" : 45, 387 "comment" : "modified bit 7 in R", 388 "msg" : "313233343030", 389 "sig" : "ddb94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2807668402b7b093fc754019324077c1f842a7d2e35adf7b87094115cec459ad5419e162988ef42b1988d9b944d9d5a7ce09c6f342afa500839", 390 "result" : "invalid", 391 "flags" : [] 392 }, 393 { 394 "tcId" : 46, 395 "comment" : "modified bit 8 in R", 396 "msg" : "313233343030", 397 "sig" : "5db84c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280279b70338586b9e13e669191cc0dfc2a937d50a6118758de04a4ca41f4877abdb971afa87fe4b83bc243b8dfd2cb368aa389a4cb11e83e31", 398 "result" : "invalid", 399 "flags" : [] 400 }, 401 { 402 "tcId" : 47, 403 "comment" : "modified bit 16 in R", 404 "msg" : "313233343030", 405 "sig" : "5db94d53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280c7b847556b3a6f9447483899ab730a23004c695054dd57b1c3214fa87f632f39c8ff1471f0532b8eee4154930e1ca30d574b8f9e85b0432b", 406 "result" : "invalid", 407 "flags" : [] 408 }, 409 { 410 "tcId" : 48, 411 "comment" : "modified bit 31 in R", 412 "msg" : "313233343030", 413 "sig" : "5db94cd3101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2800b017917472b130a1cc1c8e995a252617d5ddaf1f3d48930b4876fa0d2cfedec90a8c85c8274892a1ca3b6cfce63ebfebc307210b844ae0c", 414 "result" : "invalid", 415 "flags" : [] 416 }, 417 { 418 "tcId" : 49, 419 "comment" : "modified bit 32 in R", 420 "msg" : "313233343030", 421 "sig" : "5db94c53111f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2805f38f6371860fcc4f2ec515afd35cb05d8941e2448cc469a15b8537e758b16d46b123581613462c2bb20d8a07299ab795d0998e1e4277931", 422 "result" : "invalid", 423 "flags" : [] 424 }, 425 { 426 "tcId" : 50, 427 "comment" : "modified bit 63 in R", 428 "msg" : "313233343030", 429 "sig" : "5db94c53101f529f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff28017111ba6fefd45e2490f1d53a184007fa073470706d7f4a9606fcad2954e74c32116ba7701d225b76e55164e64df3245c1031f0df734bd31", 430 "result" : "invalid", 431 "flags" : [] 432 }, 433 { 434 "tcId" : 51, 435 "comment" : "modified bit 64 in R", 436 "msg" : "313233343030", 437 "sig" : "5db94c53101f521f6d1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2808d7d0aa1fd81d0e31789921771c654338f96f0b557b615e3da55670271608a0e022e4e8cf393e309f8f6412281b6147e7fce42b089eb1e0c", 438 "result" : "invalid", 439 "flags" : [] 440 }, 441 { 442 "tcId" : 52, 443 "comment" : "modified bit 97 in R", 444 "msg" : "313233343030", 445 "sig" : "5db94c53101f521f6c1f43b60ca4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280b08d3be6ebf4e60bf6d74e105ea2fa9b965c62816bbd22ea3bb0c1acfd12300523ca76f94b6f789488a957fbeb212d713baccf95fd594f3d", 446 "result" : "invalid", 447 "flags" : [] 448 }, 449 { 450 "tcId" : 53, 451 "comment" : "modified bit 127 in R", 452 "msg" : "313233343030", 453 "sig" : "5db94c53101f521f6c1f43b60ea4d7606fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280a23f54857e9b0f72b2ef90d2768834590464d75933ed08c454faa762b3702a2b631c33c339d05b2e24c20a8214f99af31f93f80f416a1129", 454 "result" : "invalid", 455 "flags" : [] 456 }, 457 { 458 "tcId" : 54, 459 "comment" : "modified bit 240 in R", 460 "msg" : "313233343030", 461 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0881a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280734bdc399273d3403d934ceaae16e87a68c6bff6b77d8037ff41c97922498a58e704c29ab519d41bab70735f71fc26f589361e2b21754300", 462 "result" : "invalid", 463 "flags" : [] 464 }, 465 { 466 "tcId" : 55, 467 "comment" : "modified bit 247 in R", 468 "msg" : "313233343030", 469 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0800a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280ba961cc8d0765c99d57470ee1c0c77f0a562a198fd0175eddb0c033e0fb8525328c5e2c516e2b00f73609c7f769195eb1a02ff54090d781f", 470 "result" : "invalid", 471 "flags" : [] 472 }, 473 { 474 "tcId" : 56, 475 "comment" : "modified bit 248 in R", 476 "msg" : "313233343030", 477 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a97b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280e72685907da9e5a64e4142ed02fc0c6bf95763201db5942aac055fa87e6fdd32e483fd21ed4110d5d7ef619b740fef2ad8a71fe821e42a2a", 478 "result" : "invalid", 479 "flags" : [] 480 }, 481 { 482 "tcId" : 57, 483 "comment" : "modified bit 253 in R", 484 "msg" : "313233343030", 485 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880887b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280500646d67c74f13471f0ad034da530f7238fe7897e532af8ec2977643a410b1d054934df567e170276389e66b3f3ccb3c15aed239d04f72b", 486 "result" : "invalid", 487 "flags" : [] 488 }, 489 { 490 "tcId" : 58, 491 "comment" : "modified bit 254 in R", 492 "msg" : "313233343030", 493 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880e87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2807bb153b8e350aa736a91c921217578539600c1299ab76522ef8f6902d79c93f274073ee6beafe6200ecaf59f7cd11bb1c833f24bf30ed52d", 494 "result" : "invalid", 495 "flags" : [] 496 }, 497 { 498 "tcId" : 59, 499 "comment" : "modified bit 255 in R", 500 "msg" : "313233343030", 501 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880287b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2804a67b22be599d6433b87ea961c82c457ab50f64ac6b7efb0b2f90988927f83742303c278f8248e02d5679b41ed505aba0fb51110d0def810", 502 "result" : "invalid", 503 "flags" : [] 504 }, 505 { 506 "tcId" : 60, 507 "comment" : "modified bit 440 in R", 508 "msg" : "313233343030", 509 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff3807f452efb0cd97dab5506028b7b876830dee02a9c0cbd140dcde509638d4d546c30856b2151bdf79930df5bbb11f2beb66bcdc25ad75f2116", 510 "result" : "invalid", 511 "flags" : [] 512 }, 513 { 514 "tcId" : 61, 515 "comment" : "modified bit 441 in R", 516 "msg" : "313233343030", 517 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff0808d78231bb3c9a87c5b8d168fe05f8197503a3d73a6d700f436b5a76ab866388baa6930191a077aca7970058932c88b7f9e6ecb13c89dcd1d", 518 "result" : "invalid", 519 "flags" : [] 520 }, 521 { 522 "tcId" : 62, 523 "comment" : "modified bit 447 in R", 524 "msg" : "313233343030", 525 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cf72809e5a8406063fb3545f0fb627f841b2e3a85ad5d378018e8b58fe58e14ee5520d57abc9140e9c5a75a8b09ac3334dd0cad69b48771284321d", 526 "result" : "invalid", 527 "flags" : [] 528 }, 529 { 530 "tcId" : 63, 531 "comment" : "modified bit 448 in R", 532 "msg" : "313233343030", 533 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2811adf92201088e051ee48b57aecf46edfc68e5baeed5ae4910ba5681d370f75ab593811e18293ef0808581c254196bcbf2b4c454136a6711b", 534 "result" : "invalid", 535 "flags" : [] 536 }, 537 { 538 "tcId" : 64, 539 "comment" : "modified bit 449 in R", 540 "msg" : "313233343030", 541 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2825e06c3999e8308be439c40940b0075d3e4f65147c1608cbe6e9c432e33bed6686f9393ae2568f0ad60febcb4b6179c0d90d034e7c3c46810", 542 "result" : "invalid", 543 "flags" : [] 544 }, 545 { 546 "tcId" : 65, 547 "comment" : "modified bit 454 in R", 548 "msg" : "313233343030", 549 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2c02456bbd141df048dbf1843be6d5fef402483314c2af547b361a09f3319489eaede43404df9faf634c1298d678b5261c808b0be3726013e39", 550 "result" : "invalid", 551 "flags" : [] 552 }, 553 { 554 "tcId" : 66, 555 "comment" : "modified bit 455 in R", 556 "msg" : "313233343030", 557 "sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2007106d2a896a7fec6dee53eea272d9b6e738c340295416b50f39a9463a5635450b9f93c4c06737affd42ae06cee5879c96c0bd58a91345503", 558 "result" : "invalid", 559 "flags" : [] 560 }, 561 { 562 "tcId" : 67, 563 "comment" : "R==0", 564 "msg" : "313233343030", 565 "sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000027ab98ab862e4e7ec3361a45ac1993e9b47d9ac40db91faed752399cee0413122b47346594fd7d2c8949b43e4cabaf17d8339ea0e307023f", 566 "result" : "invalid", 567 "flags" : [] 568 }, 569 { 570 "tcId" : 68, 571 "comment" : "invalid R", 572 "msg" : "313233343030", 573 "sig" : "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd11bae33a0999fd3fd2bed6fa5577685e8fd595e79c006e58fd35f69f91b1d853553fb4006019a07725aa37773883dbe12253812887ac828", 574 "result" : "invalid", 575 "flags" : [] 576 }, 577 { 578 "tcId" : 69, 579 "comment" : "all bits flipped in R", 580 "msg" : "313233343030", 581 "sig" : "a246b3acefe0ade093e0bc49f15b281f9042b63d175050b033d7619ba1f77f578471aa7a720b30dd6e58cfc0025bb947d5ee84b22bf7300d7f334e48141af0fade1469f5dedb851c9e725d27bd65012bada05e70cde641aad9ce0bea4983164f73816b6f13095e6b93eb03e850cad0cf0d", 582 "result" : "invalid", 583 "flags" : [] 584 }, 585 { 586 "tcId" : 70, 587 "comment" : "checking malleability ", 588 "msg" : "54657374", 589 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f280241bd6142ddb02c0f9fa133955d3e610b4b27cb814227de8b241ef4e86402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd9866", 590 "result" : "invalid", 591 "flags" : [ 592 "SignatureMalleability" 593 ] 594 }, 595 { 596 "tcId" : 71, 597 "comment" : "checking malleability ", 598 "msg" : "54657374", 599 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28017602ec0bf9d7be34e8ad9c6c795533244e952675efdcbac9c65b9cb85402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd98a6", 600 "result" : "invalid", 601 "flags" : [ 602 "SignatureMalleability" 603 ] 604 }, 605 { 606 "tcId" : 72, 607 "comment" : "checking malleability ", 608 "msg" : "54657374", 609 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f280fde9de16e5226d2af9a864e2ac1a2d756456ffc4f1b3693570ad4dc584402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd9826", 610 "result" : "invalid", 611 "flags" : [ 612 "SignatureMalleability" 613 ] 614 }, 615 { 616 "tcId" : 73, 617 "comment" : "checking malleability ", 618 "msg" : "54657374", 619 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f280c9fd3fc42f2d50b84de67a197724e0faa43058801821a546173d76b882402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd9826", 620 "result" : "invalid", 621 "flags" : [ 622 "SignatureMalleability" 623 ] 624 }, 625 { 626 "tcId" : 74, 627 "comment" : "checking malleability ", 628 "msg" : "54657374", 629 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd9866", 630 "result" : "invalid", 631 "flags" : [ 632 "SignatureMalleability" 633 ] 634 }, 635 { 636 "tcId" : 75, 637 "comment" : "checking malleability ", 638 "msg" : "54657374", 639 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd98a6", 640 "result" : "invalid", 641 "flags" : [ 642 "SignatureMalleability" 643 ] 644 }, 645 { 646 "tcId" : 76, 647 "comment" : "checking malleability ", 648 "msg" : "54657374", 649 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd9826", 650 "result" : "invalid", 651 "flags" : [ 652 "SignatureMalleability" 653 ] 654 }, 655 { 656 "tcId" : 77, 657 "comment" : "checking malleability ", 658 "msg" : "54657374", 659 "sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28030d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d285402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd9826", 660 "result" : "invalid", 661 "flags" : [ 662 "SignatureMalleability" 663 ] 664 } 665 ] 666 }, 667 { 668 "jwk" : { 669 "crv" : "Ed448", 670 "d" : "bIKlYsuAjRDWMr6JyFE-v2ySnzTd-oyfY8mWDvbjSKNSjIo_zC8ETjmj_FuUSS-PAy51SaIAmPlb", 671 "kid" : "none", 672 "kty" : "OKP", 673 "x" : "X9dEm1m0Yf0s54fsYWrUah2hNCSFpw4fig6nXYDpZ3jt8SR2m0bHBhvWeD3x5Q9s0foavq_oJWGA" 674 }, 675 "key" : { 676 "curve" : "edwards448", 677 "keySize" : 448, 678 "pk" : "5fd7449b59b461fd2ce787ec616ad46a1da1342485a70e1f8a0ea75d80e96778edf124769b46c7061bd6783df1e50f6cd1fa1abeafe8256180", 679 "sk" : "6c82a562cb808d10d632be89c8513ebf6c929f34ddfa8c9f63c9960ef6e348a3528c8a3fcc2f044e39a3fc5b94492f8f032e7549a20098f95b", 680 "type" : "EDDSAKeyPair" 681 }, 682 "keyDer" : "3043300506032b6571033a005fd7449b59b461fd2ce787ec616ad46a1da1342485a70e1f8a0ea75d80e96778edf124769b46c7061bd6783df1e50f6cd1fa1abeafe8256180", 683 "keyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAX9dEm1m0Yf0s54fsYWrUah2hNCSFpw4fig6nXYDpZ3jt8SR2m0bHBhvWeD3x5Q9s0foavq/oJWGA\n-----END PUBLIC KEY-----\n", 684 "type" : "EddsaVerify", 685 "tests" : [ 686 { 687 "tcId" : 78, 688 "comment" : "RFC 8032", 689 "msg" : "", 690 "sig" : "533a37f6bbe457251f023c0d88f976ae2dfb504a843e34d2074fd823d41a591f2b233f034f628281f2fd7a22ddd47d7828c59bd0a21bfd3980ff0d2028d4b18a9df63e006c5d1c2d345b925d8dc00b4104852db99ac5c7cdda8530a113a0f4dbb61149f05a7363268c71d95808ff2e652600", 691 "result" : "valid", 692 "flags" : [] 693 } 694 ] 695 }, 696 { 697 "jwk" : { 698 "crv" : "Ed448", 699 "d" : "xOqwXTVwB8Yy89u0hImSTVUrCP4MNToNSh8ArNosRjr76mfF6NKHfF47w5emWZSe-AIelU4KEidO", 700 "kid" : "none", 701 "kty" : "OKP", 702 "x" : "Q7oo9DDN_0Vq5TFUX37NCsg0pV2TWMA3K_oMbGeYwIZq6gHrAHQoArhDjqTLghacI1FgYntMOpSA" 703 }, 704 "key" : { 705 "curve" : "edwards448", 706 "keySize" : 448, 707 "pk" : "43ba28f430cdff456ae531545f7ecd0ac834a55d9358c0372bfa0c6c6798c0866aea01eb00742802b8438ea4cb82169c235160627b4c3a9480", 708 "sk" : "c4eab05d357007c632f3dbb48489924d552b08fe0c353a0d4a1f00acda2c463afbea67c5e8d2877c5e3bc397a659949ef8021e954e0a12274e", 709 "type" : "EDDSAKeyPair" 710 }, 711 "keyDer" : "3043300506032b6571033a0043ba28f430cdff456ae531545f7ecd0ac834a55d9358c0372bfa0c6c6798c0866aea01eb00742802b8438ea4cb82169c235160627b4c3a9480", 712 "keyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAQ7oo9DDN/0Vq5TFUX37NCsg0pV2TWMA3K/oMbGeYwIZq6gHrAHQoArhDjqTLghacI1FgYntMOpSA\n-----END PUBLIC KEY-----\n", 713 "type" : "EddsaVerify", 714 "tests" : [ 715 { 716 "tcId" : 79, 717 "comment" : "RFC 8032: 1 octet", 718 "msg" : "03", 719 "sig" : "26b8f91727bd62897af15e41eb43c377efb9c610d48f2335cb0bd0087810f4352541b143c4b981b7e18f62de8ccdf633fc1bf037ab7cd779805e0dbcc0aae1cbcee1afb2e027df36bc04dcecbf154336c19f0af7e0a6472905e799f1953d2a0ff3348ab21aa4adafd1d234441cf807c03a00", 720 "result" : "valid", 721 "flags" : [] 722 }, 723 { 724 "tcId" : 80, 725 "comment" : "RFC 8032: 1 octet with context", 726 "msg" : "03", 727 "sig" : "d4f8f6131770dd46f40867d6fd5d5055de43541f8c5e35abbcd001b32a89f7d2151f7647f11d8ca2ae279fb842d607217fce6e042f6815ea000c85741de5c8da1144a6a1aba7f96de42505d7a7298524fda538fccbbb754f578c1cad10d54d0d5428407e85dcbc98a49155c13764e66c3c00", 728 "result" : "invalid", 729 "flags" : [] 730 } 731 ] 732 }, 733 { 734 "jwk" : { 735 "crv" : "Ed448", 736 "d" : "zSPST3FCdOdENDI3uTKQ9RH2Ql-Y5kRZ_yA-iYUIP_32BQBVOrwOBc0CGEvbicTM1n4YeVEmfrMo", 737 "kid" : "none", 738 "kty" : "OKP", 739 "x" : "3OqeePNaG_NJmoMbELhskKrAHNhLZ6AQm1WjbpMoseNl_OFh1xznExpUPqTLX36fHYsAaWRHABQA" 740 }, 741 "key" : { 742 "curve" : "edwards448", 743 "keySize" : 448, 744 "pk" : "dcea9e78f35a1bf3499a831b10b86c90aac01cd84b67a0109b55a36e9328b1e365fce161d71ce7131a543ea4cb5f7e9f1d8b00696447001400", 745 "sk" : "cd23d24f714274e744343237b93290f511f6425f98e64459ff203e8985083ffdf60500553abc0e05cd02184bdb89c4ccd67e187951267eb328", 746 "type" : "EDDSAKeyPair" 747 }, 748 "keyDer" : "3043300506032b6571033a00dcea9e78f35a1bf3499a831b10b86c90aac01cd84b67a0109b55a36e9328b1e365fce161d71ce7131a543ea4cb5f7e9f1d8b00696447001400", 749 "keyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoA3OqeePNaG/NJmoMbELhskKrAHNhLZ6AQm1WjbpMoseNl/OFh1xznExpUPqTLX36fHYsAaWRHABQA\n-----END PUBLIC KEY-----\n", 750 "type" : "EddsaVerify", 751 "tests" : [ 752 { 753 "tcId" : 81, 754 "comment" : "RFC 8032: 11 bytes", 755 "msg" : "0c3e544074ec63b0265e0c", 756 "sig" : "1f0a8888ce25e8d458a21130879b840a9089d999aaba039eaf3e3afa090a09d389dba82c4ff2ae8ac5cdfb7c55e94d5d961a29fe0109941e00b8dbdeea6d3b051068df7254c0cdc129cbe62db2dc957dbb47b51fd3f213fb8698f064774250a5028961c9bf8ffd973fe5d5c206492b140e00", 757 "result" : "valid", 758 "flags" : [] 759 } 760 ] 761 }, 762 { 763 "jwk" : { 764 "crv" : "Ed448", 765 "d" : "JYzdStoy7Zyf9U5jdWrlgvuPqyrHIfLI5nanJ2hRPZOfY93bVWCRM_Ka34bsmSncy1LBxf0v9-Ib", 766 "kid" : "none", 767 "kty" : "OKP", 768 "x" : "O6FtoMbyzB8wGHdAdW9eeY1rxfwBXXxjzJUQ7j_UStwk2OlotuRub5TRm5RTYXJr114UnvCYF_WA" 769 }, 770 "key" : { 771 "curve" : "edwards448", 772 "keySize" : 448, 773 "pk" : "3ba16da0c6f2cc1f30187740756f5e798d6bc5fc015d7c63cc9510ee3fd44adc24d8e968b6e46e6f94d19b945361726bd75e149ef09817f580", 774 "sk" : "258cdd4ada32ed9c9ff54e63756ae582fb8fab2ac721f2c8e676a72768513d939f63dddb55609133f29adf86ec9929dccb52c1c5fd2ff7e21b", 775 "type" : "EDDSAKeyPair" 776 }, 777 "keyDer" : "3043300506032b6571033a003ba16da0c6f2cc1f30187740756f5e798d6bc5fc015d7c63cc9510ee3fd44adc24d8e968b6e46e6f94d19b945361726bd75e149ef09817f580", 778 "keyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAO6FtoMbyzB8wGHdAdW9eeY1rxfwBXXxjzJUQ7j/UStwk2OlotuRub5TRm5RTYXJr114UnvCYF/WA\n-----END PUBLIC KEY-----\n", 779 "type" : "EddsaVerify", 780 "tests" : [ 781 { 782 "tcId" : 82, 783 "comment" : "RFC 8032: 12 bytes", 784 "msg" : "64a65f3cdedcdd66811e2915", 785 "sig" : "7eeeab7c4e50fb799b418ee5e3197ff6bf15d43a14c34389b59dd1a7b1b85b4ae90438aca634bea45e3a2695f1270f07fdcdf7c62b8efeaf00b45c2c96ba457eb1a8bf075a3db28e5c24f6b923ed4ad747c3c9e03c7079efb87cb110d3a99861e72003cbae6d6b8b827e4e6c143064ff3c00", 786 "result" : "valid", 787 "flags" : [] 788 } 789 ] 790 }, 791 { 792 "jwk" : { 793 "crv" : "Ed448", 794 "d" : "fvToRUQjZ1L7tWuPMaI6EOQoFPX1XKA3zcwRxkyaOylJwbtgcAMUYRcypsL-qY7rwCZqEak5cBAO", 795 "kid" : "none", 796 "kty" : "OKP", 797 "x" : "s9oHmwqkk6V3ICnwRnuuvuWoES2dOiJTI2HaKU97s4FcXcWeF2tNnzgcoJOOE8bAexdL5l36V46A" 798 }, 799 "key" : { 800 "curve" : "edwards448", 801 "keySize" : 448, 802 "pk" : "b3da079b0aa493a5772029f0467baebee5a8112d9d3a22532361da294f7bb3815c5dc59e176b4d9f381ca0938e13c6c07b174be65dfa578e80", 803 "sk" : "7ef4e84544236752fbb56b8f31a23a10e42814f5f55ca037cdcc11c64c9a3b2949c1bb60700314611732a6c2fea98eebc0266a11a93970100e", 804 "type" : "EDDSAKeyPair" 805 }, 806 "keyDer" : "3043300506032b6571033a00b3da079b0aa493a5772029f0467baebee5a8112d9d3a22532361da294f7bb3815c5dc59e176b4d9f381ca0938e13c6c07b174be65dfa578e80", 807 "keyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAs9oHmwqkk6V3ICnwRnuuvuWoES2dOiJTI2HaKU97s4FcXcWeF2tNnzgcoJOOE8bAexdL5l36V46A\n-----END PUBLIC KEY-----\n", 808 "type" : "EddsaVerify", 809 "tests" : [ 810 { 811 "tcId" : 83, 812 "comment" : "RFC 8032: 13 bytes", 813 "msg" : "64a65f3cdedcdd66811e2915e7", 814 "sig" : "6a12066f55331b6c22acd5d5bfc5d71228fbda80ae8dec26bdd306743c5027cb4890810c162c027468675ecf645a83176c0d7323a2ccde2d80efe5a1268e8aca1d6fbc194d3f77c44986eb4ab4177919ad8bec33eb47bbb5fc6e28196fd1caf56b4e7e0ba5519234d047155ac727a1053100", 815 "result" : "valid", 816 "flags" : [] 817 } 818 ] 819 }, 820 { 821 "jwk" : { 822 "crv" : "Ed448", 823 "d" : "1l3zQa0T4AhWdoi67dqOnc3BfcAkl06ltCJ7ZTDjOb_yH5nmjKaWjzzKbf4PufT6tPoTXVVC6j8B", 824 "kid" : "none", 825 "kty" : "OKP", 826 "x" : "35cF9Y7bq4Asf4Njz-VWCrHGEywgqfHdFjSDom-KxTo51oCL9KHfvSYbCZuwOz-1CQbLKL2KCB8A" 827 }, 828 "key" : { 829 "curve" : "edwards448", 830 "keySize" : 448, 831 "pk" : "df9705f58edbab802c7f8363cfe5560ab1c6132c20a9f1dd163483a26f8ac53a39d6808bf4a1dfbd261b099bb03b3fb50906cb28bd8a081f00", 832 "sk" : "d65df341ad13e008567688baedda8e9dcdc17dc024974ea5b4227b6530e339bff21f99e68ca6968f3cca6dfe0fb9f4fab4fa135d5542ea3f01", 833 "type" : "EDDSAKeyPair" 834 }, 835 "keyDer" : "3043300506032b6571033a00df9705f58edbab802c7f8363cfe5560ab1c6132c20a9f1dd163483a26f8ac53a39d6808bf4a1dfbd261b099bb03b3fb50906cb28bd8a081f00", 836 "keyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoA35cF9Y7bq4Asf4Njz+VWCrHGEywgqfHdFjSDom+KxTo51oCL9KHfvSYbCZuwOz+1CQbLKL2KCB8A\n-----END PUBLIC KEY-----\n", 837 "type" : "EddsaVerify", 838 "tests" : [ 839 { 840 "tcId" : 84, 841 "comment" : "RFC 8032: 64 bytes", 842 "msg" : "bd0f6a3747cd561bdddf4640a332461a4a30a12a434cd0bf40d766d9c6d458e5512204a30c17d1f50b5079631f64eb3112182da3005835461113718d1a5ef944", 843 "sig" : "554bc2480860b49eab8532d2a533b7d578ef473eeb58c98bb2d0e1ce488a98b18dfde9b9b90775e67f47d4a1c3482058efc9f40d2ca033a0801b63d45b3b722ef552bad3b4ccb667da350192b61c508cf7b6b5adadc2c8d9a446ef003fb05cba5f30e88e36ec2703b349ca229c2670833900", 844 "result" : "valid", 845 "flags" : [] 846 } 847 ] 848 }, 849 { 850 "jwk" : { 851 "crv" : "Ed448", 852 "d" : "LsX-PBcEWr2xNqXmqRPjKrda5otT0vwUm3flBBMtN1abfnZrp0oZvWFiNDohyFkKqc68qQFMY231", 853 "kid" : "none", 854 "kty" : "OKP", 855 "x" : "eXVvAU3P4gefXdnnGL5BceLvJIagjyUYb2v_Q6mTa5v-EkArCK5leYo9geIunsgOdpCGLvPU7ToA" 856 }, 857 "key" : { 858 "curve" : "edwards448", 859 "keySize" : 448, 860 "pk" : "79756f014dcfe2079f5dd9e718be4171e2ef2486a08f25186f6bff43a9936b9bfe12402b08ae65798a3d81e22e9ec80e7690862ef3d4ed3a00", 861 "sk" : "2ec5fe3c17045abdb136a5e6a913e32ab75ae68b53d2fc149b77e504132d37569b7e766ba74a19bd6162343a21c8590aa9cebca9014c636df5", 862 "type" : "EDDSAKeyPair" 863 }, 864 "keyDer" : "3043300506032b6571033a0079756f014dcfe2079f5dd9e718be4171e2ef2486a08f25186f6bff43a9936b9bfe12402b08ae65798a3d81e22e9ec80e7690862ef3d4ed3a00", 865 "keyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAeXVvAU3P4gefXdnnGL5BceLvJIagjyUYb2v/Q6mTa5v+EkArCK5leYo9geIunsgOdpCGLvPU7ToA\n-----END PUBLIC KEY-----\n", 866 "type" : "EddsaVerify", 867 "tests" : [ 868 { 869 "tcId" : 85, 870 "comment" : "RFC 8032: 256 bytes", 871 "msg" : "15777532b0bdd0d1389f636c5f6b9ba734c90af572877e2d272dd078aa1e567cfa80e12928bb542330e8409f3174504107ecd5efac61ae7504dabe2a602ede89e5cca6257a7c77e27a702b3ae39fc769fc54f2395ae6a1178cab4738e543072fc1c177fe71e92e25bf03e4ecb72f47b64d0465aaea4c7fad372536c8ba516a6039c3c2a39f0e4d832be432dfa9a706a6e5c7e19f397964ca4258002f7c0541b590316dbc5622b6b2a6fe7a4abffd96105eca76ea7b98816af0748c10df048ce012d901015a51f189f3888145c03650aa23ce894c3bd889e030d565071c59f409a9981b51878fd6fc110624dcbcde0bf7a69ccce38fabdf86f3bef6044819de11", 872 "sig" : "c650ddbb0601c19ca11439e1640dd931f43c518ea5bea70d3dcde5f4191fe53f00cf966546b72bcc7d58be2b9badef28743954e3a44a23f880e8d4f1cfce2d7a61452d26da05896f0a50da66a239a8a188b6d825b3305ad77b73fbac0836ecc60987fd08527c1a8e80d5823e65cafe2a3d00", 873 "result" : "valid", 874 "flags" : [] 875 } 876 ] 877 }, 878 { 879 "jwk" : { 880 "crv" : "Ed448", 881 "d" : "hy0JN4D103MN98ISZks3uKDyT1aBDaqDgs1Po_d2NOxE3FTxwu2b6ob6-3Yy2L4ZnqFl9a1V3Zzo", 882 "kid" : "none", 883 "kty" : "OKP", 884 "x" : "qBsuinClrJT_28ybrfw_6wgB8lhXi7EUrUTs4ewOeZ2gjv-4HF1oXAxW9k7srvjN8RzDhzeDjPQA" 885 }, 886 "key" : { 887 "curve" : "edwards448", 888 "keySize" : 448, 889 "pk" : "a81b2e8a70a5ac94ffdbcc9badfc3feb0801f258578bb114ad44ece1ec0e799da08effb81c5d685c0c56f64eecaef8cdf11cc38737838cf400", 890 "sk" : "872d093780f5d3730df7c212664b37b8a0f24f56810daa8382cd4fa3f77634ec44dc54f1c2ed9bea86fafb7632d8be199ea165f5ad55dd9ce8", 891 "type" : "EDDSAKeyPair" 892 }, 893 "keyDer" : "3043300506032b6571033a00a81b2e8a70a5ac94ffdbcc9badfc3feb0801f258578bb114ad44ece1ec0e799da08effb81c5d685c0c56f64eecaef8cdf11cc38737838cf400", 894 "keyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAqBsuinClrJT/28ybrfw/6wgB8lhXi7EUrUTs4ewOeZ2gjv+4HF1oXAxW9k7srvjN8RzDhzeDjPQA\n-----END PUBLIC KEY-----\n", 895 "type" : "EddsaVerify", 896 "tests" : [ 897 { 898 "tcId" : 86, 899 "comment" : "RFC 8032: 1023 bytes", 900 "msg" : "6ddf802e1aae4986935f7f981ba3f0351d6273c0a0c22c9c0e8339168e675412a3debfaf435ed651558007db4384b650fcc07e3b586a27a4f7a00ac8a6fec2cd86ae4bf1570c41e6a40c931db27b2faa15a8cedd52cff7362c4e6e23daec0fbc3a79b6806e316efcc7b68119bf46bc76a26067a53f296dafdbdc11c77f7777e972660cf4b6a9b369a6665f02e0cc9b6edfad136b4fabe723d2813db3136cfde9b6d044322fee2947952e031b73ab5c603349b307bdc27bc6cb8b8bbd7bd323219b8033a581b59eadebb09b3c4f3d2277d4f0343624acc817804728b25ab797172b4c5c21a22f9c7839d64300232eb66e53f31c723fa37fe387c7d3e50bdf9813a30e5bb12cf4cd930c40cfb4e1fc622592a49588794494d56d24ea4b40c89fc0596cc9ebb961c8cb10adde976a5d602b1c3f85b9b9a001ed3c6a4d3b1437f52096cd1956d042a597d561a596ecd3d1735a8d570ea0ec27225a2c4aaff26306d1526c1af3ca6d9cf5a2c98f47e1c46db9a33234cfd4d81f2c98538a09ebe76998d0d8fd25997c7d255c6d66ece6fa56f11144950f027795e653008f4bd7ca2dee85d8e90f3dc315130ce2a00375a318c7c3d97be2c8ce5b6db41a6254ff264fa6155baee3b0773c0f497c573f19bb4f4240281f0b1f4f7be857a4e59d416c06b4c50fa09e1810ddc6b1467baeac5a3668d11b6ecaa901440016f389f80acc4db977025e7f5924388c7e340a732e554440e76570f8dd71b7d640b3450d1fd5f0410a18f9a3494f707c717b79b4bf75c98400b096b21653b5d217cf3565c9597456f70703497a078763829bc01bb1cbc8fa04eadc9a6e3f6699587a9e75c94e5bab0036e0b2e711392cff0047d0d6b05bd2a588bc109718954259f1d86678a579a3120f19cfb2963f177aeb70f2d4844826262e51b80271272068ef5b3856fa8535aa2a88b2d41f2a0e2fda7624c2850272ac4a2f561f8f2f7a318bfd5caf9696149e4ac824ad3460538fdc25421beec2cc6818162d06bbed0c40a387192349db67a118bada6cd5ab0140ee273204f628aad1c135f770279a651e24d8c14d75a6059d76b96a6fd857def5e0b354b27ab937a5815d16b5fae407ff18222c6d1ed263be68c95f32d908bd895cd76207ae726487567f9a67dad79abec316f683b17f2d02bf07e0ac8b5bc6162cf94697b3c27cd1fea49b27f23ba2901871962506520c392da8b6ad0d99f7013fbc06c2c17a569500c8a7696481c1cd33e9b14e40b82e79a5f5db82571ba97bae3ad3e0479515bb0e2b0f3bfcd1fd33034efc6245eddd7ee2086ddae2600d8ca73e214e8c2b0bdb2b047c6a464a562ed77b73d2d841c4b34973551257713b753632efba348169abc90a68f42611a40126d7cb21b58695568186f7e569d2ff0f9e745d0487dd2eb997cafc5abf9dd102e62ff66cba87", 901 "sig" : "e301345a41a39a4d72fff8df69c98075a0cc082b802fc9b2b6bc503f926b65bddf7f4c8f1cb49f6396afc8a70abe6d8aef0db478d4c6b2970076c6a0484fe76d76b3a97625d79f1ce240e7c576750d295528286f719b413de9ada3e8eb78ed573603ce30d8bb761785dc30dbc320869e1a00", 902 "result" : "valid", 903 "flags" : [] 904 } 905 ] 906 } 907 ] 908} 909