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.
430 lines
37 KiB
430 lines
37 KiB
5 years ago
|
{
|
||
|
"algorithm" : "RSASSA-PSS",
|
||
|
"generatorVersion" : "0.8rc16",
|
||
|
"numberOfTests" : 50,
|
||
|
"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" : "3082010a0282010100a38fbcf34eef1810cb2ae21fef1e9a1e037f7d25d43e8b4f051ea74c367bddb2327a7bccc5334fe610f7a9855e2b76c1e9715970c22c274616fd9460d727afe9a149c23b6b9730c13c4f6213e0c112a49db2e55993b60c520eb73042c7a0b1bfe4e27b11a4c7395057235233fd8ab3898ad56a7893077bbc4414b4089a594c9cbec5deca092efb4d84d977b9f37fd982341da963a20af680ff4a774ec85a104a684648b0a90b6cc4f7d4808db666ebab808a21020f8c005c6793f196187811935526caf1b6cee47a0c14e0823f87d7aa82e9f5a635ca116686d2da719cda269c39d863571c606e5ce5334254e49648fcfcf502a1321cc071f1000d562723156f0203010001",
|
||
|
"keyDer" : "30820122300d06092a864886f70d01010105000382010f003082010a0282010100a38fbcf34eef1810cb2ae21fef1e9a1e037f7d25d43e8b4f051ea74c367bddb2327a7bccc5334fe610f7a9855e2b76c1e9715970c22c274616fd9460d727afe9a149c23b6b9730c13c4f6213e0c112a49db2e55993b60c520eb73042c7a0b1bfe4e27b11a4c7395057235233fd8ab3898ad56a7893077bbc4414b4089a594c9cbec5deca092efb4d84d977b9f37fd982341da963a20af680ff4a774ec85a104a684648b0a90b6cc4f7d4808db666ebab808a21020f8c005c6793f196187811935526caf1b6cee47a0c14e0823f87d7aa82e9f5a635ca116686d2da719cda269c39d863571c606e5ce5334254e49648fcfcf502a1321cc071f1000d562723156f0203010001",
|
||
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAo4+8807vGBDLKuIf7x6a\nHgN/fSXUPotPBR6nTDZ73bIyenvMxTNP5hD3qYVeK3bB6XFZcMIsJ0YW/ZRg1yev\n6aFJwjtrlzDBPE9iE+DBEqSdsuVZk7YMUg63MELHoLG/5OJ7EaTHOVBXI1Iz/Yqz\niYrVaniTB3u8RBS0CJpZTJy+xd7KCS77TYTZd7nzf9mCNB2pY6IK9oD/SndOyFoQ\nSmhGSLCpC2zE99SAjbZm66uAiiECD4wAXGeT8ZYYeBGTVSbK8bbO5HoMFOCCP4fX\nqoLp9aY1yhFmhtLacZzaJpw52GNXHGBuXOUzQlTklkj8/PUCoTIcwHHxAA1WJyMV\nbwIDAQAB\n-----END PUBLIC KEY-----",
|
||
|
"keysize" : 2048,
|
||
|
"mgf" : "MGF1",
|
||
|
"mgfSha" : "SHA-512/224",
|
||
|
"n" : "00a38fbcf34eef1810cb2ae21fef1e9a1e037f7d25d43e8b4f051ea74c367bddb2327a7bccc5334fe610f7a9855e2b76c1e9715970c22c274616fd9460d727afe9a149c23b6b9730c13c4f6213e0c112a49db2e55993b60c520eb73042c7a0b1bfe4e27b11a4c7395057235233fd8ab3898ad56a7893077bbc4414b4089a594c9cbec5deca092efb4d84d977b9f37fd982341da963a20af680ff4a774ec85a104a684648b0a90b6cc4f7d4808db666ebab808a21020f8c005c6793f196187811935526caf1b6cee47a0c14e0823f87d7aa82e9f5a635ca116686d2da719cda269c39d863571c606e5ce5334254e49648fcfcf502a1321cc071f1000d562723156f",
|
||
|
"sLen" : 28,
|
||
|
"sha" : "SHA-512/224",
|
||
|
"type" : "RsassaPssVerify",
|
||
|
"tests" : [
|
||
|
{
|
||
|
"tcId" : 1,
|
||
|
"comment" : "",
|
||
|
"msg" : "",
|
||
|
"sig" : "5ff84226a80c8f9154a50083fe04ac1fe57a837a15e471b9bc61fa852b2e43b6f3418ca2a7130037d74955778e463f24b632d53af6dd141a2d91dfab14049b7762ebc0acfba459cd8c9ddd29a7b07e97d06db81d49beb9ed0cc9ba6dc0609788f6291e3753907c8ac11459b83a1c0a0acd3ef78f9ac68498d78409a1f3b54ef650f108d60e7267354787dcd5ff0c3648c3ad3a1796dea232bd9b8e816726109fb2e5749835ceb37375f8c3d8d6234b5828b0696b01e1479fe38935d27dba3654de38d1fedbbfc20e66a89b408111b4fd39eb451dab472a66fc8e3b31bc487bee3efb81c50dd9307e674e9dc8a47513ad119be1dd541741c1fce81b638d1f3fc1",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 2,
|
||
|
"comment" : "",
|
||
|
"msg" : "0000000000000000000000000000000000000000",
|
||
|
"sig" : "786f20dcc20f1b84f15dddb03cbb861d9bcbb41b303fa8ee98bfe6c9ef8af56a1047a1fe2032332bc0309ca4a6913f8aca617824a55729301a0db9d70414495cfe494edcd27a7b5338a27a2b21d8b675f1bc902a739f1129c661927d10537045b69c4504677b73efec551fc7690627b5c72a710ec3ceae49124f95f28d802da4c1bc894def8ff64a3d95ab56dcb54c1aa061c0d5f05ca5ed8a788cceabe1a542ae7d414b9aa97ab2129e88438ce48fa5c707dcf82809aa5538bb7bd9720c251dc17b01d871a6527bc3744f70dc9d130f5aceb7b2acd70cedb501cbd67b7841713b93a7094bb60f322691f25641c2b22b48805c11b07666f62672c726aea8d325",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 3,
|
||
|
"comment" : "",
|
||
|
"msg" : "54657374",
|
||
|
"sig" : "6b6f8cacce0e50429e5e60eb15ad4746ecad41d3bbb973a56cec1f783023e0f004a5c26ddf494cffca29d5d0edd1a9c52f181d69bf73450c61ea9ea0102bb412244d5b4ff6e2c216be76f452381708b45f0e80aeb6391a4ad5d389155fb5e5cb38e6a2e303e0bc63f52d27830bfd1e3807beedc5d9495b7d5cfd113dc0c6e1bc17085dea97bbca5f0d462b63bec5a664eb5c1ff587459038f5be7cdc4cdcb320d7686a0b97fffd2341eaf286e900176f85141710666c6bcf3a797f9e8282a7910825d7bf4d2930dc208aac366670701b583b84817e6369a2183054b894e505dcecf5405b2110f96b6b8b244542a466bf0f0f7141cddeee7f0613379028d1a5bc",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 4,
|
||
|
"comment" : "",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "69f8f909c6f4cf4ed99950ccc28515588a9a781c2559de8e2ce8b0a73ff423be475b58d91d6eb57a70902604615fd9fab2e6bca6b5fd302eb02c5f4b6e35a7cd11320586f6295834b55d4c4f09c4a97b9ef22d2321a8f4eef1a3904a21657c34673ffb72d83ca044e42d7286c268132fac4e3c3376d4b270b3dda2bfe0e2beba2d8670a7c224bb7bc02713efbeef767d500eea4e3eff4c9158089c5f1d96f5c10a1654837d10e84d23bc84166b14c852a9af0ce20f4cf8a63b7b5adb775aae0dd2fa97cdbb588d36e70faba949e45541a83bb4e9ea3575264f8f1d821953d0af01db2a16ac4012ee97b9f1caebaece5ab1c944559b0c94414aecadd6666b19a4",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 5,
|
||
|
"comment" : "",
|
||
|
"msg" : "4d657373616765",
|
||
|
"sig" : "757f4eebdb0368378444058319f47c74d6a54d417110370fdad032ad2b9ac617413d43b12272dfd200f5f69944a9ccaff650aac5ec553c7577f9ab4b2b25a4bf86978d00bf125e99da8c03f1ef8ea223cf1c4bde5a6607ef62253a15514834b90297015cc248af27284438ebc3cb416627b25054cf719a9fd59f1572bbf00dc7b36d303dda6ce396f9fc8dc78112854d1a68c39cfb32b7c56f0c43aa5b86dbe19637a4f3ab56844b9ae4420a55afb454931f8d5cba5858a1fcebeff8df21a27b3349675e0090e9bab9bfd7562ab4bd569774fada45ecc38fc2cec0189bcade898b8de86cf39081bdd95f38d9502f20b129b4d9d465c1143a869d1fac58d827c7",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 6,
|
||
|
"comment" : "",
|
||
|
"msg" : "61",
|
||
|
"sig" : "37be3ac1e3fa1bf05800e2ee968a65d6580e653cdc6875efbd6908815336777a1d8fb3a3273a15d2be988bb1161799641704f6121c303d62a957689bb9023ea665561f5f2b01332ef71429d565987ba2d9be826f01e1d3dc427d87f514eca74a929774134673c3aeab24e68d24661b0b80577da320030d62d3c7c7e1a35300bd75cd120dbdac1d2aa97bf904ff9ef74af53237c3da14bdd57022f6a9b8fc93ab48227b735468bd8460c509cdd92779aa0dc6f273cbe45bbcd73ca6d32966cb33c8ae61743f18157d31c63b905ac86a14a5e822cdcec92b7d4267c6f8c912e360dd98fe724948b39ab546b2403daf740b78e955e20d37fee4504129fe4d4a7dc4",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 7,
|
||
|
"comment" : "",
|
||
|
"msg" : "e0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff",
|
||
|
"sig" : "382a6a00c02c93991f4e75caeaf199e9e6069e414cb6179162bf47cbd2ec0f59f214ff11207945b5621e29bd1d9d0b6ee5753ba47ded7b25b1ccf0dd0b6ef39302b170565c55f37e63fefc7ed799abc73ce75ab056ad1f1cf8d1c1b04205ce5020ba9c2fbdfba612867dd5ed8448ed79331ff31f19ea7b2a4ef9c91bea9e38697960363ab055165e4b68dd2f551c4102e483ae448a7c7320810c2849a157f2f91418b4f282d596b351f8ed7a5d4db07019668ed27b70d0e02ed70e962597c4f95e2e0bc8a1294e20a69b6b739bb9704b8557be2aa7b530d709563cd1cf966be8f06c83121249d34998c1ecb86f73f5b37ac49315f4dfdbd69e4e0b1dc32aa795",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 8,
|
||
|
"comment" : "first byte of m_hash modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "01ad0532f0b111e7ebb6aa8e0e2a7d28770080621a0739cbc26bec1e0e6cd6d474b0f74a1dc82d32031d503bda62ebd2dca6cd2a28821c3c2579c720a9d9af1da2512b1fbb71fa74b65262dbeb1c6f09601388a721501532f2b37f4419870c95b0595007f2e8f8dc7182b7c71b27f7e6ebb84e736c107ec05140b257d317c262ad044224208960c6f31d715265d194076497d4521956f7a48cfc09428bbdcb4fc53ad8be1153698873f360ed09c9fe10d3b9d5eb2dfa0feac74a764be044b1cc5d5e7b6744455fa3889c6259080a9ec672a017c9e5b37ae87cae85d3db71f81785e344e01255acec8d79be308dacae9c31aa9008308b43126f7236f104f543c2",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 9,
|
||
|
"comment" : "first byte of m_hash modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "0d6e7e748aa537a309dc3b389cfab0b0b491c6f3e1acb1b19451413680e80fc3d98a1c33aab10185e0caa35fb78707f7b5df53da534ea88c0643eb2d8ca9d420423cdf1148a17579cc6b24fcf9ff9107aee8c5c4219d1069b42730e470165d70775b7160df2239bc1f1bae1cf7e88c86a96b44aba49883483a38b54814d5ba90540bc167c772f2fe7fc588dc7898d1bf9de863c2918f2468514f08393697c01df6b4c9c3448153f1a222936aff123dd64c18a6021fbb8ee33227529fc194282925e2a461568e74f14d072bfd1149b109b2a9af91e7cbf43dffbbba5e158218005f842e118604b38dd23a0ab5e7a3ec4524faec14aff19d886338d2d94b19eff2",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 10,
|
||
|
"comment" : "last byte of m_hash modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "9ef22c2eada93509c8a8c8d692d5f9bcc3fd4c8a114aa2f260a545a09e75512321d3d77e53614d928b713d962f2617a13205041451d479d0e39fe912e098c095386aed21a606dc82f0053d34595e51b8232628cb367133ef0fa98f4fade4b420a6383c7c0a8321b8560ac0eb5d397beedfe30b4c4aab58fe2310a18ef2905a9d5a65bd5f819e392bdac167a6d43323e3611ed7abf6445cf088ab11f3c739781e2f7a031fd780b202767e33c0e991b11a0aee840397fb8ce578b6513bf30917912eb2a06ac1300908734ff802ba0e3646593ff4f92a61cd2e19321ff0672e2afd902dee13bef67b197dfe1ac4e48ce17805ea67a5cf3c3a1c07ecadfe710a9634",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 11,
|
||
|
"comment" : "last byte of m_hash modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "88fe6b05bf1db8290753e21a7026665b12221ba79762c669a19110c02221e90138adbdd0147e52e69fc4817920834c9e4f32d7932d7597727d8b1e8ba88d5792cc0c7a4a99261c8bf447e569fd1d11f27b5441b985fc5b55134a3f3f10e5774ac6c426c55a081947b89b537eee0c7d2ae2f3ea68ba4f1d8884539e2d6a26c6db13250439e78965bbf130ee4ff2a18b423fe96595eaff510e7f8c2090b4cd418bb72ae0dbfcc8ccae2d96800a6da30782b339e0e5dff18df0cc01cb5ecf78a7e32bd811baddabd82979b8f9ebbbc2b8b73222660f30b5ca124231c797f6239fb5cf3c5e3e6ae9eb4d9e66b34c5b7f7fac3851060fc09d5b0dea7320abf3f67075",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 12,
|
||
|
"comment" : "all bits in m_hash flipped",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "4d1d0ff5e44d2a0a794ef9e4f8e138404824d7da33ba291c6954a061bcd0827dd02434442f6d38dd9da2ea8268c3af11bbf1bc191837b64cdbef0bc4db3601e5bec1cfb73321474a21ec88e43e12a6dd711f1f2cca44013c032617393571ae1c1e1e1a595cddd92214cf8ce8d3392397ba684db0e31bd09ac8e589b5f2b3ebf6a2d3403ae8d7ef7b2d0e1c35fd49b2eefc896efa336df8da42105305ebd398ca8bc2ce07733260e50871ffd6ccb03aa19fa5fd87e49a98326ab78ac7ae99f1291666982137a63fe546c3f34d550cfdcf4dfa74ae50e7822fb9cec5144d8afabed44aed61c3a98e84a3da7d3b76799e1ec0c936aec178d471e1a16387ae42c879",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 13,
|
||
|
"comment" : "s_len changed to 0",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "319e76fd40f8f971c06185874d61512c2814019e2f5c68f8aa637aaebd19e8df38faf33553348870c2e8b54830ae3dfcb71356a73e369fe62d5bb9df80cd9760a41bb29a64b86e5f5c0cba71f01dda35940366a8f49535cdf8f496caf348e4010965cf98e4ceed9393fb61d2252ed1716682b79054a2ddd6c315d478c522a7ce02b54c5a92171f0b7e2bbdf357145f830ac6f23aa620c1c43098e830134c0c1caa7e42b497d04bc72c49138acd6b50e5d82f71e370fadcf604b3da18b2a685dd99ecd8e00ee58d5deee5245b9e247d0ac80b3bca884860d1c31a677d481a00bc05f9d6ce3d17e908bac747895126e68c8d59a82cc3df9956a24b77be6e2ad39b",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 14,
|
||
|
"comment" : "s_len changed to 20",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "71242c490cc97734d18241fdc426217b8c7de089c180749d64d167e3fa96c9360541d3d6c9f63486d397539d8e81ff8063cf15e13826fb94618c638620f78fa81b21a63c1aa220d0ae1a235ce334592a0d8bed6e3468270cc3fb289e57fff3b746351d4e9d41e334578d1a7330fa9ceb47298f5638a786f90f7ff779f7a462691388b60a52cecf08b7a1038f154d8f75b4d666690b7d0b8f8eceee0c5d8b607bb7c0b96270dba0c4b5e51999fded5e6de5095a72d45b20945c47aebe717e8d995684582b099883431f4ed73b73549d41518e61d6dc76d957cd0d898a7cb551fbd2a65b650bb633e743f5a971b6c3b5637feba075b89885b362a7e0f0da3b9ee3",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 15,
|
||
|
"comment" : "s_len changed to 32",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "9258e3e3deffefc0fa406dfc1c62c581a8273cacb9342366db9c9c2984c6d008473131d5a6a78ec0d91cfd20d301181a86c334aa52cdf365384443963844ef085a5620bb2181597802b5dffa71b34084607a27fcdd7f7510eec13959d139ff1412c28ac9fddc33ae37733c767d71be6ec2034fa2cd28a418dc40cab3d02f2423b9d137f11d6707b67f11d30951e110c7c5c54facb0d069f09d54456dbdff2ad7aac5bc584d498426b6888d45a9e4cf1e7a20ac12af3b319d49e271ffe81aefb9a0ea1937dd7e59c1ccb6c189a1348825655c7176eeeefaf35f9de0e339187cd99ce7e0854c90075e5b9fc2a7c47017c6dd4c49c0d4e2474fec96e3c3aa8a023f",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 16,
|
||
|
"comment" : "salt is all 0",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "4a9fb8d1a04ffd36a34efa4505f99500db77657370b5bb8547a6428477b8099534eaca611de757b703b2506d463f52c26bbd9ff6bb7ffafc3ea38e86fefd936288854974cd4db84fd8a3bc31c12765cda55e76ee384ede82317ccd780286b56c1f916e545f735e4327faf05b9ec4d5095094adb19e55fa6703b92277533fe9bcb93a0052d5dfed49301517b238d8e125e2dee483e4d2839b8a7fa88d0fdee0164c08ae866b89cc7fe3bd494a2d2a3c2e3707af257cc7bae53cd93b86a19dcc73985080c035b344ae4fe89247a5165ce7bdc1b1513dc5bc693c497a03ff761f8991e524dd779bdf2f796c7c43a4e6f453752eac1097dc3c0a92830e01bca56258",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 17,
|
||
|
"comment" : "salt is all 1",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "474593ea47013e62b7156604c261943b3b6eba25e90e339ca6659a054bcd0a06c100545120f0a32d614c428de28af005f867da74e44c2dfed0e791d6fdc9b42b5cc52fa98690f053f7ec140c6286d808e2cbdeb0c7d910211bfef2fc0f901df4958df6153294f0ddd7709fbec92adc3cc2a3d94f3e8b983c22db19c51932ef47fc2e0892e49f43f42bddade886a3d65c3049d391718439da47d1fbb4d4e23c6c025cd1143bf9f8ebfed3723c96dda126af0a235e3a20f716ddf27d74f7f1d2b0e2354d16c6eefa205739a6775297e905a762d2b43d56319c5d6520f2c943c7f2f4a918836b8ec1bcb6ab437cb24690746e9eb8e13ef30c8f8bdb44a6d82c5b67",
|
||
|
"result" : "valid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 18,
|
||
|
"comment" : "byte 0 in zero padding modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "89e849efc26803e3a152765fc53b10d545d5be574f3297623bcaeffd1ab42dd671902abf9a99d0b169cc3ead700a2176304d0333ef312f26ac263d594bae39d2404fd5e6965ae78795f5308086b3fbe6881071297ec4b74ca24018244907adce97a6cd09aca0e972169df91d4744e4c241eeda58dbce00c2c86cbb9d0b1b4d1da9201a11e96015cf5d9bd6ccfbd83f12bc8627697a1b9e102c822ff203eb2b86b668b15118e9737295780386bc0505db48e46eca1d752667374065cd084e357905f04525b71a624654ca97d4aa2e6a566228feaca10fb2fa7abd7b2fcb679c89c730e80b2c1e594ee785855bdd4bcb79a9f855a3c17e3ce323ad04afedd8910c",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 19,
|
||
|
"comment" : "byte 7 in zero padding modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "3fe7ca479c29cb63924d12f4781db1dffc43b92aa0b602dae290cf3bcf0a705450b0cf6399e7b12cfa4f543f334c819dda5c15ad2dd343cf97ab058d28780edae184da0da215c51c7054c36ac7124467eadb251aaf5eda94776de57def20420ac8f154e44156202f4e479f52614cc11bec6947d96beb291c4f42c871b701ce8e744646b12e967557bb9033475694e98a2ea2d6f86d339d377ac7ea8dfe4057e902981931095b9e004c5109e32dcac560d7f0d263017b3218c339fb2e2bd13027e30cd194aa934e15aafcc133dc147c1454fd61d6a1803b3e9c21d6e9158fcc1a90b6779e9e0d8c8150f16474be9b164e6f9bd98927b069641cedbfd83c64334b",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 20,
|
||
|
"comment" : "all bytes in zero padding modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "5c84649130b0bd13e5552a4275c002d218ce7735382a7b5771a7d334a658550ca2ee45a0d1a56b4c0c2d6d1134d7cca5db6442adafee044db92c303d56c5512050d2d81dbd02b508ead7dcaa01ff081d68ed8ab33243d7fef433c9f3afd3b1839725d6fe7936b668a75ca47432f92e7dc525984c01b1782d833830bb9e6ee452746b2f4a59d2712a1fa940f81688980aacdcbc9db3a65516f300b2d9104cfdce3d7002742061f7150070e9e174a83d779858bcf246daab5d29b681ee52dfaeb342806ef56a90931cd21b95deaf105c01b8c7af748c0f9cecad870285fdc6a43f95f87c052fc35f1a3153b8d09b2218cfbe7274b48c8f6fe95d9a88db634d155b",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 21,
|
||
|
"comment" : "first byte of hash h modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "6f30b7cf2e5e358725f426b73990171e8d59f9ec6be0ccd212494a3feca57e2b0949011dfced93923f93cb88a39d2c03b9dcc106e8d702cf35ff3382ec50866346781fbef19bd7792afc1e82dd9e15f604fae8799cdbdc80469098ffa1a9ab5073a342ccd1ff7f4614ea06cc45e59b237df38a22f15d1bf7566028ec4be17ac1957a64890c7dcc601343ccfeb078870dd909841f7c520c9f2b2edf7a88074874c472c3dc4241981216e59cecccbe765e809926057b865254738bc4f7ca11eaef045615ef9b4e224153b32e2ad4eddeab5e2a81081045b8ab679f5fb33f530cea45e6ebeff0ac4941daf72953b8497204cbe98ed3817140b7bb9d70ade8a49473",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 22,
|
||
|
"comment" : "first byte of hash h modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "7ed0eb24039be4695dde517d94d1b7be7f2ae59f3ba3a7e22050f7fe899e4330b96050828f50370ecb50c357af474bd866eceb93b0749bf38a97acbcf9bfa8ff53a30490aec3cc5f6b39c8b6c194891e7972a69e3dc2d05797524200cc02af0833cea284053b9f953c223031690b1e1fb8a7b2609e6bb94f3c701cda484d4f7d84902b62fc91e0f0ec69387d5df497e318b6706a10a4581e3f073c75050a94663cc83335d50f051ff5d005974f36a4541f65a560e587f09c924f52a781537459f20526f89459765b4badf3a040c339227440e162507bc0f9fa91e16a4e4d58c6c81fefc76e6db8220eb49f6d1276cddc146f0d964aafbef49c935f53b8a2b215",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 23,
|
||
|
"comment" : "last byte of hash h modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "632842e6cd190b0aa03105499240a04dfb3d612176642ddf68eefe8ff67de18cd387165bf5f34e78052ef1d1ab888c6168aa21f977d936856eaec5ca0034acec21631034304c4710f5665a8217f314d1bf970587d99e06ef386e9c0be1a5fbc645c5f3f36e497e4557e2ac83033718230964199adf857ad971ec69d4216aacd0ed257edec73c8a644aa25e175297f414b8c911e9dc5bb6866dc1b9c7e52d5e656d598c7a7007a7c842828e934a508e7c0e4003263e657e84bf2d10a0ccbb47620becbe0f52c3f095b17e3dd4e906fbad7f45ebdbe8995a61cbf82b6ed58a32f12e33b3900fba07d8149693a43c34649cbd34aa7a6b9303d40f187bbcf61a13ce",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 24,
|
||
|
"comment" : "last byte of hash h modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "545ecd3a1b8799b749e37bc45fa8b997d15f12d1123abb07766130e74429a2becf9684ebeda0855df075e2b18ac7ca91e77d8e682e171319f742eb6d833c1383ff233411dd7fa36639ef628fbf6fa53ab07383c1663641ffe4cd030d20fe4b357597d51bcbe2725c06ba0005241a7958b961a96bb445bf19b9056fd7154513cf7d22602a0e271de9273204955bd944984ed8292c125221059c26b9d3cedc79f0750e430e8862762a397a0a8737fe5623e668bc24a5ec8b619e0506d09720beaecf02c8432153d4c918a461c7d3255db19bb12c8c5ffe046fd0676be6858ae883a13e71e69c35ee2f09375f01a1fd5e17e660614f1f293db0a76701cca27b9699",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 25,
|
||
|
"comment" : "all bytes of h replaced by 0",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "9e0158c8cb346fe387e11d75141f243336af0b9560607e2af9f16c60f271b6614a8842a347a17a27bb49f13f894cd2e494c1888365b433c3c4cc6bb0dfd2dbdf530731496afdf39a70caf29271acc58a74d4196b85bb8f376facdf86232b9d00f9f5cabf0a37c32f71e6b0d7cb78a2e932663bf33c68342a17577826a230b9072e6f97a99bcf679b709658c29ee07ef3809239e953bc79933e4be483630cb1fadf95143c60ea2b435444e972b48248b399cd92261c0bc9f949ff6cdc52e1ff693347e75e65faaa6afe3ca552cd3686d663d631a961046b7baa0aae0e62783cdf175c178c91f61248229d5584e0070f2218c481ad73de7cdabe61e933e62f3f53",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 26,
|
||
|
"comment" : "all bits of h replaced by 1s",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "1ec99560ef70f02c523c39cbd21aea0d0e6a6593b2029ec9e9f499f8ddbd864a0a85bcdcd8acea867090c511ebd633105b8303515507480ccb58dbf4dfa03bb902d93273873029f8e10a02bc140913d5ad1c1e6d87a97b42755691541dfe7d344bb0cc209dd2bc8a2c36b3caf8295a11bdd060de347d4e91b2382a53bcaefa29df00978d49406fc05d540cef6add5939ca0915d0d7d98f0883e7cf5004d3da90a0fb3d0b9ce6b8567fd03ff1cf44c8d80a3ff9f1b316c22840124902cad7bf2bd44e93d4c344c6a957a49d5b847b79aed2f99757e1cfcc18ca9abe2e7b2c1afaa29c0165efc5ebac1c80a85ec171637268beed536e591d37ec6da69ee2e53aa8",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 27,
|
||
|
"comment" : "all bits in hash h flipped",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "2b4ff07f7788afa0cf63a285a2b88860f9a75f7ed768a14680ab3d105d70a612fac98a1e8784790ff6c1ca03dcce5a1ed84a86c450260f9a88cc532bfc30e6b7ff0230a0dc5606779f1553447294b3692e89cb91864f3a95c591e9ce84a2f38515826dc5633c075cbdad03eff06a8466d6ec99c327750c6e78c8d77e33573be5190855d590b07e79bb3d6099688c5f39c192c4d7bf8fbf205d26789b8cc7b290d840706ba33190136cba3aa6bd16ee14e5412bc8d99d7d245758093a2236a53cf55825d572e69108b02b19188bfa0045573f639e1694f7af1ed6299e10f28a1a953ca7294a0efa462f9fd1876d6faf2e7c40e5554fff80c8ef256e424f02e3f4",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 28,
|
||
|
"comment" : "hash of salt missing",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "6dec410a4e3566a5215b6c9d0fe5fa0b5f5c65df0c4f952dcb7c48d7cef57b16daa315d7d1e05c5928bc0615dd0e51bd533c52753c6b54b524a54c787aa956bd3af8ae7eac1fcdb4adecbbbd114a9ae19b6767c9e7474efa54e8f861bab93e0c94f8b0c9361953c9411e12f34b5f9e84fa5f8aea29e316eb983b883228574565e6d53d82c47545aac70d3d3b24ee3e2b3acd597ee32464176da90e9623ec2cd02831de40e1fd5c627b42194165171bc8877043fe8f5975e38631a55701d84e895fa69dd6778dda8498756452d171c7195898efe9cb837b2abd9a22a58c1230fb7fab2c6b955b5cd24eb97cf67fea018c2f283234a5bd8abe0695b252b047dcf0",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 29,
|
||
|
"comment" : "first byte of ps modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "6146424199528a498f6dfef22a99d0a6871f2b6e27e01daddfc985dc565442941817a0a5dfcaec3ee5baa48e0e0c902b2ba9b62f047d80210b614ca5cef35cccd60111198bb129e59ca7b6db2e0dec8fa2762907d0d6ed00c2995c073accbecbca836be2ceb1bbb7c14df21f9fdb409e78bf9d409a3898c34ee448bbb88f92acd5296f50742bf831e0123f4eb868b07217c7707e032cf5dd821e38a3f896717aee7d43dd3ed6cbb9172597ce840f126ec78a8294f2025694fc5d618cffa0adbdc5717c43c0506d10bc033304a71f5ae1030169da67a1afedce85a41b7f964e0fb54004d8cf04ea9324b3b0c934e82857ded3af6df9903ee86fa1fb2458ac9d12",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 30,
|
||
|
"comment" : "last byte of ps modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "2b37393825d1faf89cea62b126237b0d6807bb4fb5756b9a9e20cf49ba6dee4602edabcd74d3b730aec590ec5184cd3818492f4c8affde0824ff4251564b15410ead9a5a27e68f47adfcafe8b5973111f000bc6631e81c454a4fee6ffa22dd2f01f28680ef74fad0c3080bbf7958cb6e4886f01a42210f1a9f4bc1fa6e8a71abe39a41f1f1c09efcbea6a10abb0c1e22754d20a12a38a5b26896e2ba9ff885b17adf65ca68115070fbd1c90c059178e044c45e2428e67083eb65e5481054f9cb4c23b30fb43713396a409f2c98dc718349878865ef200f9ff5dc2d9a0477a12ec312cdc565b5e75b9fdf1de53fe6f8b17634817a3aca83e02a025edc03532473",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 31,
|
||
|
"comment" : "all bytes of ps changed to 0xff",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "975e84b1156cec3f36cda99755506dd0bbcd42a1116e9b863274600df51be67103b0c44b6a5a8864136a4a25a47d8ef61ad91d610d696e015841385067976205151450046abfa4f9514f7487f2191a1cb939de58218f4570b61a6ba6f6d6ea4b2ac09db79c416bf7736fe671fd11c6647332ce4a6e269fb7ae320980f8f51863562600f4bb543ad12952eda92271c14cb556150feabc4148e6d28a2c858d9a4e84ab985fa416fe6119fc241659139a9783f01cc46834ef35ac5c215bb374bc3720aee19abf24955b7a0ba2d486861a9871bbaa6702dd2809f99dbea29e2921286b5d5f7fd5fdc594c2952f9a39003fe3bc0e23bf7026ada9198eaec9c7dd267a",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 32,
|
||
|
"comment" : "all bytes of ps changed to 0x80",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "6e2361cae5f5d7e3ecb6b4600f1a27db10b2b9b59a1d620dc7314bcccef10bc52a0dd0ab7fdc26bab61ecf75d92bde12ac9158f7e9ac6e8c0731a4714bbbab3235f7524137b16f2726a87e360b82f9d8245112bd323087c34e94a09bd75ea45a2b904c3544a2098f5367dec657f7e7184557ed4eb2e3bdb01fdcc9d8e8eb209485d46342f2208276bca631a75464ec1b8f3ad34deedd0b8d97a602930c863f75777f26b8324e0d67fcb1dab2ea556846f938b31a7bb1d860c4d737ff45d6b59561963a0368f2a648bfdf81c147be1d6bbf011437e98b68557477b03114f50327578f11196cd017b7feea22eb947ebbd5c6080435b5e9a01a5160067f58711d8f",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 33,
|
||
|
"comment" : "ps followed by 0",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "0a2f6eeaa333ad05da113fa00cdcd3888fad739605c4d9b345000d6ae3d80a772250109fa424ef8515391f3ea4c4149c3e7073f20a4f2d85a4b6f632ec725cc4a5c796ae1dd64c4adbae494f6933e9cb1c4045e77d991ada322e82a331510f7b48c09e62e1f285005a15aab4b9645d5f764356e3266aa5410476efce447b0f8cf8f11ef58f52089cf345e47053532a12d9fe11fbfc49da9f3ddccd5d5b338317d5a709883b7f4f82306f5aec5c8227238cfdf6cb9e8febe72f923fe2e2439cbdda5bf6331827a2189613023a49401c16c85bb163c65304e4c2c749ea27a8b070814d66f8e9fe59725b96cfd76d0c4c612d5a49a61a73e47c4be7729593f1d75b",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 34,
|
||
|
"comment" : "ps followed by 0xff",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "741b5c6fe8dd2bafa5031f0bae057b7c6b5bc0d2c4f260df2449c2bbd947b2cc06ff46ae67af73795dd05d76bee15f4b267290cfa58dbbf9b29f99c365e4841241b22e135dabd40700d6a92cf146be751dbe8f7e85befaea9c33712cf62be0c3d76f6a514fef13a1ba6fce6c67888810022f4c168b2517a3012de762ff10205504ed27b80ebfaded12bd1abb2577fb620bd70cf1ae886ab810146896d7428e84f48ba0b5f7e67e169411bf207dcb43c0e185ef82f1bbdc431a70d103577778bdcab424ef3f619f3de4aa49ec2e48fc40dd44f90fd6fca50d02f1a2735260548a01a568c7369d62999d305dc3cd15dcecf2a6417cd5b4c26ac5155ebee8e577f7",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 35,
|
||
|
"comment" : "shifted salt",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "7fee1e9e5f777d5f50743a1ec53539d5f0824432bfdc9b7ef31d2b1852804773969796d503fdb2b48b08cd8dbdd90affc6a0c7f4639fd931155ddc3d5252993ecef5b3df872609e4890ae478f809edffd5e2725f2e29b3ca402af4853ecfa4a9ae71b68c3b1144ced47a27a30e272dcdfb99dbce0ffd3bbfce12a5933c2eb68eb03b9d29b4c0b16e669cdac0f42d00ce421864418b71c354ba11c65afaeca919f4dcb3f09bc8be92001b4298128e832d6559ce9dfc42e3ea2ae2259b191532aeb2419a8f21d7434579b2c9034305c3458ceb66e048b903d22de309a5095b4472e2a5850ee0777f0ee62464639f766eedd5d350d4109af3b0a52edc7373f8f93a",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 36,
|
||
|
"comment" : "including garbage",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "1795ac40c8003a953d0d0de08ee35613ef3ac952425219e37b5699ce002a6c574655e527cf8c433d7b73b313638b2b9df0e9a36db576b728f7c8e7521392a5fa51fc0fc588e92551594ba79b46b67367465d1575f12e3cf4227fea508164232c41d3c3cf92d05acb4efbdc5a3b66a093a79382143e0fc0f8f6abc90d5c9862eaba8dba8964ad4dfd17a214accb4c4b548a5757135af68d488efe68e7e66a7279f2eebeaafa66c87c6818efc9d9fada16455529a61686165e0d8b94ecffd346f46cd44214e9c71ff45778bbdd3df3a58ef5d8c02e0469a770778568a4316ab9531a77cb7ce55de061f8a227ed2c5dec5e63c5bacc2a474d9d6b77f0613b5a6fa3",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 37,
|
||
|
"comment" : "bit 7 of masked_db not cleared",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "5c6e5054f411cb43f15ee46022187da45c8214a0f5f6e52c4deaf57aa44040c087b828d1c3d5a2e1c378077c51f9bc49599afcfe9db03510376392016149ad61bec1203bf4fd05672341f62cb32e9a4d7f8e91d2953ce5e83370bf4a5ed1c31329c5622a7d55a82e8a19ecc25984ecd99f38198796fe31c3def106c6e81946224a7c1a0d935869fe8ef6bb892fb6df806cf52de09f4ac86abe51f1b148f6b32dbb97cbf87cdd259ac57666dedd0afcb6dd7cab527d8cb847cf1a18f01b0a14f0f1f3b50fcb9af4692abca60b12331510c1eccfdbaa128bdb9f025d75fe8a49da2cef04307912a2d2907ebe6a77dd44dbcc5d83753096eb0eba86bed42fd84f24",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 38,
|
||
|
"comment" : "first byte of masked_db changed to 0",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "7928c5877dbb16c761d15e5997512159bab294fc1d1cc73a5865f84840f369d6bc47504bba8432003a4f1cbcfce97dee137660e973e5181f7e81f897fa607941a11d95ab230c8c2afeab2526c5d906597593948b7e9677823db13c12062c56d0b8f4bca283dc90a3962cfc98089e09cdc791e5ca6076ca8e6e0b731d85ed5f4be38ed798e70b437f1eec4bb5b70a8fbf35f3c05f0f93f34167ec666783a08062c2230d12f9d291ecb4e523bd7e90d3f8d295d5723fc1bd35892207423f20e1c925c270f1e8b6e576b872df475d561b5dc775705bcdaba215f3c4ee9c2571e41b9a41ff23f6013c02202755b605bba21d2bc6fcac6cfee45182c11f4853db26b5",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 39,
|
||
|
"comment" : "last byte in em modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "09fc62890b26d45956afaaa57d63d54e205c1f5b6204889bf83e5ad8895fedadea1eb85e4e49663d24605d4c4a2f7fc6850e8067904e7001555c0bab595d3bc36db62f369629c9534467406eeae04fd63bf164c77d77ce7b5bc01f1ecfa4e5d000c94a4f37c4f8f16fd0c5aa44d1e2f6a7361b497bcec31d6cfbeb5c805d5cb5321a0de8f2c8e0fb9e0e19b7421eb1a432b316d0eb2e72d5c938028fe98f5847b90c87bd22bba5de81ffa0c9b17ae86a32bca6433007ab445651b8d94158b2fba9214a62a0f692fc12d3fef8f78679601394943bbf4813ae56110ceca1929bfe225a5439d6a2e5afad50332faddf434559a0303a2ddfaeef471a974e38f39ec4",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 40,
|
||
|
"comment" : "last byte in em modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "0a18c8bfbed2b0fd74e06e2ddfb5ec85198dced9546f8bc6f80c9f8ca52a0d153a609cdb3d645d7d7cb9cd760e9fe766127eb5c2ce05cc678d749d05fa37df06aaec15c777d93188ef56c8499c50b5dabd543b14aac9fd8c09ddc96f80c0e2748334a18c4b10d5bd1a43c2139d47751c33c946a3753e1360a81d1f6771b24119555a338f2e824069e946497d9b90862ef3b39c05ba674deaa95dd3291ae05cbed4f4b868afed2e655cdfcc36c0a703a5561a846de66a7ae67634a45bc60e966c81b6343ecbda46cc7592687e74a03e5863df0eb7fb4da2eec38952581fa2ea48c62447893191b562b1905ca60df9870a074a3a6101911a31c8f93c3be7a7e21d",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 41,
|
||
|
"comment" : "last byte in em modified",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "63c003b9bbe4267bd83ef9f01c0bde0943b42686fdf6d1dc6ff3eee96ad0ebba21e2c2119d3ce8710ad369735ca9f2c4fefeffdbd8933736682971b4ab620b7753fb7b866705cb09ee224bc5b2d778d58836ad31d3c3ecfc63b1dea0ce472034e508f057fad03c515eeb0b62790387f2ead8efc5421a992e3d71a53db48980dadecfb6d837c501b08c791e24465e2cb42972d3450be6d1561fb1c416f306820cb5156cea44c965ca64e2941853718974c8b0e76dc5f6e0f580cf52a7e166edb6d41d79a691b8f6807a89752e852ed4e207b078f3c8bdfdf16a6914b970fa7989f81a573fb1f1a52733c7212242dd673ff48571a568713aac094949a12c9a755e",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 42,
|
||
|
"comment" : "signature is 0",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 43,
|
||
|
"comment" : "signature is 1",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 44,
|
||
|
"comment" : "signature is n-1",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "a38fbcf34eef1810cb2ae21fef1e9a1e037f7d25d43e8b4f051ea74c367bddb2327a7bccc5334fe610f7a9855e2b76c1e9715970c22c274616fd9460d727afe9a149c23b6b9730c13c4f6213e0c112a49db2e55993b60c520eb73042c7a0b1bfe4e27b11a4c7395057235233fd8ab3898ad56a7893077bbc4414b4089a594c9cbec5deca092efb4d84d977b9f37fd982341da963a20af680ff4a774ec85a104a684648b0a90b6cc4f7d4808db666ebab808a21020f8c005c6793f196187811935526caf1b6cee47a0c14e0823f87d7aa82e9f5a635ca116686d2da719cda269c39d863571c606e5ce5334254e49648fcfcf502a1321cc071f1000d562723156e",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 45,
|
||
|
"comment" : "signature is n",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "a38fbcf34eef1810cb2ae21fef1e9a1e037f7d25d43e8b4f051ea74c367bddb2327a7bccc5334fe610f7a9855e2b76c1e9715970c22c274616fd9460d727afe9a149c23b6b9730c13c4f6213e0c112a49db2e55993b60c520eb73042c7a0b1bfe4e27b11a4c7395057235233fd8ab3898ad56a7893077bbc4414b4089a594c9cbec5deca092efb4d84d977b9f37fd982341da963a20af680ff4a774ec85a104a684648b0a90b6cc4f7d4808db666ebab808a21020f8c005c6793f196187811935526caf1b6cee47a0c14e0823f87d7aa82e9f5a635ca116686d2da719cda269c39d863571c606e5ce5334254e49648fcfcf502a1321cc071f1000d562723156f",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 46,
|
||
|
"comment" : "prepending 0's to signature",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "000069f8f909c6f4cf4ed99950ccc28515588a9a781c2559de8e2ce8b0a73ff423be475b58d91d6eb57a70902604615fd9fab2e6bca6b5fd302eb02c5f4b6e35a7cd11320586f6295834b55d4c4f09c4a97b9ef22d2321a8f4eef1a3904a21657c34673ffb72d83ca044e42d7286c268132fac4e3c3376d4b270b3dda2bfe0e2beba2d8670a7c224bb7bc02713efbeef767d500eea4e3eff4c9158089c5f1d96f5c10a1654837d10e84d23bc84166b14c852a9af0ce20f4cf8a63b7b5adb775aae0dd2fa97cdbb588d36e70faba949e45541a83bb4e9ea3575264f8f1d821953d0af01db2a16ac4012ee97b9f1caebaece5ab1c944559b0c94414aecadd6666b19a4",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 47,
|
||
|
"comment" : "appending 0's to signature",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "69f8f909c6f4cf4ed99950ccc28515588a9a781c2559de8e2ce8b0a73ff423be475b58d91d6eb57a70902604615fd9fab2e6bca6b5fd302eb02c5f4b6e35a7cd11320586f6295834b55d4c4f09c4a97b9ef22d2321a8f4eef1a3904a21657c34673ffb72d83ca044e42d7286c268132fac4e3c3376d4b270b3dda2bfe0e2beba2d8670a7c224bb7bc02713efbeef767d500eea4e3eff4c9158089c5f1d96f5c10a1654837d10e84d23bc84166b14c852a9af0ce20f4cf8a63b7b5adb775aae0dd2fa97cdbb588d36e70faba949e45541a83bb4e9ea3575264f8f1d821953d0af01db2a16ac4012ee97b9f1caebaece5ab1c944559b0c94414aecadd6666b19a40000",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 48,
|
||
|
"comment" : "truncated signature",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "69f8f909c6f4cf4ed99950ccc28515588a9a781c2559de8e2ce8b0a73ff423be475b58d91d6eb57a70902604615fd9fab2e6bca6b5fd302eb02c5f4b6e35a7cd11320586f6295834b55d4c4f09c4a97b9ef22d2321a8f4eef1a3904a21657c34673ffb72d83ca044e42d7286c268132fac4e3c3376d4b270b3dda2bfe0e2beba2d8670a7c224bb7bc02713efbeef767d500eea4e3eff4c9158089c5f1d96f5c10a1654837d10e84d23bc84166b14c852a9af0ce20f4cf8a63b7b5adb775aae0dd2fa97cdbb588d36e70faba949e45541a83bb4e9ea3575264f8f1d821953d0af01db2a16ac4012ee97b9f1caebaece5ab1c944559b0c94414aecadd6666b",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 49,
|
||
|
"comment" : "empty signature",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
},
|
||
|
{
|
||
|
"tcId" : 50,
|
||
|
"comment" : "PKCS #1 v1.5 signature",
|
||
|
"msg" : "313233343030",
|
||
|
"sig" : "7fb64ef10de96b3456fa0af54572595e45328612dad2064119cbc672bd7c6eb99028ed79a5f81378ce8de64995a1b44c3f6b0ef5d0324ce3d48280599126e23ba7bf61cb284f52bd60769730c9d7aabd8e7971e7231b588bcd8811994c9e57a73d424b0fbf7a89b1cce22253af62f29635993ef4d2cd0cefc01a421cc99507a1e4e0752fc467cbc055ea6679ba00a718b0d39b8de4530893a2b289cc08396045198a8aba8c659de56320ff2ab0aff0c2aa0f58a3dbe7f2ab1544c34672db10bef839638a92b54e78968a0f9ea77fa03748f400473cd5a903b44b134135ddafed174fc92c4ae8b7ac322730d6d1ee0f7770626cebf90f0f144a3f66535330ba4f",
|
||
|
"result" : "invalid",
|
||
|
"flags" : []
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|