You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
422 lines
36 KiB
422 lines
36 KiB
5 years ago
|
{
|
||
|
"algorithm" : "RSASSA-PSS",
|
||
|
"generatorVersion" : "0.8rc16",
|
||
|
"numberOfTests" : 49,
|
||
|
"header" : [
|
||
|
"Test vectors of class RsassaPssVerify are intended for checking the",
|
||
|
"verification of RSASSA-PSS signatures."
|
||
|
],
|
||
|
"notes" : {
|
||
|
},
|
||
|
"schema" : "rsassa_pss_verify_schema.json",
|
||
|
"testGroups" : [
|
||
|
{
|
||
|
"e" : "010001",
|
||
|
"keyAsn" : "3082010a0282010100c684aef47bc201764a663acdf22e67140410b3d201533b6ccaebf86eda3d81a1230a1cc5ce2c9e4e102d107f2418d9386f1d3734eb922629b4e7ef464f79fcac53744702a147c1ef8dafc8eb366284d3419d98e8cf176ccb7f65bada528c222956900e1ec0c2f21e83e3ee30d946a6aa267e01a28b9c1833b035a881ad1865dfd2a451086a46f38ed137237c5fe368261e3a46712399f3c56ac6fbde33682ba98c95e435e1dec2d5b9d681ade372622c2dbdbe47b419b4ba23a5defc3f792d4d8373cc27cf707dd2f3603363a0ffe643dcfda79758ad1ac53d46f1a5ec25df1ddd94780a8f51f88ffb32337f05395dec93267802db95243f1b62cc3dd8118d2d0203010001",
|
||
|
"keyDer" : "30820122300d06092a864886f70d01010105000382010f003082010a0282010100c684aef47bc201764a663acdf22e67140410b3d201533b6ccaebf86eda3d81a1230a1cc5ce2c9e4e102d107f2418d9386f1d3734eb922629b4e7ef464f79fcac53744702a147c1ef8dafc8eb366284d3419d98e8cf176ccb7f65bada528c222956900e1ec0c2f21e83e3ee30d946a6aa267e01a28b9c1833b035a881ad1865dfd2a451086a46f38ed137237c5fe368261e3a46712399f3c56ac6fbde33682ba98c95e435e1dec2d5b9d681ade372622c2dbdbe47b419b4ba23a5defc3f792d4d8373cc27cf707dd2f3603363a0ffe643dcfda79758ad1ac53d46f1a5ec25df1ddd94780a8f51f88ffb32337f05395dec93267802db95243f1b62cc3dd8118d2d0203010001",
|
||
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxoSu9HvCAXZKZjrN8i5n\nFAQQs9IBUztsyuv4bto9gaEjChzFziyeThAtEH8kGNk4bx03NOuSJim05+9GT3n8\nrFN0RwKhR8Hvja/I6zZihNNBnZjozxdsy39lutpSjCIpVpAOHsDC8h6D4+4w2Uam\nqiZ+AaKLnBgzsDWoga0YZd/SpFEIakbzjtE3I3xf42gmHjpGcSOZ88VqxvveM2gr\nqYyV5DXh3sLVudaBreNyYiwtvb5HtBm0uiOl3vw/eS1Ng3PMJ89wfdLzYDNjoP/m\nQ9z9p5dYrRrFPUbxpewl3x3dlHgKj1H4j/syM38FOV3skyZ4AtuVJD8bYsw92BGN\nLQIDAQAB\n-----END PUBLIC KEY-----",
|
||
|
"keysize" : 2048,
|
||
|
"mgf" : "MGF1",
|
||
|
"mgfSha" : "SHA-512/256",
|
||
|
"n" : "00c684aef47bc201764a663acdf22e67140410b3d201533b6ccaebf86eda3d81a1230a1cc5ce2c9e4e102d107f2418d9386f1d3734eb922629b4e7ef464f79fcac53744702a147c1ef8dafc8eb366284d3419d98e8cf176ccb7f65bada528c222956900e1ec0c2f21e83e3ee30d946a6aa267e01a28b9c1833b035a881ad1865dfd2a451086a46f38ed137237c5fe368261e3a46712399f3c56ac6fbde33682ba98c95e435e1dec2d5b9d681ade372622c2dbdbe47b419b4ba23a5defc3f792d4d8373cc27cf707dd2f3603363a0ffe643dcfda79758ad1ac53d46f1a5ec25df1ddd94780a8f51f88ffb32337f05395dec93267802db95243f1b62cc3dd8118d2d",
|
||
|
"sLen" : 32,
|
||
|
"sha" : "SHA-512/256",
|
||
|
"type" : "RsassaPssVerify",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 1,
|
||
|
"comment" : "",
|
||
|
"msg" : "",
|
||
|
"sig" : "25085796e3f7e52f0b35179c40b748f8faa4024fd774505e9f60dd2c4112f1f0c69b0fd5df5aa32fa342809549e58d317ceda5e5684450aa7a7028edef61bbe5770ba4fa49beb14468104cf45c882777b98469d0af43a8b907b064784c5cb2293b4d7f9aa251a5d5ea8ba7beeda8278ad6066267b63fe6c2da178a670507e1b93c59d23df00bd4cd49857bd6af6157b6c1faa5af5285b9aa86db87c7bce6d2a44a2e90032cac5f77eda748de58b673a7ffdfc59f9a9231de0ff8cddb8932b492e8b39d0533bc661279595658b1661528b71d460c302678e528214f54ff0f53b17c05f83dc6dd1ccf111367ce19d014557a824545d24022ce880e9d81b7ed6b61",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 2,
|
||
|
"comment" : "",
|
||
|
"msg" : "0000000000000000000000000000000000000000",
|
||
|
"sig" : "4b93f7a4523c81eb601509bd3675fedbd3df37225f84cf68ae268cb52515b1966d17dd49a3f49628a608d3aecf3677b4993498873782d419583b3e1fcf23a75f8536ff2fb7472b30f26f389c4e0a1753b9d246ac52b225b8b750844a3022d8811cd6d2a57a4c6ac407c7975529926a2de3ad79b7459097d8cb9c102f157d98c90849e4f1c1022885854ee66bc00ed1103f6ae0be542b0421ea1db7e923cc220df8c4d989bc3a9ae4de55a7933afd5b295bf315c6d7c613975534867a1cd3d5dc69ec883451f2aef559f9ea7f4617d2ca0ab96ba70f2f5a284693716f8c9b777b9e5391edeb26dfd38571e46d9564571b52df7280984668a1384d61b40fa8974f",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 3,
|
||
|
"comment" : "",
|
||
|
"msg" : "54657374",
|
||
|
"sig" : "2f8890be11f64dd78055ef19d318344d12ce37bfff77b3d4cff10e0015e98135dad8de142bb0f736108772d4ccf4cd2009cce78dfd88b9d0d81e8173cba8d04c066bbd216c27ea70992ffc8dbc9e1a72611514564ded60c5125ebf8ca6fa0d28a3f4cf68b688876fa0663665efd9c3d5b2cef904c048a8b6bbe54c06ed80875ed955016165eae97f25a72335394549fb49b962bc108555778279c1fd856e0ffd5b887ecb2ffc96866c84967884456692b6b63cd8ee072a41dd0c76579ab21fff267127da8052d4f86fe7a63e626d95e560bf7934580f4096e71c10b60f312f641f62c02a5ddcc03873d700b68b1d1b8c1d6940890e9f68efd93de474e372a87e",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 4,
|
||
|
"comment" : "",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "13ba63edfb238437932e8f508b307cdb5117577935355a877b1ca6546537b55c35952d4b1a7cdc2be01e2f76f04dc8ead4a6bbb25ef85188b5e13109ba730746962f04ae37c8ea210dbc0970975fd55c3b0663668951544f05243d1fe6977aa71f4cb797bc8c64d85cab05a1c16a09544a6eefc464efc70b80d98964099ee71d30453b23475bec88308702042e6b4751b138a3a7f15da19e224b52d5b2d1b507dd3f7cf61d6a1cbff6478bae9d0587f376cdc2dde05901e259194ca4961211b7164c5ee23d56f7625ab8170040f00d608b2b028298df4b576b2514d881ba665f9994bb14c9a9d9d172c84b3322f2175032dc3c96c1986742651453582c79ef5a",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 5,
|
||
|
"comment" : "",
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "a197c192408dbca8bd8beaa9ec3fb778085435e2c869701fbd6912efe0a9951de8054952a704ea08836507b4031e9c5c2e37a8d4af08f6cc0c9a738e5a86c71de5ff2d0fd999f191724270e2a5f4c60dfca3402c4ab0de2b0b01d44c352514f84e5affa9be17f9d703da0439fdaa604e00c77a153f7e1d557b89afac13f71254d926d423cada08a0066a72a9f3dddbcade51d6990c52f8b12f1f2299a1bb1f4b6b3673a2890f1186b63b4b4cf8a50532670689e2ebca2ec9c6cfbd97575526589c054661d914c9592bcf7b48b5dfcc289a4f31be97f5e4da96f3830fae0366e7ab933413bdbf6cf45e8abe7cafff331a5ea2f12041fffa9b9cbc3f57a1294947",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 6,
|
||
|
"comment" : "",
|
||
|
"msg" : "61",
|
||
|
"sig" : "0bff440478904b107038c0b63f8a8384a3289ec08983a1b26578c32587245627a9b9792c9dd3e522552e9fda43bfab6611367775194da4c45e37aedf8666b090ece837da828dca96a255f00e039cb6f52c13c7ff1aa60cf23dd03db3312e7d2e6b15da3ca11115a14053c91030f2d0e730d8c401761c2cb450acb434202253c0566e4a9f1414fb31766434d141e0a74f59a3ad7bd5afd32afc5bd57961da9f5c5daee88884178dbb4c504bba9420ea144c5bf9b1a7d758ffeca23a5b2bcb296898796e81c8b5da3736851cac6bb1ddbab2527ce631ba216926b27937b6d9d2c232f967352f7bbf1a74be8664a8cc0f67fe8331cb98c1182fd9a49e571cc7ba07",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 7,
|
||
|
"comment" : "",
|
||
|
"msg" : "e0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff",
|
||
|
"sig" : "20182fc05509907181b2d2662587b10c2d084aa45f279b9631d9e0b8aed3df42dcbd874a336dbd529444342d235d64d4cba2f8847a2d32f047839ab7b22bf758afde1f06efbef84ad7912da52c4e1bb08c913ba8cfd4b6c980e875f2a679bfa732dd0746984e4efc1e81dcabb260c679e5f792cfba2b6b5f0110b5f2eee581d6f4ebdff1a28d653e39a0d5058a0543db066313e60a3a3eaa93ab71e15f3023f8c9f041450083f4643e2d0e5fd5eb7a47b3adf396500adcb1c7b0852ac04154a3c4aecd92d1e2d798bf45c29d3bc2d5406c5ef84db4b85581584889153dfc082b1c9b54195d5b0494428846aace6101b70c3696ea057ad7e35ea30baefcf0bf57",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 8,
|
||
|
"comment" : "first byte of m_hash modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "06aeeaa068a541e4fc7d5de9bbca623b965f336adc63a4fbab30b49261c9293a048464029660d0a45411838fe916f6a90fad4a6bed7ff3fff920535404fece40c2edb7025ecb07cb50538fdcf1c1f29cb48fd32d9898fc665b928d26557488fcf6f1c991bcf8ab7625aa758920972d0f18589f3a7718d2d809415e07c94cd150d426365dfdc151a3fabcde8e6fd25b4bf1aee90c5e467f63b7a6ab353577561825fd1b58108c11e45d54e7424ce08fc4a342b393bd95ef7a37ea9b8f5aec34aa17b89bad591db31935c29163789d92c3c330bda6dc721eab7b478256de7833697f0cd10dcd11b0a63ed3e805720e84b8ab84a6556e2575e01b97080f467cb318",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 9,
|
||
|
"comment" : "first byte of m_hash modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "58f0dd4f3fc8ac8e85061e6d14731be42dd864455d2cf70a043ae76185f83dbd3fced9c16fb8678963cbaabfdfeec9d4b6a2ce6af811b77a11e82eda25ab8f070fdd31daf49c59f295432aad7fedc82b75e279e05e653bf3e1742760a5c6b7d14da13eb5590abfbc4c70708c1272cb55803ea5c95b8ee6b986f421917441ecc990575f403571db77e5ceeab55036b5cf0b5f4d55619cde6ef4cc238f1a22bd15e7f2a61d7ee38b6ded9f802e182ccec9fbbf9a34580f3fe0ea3cd8549af0832f97f2ce2fccfd12395522a68766c32309b68ad054d8c8fde9a9877eacfdb2f494d4790090619b350bbf87cb158a15cdf0bce82e2cc30ff61ba0df7156ec56b07b",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 10,
|
||
|
"comment" : "last byte of m_hash modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "7ede0b8e32a93237a275af33e45d813cdfb62f0d2a3aa2aac74b8ba087e0c152638ffc04bb0e7a1210b08c11a4b1271948117f1939ef37a2803129022a886af1114c89598df48470a5be740bd88ca58b5a9167f0182a99c4a5c1ae9663042f5fc32de8b335d0e5302bd933bca66d2b0c29370e04e6963be1976bffe70572ef0a94989c8cfda1dd1ccd589ef84d2ee901c33a60abb625a84da804519b75c2b28953cf8025928e2c8a239e67083dd64350a8e1a1942041fcf4b1f9d045a7d606125bbcd01bd1b3723a64f40df68744c50347b5bf8c7b3e0a2c8bb8f65c0ed1f1a4a2f67747190788384bb7b4ddd486a7768e601341b8a4d4fbb1c068cf69946c25",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 11,
|
||
|
"comment" : "last byte of m_hash modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "9988ccba25f493db250a596fbef65153c74305d4d7aa511fc0c7eb3795f418ceda425d0362de1a16b4281d0828656da02ed98fa3fe419e153c5fd11d21cf22b761d93633645c752fc9a23ffce9f6e085b489d0bdd9d144d2de51166b255e4cfdb37854721c649ced224ed8d9e30f821c92f3fb24b04a63676f81a4b5ef0249fd2b90e5a28673f82829980e291c87819083cbcd042127337024e3904e2b581857a336a04a042ea0acc36b8950d202e0dd11a15d2358651b6ddccf89b7e228fda0a89a1ba2967bdfc38563d2066db12fb0c7ad246f84ce5d81533c7b35fd09f7c04e7429504d25af31750655f41359bc23e2cd853825759a64c8b887e35b70340d",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 12,
|
||
|
"comment" : "all bits in m_hash flipped",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "5f459cbb1a96b1ceefaf54d3cdff680e6115e28fef69c5952ca25fed918ed3ef5c2b3e64c70be7eca0f4ef92af5e8f96b880c0a5c70525035e2ec7b2bcb4c69bcde8071b77a5f2283078ff7aa413dbb550168d863641052d9ffd5126ff21d35c30a4f1d1f62cd1ced7af5697a31ceca47346f1163a2826b705d8b26d3382371f171548b5576a410366629d4b4c83fbc18c0cf104923a91b1ae5cffb2e8e0b72ed7deb84a18be55496d0294deb3a78486dfc3b8fd64d4a1bdc7f636c4a8a9d982d05d0dd91af30979f881184d41799829e20b7ff87232da892f86c63c1c3be288a4031070d9f87fc7785c6822b850cfd0871e4e62b089f8904fadbb92cf2470d5",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 13,
|
||
|
"comment" : "s_len changed to 0",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "0b3f7de5275e61eb834c4335ddb4b79e786da6325ea0df53b5fc14f249c96776f8fd0e9588a7db6ed3280006b90245547aec0bdeeada381efb78ff941845e5c5b64516304766318d46aef8081a80303a89cf91b8d843ec6bd7edbfc6c24fbb709b551e7a3dba4cbfd8f3d74fda3fca117cce28bf8a3ab0770c924ac4ee16c5195de347452645eac61782a6a315dc51b301e75c690e7e4d4f2fb72a5eefd7fbf9d8fa30dc5fb9a016e79745790ea581b7f0bf2040a07a408625a243e56c07125b6b00ce3e5dfb2e2886b2b75c385ee8451c87c405d8b43d9b3c412f7bcf8a09c5830014553f07375df5dd618160fbe64176469e9c648b3f54ca9d6c37cb6a6b0d",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 14,
|
||
|
"comment" : "s_len changed to 20",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "25337ad22642a001a70be32b5fe3d8603502efbc8c54685ab140c50da793cbfb3ed7340e2eafe5ca02641d9001f805e649f826826b4dcfdd608618bee4da819ab8e3336610afa2bc6cec6a65c895bcc2faafac0264307b260a4eedfc00446668fe87f8de89b5b53471d236cf69cb5534d56a297043df1d8ea9ea2aeee6e03cd14758fa803dec4274fb53cbe620799d2483b9398a55443457103d221039fd80e1f410b66fdab42b3465e3319141dd8cf47d6ed0511851f16551924fbec4e4bc5bcccccf75d800534357786b26f1f43074df83c0c1601cb700b925b7066acafae9a980cc45e3cdf62e088a8bea6a041eb245774c36e7fd2e3c53c3a00f2a3edf9b",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 15,
|
||
|
"comment" : "salt is all 0",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "6d7791f73fc0b17a1012eb92f972742094c9a68ac68f7392cbfca1dacf1199be0f7561ba2b7104a57dce9cff5e138f6e18fd27358722c3ec0c6318fdd909305e7522a1f22d53760dd456cf2fc3a36a2aab1fed694c7d9a9d5fb9b18b279bf8a9cad737491e5880821eabba433104c4dc62e1e82ec098b6a5e328d6df6deddcf768efea22b4d17a961f0a0f245e82eba022fe1219117507aa18bbaa6a7744155780a3541ec86bd98a7a77eeeaf9998836ec2711b02ffa68e8d4aafb44f2830d403f13aba42e120eabf55143362a549d27b6d68d6b415a4fd2c304a2cfe4af6cfc7b6cfae56723d734c0e15737d72491fa7bda954f02b66ece3a14c7509335791a",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 16,
|
||
|
"comment" : "salt is all 1",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "0035024fd56d31f68e739fa18cffd13f20c95925aa233b356eae6cdf5cfbebe86d1d8fdc9511f6197d61e81da00cc3cfe1c4706e733e3428e1254ba52fca6e11651781ff0c9919021445d3b4937b92ded09287336b1418786f21794ccda97ff4747aa3a1d68fe6480733ed3525aa28ad0443d9771a8ac8591ff749e79a9a6319c81a4ed2de4bc3d9fde17cd52fef72787f71d7dc2cee9993b25df677741eeecf296938bdb13a6fb2408f1d46e0efff6df68eea482482feaed98cd2980b0e1076fe628fc0562736b870c6c3f0f1d858bdde47b8fa1b02643082cb06f4f2a02832c4e1cc297f067e261fa0926fc13b10507351c92dfb602a6cc9ee7e0b9d5c3431",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 17,
|
||
|
"comment" : "byte 0 in zero padding modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "67f686ee19ffa68d407878140f0b2911c25538c6b5e1bd4899de87df44b86512cf98e354d82cdc68a4dd443a1ec88cfc1e303d9251eff6426dadfc52649bf860890e34b0931c467b7c69bce6fb67fb4849e450d0d8fb0db88672314b0d76f3d3acc667d6be7501cec4a6cfb90e201d1aa94ee4c67d530480e82513073d00535c7ab26ffffe26810e8d2947904b7be7e4f240ef08c733b846765ed792e89d68fe8a67bcec4311944a6ee37be293dabf071acbe1170e565d03e7fb54778693093061448ce53f30556ffd95efffe15b6085e7c7373e1af90090daebb5a223f1b98ea8c64c3de2591edc48293b5a16f599d0d1184f6e9889abcd719e1bd91c21362a",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 18,
|
||
|
"comment" : "byte 7 in zero padding modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30cddec34658d20ecc3bcfc6df9571b9669de7386ca11b4786176cfce90759a42046c673a09651c35b72652e2799c82ecc7fa7be9ce277bff3dbcf76d7fa48f9552a04576e2c95e5295283ed635dd744703af28ed6115dd7417d16b64142d1ae945020e4fbf3b19d481823fe986f7217991473732d4445f9f8bb33bc4e4d0faf859fe20ce1345a1290b41dda4c42f26440b5ac60cc723845ffd1cbe412ef3062237216bb7201f9009191fe8b4d8dd988e1e91c530cddfbfbd230fd5b906e237ec91e8eeec2697db4077ea378b533a1fc3e85a968b784fb52dc4535bdc1742c4c8d37d77fe15b7e6e2fc8cf20820caaa7f8f7d490515861d82a426a0c57a1c8b4",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 19,
|
||
|
"comment" : "all bytes in zero padding modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "90ae7b4ecf826f2c176a19246a326d5f4787aa6de936ebccbd3bc02d263d87e6357c4ea8100f8f775ec93a72a593e8535ee4a7a1a0ca4f157551a42c656a41a22376eeef9d89f51408a754c59970a0fe1b11bae8490799155009f1403ecedbe925aad6846fff9cd677b7dbef25b2e21679c810b7b91ddf7abbe9b9ea23de4d04bf6fb0c84994480039d3f372c6356e9c2cc1b07f0158fefcdd3d26a3c2946f934fd4bba6b39cf0e595cf9e36915ee19fbef45d1d13dcbdb5c51a9914c6bfe93a6a267ebf6b1844309114f2f29190e67f109ccd210b8608eb85f31be0ce69bd3103e5910fa62211fa64f6ff8bd76fa34f5a15602b19903c4330fd0bbec7a83949",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 20,
|
||
|
"comment" : "first byte of hash h modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "03332f90489c6b31f2f535bca630331f983a336c4bb3877b56714fe84575d6adbc2ff706de564c71d7c86fa3b26db62d6abc545468f5fe62f82e8bf49fc9e1634e0072da801c6b4e49bab35bc8beacf6772622f36625d0b806abe93cb262b5cab5188a8f265513882b6a442d4f9facfc7b6c7ad92b414385b1136b8703b2e202d22188cb6597124706b1dec357d314a6ea031961247dfefe9158cb1d6a01faf7047f6ae041dbdfc00bb5749e181e70541089e37017d799d44864b50e25c30ee499964eec5350ef7a144d7ca6deb6575e09f60e1d442078c601ee5310a927f6e60c6e6085721d4aefacaa875603a94beda575f43b638dd93e2780827390de3dd5",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 21,
|
||
|
"comment" : "first byte of hash h modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "61e23ed63de8a41def4bae9be916d04ed5d38bf928dfb39c35acedb1c64bcf52477ea5ca6663df4f0b6b74e8a07a880df8b09443413845e83276866d9c901c0f8ec75bd5f95306e2c06abe27e0847d8a17d472358102f054c04e069583cc1d28184d4305b2f61a1f2713bc07ab0205a95fecd2ff117bb67f90e8fff8dd6df9302ad1d745bdd602189005f02873ad6d503f9d114f0cfda570b10379e89350c68a4ba096f9174fe507d1d6e77b5feff5bc5b392ec6d7be5efaaba41cfc0e85c5c6d754681482631f1d4b0afeab4c69def6175a0686dea96e6e1e3a4b78b820b30ca97dff36fe892046cf71ecf1e1f88db636afba41f26cddc7e4fbc7e6014ddea6",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 22,
|
||
|
"comment" : "last byte of hash h modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "99d9abd2f8b529e4bed89d6ce2bff8b6c6e6096103c026fe1e464f67d5b015ee138a3fd4468e9d2c49f8c71a932580e719fecf808b81593e9e7f3951a6488254ae69d160cc2c06d3085ac91d61ce70fc9233c2e6d18add1acee8d80bc82cb6f5c602cf61bb5b40d9fb7efd8478b1a860e95c03e970da4ab235a226b0404ec95ad4aca0b606725f76acb010bf4a2b857a343d65b7e8b31af1ac70a32b60df8203c046b3fc7a76471c4a61d819039d80d00bef7b3a1a917479f328083f4f279c6f922de46bddae6743390beb06f47a89f805685a593cd4ec85236167b09acfe0ae01f6b99632124e7fb7338091ffb130dd0d67d6da387b6d5fcf9333c0dd5174ca",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 23,
|
||
|
"comment" : "last byte of hash h modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "2c7b62b6e368f888ac5fee793ef25e291ee74e9075826bad3bb6ceff534be69fc70a9c2423e6b12d60d7bd0579bfa0dc5ac9ec140b271740171ca8e4731d71d6edd802562cbcc6f68f34fc98edf37b9f21d74f2b12e2ca5909a910da8e575a7a741a92faee0508417a916154fc78d52a17bfdc6a22779ae331e659db6c348c569dd751a53a9b06280e0b9c9de1dbb841386fd2c90bd147a1d8c7ca5588ae8148f1a3bc730637e62730822c4105c4909409fcd1f9c1a52b3d3cbd0ba931ff397176b52434a689ef003d307bfdc52448e56579c05e8801f88b48083fb6d760afd69d435fc7558de21425d7c33e8f215304d2901b95fa57ccf1cf232486440996e5",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 24,
|
||
|
"comment" : "all bytes of h replaced by 0",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "58c11f3aef934956f8a2f8131d08c6a0c378c8e7243aab65cf1f11bd29c9e99bb3bf3388fb0e26e6bf94e2b268c19a97410085f6bed3d566cec443dcb244b13c75798b22d420227a5df5d071e36b66e9f7d146ed17651c3432e509dbff2e176f1a2906d1bf7cd6e5372dbdfd6f10f96cea3ad49b86a50284487b817e32dcc7f8a118758cf4ecf66203135a53896747fe988305cad8477589cd6275d4d39a207a9f75122b57915e24a2b7be58f5d83a6e987ed065e89aed82826b4edc7aeb5ce738dceb508840621653e75556ad278cb448e02e35308ef3ade58c3339f0cb456b4ac24863fde98301c3ee513e0915be5503ae9fd92d7b2d8b893447faf2be14b6",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 25,
|
||
|
"comment" : "all bits of h replaced by 1s",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "938049e3628e5d67ae9e137c7cc5b50728229c45591cbfb2a4d87dc983f3c59a46da157e144a6e43fb62018de719d19acf614cf2bc2417b99dc3fdc02f925146f340e37f37edd8e5eef08abac227240bb029e24529eeabc4a3d094cc53b582c4301b51556a471d3082258be2d720a02ba4a946dbd41570215512d6da179aa34439cf20b71e6b550699bf7f5ccef7667163c97f91349e3bc29f143f8737e549f6ce337b42cdc59574b5d0a2352540456cf3b2f000e54bff673f0596239bdc6b2219462afc89450ef546efb9f44133c2c67f05e0354149c267acd6b3007fc60b460b7b80e38d2b7a90f1f28fbea0d77d8931175dbb6ed18a05dc826834a01277ef",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 26,
|
||
|
"comment" : "all bits in hash h flipped",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "9c3ed04eee1eb4dc560bc16f5e2ce7d7b53593cf33b94083e56319a53bed39f7687f436c7916f2305337de71517128e319f63b262655009c7b2bbba4e8b3f4426f9617468a52e0237d49880b4b9ee1839e9cc703f5234f1430228acce9c228012e5b7fa78eee5bf0320052a18f1f6f59eefd4bdaf10032cb51d349387242755e1cd71b6f7261ebc18dd800666aa4e23a8d4866cdaee3677dc48403ac0a2bf4fcea6de9a0eacee1bea7696de4298953353f71ae2126ad1e57d376d6fd2bc164d45a06c15a8bf6c478b4a113d09b453da1259eff60c0456b285b7e7aeb994a18b8af5030ed2bad4affb6afc3206759fdc162b84d2cc8370d7ccb3bd29a7a346eeb",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 27,
|
||
|
"comment" : "hash of salt missing",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "9c9f5a4a9b57594db6d6b2d20ccd6c5e8139615459bc3fce9b88ee2ebc2aa0e81eb5fe039026dc212ec425fe86258f3ebfb17f1596217e77b4d39d61db09785becf198f8631ad30b233a9c9bcf200357e0b54dfef7e3a4085402843d814ac60598bd2c2af3dc12d419fe26fa3eefdf7146a5fae854519dbc5c3a59b3526072eebb9f51a9eccaf4810d74a023871248f36421801ed062714754bec1a6cc7d050b54d2e4c8965a52d284189affeb9ed86a5830e2d659974b8d8fb3fc3585943077d5421fe767cca9b072c6146d6a0c33ff0f7f7dfd778fc0c45360f20263eba68653589d265331d5c05b5c7cdfa885389f3de107203092cfccb2a7bc0b6edd0588",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 28,
|
||
|
"comment" : "first byte of ps modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "16cbe40a4ceb516342e186d07a5e5b243eb125869e1d1215bf6399a725068dd7942f94272e68b36f6e8a5a010e0f87c3ffe6dc943df5bbfa5c742ee776321ba78f1a0f4e2cbb84b21d04bffddd58ad57445b4087a088fe90a556173f50f832a3140b7d55c495fd38525873ed90193475788d9fae19966fac871d8ef23a73fe76afc7c5ba181b5063d282b6d0f7598973ef2ee17f5422acd3e2bd31d89ea701b24137078ff55cd0da83d4dc46432f7fadddf1c0a987409252f49112ca509b32c6a79617854f409896ae777441b79fcee0f6c54723563c1d47dd0d8f1a7bade79fc1124b520b764de6edf44fa383512ac0432a01e2d303c66a202454ec03e5d161",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 29,
|
||
|
"comment" : "last byte of ps modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "a8daad7e0d81243f33bb8de066c439c164e99935efadbd6041a286d9e7a47f352318df5bca1367788cba83f3b115c2fe566456e6cf5c5df2979854a3f231f186f9c29a3af197a355847300ed76279410c088fc4efb30a45737c9ec2b680a46f1dfccdeadae227ab40ba299ba620f8fb43fa1df7e8949c42ddee2dad8903fe894c44fc0e3b63544ef96d4db897c8103e6dde2719176838dda656748ef59cdf5687ac0cdb5518c68e7b883630b03c97508dcd821e4859ff630eee3f01efd53bd2e0729329867ff9f607f23fa74bf0d1afed4a5b663f31b3cfb21d85d898216f605f172bae974178ed9fa69437c49f6c4ab728398b18aa86dc2a5d020208cb77e50",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 30,
|
||
|
"comment" : "all bytes of ps changed to 0xff",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "81d2511b52a1bf47afc450073c2bd62c5dce31710378f0d3f32a2579de518b2bc91c987912ff8b9d07d76671c51dd6415ab194489cd04f3572e6912ad7249dc1343fca5060e21775d5439298f19726c9d040a10e18eb6f467649aea3e90cfc72bdf617108a5965b844b0103c50ef703ded0515021f45d1539f9e3407deb1b8520c169b15f47c7d837504793326bc069180da68dee8eb5e568266dd643b518d40392016faf6fef7413445e65a89e774deebc492cedb09d809bb6412553eba74db547e6bd2016d49de48e20e27b6cdf36ac02b95fa6b8edc7c822ca83ac25a6b13c797dd823f13fb6bf04a3c2da7cc1ee469d3eca751e078f4ea8b7d7345ced113",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 31,
|
||
|
"comment" : "all bytes of ps changed to 0x80",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "13cab65dd24434eb0475434fd46e8134c292cc378ba1afd63776a446f942dfcff68cd5d148564207ff11ed3aeba338ea013e62cc2b0c7421a3d5c6e23ce068d204b19cecd4031e496c21038f64736c23b9c12afa8ad19348623baca996b2f7694533cb10e77a49569db095779eb24962a0d91e3d415e9c8e93ec31d37b3c95c75e8077f897f0524dc575e322e303e3513070fed7906c86ad1d74ff14a9b5091659283e145a258070325aee5e7b2ff9f22fad6d2f4800c1a6fbc6daa02a569d9f3dd17059677057a0fab6142b884890b8e05d62948c3d842575a43174db025ee6907534bb333d47f43e7fdc7aa08495aab94a76486d543fbd4f01227064004604",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 32,
|
||
|
"comment" : "ps followed by 0",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "7979daec767038cfec577360c095468de4768867daadf743d71ae5eb18b87a9a80ef3ae1ecf39183ea786afa0f0856fa1637c86e1f473899cf9743b78dcd6d3474298f774c81c961b4d6d546b0a534d4807a0f52ca452cbc8f1b2189dbec9a062d51b41060f17c2dcd155842c7b95af9fe671cfa00563dd7fbbf1ab08e88903df80e872cd5e80787c4c07d0d9ea8817c598aeac81b2be21bf47c902aa9caaf89dd79ff45f7fb21eb1f4f3f198f7d838dca0883d8a5b155f7f4ddf6cfa481aafd57a077e4d3f98e4e6f10cefacaa34d8e86e076caa5f37e364ac0b64e4d50d3a2f36eeb97f2829d5fec3353956aa592d2167a4aab6c45678d139b16c8f4ec3469",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 33,
|
||
|
"comment" : "ps followed by 0xff",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "0bc7e91a2770304befb58383adfdafb627c90968630492a1a8ceef2880526ebc8089d0edfe05aaa3f6ccb4f59ba465502d337a4e9100ecc521bfd6439638a126c3b7492c7d2e921d3dbe70b7ae1891aad80b57b562fb24507197a5765e238181bc7b06fe3db81b085078bb6ca3aca913a4946f14c1954946fc97aa04218614dca326e5f4460a00dfffab89117ee66cfc46f350f745543563a6a57a98c4c65b49b90592e15f1c8161977260bce072377c684d02fb5105558b5a7749aecbb2d1d32e3dc37569625a6c942d57517af6cb4c7101a36f9a58b0a7c88ac4d2afa9c4a8b517a9802c1da6d6596e78d5d4c51ddf0e471d20935f8a5d0542c20be052ca43",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 34,
|
||
|
"comment" : "shifted salt",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "623d712c35bad54674208e3d55a5f4626a687c13f4491462bcb12ce6fe33534393151ff6d6588efbd09e0cc73e4bde59683b6b9d92ba4e0796b2dad36038708a37f621a7e177a5d8632e18f8eb6c742649564205a08ba5c44b0426b62921ddaa19e05731dc1952c7710b1bc5bfcbf3547f8f3fc0cc20860583d1cb66300a31c033da0a7a0e65041f517bd32e77e96cb3a7a857b31012f47b41509f6aff1f01c6f69fec696a33665164b7de763e3e4e2da36cbc0c9be486e9350f708636f989c9efbc0fdbac0ecd84814a8367d08ac265d6cd61db35a3290c65d7e572ac86790db8307480a23d95414800d28da43baf09e6e5c4e282e36189d1457d8a8fa76b99",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 35,
|
||
|
"comment" : "including garbage",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "4fba6b612ee3a28aae6d500a0a6511e42c06a2c1fa0fddecaf01735c08d7c0bc591c91e942f65dcbb5e257b487635018e306b1e403838e5f21787b5e993c5b9fc090a0312874e192d9d7459b8785707a94bb59295ed18a579d7a507891ca69633114b8b27cf4fcaed3daf8673e36d1dc8af8a886eb98bfc9b3535bbeed106bd2d60dd683747794cac66acac47e885d59c923595d383300b48e1bd84ffb5d8e8b8c103ed199248ac7d6976ee96f891c3ce1d59dbe56e0ca1e886f54fdc0efb204c1203e20886bbca06561b72bc36bf628c0976ad67011a857fd0e6a048a4985c8bdb9a9d9d78173265c7f3a37e17d140c7b78bc262ec4adab7c1e9fcc0fa60ad1",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 36,
|
||
|
"comment" : "bit 7 of masked_db not cleared",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "30bf988aff288824b7cde0f08ac75a39d05edb22f9051614ad96b8278520f39be7ce1b6fb7cb6992ae244424116af7e646f67acc8ccbdad2a90774a263a39b0014bceedbca53675d7094e985a6735b8c1c3c8ee605ac307a1af8cf2e6953474dfbfa80963add09196d37f4cc6c22091630cc33063d28c0b93025a474284e2a03fe938282132196e9b8de864e63223ec944521899b9e95344cb5124098fd949ea3bca3de362b2b60c18710466bf609d66fbe8583271c0bdc502bafd245a6cda9bd41fd5268a2d1f82216e893c530cec872625a3f5479b2dd17609505db528dcf63b1f795efd9d47fa67afe76fc438a550e57e102b05696330245a213790498c78",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 37,
|
||
|
"comment" : "first byte of masked_db changed to 0",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "7b978910abf0114dcb5214ca469a0f4a8048ba882b901ee05b8dc558f9402c2fd28ff4dd9f42e909a76c539426cbde4b4b676f062e4087b83153df9acf363c695f321447182e3f111aeac528595858b1e5efadc080e3c79bd61af0e07cba1bd20eef69aab0a30944cf3b25a1cfb1b917adc2ae8b1b1b0fb52099ce844ef69db27fe9b0cd754c01222d64ca876e0317639fa20d44a1438028ae4614c2069c44f3afc61029a6eee36b29213d1234c8d6545eb5700f9a9bbc3d6f8b44171492bc306b656f9d8f3b7fc42b20b6df4ca467fd8627ebe7329fda4e9f6b269754411b89bacc46c30276b54e92ac04d1705e59459e7dda4ecea05adbebd748ea5645ae94",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 38,
|
||
|
"comment" : "last byte in em modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "662869127ee70b974df6b962ed99484cdbebc8168c3a72d7196084df171248a001134cf467ba29dd8be549747488e63a3531a7680b5a5efcee17fc8864bbe5482612fbb3d100891adc38ccf29ecc3736bb94173b7b37961f64abb7e6d7c1e09ce3ccdce54b963db62aabfb73e5e067e75a500e7d37bab14f423dbcac2587e28f3eb4ad574877250856a4727c7dd0b1cdd77c8ef116a68e7867f58756c0a5e747f11388361a847098319594c9401641b8e3771aade2b02a015bdf32db7ff6beafcb3a761e54670eaf72c66576540379fa6d833c919585b6745046db744b0b17c6bf8d77e8be847b3cee5b8b9efc6bfb1d6019ed7fe7c9c56a06d2cb3a6c1b2d9b",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 39,
|
||
|
"comment" : "last byte in em modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "2644fc4d9837813b0d58a40ea62385b7afa68a73af08f2ded6f3206c59b8cbde6fb41cac05e18f83a2bcde5d3558696dee1ba87bf620b5620bd65cf64211ef83ede66eace10a6d13799c5ebca1b88831cfe6eeed4147c334e5fbaa7e4e69d1d76574be8f60d6517ff597df049e571352ba7eaab295bb3710b33c20e14bf7750f2b629c3e6243e774db104c1d8dc1a0a23dbd74279442b64e095775243b7d9508feefec937d473daa67f8fd6f87c8e6b0c97bd46e32ca9b1f002e02a17c9c24506561259602449e4d7413f578c428240c752422814164a29dfc6831dc2d696853b7b10eb0093080e36eae206676b64d3fa1f9bc7852a65fec282be041d8f1f7f6",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 40,
|
||
|
"comment" : "last byte in em modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "5a7f014d5c417ba362b5a3f3e72eaf6268c5e0765a70a62fa1a74a93305e21f818ca546abe26c98ca5f0680df728448834c720a900f23778d7b540dd5de992915043a9f3b2d46a475f38506551738bfd404bce937956ca321fe1f297c64943b1615caa94e6ae3ba8fa1b35c67196215c7edae05d66b4b97ea961827a3a8bb83261b97d2e2607725d3380e93ed340e7e5a2e76dfdb6cf59b6d3f2e664638a76daf0ca0e28588551299ea85159ff7a57cd3ffc4dab6f8e6ceda2ecce6b8e25bd829793b5c703aa5c20f7441092aae7da1cb19c802ebdb9d94232e87c2317eaa0771830402eb9d84a6434bb2bb9aebe56b1cbad3f686851ce6d3317a14c306a6d19",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 41,
|
||
|
"comment" : "signature is 0",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 42,
|
||
|
"comment" : "signature is 1",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 43,
|
||
|
"comment" : "signature is n-1",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "c684aef47bc201764a663acdf22e67140410b3d201533b6ccaebf86eda3d81a1230a1cc5ce2c9e4e102d107f2418d9386f1d3734eb922629b4e7ef464f79fcac53744702a147c1ef8dafc8eb366284d3419d98e8cf176ccb7f65bada528c222956900e1ec0c2f21e83e3ee30d946a6aa267e01a28b9c1833b035a881ad1865dfd2a451086a46f38ed137237c5fe368261e3a46712399f3c56ac6fbde33682ba98c95e435e1dec2d5b9d681ade372622c2dbdbe47b419b4ba23a5defc3f792d4d8373cc27cf707dd2f3603363a0ffe643dcfda79758ad1ac53d46f1a5ec25df1ddd94780a8f51f88ffb32337f05395dec93267802db95243f1b62cc3dd8118d2c",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 44,
|
||
|
"comment" : "signature is n",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "c684aef47bc201764a663acdf22e67140410b3d201533b6ccaebf86eda3d81a1230a1cc5ce2c9e4e102d107f2418d9386f1d3734eb922629b4e7ef464f79fcac53744702a147c1ef8dafc8eb366284d3419d98e8cf176ccb7f65bada528c222956900e1ec0c2f21e83e3ee30d946a6aa267e01a28b9c1833b035a881ad1865dfd2a451086a46f38ed137237c5fe368261e3a46712399f3c56ac6fbde33682ba98c95e435e1dec2d5b9d681ade372622c2dbdbe47b419b4ba23a5defc3f792d4d8373cc27cf707dd2f3603363a0ffe643dcfda79758ad1ac53d46f1a5ec25df1ddd94780a8f51f88ffb32337f05395dec93267802db95243f1b62cc3dd8118d2d",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 45,
|
||
|
"comment" : "prepending 0's to signature",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "000013ba63edfb238437932e8f508b307cdb5117577935355a877b1ca6546537b55c35952d4b1a7cdc2be01e2f76f04dc8ead4a6bbb25ef85188b5e13109ba730746962f04ae37c8ea210dbc0970975fd55c3b0663668951544f05243d1fe6977aa71f4cb797bc8c64d85cab05a1c16a09544a6eefc464efc70b80d98964099ee71d30453b23475bec88308702042e6b4751b138a3a7f15da19e224b52d5b2d1b507dd3f7cf61d6a1cbff6478bae9d0587f376cdc2dde05901e259194ca4961211b7164c5ee23d56f7625ab8170040f00d608b2b028298df4b576b2514d881ba665f9994bb14c9a9d9d172c84b3322f2175032dc3c96c1986742651453582c79ef5a",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 46,
|
||
|
"comment" : "appending 0's to signature",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "13ba63edfb238437932e8f508b307cdb5117577935355a877b1ca6546537b55c35952d4b1a7cdc2be01e2f76f04dc8ead4a6bbb25ef85188b5e13109ba730746962f04ae37c8ea210dbc0970975fd55c3b0663668951544f05243d1fe6977aa71f4cb797bc8c64d85cab05a1c16a09544a6eefc464efc70b80d98964099ee71d30453b23475bec88308702042e6b4751b138a3a7f15da19e224b52d5b2d1b507dd3f7cf61d6a1cbff6478bae9d0587f376cdc2dde05901e259194ca4961211b7164c5ee23d56f7625ab8170040f00d608b2b028298df4b576b2514d881ba665f9994bb14c9a9d9d172c84b3322f2175032dc3c96c1986742651453582c79ef5a0000",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 47,
|
||
|
"comment" : "truncated signature",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "13ba63edfb238437932e8f508b307cdb5117577935355a877b1ca6546537b55c35952d4b1a7cdc2be01e2f76f04dc8ead4a6bbb25ef85188b5e13109ba730746962f04ae37c8ea210dbc0970975fd55c3b0663668951544f05243d1fe6977aa71f4cb797bc8c64d85cab05a1c16a09544a6eefc464efc70b80d98964099ee71d30453b23475bec88308702042e6b4751b138a3a7f15da19e224b52d5b2d1b507dd3f7cf61d6a1cbff6478bae9d0587f376cdc2dde05901e259194ca4961211b7164c5ee23d56f7625ab8170040f00d608b2b028298df4b576b2514d881ba665f9994bb14c9a9d9d172c84b3322f2175032dc3c96c1986742651453582c79",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 48,
|
||
|
"comment" : "empty signature",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 49,
|
||
|
"comment" : "PKCS #1 v1.5 signature",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "92626c8d80680cc141f89f5cd482c3e7f59b2cf0e6df97785674387ebd9c9f0631012d28535bbf8f9c7890b80d9a0c49853d2f9f6318df06eca2af2aa8351a304aead3d723ff5fbce48db6bc27e5685e0b329a14d1ef57994a4871e7a8d0f3a0d97f8486a7b40fe52327677fb58136afbd5dd832628fe423001568484c796b0036fd3f329236533fe4c24ac2e0bdc027def06fe3ea227e27282e63bf858491f18e663e23f03f7089b4b94c35f6687fadc786297535b8af03b399fa07b67ae409056cf33549b1825c5cbd954e39c8d6862b6a0b1981100c1e780802334b6924bee55efbae7685feb02d202415807a415fdc4e512e78164d821e9b2a1caef95fca",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|