2022-12-09 23:02:58 +03:00
{
"algorithm" : "EDDSA" ,
2023-04-08 20:00:18 +03:00
"schema" : "eddsa_verify_schema.json" ,
"generatorVersion" : "0.9rc5" ,
2022-12-09 23:02:58 +03:00
"numberOfTests" : 86 ,
"header" : [
2023-04-08 20:00:18 +03:00
"Test vectors of type EddsaVerify are intended for testing"
2022-12-09 23:02:58 +03:00
] ,
"notes" : {
2023-04-08 20:00:18 +03:00
"CompressedSignature" : {
"bugType" : "CAN_OF_WORMS" ,
"description" : "The test vector contains a signature where r and s overlap or where 0 bytes were cut from the signature. This signature was specifically generated." ,
"effect" : "The effect of the bug is unclear without further analysis. It could be rather benign and just allow signature malleability in some cases or it could hide a more severe flaw."
} ,
"InvalidEncoding" : {
"bugType" : "CAN_OF_WORMS" ,
"description" : "The test vector contains a signature with an invalid encoding of the values. The vector checks that invalid encodings are not accepted." ,
"effect" : "The effect of accepting such signatures is unclear. It could lead to signature malleability, be benign, or hide something more severe."
} ,
"InvalidKtv" : {
"bugType" : "UNKNOWN" ,
"description" : "The test vector contains a known invalid signature."
} ,
"InvalidSignature" : {
"bugType" : "AUTH_BYPASS" ,
"description" : "The test vector contains a signature with edge case values such as 0 or the order of the group." ,
"effect" : "The effect of accepting such signatures probably indicates that signatures can be forged without even knowing the message itself."
} ,
"Ktv" : {
"bugType" : "BASIC" ,
"description" : "The test vector contains a known valid signature."
} ,
"SignatureMalleability" : {
"bugType" : "SIGNATURE_MALLEABILITY" ,
"description" : "EdDSA signatures are non-malleable, if implemented correctly. If an implementation fails to check the range of S then it may be possible to modify a signature in such a way that it still verifies. See RFC 8032, Section 5.2.7 and Section 8.4."
} ,
"SignatureWithGarbage" : {
"bugType" : "SIGNATURE_MALLEABILITY" ,
"description" : "The test vector contains a signature with additional content. EdDSA signature are expected to be non-malleable. Signatures of the wrong length should be rejected. See RFC 8032, Section 5.2.7 and Section 8.4."
} ,
"TruncatedSignature" : {
"bugType" : "AUTH_BYPASS" ,
"description" : "The test vector contains a signature that was truncated." ,
"effect" : "Accepting such signatures likely means that signatures can be forged."
} ,
"Valid" : {
"bugType" : "BASIC" ,
"description" : "The test vector is an ordinary valid signature."
}
2022-12-09 23:02:58 +03:00
} ,
"testGroups" : [
{
2023-04-08 20:00:18 +03:00
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00"
} ,
"publicKeyDer" : "3043300506032b6571033a00419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAQZYQpTSvEn9YOwSBjNt/D/MAsCXy4BaCvK4z/Wkc7gOVEd8M\n3caQ7peEJuizjlDOWvfc+6UPcEwA\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
2022-12-09 23:02:58 +03:00
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "QZYQpTSvEn9YOwSBjNt_D_MAsCXy4BaCvK4z_Wkc7gOVEd8M3caQ7peEJuizjlDOWvfc-6UPcEwA"
} ,
"tests" : [
{
"tcId" : 1 ,
"comment" : "" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Valid"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "" ,
"sig" : "cf7953007666e12f73af9ec92e3e018da5ee5a8d5b17f5100a354c58f1d5f4bb37ab835c52f72374c72d612689149cf6d36a70db6dc5a6c400b597348e0e31e51e65bb144e63c892a367b4c055c036aa6cd7e728cdd2a098963bda863903e6dd025b5a5d891209f4e28537694804e50b0800" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 2 ,
"comment" : "" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Valid"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "78" ,
"sig" : "c56e94d5c9ca860c244f33db556bf6b3cec38b024b77604a35d6a07211b1316b9a027133c374b86f72665cc45ce01583a2e0f2775c6172da801acef168717cab1196cddfb149359dfef589756257cc2d6b02fc516d8d41b4adaa3f11428f41410ef0dc3c1b008d3d052173d4389508ed0100" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 3 ,
"comment" : "" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Valid"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd982600" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 4 ,
"comment" : "" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Valid"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "48656c6c6f" ,
"sig" : "442e33780f199dd7bc71d1335f74df7f3a0ec789e21a175c1bffddb6e50091998d969ac8194b3acefb7702f6c222f84f7eeca3b80406f1fe80687915e7925bf52deb47b6b779e26d30eec7c5fef03580f280a089eefd0bacc9fbbb6a4d73a591d1671d192e6bbcfdb79ad3db5673a1263000" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 5 ,
"comment" : "" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Valid"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff28060a05236fc9c1682b0e55b60a082c9a57bffe61ef4dda5ce65df539805122b3a09a05976d41ad68ab52df85428152c57da93531e5d16920e00" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 6 ,
"comment" : "" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Valid"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "000000000000000000000000" ,
"sig" : "a8ca64d1ab00eae77fd2854d8422db3ae12fca91c14f274f30a44df98590786ec4cbb96a9564fc1b9b16c22d2bd00aa65f0876323729f5ac809fb0b89a4d3f27afbabb596851d835173d60ea34e0875359f3d6adb13cef1395b7eaa5f9147583ff38b4deb183062874915bf194ae61072300" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 7 ,
"comment" : "" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Valid"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" ,
"sig" : "b205d3e24ccef64c1e86f15f48ddfa682453503489475188b04a8f55860b3c8a9c01e6de820bb7d9b15daff8de25a4a870e987157a115ec1802da0d0606da12842ea7eab658b5eea6dd1f3a641a5174425578003cd318b8d6b8dcb4de954b5078d1912c578ad8281515d6df3672b94173f00" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 8 ,
"comment" : "" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Valid"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f60" ,
"sig" : "3492ef66e5fdf1503e9e206c5c2f0d4b7891aad793575527d2251e0df1b97c2feac188bc382ce3c92c4bc36ba2695f32bedadd480eaa932300d0db1f9a9c60844d2ea5aea64933c7be46c4f9d21cb48b39eae23d08496de7ce9501197185cc5d4ff8aa4b018ce7ad321f6a7d778c4a070400" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 9 ,
"comment" : "" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Valid"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "ffffffffffffffffffffffffffffffff" ,
"sig" : "545e1905af1b5886552eaf78e17304c6f83fcfb3444df2d1ea056486db615e3bb29131bb0c1fd295364dc515dae581967148eb23c6c9012e806d3623baff00548c648e3cb3756aaaaf659f2fb7dd2e71c7611448593ca63f2a98913ab7f182e6820eaf1334e2745e0e7bc0dccab98de71600" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
}
]
} ,
{
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00"
} ,
"publicKeyDer" : "3043300506032b6571033a00419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAQZYQpTSvEn9YOwSBjNt/D/MAsCXy4BaCvK4z/Wkc7gOVEd8M\n3caQ7peEJuizjlDOWvfc+6UPcEwA\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "QZYQpTSvEn9YOwSBjNt_D_MAsCXy4BaCvK4z_Wkc7gOVEd8M3caQ7peEJuizjlDOWvfc-6UPcEwA"
} ,
"tests" : [
2022-12-09 23:02:58 +03:00
{
"tcId" : 10 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 11 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 12 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f24458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 13 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 14 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 15 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 16 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 17 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f24458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 18 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 19 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 20 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 21 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 22 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00f24458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 23 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 24 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 25 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 26 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff00010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 27 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff00f24458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 28 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff00f34458ab92c27823558fc58d72c26c219036d6ae49db4ec4e923ca7cffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 29 ,
"comment" : "special values for r and s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "3f" ,
2023-04-08 20:00:18 +03:00
"sig" : "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff00fffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff00" ,
"result" : "invalid"
}
]
} ,
{
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00"
} ,
"publicKeyDer" : "3043300506032b6571033a00419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAQZYQpTSvEn9YOwSBjNt/D/MAsCXy4BaCvK4z/Wkc7gOVEd8M\n3caQ7peEJuizjlDOWvfc+6UPcEwA\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "QZYQpTSvEn9YOwSBjNt_D_MAsCXy4BaCvK4z_Wkc7gOVEd8M3caQ7peEJuizjlDOWvfc-6UPcEwA"
} ,
"tests" : [
2022-12-09 23:02:58 +03:00
{
"tcId" : 30 ,
"comment" : "empty signature" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"TruncatedSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "54657374" ,
"sig" : "" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 31 ,
"comment" : "s missing" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"TruncatedSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f280" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 32 ,
"comment" : "signature too short" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"TruncatedSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd98" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 33 ,
"comment" : "signature too long" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"SignatureWithGarbage"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd9826002020" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 34 ,
"comment" : "include pk in signature" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"SignatureWithGarbage"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd982600419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 35 ,
"comment" : "prepending 0 byte to signature" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"SignatureWithGarbage"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "54657374" ,
"sig" : "005d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd982600" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 36 ,
"comment" : "prepending 0 byte to s" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"SignatureWithGarbage"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f2800031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd982600" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 37 ,
"comment" : "appending 0 byte to signature" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"SignatureWithGarbage"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd98260000" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 38 ,
"comment" : "removing 0 byte from signature" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"CompressedSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "5465737430" ,
"sig" : "dbd6384516ab6b0eb2d609414564ec217383b66040dfb0676128251ae24c1d7c179c21a9ee307dc13f8fe6550bc40187f093da85617bcf5d009d3ee8b798ad978b6e683bc4e911940ea82ea0b7e95dc24fe0b29e44663211892c2aaa3451379d22c289b94378f11fb700f1689d4a00d73e" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 39 ,
"comment" : "removing 0 byte from signature" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"CompressedSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "546573743535" ,
"sig" : "ce2b2fff0bf445a36813cf2a76e0cc5619a4f16ee53f0fe3cd46fc0414db7248b32fbda54bbb37e708d6238076ea12bf850b964b044520bb80fbaf0e1d1ed3bcab261462df5e7f2de73ac9cbae26dfa29015039acf90575961fc9b91b9ca276dae7d5fa805bd202c5579a0f4c66e801400" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 40 ,
"comment" : "dropping byte from signature" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"CompressedSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "546573743633" ,
"sig" : "c283ed36d78c275a5d02f7939aed2c4ef68320ae1bf6fc25e834b758046a6d52a480216a942dfe771f3bd307f4ce7d3f446e0824961bd5de80cda42b5cc38e6ec3d53f386978b9877d3c98a28ac8fc66630ffd178933a18de1aee23cab5011c9ff4c9277311b4c6c33acb8e82b8c693c00" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 41 ,
"comment" : "removing leading 0 byte from signature" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"CompressedSignature"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "54657374333631" ,
"sig" : "62e629bd2b8f595df401c362c766216d45de89fceecd99c69d323b5c53ad5ac3ea7224963feba2f2895551d94f548248ef8597d2a959f880d59934a5e8f07847834d66ba1a6b09de5dba692172b13f768f0c29e8196144c130d2353445d63cbd0b690794fdad30a48e8bb7cc2504f80700" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
}
]
} ,
{
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00"
} ,
"publicKeyDer" : "3043300506032b6571033a00419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAQZYQpTSvEn9YOwSBjNt/D/MAsCXy4BaCvK4z/Wkc7gOVEd8M\n3caQ7peEJuizjlDOWvfc+6UPcEwA\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "QZYQpTSvEn9YOwSBjNt_D_MAsCXy4BaCvK4z_Wkc7gOVEd8M3caQ7peEJuizjlDOWvfc-6UPcEwA"
} ,
"tests" : [
2022-12-09 23:02:58 +03:00
{
"tcId" : 42 ,
"comment" : "modified bit 0 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5cb94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280afc33a525116cc12e0d1c3a1fde6de518a6544f360d0fe18d5be7770b057a2bf792db4b7648fa84a6eaecae909e33fa59c5dfe4804ba262300" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 43 ,
"comment" : "modified bit 1 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5fb94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280f91386c3e9dd9e7c9af7ca6bbef8b7a44ae3d68eeade449d7dfbb31de8419eb943e2ecbcdd06df5227e82b9ded519a56e70f0a1c0fc17b0600" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 44 ,
"comment" : "modified bit 2 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "59b94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280f1aab07b4ad069dfafc01b4532e1e44cbf7177e1bdda197fc87434046db5b935afd9114ac5e1138eaead23c3b59dba9026d2da4a86fe800b00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 45 ,
"comment" : "modified bit 7 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "ddb94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2807668402b7b093fc754019324077c1f842a7d2e35adf7b87094115cec459ad5419e162988ef42b1988d9b944d9d5a7ce09c6f342afa50083900" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 46 ,
"comment" : "modified bit 8 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db84c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280279b70338586b9e13e669191cc0dfc2a937d50a6118758de04a4ca41f4877abdb971afa87fe4b83bc243b8dfd2cb368aa389a4cb11e83e3100" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 47 ,
"comment" : "modified bit 16 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94d53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280c7b847556b3a6f9447483899ab730a23004c695054dd57b1c3214fa87f632f39c8ff1471f0532b8eee4154930e1ca30d574b8f9e85b0432b00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 48 ,
"comment" : "modified bit 31 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94cd3101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2800b017917472b130a1cc1c8e995a252617d5ddaf1f3d48930b4876fa0d2cfedec90a8c85c8274892a1ca3b6cfce63ebfebc307210b844ae0c00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 49 ,
"comment" : "modified bit 32 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53111f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2805f38f6371860fcc4f2ec515afd35cb05d8941e2448cc469a15b8537e758b16d46b123581613462c2bb20d8a07299ab795d0998e1e427793100" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 50 ,
"comment" : "modified bit 63 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f529f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff28017111ba6fefd45e2490f1d53a184007fa073470706d7f4a9606fcad2954e74c32116ba7701d225b76e55164e64df3245c1031f0df734bd3100" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 51 ,
"comment" : "modified bit 64 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6d1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2808d7d0aa1fd81d0e31789921771c654338f96f0b557b615e3da55670271608a0e022e4e8cf393e309f8f6412281b6147e7fce42b089eb1e0c00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 52 ,
"comment" : "modified bit 97 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ca4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280b08d3be6ebf4e60bf6d74e105ea2fa9b965c62816bbd22ea3bb0c1acfd12300523ca76f94b6f789488a957fbeb212d713baccf95fd594f3d00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 53 ,
"comment" : "modified bit 127 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7606fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280a23f54857e9b0f72b2ef90d2768834590464d75933ed08c454faa762b3702a2b631c33c339d05b2e24c20a8214f99af31f93f80f416a112900" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 54 ,
"comment" : "modified bit 240 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0881a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280734bdc399273d3403d934ceaae16e87a68c6bff6b77d8037ff41c97922498a58e704c29ab519d41bab70735f71fc26f589361e2b2175430000" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 55 ,
"comment" : "modified bit 247 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0800a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280ba961cc8d0765c99d57470ee1c0c77f0a562a198fd0175eddb0c033e0fb8525328c5e2c516e2b00f73609c7f769195eb1a02ff54090d781f00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 56 ,
"comment" : "modified bit 248 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a97b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280e72685907da9e5a64e4142ed02fc0c6bf95763201db5942aac055fa87e6fdd32e483fd21ed4110d5d7ef619b740fef2ad8a71fe821e42a2a00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 57 ,
"comment" : "modified bit 253 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880887b8e55858df4cf2291a7303ffda446b82a117b4dd408cff280500646d67c74f13471f0ad034da530f7238fe7897e532af8ec2977643a410b1d054934df567e170276389e66b3f3ccb3c15aed239d04f72b00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 58 ,
"comment" : "modified bit 254 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880e87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2807bb153b8e350aa736a91c921217578539600c1299ab76522ef8f6902d79c93f274073ee6beafe6200ecaf59f7cd11bb1c833f24bf30ed52d00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 59 ,
"comment" : "modified bit 255 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880287b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2804a67b22be599d6433b87ea961c82c457ab50f64ac6b7efb0b2f90988927f83742303c278f8248e02d5679b41ed505aba0fb51110d0def81000" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 60 ,
"comment" : "modified bit 440 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff3807f452efb0cd97dab5506028b7b876830dee02a9c0cbd140dcde509638d4d546c30856b2151bdf79930df5bbb11f2beb66bcdc25ad75f211600" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 61 ,
"comment" : "modified bit 441 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff0808d78231bb3c9a87c5b8d168fe05f8197503a3d73a6d700f436b5a76ab866388baa6930191a077aca7970058932c88b7f9e6ecb13c89dcd1d00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 62 ,
"comment" : "modified bit 447 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cf72809e5a8406063fb3545f0fb627f841b2e3a85ad5d378018e8b58fe58e14ee5520d57abc9140e9c5a75a8b09ac3334dd0cad69b48771284321d00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 63 ,
"comment" : "modified bit 448 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2811adf92201088e051ee48b57aecf46edfc68e5baeed5ae4910ba5681d370f75ab593811e18293ef0808581c254196bcbf2b4c454136a6711b00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 64 ,
"comment" : "modified bit 449 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2825e06c3999e8308be439c40940b0075d3e4f65147c1608cbe6e9c432e33bed6686f9393ae2568f0ad60febcb4b6179c0d90d034e7c3c4681000" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 65 ,
"comment" : "modified bit 454 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2c02456bbd141df048dbf1843be6d5fef402483314c2af547b361a09f3319489eaede43404df9faf634c1298d678b5261c808b0be3726013e3900" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 66 ,
"comment" : "modified bit 455 in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "5db94c53101f521f6c1f43b60ea4d7e06fbd49c2e8afaf4fcc289e645e0880a87b8e55858df4cf2291a7303ffda446b82a117b4dd408cff2007106d2a896a7fec6dee53eea272d9b6e738c340295416b50f39a9463a5635450b9f93c4c06737affd42ae06cee5879c96c0bd58a9134550300" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 67 ,
"comment" : "R==0" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000027ab98ab862e4e7ec3361a45ac1993e9b47d9ac40db91faed752399cee0413122b47346594fd7d2c8949b43e4cabaf17d8339ea0e307023f00" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 68 ,
"comment" : "invalid R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd11bae33a0999fd3fd2bed6fa5577685e8fd595e79c006e58fd35f69f91b1d853553fb4006019a07725aa37773883dbe12253812887ac82800" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 69 ,
"comment" : "all bits flipped in R" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidEncoding"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "313233343030" ,
2023-04-08 20:00:18 +03:00
"sig" : "a246b3acefe0ade093e0bc49f15b281f9042b63d175050b033d7619ba1f77f578471aa7a720b30dd6e58cfc0025bb947d5ee84b22bf7300d7f334e48141af0fade1469f5dedb851c9e725d27bd65012bada05e70cde641aad9ce0bea4983164f73816b6f13095e6b93eb03e850cad0cf0d00" ,
"result" : "invalid"
}
]
} ,
{
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00"
} ,
"publicKeyDer" : "3043300506032b6571033a00419610a534af127f583b04818cdb7f0ff300b025f2e01682bcae33fd691cee039511df0cddc690ee978426e8b38e50ce5af7dcfba50f704c00" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAQZYQpTSvEn9YOwSBjNt/D/MAsCXy4BaCvK4z/Wkc7gOVEd8M\n3caQ7peEJuizjlDOWvfc+6UPcEwA\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "QZYQpTSvEn9YOwSBjNt_D_MAsCXy4BaCvK4z_Wkc7gOVEd8M3caQ7peEJuizjlDOWvfc-6UPcEwA"
} ,
"tests" : [
2022-12-09 23:02:58 +03:00
{
"tcId" : 70 ,
"comment" : "checking malleability " ,
"flags" : [
"SignatureMalleability"
2023-04-08 20:00:18 +03:00
] ,
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f280241bd6142ddb02c0f9fa133955d3e610b4b27cb814227de8b241ef4e86402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd986600" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 71 ,
"comment" : "checking malleability " ,
"flags" : [
"SignatureMalleability"
2023-04-08 20:00:18 +03:00
] ,
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28017602ec0bf9d7be34e8ad9c6c795533244e952675efdcbac9c65b9cb85402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd98a600" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 72 ,
"comment" : "checking malleability " ,
"flags" : [
"SignatureMalleability"
2023-04-08 20:00:18 +03:00
] ,
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f280fde9de16e5226d2af9a864e2ac1a2d756456ffc4f1b3693570ad4dc584402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd982601" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 73 ,
"comment" : "checking malleability " ,
"flags" : [
"SignatureMalleability"
2023-04-08 20:00:18 +03:00
] ,
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f280c9fd3fc42f2d50b84de67a197724e0faa43058801821a546173d76b882402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd982602" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 74 ,
"comment" : "checking malleability " ,
"flags" : [
"SignatureMalleability"
2023-04-08 20:00:18 +03:00
] ,
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd986600" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 75 ,
"comment" : "checking malleability " ,
"flags" : [
"SignatureMalleability"
2023-04-08 20:00:18 +03:00
] ,
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd98a600" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 76 ,
"comment" : "checking malleability " ,
"flags" : [
"SignatureMalleability"
2023-04-08 20:00:18 +03:00
] ,
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28031d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d286402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd982601" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
} ,
{
"tcId" : 77 ,
"comment" : "checking malleability " ,
"flags" : [
"SignatureMalleability"
2023-04-08 20:00:18 +03:00
] ,
"msg" : "54657374" ,
"sig" : "5d053ff5b71f6ec3284525d35d77933178c8e19879886d08eccc6c7d27e9e5b5e02537dbc4d4723506e8d171fc1733857573dd02d18f48f28030d67d699a188a9ca46b4eabe2107aef237ca609cb462e24c91d25d285402b6ef7862b78a386950246ff38d6d2f458136d12e3c97fdd982601" ,
"result" : "invalid"
2022-12-09 23:02:58 +03:00
}
]
} ,
{
2023-04-08 20:00:18 +03:00
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "5fd7449b59b461fd2ce787ec616ad46a1da1342485a70e1f8a0ea75d80e96778edf124769b46c7061bd6783df1e50f6cd1fa1abeafe8256180"
} ,
"publicKeyDer" : "3043300506032b6571033a005fd7449b59b461fd2ce787ec616ad46a1da1342485a70e1f8a0ea75d80e96778edf124769b46c7061bd6783df1e50f6cd1fa1abeafe8256180" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAX9dEm1m0Yf0s54fsYWrUah2hNCSFpw4fig6nXYDpZ3jt8SR2\nm0bHBhvWeD3x5Q9s0foavq/oJWGA\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
2022-12-09 23:02:58 +03:00
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "X9dEm1m0Yf0s54fsYWrUah2hNCSFpw4fig6nXYDpZ3jt8SR2m0bHBhvWeD3x5Q9s0foavq_oJWGA"
} ,
"tests" : [
{
"tcId" : 78 ,
"comment" : "RFC 8032" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Ktv"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "" ,
"sig" : "533a37f6bbe457251f023c0d88f976ae2dfb504a843e34d2074fd823d41a591f2b233f034f628281f2fd7a22ddd47d7828c59bd0a21bfd3980ff0d2028d4b18a9df63e006c5d1c2d345b925d8dc00b4104852db99ac5c7cdda8530a113a0f4dbb61149f05a7363268c71d95808ff2e652600" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
}
]
} ,
{
2023-04-08 20:00:18 +03:00
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "43ba28f430cdff456ae531545f7ecd0ac834a55d9358c0372bfa0c6c6798c0866aea01eb00742802b8438ea4cb82169c235160627b4c3a9480"
} ,
"publicKeyDer" : "3043300506032b6571033a0043ba28f430cdff456ae531545f7ecd0ac834a55d9358c0372bfa0c6c6798c0866aea01eb00742802b8438ea4cb82169c235160627b4c3a9480" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAQ7oo9DDN/0Vq5TFUX37NCsg0pV2TWMA3K/oMbGeYwIZq6gHr\nAHQoArhDjqTLghacI1FgYntMOpSA\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
2022-12-09 23:02:58 +03:00
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "Q7oo9DDN_0Vq5TFUX37NCsg0pV2TWMA3K_oMbGeYwIZq6gHrAHQoArhDjqTLghacI1FgYntMOpSA"
} ,
"tests" : [
{
"tcId" : 79 ,
"comment" : "RFC 8032: 1 octet" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Ktv"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "03" ,
"sig" : "26b8f91727bd62897af15e41eb43c377efb9c610d48f2335cb0bd0087810f4352541b143c4b981b7e18f62de8ccdf633fc1bf037ab7cd779805e0dbcc0aae1cbcee1afb2e027df36bc04dcecbf154336c19f0af7e0a6472905e799f1953d2a0ff3348ab21aa4adafd1d234441cf807c03a00" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
}
]
} ,
{
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "43ba28f430cdff456ae531545f7ecd0ac834a55d9358c0372bfa0c6c6798c0866aea01eb00742802b8438ea4cb82169c235160627b4c3a9480"
} ,
"publicKeyDer" : "3043300506032b6571033a0043ba28f430cdff456ae531545f7ecd0ac834a55d9358c0372bfa0c6c6798c0866aea01eb00742802b8438ea4cb82169c235160627b4c3a9480" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAQ7oo9DDN/0Vq5TFUX37NCsg0pV2TWMA3K/oMbGeYwIZq6gHr\nAHQoArhDjqTLghacI1FgYntMOpSA\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "Q7oo9DDN_0Vq5TFUX37NCsg0pV2TWMA3K_oMbGeYwIZq6gHrAHQoArhDjqTLghacI1FgYntMOpSA"
} ,
"tests" : [
2022-12-09 23:02:58 +03:00
{
"tcId" : 80 ,
"comment" : "RFC 8032: 1 octet with context" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"InvalidKtv"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "03" ,
"sig" : "d4f8f6131770dd46f40867d6fd5d5055de43541f8c5e35abbcd001b32a89f7d2151f7647f11d8ca2ae279fb842d607217fce6e042f6815ea000c85741de5c8da1144a6a1aba7f96de42505d7a7298524fda538fccbbb754f578c1cad10d54d0d5428407e85dcbc98a49155c13764e66c3c00" ,
2023-04-08 20:00:18 +03:00
"result" : "invalid"
2022-12-09 23:02:58 +03:00
}
]
} ,
{
2023-04-08 20:00:18 +03:00
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "dcea9e78f35a1bf3499a831b10b86c90aac01cd84b67a0109b55a36e9328b1e365fce161d71ce7131a543ea4cb5f7e9f1d8b00696447001400"
} ,
"publicKeyDer" : "3043300506032b6571033a00dcea9e78f35a1bf3499a831b10b86c90aac01cd84b67a0109b55a36e9328b1e365fce161d71ce7131a543ea4cb5f7e9f1d8b00696447001400" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoA3OqeePNaG/NJmoMbELhskKrAHNhLZ6AQm1WjbpMoseNl/OFh\n1xznExpUPqTLX36fHYsAaWRHABQA\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
2022-12-09 23:02:58 +03:00
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "3OqeePNaG_NJmoMbELhskKrAHNhLZ6AQm1WjbpMoseNl_OFh1xznExpUPqTLX36fHYsAaWRHABQA"
} ,
"tests" : [
{
"tcId" : 81 ,
"comment" : "RFC 8032: 11 bytes" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Ktv"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "0c3e544074ec63b0265e0c" ,
"sig" : "1f0a8888ce25e8d458a21130879b840a9089d999aaba039eaf3e3afa090a09d389dba82c4ff2ae8ac5cdfb7c55e94d5d961a29fe0109941e00b8dbdeea6d3b051068df7254c0cdc129cbe62db2dc957dbb47b51fd3f213fb8698f064774250a5028961c9bf8ffd973fe5d5c206492b140e00" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
}
]
} ,
{
2023-04-08 20:00:18 +03:00
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "3ba16da0c6f2cc1f30187740756f5e798d6bc5fc015d7c63cc9510ee3fd44adc24d8e968b6e46e6f94d19b945361726bd75e149ef09817f580"
} ,
"publicKeyDer" : "3043300506032b6571033a003ba16da0c6f2cc1f30187740756f5e798d6bc5fc015d7c63cc9510ee3fd44adc24d8e968b6e46e6f94d19b945361726bd75e149ef09817f580" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAO6FtoMbyzB8wGHdAdW9eeY1rxfwBXXxjzJUQ7j/UStwk2Olo\ntuRub5TRm5RTYXJr114UnvCYF/WA\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
2022-12-09 23:02:58 +03:00
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "O6FtoMbyzB8wGHdAdW9eeY1rxfwBXXxjzJUQ7j_UStwk2OlotuRub5TRm5RTYXJr114UnvCYF_WA"
} ,
"tests" : [
{
"tcId" : 82 ,
"comment" : "RFC 8032: 12 bytes" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Ktv"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "64a65f3cdedcdd66811e2915" ,
"sig" : "7eeeab7c4e50fb799b418ee5e3197ff6bf15d43a14c34389b59dd1a7b1b85b4ae90438aca634bea45e3a2695f1270f07fdcdf7c62b8efeaf00b45c2c96ba457eb1a8bf075a3db28e5c24f6b923ed4ad747c3c9e03c7079efb87cb110d3a99861e72003cbae6d6b8b827e4e6c143064ff3c00" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
}
]
} ,
{
2023-04-08 20:00:18 +03:00
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "b3da079b0aa493a5772029f0467baebee5a8112d9d3a22532361da294f7bb3815c5dc59e176b4d9f381ca0938e13c6c07b174be65dfa578e80"
} ,
"publicKeyDer" : "3043300506032b6571033a00b3da079b0aa493a5772029f0467baebee5a8112d9d3a22532361da294f7bb3815c5dc59e176b4d9f381ca0938e13c6c07b174be65dfa578e80" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAs9oHmwqkk6V3ICnwRnuuvuWoES2dOiJTI2HaKU97s4FcXcWe\nF2tNnzgcoJOOE8bAexdL5l36V46A\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
2022-12-09 23:02:58 +03:00
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "s9oHmwqkk6V3ICnwRnuuvuWoES2dOiJTI2HaKU97s4FcXcWeF2tNnzgcoJOOE8bAexdL5l36V46A"
} ,
"tests" : [
{
"tcId" : 83 ,
"comment" : "RFC 8032: 13 bytes" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Ktv"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "64a65f3cdedcdd66811e2915e7" ,
"sig" : "6a12066f55331b6c22acd5d5bfc5d71228fbda80ae8dec26bdd306743c5027cb4890810c162c027468675ecf645a83176c0d7323a2ccde2d80efe5a1268e8aca1d6fbc194d3f77c44986eb4ab4177919ad8bec33eb47bbb5fc6e28196fd1caf56b4e7e0ba5519234d047155ac727a1053100" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
}
]
} ,
{
2023-04-08 20:00:18 +03:00
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "df9705f58edbab802c7f8363cfe5560ab1c6132c20a9f1dd163483a26f8ac53a39d6808bf4a1dfbd261b099bb03b3fb50906cb28bd8a081f00"
} ,
"publicKeyDer" : "3043300506032b6571033a00df9705f58edbab802c7f8363cfe5560ab1c6132c20a9f1dd163483a26f8ac53a39d6808bf4a1dfbd261b099bb03b3fb50906cb28bd8a081f00" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoA35cF9Y7bq4Asf4Njz+VWCrHGEywgqfHdFjSDom+KxTo51oCL\n9KHfvSYbCZuwOz+1CQbLKL2KCB8A\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
2022-12-09 23:02:58 +03:00
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "35cF9Y7bq4Asf4Njz-VWCrHGEywgqfHdFjSDom-KxTo51oCL9KHfvSYbCZuwOz-1CQbLKL2KCB8A"
} ,
"tests" : [
{
"tcId" : 84 ,
"comment" : "RFC 8032: 64 bytes" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Ktv"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "bd0f6a3747cd561bdddf4640a332461a4a30a12a434cd0bf40d766d9c6d458e5512204a30c17d1f50b5079631f64eb3112182da3005835461113718d1a5ef944" ,
"sig" : "554bc2480860b49eab8532d2a533b7d578ef473eeb58c98bb2d0e1ce488a98b18dfde9b9b90775e67f47d4a1c3482058efc9f40d2ca033a0801b63d45b3b722ef552bad3b4ccb667da350192b61c508cf7b6b5adadc2c8d9a446ef003fb05cba5f30e88e36ec2703b349ca229c2670833900" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
}
]
} ,
{
2023-04-08 20:00:18 +03:00
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "79756f014dcfe2079f5dd9e718be4171e2ef2486a08f25186f6bff43a9936b9bfe12402b08ae65798a3d81e22e9ec80e7690862ef3d4ed3a00"
} ,
"publicKeyDer" : "3043300506032b6571033a0079756f014dcfe2079f5dd9e718be4171e2ef2486a08f25186f6bff43a9936b9bfe12402b08ae65798a3d81e22e9ec80e7690862ef3d4ed3a00" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAeXVvAU3P4gefXdnnGL5BceLvJIagjyUYb2v/Q6mTa5v+EkAr\nCK5leYo9geIunsgOdpCGLvPU7ToA\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
2022-12-09 23:02:58 +03:00
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "eXVvAU3P4gefXdnnGL5BceLvJIagjyUYb2v_Q6mTa5v-EkArCK5leYo9geIunsgOdpCGLvPU7ToA"
} ,
"tests" : [
{
"tcId" : 85 ,
"comment" : "RFC 8032: 256 bytes" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Ktv"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "15777532b0bdd0d1389f636c5f6b9ba734c90af572877e2d272dd078aa1e567cfa80e12928bb542330e8409f3174504107ecd5efac61ae7504dabe2a602ede89e5cca6257a7c77e27a702b3ae39fc769fc54f2395ae6a1178cab4738e543072fc1c177fe71e92e25bf03e4ecb72f47b64d0465aaea4c7fad372536c8ba516a6039c3c2a39f0e4d832be432dfa9a706a6e5c7e19f397964ca4258002f7c0541b590316dbc5622b6b2a6fe7a4abffd96105eca76ea7b98816af0748c10df048ce012d901015a51f189f3888145c03650aa23ce894c3bd889e030d565071c59f409a9981b51878fd6fc110624dcbcde0bf7a69ccce38fabdf86f3bef6044819de11" ,
"sig" : "c650ddbb0601c19ca11439e1640dd931f43c518ea5bea70d3dcde5f4191fe53f00cf966546b72bcc7d58be2b9badef28743954e3a44a23f880e8d4f1cfce2d7a61452d26da05896f0a50da66a239a8a188b6d825b3305ad77b73fbac0836ecc60987fd08527c1a8e80d5823e65cafe2a3d00" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
}
]
} ,
{
2023-04-08 20:00:18 +03:00
"type" : "EddsaVerify" ,
"publicKey" : {
"type" : "EDDSAPublicKey" ,
"curve" : "edwards448" ,
"keySize" : 448 ,
"pk" : "a81b2e8a70a5ac94ffdbcc9badfc3feb0801f258578bb114ad44ece1ec0e799da08effb81c5d685c0c56f64eecaef8cdf11cc38737838cf400"
} ,
"publicKeyDer" : "3043300506032b6571033a00a81b2e8a70a5ac94ffdbcc9badfc3feb0801f258578bb114ad44ece1ec0e799da08effb81c5d685c0c56f64eecaef8cdf11cc38737838cf400" ,
"publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAqBsuinClrJT/28ybrfw/6wgB8lhXi7EUrUTs4ewOeZ2gjv+4\nHF1oXAxW9k7srvjN8RzDhzeDjPQA\n-----END PUBLIC KEY-----\n" ,
"publicKeyJwk" : {
"kty" : "OKP" ,
2022-12-09 23:02:58 +03:00
"crv" : "Ed448" ,
"kid" : "none" ,
"x" : "qBsuinClrJT_28ybrfw_6wgB8lhXi7EUrUTs4ewOeZ2gjv-4HF1oXAxW9k7srvjN8RzDhzeDjPQA"
} ,
"tests" : [
{
"tcId" : 86 ,
"comment" : "RFC 8032: 1023 bytes" ,
2023-04-08 20:00:18 +03:00
"flags" : [
"Ktv"
] ,
2022-12-09 23:02:58 +03:00
"msg" : "6ddf802e1aae4986935f7f981ba3f0351d6273c0a0c22c9c0e8339168e675412a3debfaf435ed651558007db4384b650fcc07e3b586a27a4f7a00ac8a6fec2cd86ae4bf1570c41e6a40c931db27b2faa15a8cedd52cff7362c4e6e23daec0fbc3a79b6806e316efcc7b68119bf46bc76a26067a53f296dafdbdc11c77f7777e972660cf4b6a9b369a6665f02e0cc9b6edfad136b4fabe723d2813db3136cfde9b6d044322fee2947952e031b73ab5c603349b307bdc27bc6cb8b8bbd7bd323219b8033a581b59eadebb09b3c4f3d2277d4f0343624acc817804728b25ab797172b4c5c21a22f9c7839d64300232eb66e53f31c723fa37fe387c7d3e50bdf9813a30e5bb12cf4cd930c40cfb4e1fc622592a49588794494d56d24ea4b40c89fc0596cc9ebb961c8cb10adde976a5d602b1c3f85b9b9a001ed3c6a4d3b1437f52096cd1956d042a597d561a596ecd3d1735a8d570ea0ec27225a2c4aaff26306d1526c1af3ca6d9cf5a2c98f47e1c46db9a33234cfd4d81f2c98538a09ebe76998d0d8fd25997c7d255c6d66ece6fa56f11144950f027795e653008f4bd7ca2dee85d8e90f3dc315130ce2a00375a318c7c3d97be2c8ce5b6db41a6254ff264fa6155baee3b0773c0f497c573f19bb4f4240281f0b1f4f7be857a4e59d416c06b4c50fa09e1810ddc6b1467baeac5a3668d11b6ecaa901440016f389f80acc4db977025e7f5924388c7e340a732e554440e76570f8dd71b7d640b3450d1fd5f0410a18f9a3494f707c717b79b4bf75c98400b096b21653b5d217cf3565c9597456f70703497a078763829bc01bb1cbc8fa04eadc9a6e3f6699587a9e75c94e5bab0036e0b2e711392cff0047d0d6b05bd2a588bc109718954259f1d86678a579a3120f19cfb2963f177aeb70f2d4844826262e51b80271272068ef5b3856fa8535aa2a88b2d41f2a0e2fda7624c2850272ac4a2f561f8f2f7a318bfd5caf9696149e4ac824ad3460538fdc25421beec2cc6818162d06bbed0c40a387192349db67a118bada6cd5ab0140ee273204f628aad1c135f770279a651e24d8c14d75a6059d76b96a6fd857def5e0b354b27ab937a5815d16b5fae407ff18222c6d1ed263be68c95f32d908bd895cd76207ae726487567f9a67dad79abec316f683b17f2d02bf07e0ac8b5bc6162cf94697b3c27cd1fea49b27f23ba2901871962506520c392da8b6ad0d99f7013fbc06c2c17a569500c8a7696481c1cd33e9b14e40b82e79a5f5db82571ba97bae3ad3e0479515bb0e2b0f3bfcd1fd33034efc6245eddd7ee2086ddae2600d8ca73e214e8c2b0bdb2b047c6a464a562ed77b73d2d841c4b34973551257713b753632efba348169abc90a68f42611a40126d7cb21b58695568186f7e569d2ff0f9e745d0487dd2eb997cafc5abf9dd102e62ff66cba87" ,
"sig" : "e301345a41a39a4d72fff8df69c98075a0cc082b802fc9b2b6bc503f926b65bddf7f4c8f1cb49f6396afc8a70abe6d8aef0db478d4c6b2970076c6a0484fe76d76b3a97625d79f1ce240e7c576750d295528286f719b413de9ada3e8eb78ed573603ce30d8bb761785dc30dbc320869e1a00" ,
2023-04-08 20:00:18 +03:00
"result" : "valid"
2022-12-09 23:02:58 +03:00
}
]
}
]
}