3290 lines
213 KiB
JSON
3290 lines
213 KiB
JSON
{
|
|
"algorithm" : "RSASig",
|
|
"generatorVersion" : "0.0a10",
|
|
"numberOfTests" : 362,
|
|
"testGroups" : [
|
|
{
|
|
"e" : "10001",
|
|
"keyAsn" : "30818902818100ab9014dc47d44b6d260fc1fef9ab022042fd9566e9d7b60c54100cb6e1d4edc98590467d0502c17fce69d00ac5efb40b2cb167d8a44ab93d73c4d0f109fb5a26c2f8823236ff517cf84412e173679cfae42e043b6fec81f9d984b562517e6febe1f72295dbc3fdfc19d3240aa75515563f31dad83563f3a315acf9a0b351a23f0203010001",
|
|
"keyDer" : "30819f300d06092a864886f70d010101050003818d0030818902818100ab9014dc47d44b6d260fc1fef9ab022042fd9566e9d7b60c54100cb6e1d4edc98590467d0502c17fce69d00ac5efb40b2cb167d8a44ab93d73c4d0f109fb5a26c2f8823236ff517cf84412e173679cfae42e043b6fec81f9d984b562517e6febe1f72295dbc3fdfc19d3240aa75515563f31dad83563f3a315acf9a0b351a23f0203010001",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrkBTcR9RLbSYPwf75qwIgQv2V\nZunXtgxUEAy24dTtyYWQRn0FAsF/zmnQCsXvtAsssWfYpEq5PXPE0PEJ+1omwviC\nMjb/UXz4RBLhc2ec+uQuBDtv7IH52YS1YlF+b+vh9yKV28P9/BnTJAqnVRVWPzHa\n2DVj86MVrPmgs1GiPwIDAQAB\n-----END PUBLIC KEY-----",
|
|
"keysize" : 1024,
|
|
"n" : "0ab9014dc47d44b6d260fc1fef9ab022042fd9566e9d7b60c54100cb6e1d4edc98590467d0502c17fce69d00ac5efb40b2cb167d8a44ab93d73c4d0f109fb5a26c2f8823236ff517cf84412e173679cfae42e043b6fec81f9d984b562517e6febe1f72295dbc3fdfc19d3240aa75515563f31dad83563f3a315acf9a0b351a23f",
|
|
"sha" : "SHA-256",
|
|
"type" : "RSASigVer",
|
|
"tests" : [
|
|
{
|
|
"comment" : "valid",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "valid",
|
|
"sig" : "68ea71ee1911687eb54b3d19cedcfd44719d0b24accccc59bdafd84e4eba48ef0be7f115e7073f9f273286a7dcee3b94cdbe208e30ae496987479d3aa12ab0e12685ab592d7693a494e6ad27d526ed3ab5912c7f81e09983931794c2165c22fd859e0f9af1a93a4dfe144098c562731e6059d236b52cb865996c87a9baf7f103",
|
|
"tcId" : 1
|
|
},
|
|
{
|
|
"comment" : "Legacy:missing NULL",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302f300b06096086480165030402010420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "acceptable",
|
|
"sig" : "253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7",
|
|
"tcId" : 2
|
|
},
|
|
{
|
|
"comment" : "long form encoding of length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "308131300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "52f46d508e31f030b17c537888585f919037562e15f1924543601a41f9b701ee416ad73d6576b4eaaa64e685289dc478751dfe2d7e588252bfe2d43f4b3a31c6c6c39a9df884a2fc2e45f09c2150a830974b1c9d26090830b37bf06f1d57be1da34ebb016e9db7ce2c34e94872c89567ff6f2ab35a1a9fb6632e100c7d7af834",
|
|
"tcId" : 3
|
|
},
|
|
{
|
|
"comment" : "long form encoding of length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303230810d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "3f34017b3172aaeec72d208308e9b83150699f86634b948847eab56f0169fef51b5636a96866f4f0f4c649400489e047803a91f2b2f32ab715065e20770c4e2788946b85aca5c90efdd6a9458dd9b6f797f96a3de88d2e4896afe147d8c0389943828100061903a30eaff1dadd98d3e49dba56cdcfa5f215d9c615f974f4a0bc",
|
|
"tcId" : 4
|
|
},
|
|
{
|
|
"comment" : "long form encoding of length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3032300e06810960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "1478337676aa47ca72ea7557facff06f6c777f56063f4487d345e43dc56a6bc5f8a891085d53a32c9d1c3cf7f469e7f56847b0b1b9b5b784526078271f21d0550afc40f81e2b8e8dec851d87511cace965edceb83cb96c8d6616e1ee75bb22c54412fc942a6f71c9fc609a31a69d34b774a97c1ba4f85cca28d9993db8543f75",
|
|
"tcId" : 5
|
|
},
|
|
{
|
|
"comment" : "long form encoding of length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3032300e06096086480165030402010581000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "77ba423e600bdd761ed10e7c00698a87fe1322f5f42b2902a0be7a24b1cf44f613fa55edeb2ded0475f8e1a13e5368f9a2bfc4f2f926ef289a2207bf3689fc1c8ec3e5463064a7f51bbc993966cc4016319b7c95f282372f1ff848d7fca753a81d905b3341b0fbf60ba186e750f3171cfc84288eff8742bda432bd6c8dc04f9f",
|
|
"tcId" : 6
|
|
},
|
|
{
|
|
"comment" : "long form encoding of length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3032300d06096086480165030402010500048120532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "9460ee79bb990bc3fe28cfca92363e6ff6900e3b61b3a402f06024a72b7a65d62094b4419e93900995eb121327f72b26b139bab3e5e2bd0c82e0cf6357f3b16f1c1dd4407a9a820f20e3baaa2259614d9ee3e015e1c1778befa13aff1e545ea1758cba4713631d63180a91b52df394294441642964a024f45b2251c90e002ec0",
|
|
"tcId" : 7
|
|
},
|
|
{
|
|
"comment" : "length contains leading 0",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30820031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "96ac043d3cada45aed0dbdc4662dcf7855553a5effa1077048b51c7e9bfff7c2bb3486ea42894d4b4afb26a3b3bd32cb68d5c4d8ca2622f50d8c56fdc25baf83b9909ecb096419ddc13578dcc8121007f7204ee82c517ae03de70fa23ef2390602029a0cbc8a96c5b781d857dbf12802aa561f5f41ea35aa0babb91b9f891762",
|
|
"tcId" : 8
|
|
},
|
|
{
|
|
"comment" : "length contains leading 0",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30333082000d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "2a70643572a7cda975d9e2c0827837e60eaa78c297b1ff75b84f654a91fe33294ccbeda52676ece50fcc03018151e66c24940bd0574ab85a6599231d587f4a6e0ae841cb6696e7dcfd182cb75001304e36887bc4fe3b373828f8b0e62ac2300a626c9e6a2cd05bb7910e74da2978dae1948f855b3b455cd30367160e21581cab",
|
|
"tcId" : 9
|
|
},
|
|
{
|
|
"comment" : "length contains leading 0",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f0682000960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "27778e39b45dee1e7003f1d315d3466fc111791187ddc056784c158df92097e123021e11918b6df8d905304db732e83d904bc914271b03def4ee129c3fc8adcc4f81b690e09e70e46c8b920093f304e64ecb7358740e976d28538a9eecf09ec1e1cd47df9107968207b21538cabe076bcc07c3862c46a793fcf638c70a972885",
|
|
"tcId" : 10
|
|
},
|
|
{
|
|
"comment" : "length contains leading 0",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f0609608648016503040201058200000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "3a879e9f883b158908014f3617cae3315d47afdadd30840494f68d91c04dfe81bd16a40c7d21238cd1816928d989a232a3492325ab0f95d4426e3fb7d58c9908191dc557d8779dabb282287b7860c30e0796283428e0276447235809882ee990deb0f4312c01e7ddf0690406eeacb660acc6957bb670904cfd8d04df5e3ebda2",
|
|
"tcId" : 11
|
|
},
|
|
{
|
|
"comment" : "length contains leading 0",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300d0609608648016503040201050004820020532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "2b82155f363a3b283ae455f59e41c29dec2fbd8c7438b0e347aec5b38c7c895cb7d326870e4fbdb935fcbb561f223bd926dbe8b95ef5eaab27920dbe30c641e99f526a9bc356af54198b459b59383135a82cd5b6edab7da0b1a51d939b2f9951e1432d637c4f04a3546ed9c890143ae364602b94eabdaa2a45e4bdf0b5bdfa71",
|
|
"tcId" : 12
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3032300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "1dda56dc953aeee7fd76ae7166d92ab9e3d1d9759e76f8f1d7634a73cbf69e39d8249153d7c2d83c9664db13552f0c78df34b8a67e7b6c10bcc61b5ead7ba62ce0ec7ba8ac78d146f7e4cadee6f6250e0bc3100660e7afbe3afa17fa288d97549b4c8cacc00ac5c942673485739f89c9e5e63ad2be97a8f2313f5c5b095e7542",
|
|
"tcId" : 13
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3030300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "692c143b82196a391a3546607336e6f3bc047412645cf0def0d62d1b42234c14da138bb7f451b45073bbda2aba23412e83bc40d4e7de3e0684f2cad7d059f2d6831aa3d2ece4964ca75cd41dce23c5ba495c15345b36947b4b5a051fe1b84e148b5ae21f112d2245b1acbaeef9dc4a0c408829b9d2b1b5ab1d3a40af0a27b99e",
|
|
"tcId" : 14
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300e060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "66c31a45b2287425a20f65c3eba9cc58c370882f5fc62921935491fbd516df9baf9b28304a21d9008b61a92779ecfb3b0c03f6d74354f5159956e3fc1d35bd7376289378f05d7a71e05ab32794f2566a54635e8dc64740acbe10a293ceddbebe8499b520f406023a134eb9927ebb788b92488f036d109ec0a40ac52372e847b3",
|
|
"tcId" : 15
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300c060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "7b85536bdcda4ad3fc40129f2ff9dc85d9ec049913784064e7358686640446278a2006d93fb33429407597e5d8c783e3f7aee8a7791d69139f3c802a6547f01bf987415eec2447b0e8c4f3aee7ae2085d141fa34ca6634bc109dede93285d5c40cfcd98bd47ceb9cc1890dfff53b7ebb8038533580c7a67fe14c0c422e20cd64",
|
|
"tcId" : 16
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060a60864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "5d77fba3cbb1905d83aa532fcc3227a95d7931bf0c2ab51f8118824de9dc029bd2470adf48b41c694ec7359d00a1336990c30ee368dd40bd681ba74794415d3997e7a756659397bf6abd44ca91c12a8580a3f5d1cdbc7f3be0c23c72334ce9b1419e6540dab73f5ff8ab57d0bbbe92b688bd3495f9344822b622042c2491bc41",
|
|
"tcId" : 17
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060860864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "7b5476fb78f389d1131764e7a13322f86008924c8c098f6d74f2df4dcc5a504cd786b3eaae33295cd1e87a2bbd1a06cb385674d465110a9a990d52de9a67f1c13ecaaa86383d489423c084fae9ecd2e9b109f4f04b8c013e3409128f3a079c068c1ad27bc2a20e76ad149325b7b0f0bd804a4e33949a98aac49076260702b0b0",
|
|
"tcId" : 18
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020105010420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "6034e1253e4860a29096e392076794cfcea166a30b340cc09f77baa5952c06d148bd89b750c3112930ef210a50a7d3f6569da89912b5e50e824116e73a15536958f75779506d07e67ec9c0cd8de4b51dfbb0fe56926feed18ffbd83b0cdd50d56326c54adf97e629378ae5f0f02fcda3da1aa98cb1d1990946edec711a85a0d8",
|
|
"tcId" : 19
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020105000421532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "a44cd265e1ecea83fc74e9eef746ef173277cc96f69a1798590ddee7ce5b5c34a82ad58a5c042db19005e04eec4159900ea764c0d008c52b94577d1c438661fb767902d9d1bbd6a90bdc4df685ec5951eac81d8b4dd36bceef7b6f919e85b6c994c7cf22a804f15cebe63b77f47b3bc2c2aaa68c6362c27a574b849efafe72e9",
|
|
"tcId" : 20
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d06096086480165030402010500041f532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "a160aa43f4873cada34bea5ccd2be9dce07940ee1c08eaad524a5019993bc753ce92cccada706b483f106ff20b327b35e7c83955ad3bbff3f26ced3489877d1b5bf285d61afcb30219c02a440da61030e301aadb901a525345d1a651a21c31a62ac9fb71738c3e215a8941ca9a3c4910679c5e774530c28788f6eddd7a31c024",
|
|
"tcId" : 21
|
|
},
|
|
{
|
|
"comment" : "uint32 overflow in length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30850100000031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "1369c78f816a9baf027e255de0c258125be90f35b8daafee87f2ffef2d465e0694af4401cc5cdc7ca78b08d5688ceefbddc02abc5495d47c6829d696f8370ea427e7e0225eaf22cda720bbb5881edd16b19bbf2ca86654c65b4ad481c13fb38af00d77922f46b311f936c51f4610f6bdb514b366aa05f029c1e63e3cfcf9763d",
|
|
"tcId" : 22
|
|
},
|
|
{
|
|
"comment" : "uint32 overflow in length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30363085010000000d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "41d4c1ea43cb207af8bfc1552e31da7ca5744b68c4e00c3bf55f4edd4c81e91c01f44fa05290dbaa1fdcdcc775f6032a049b4965345c16aac6994b06cda9e0387dbff96cdb115e014f69bb057faca2f618c70a31edd0beaef7acdcc0fb7c83b2f07a8b9de48aa04b7c973920af5b8dc20aac343251ddf4c2277985c3db1dac2f",
|
|
"tcId" : 23
|
|
},
|
|
{
|
|
"comment" : "uint32 overflow in length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303630120685010000000960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "76bae6c330b9ab33aa9f2abe8559c51fb95f953a75e48053ab99078069214b509dd1b5080ac6819e32912619372d71a9ff1a67449dd699e5bc6ec0e18d1893dfb5bd571d933926d05b0d9fd7036ba4556e209369d1c57ec49cd9075e583c257c6fd4899c2a8bbb157547812cc692f264bf54712c71ee090b974d99b4d1629696",
|
|
"tcId" : 24
|
|
},
|
|
{
|
|
"comment" : "uint32 overflow in length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303630120609608648016503040201058501000000000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "3480a5c22f092f259b5bc4fdb9a33c044c24a645b57d61920effde1dc0bbfe53738023f16025841f9323b40f72c11091941bbdfaf7c2fbf77ad6626dbd6a3b7abb3ee916d96a922b11c86ce80ee67dec619bb98e9246d35a33b11b3a4e2a3a130e8b57ed4bcdd4b4e73aec3f9e3d50d3db5e29cffeb186846c72d09468d018ed",
|
|
"tcId" : 25
|
|
},
|
|
{
|
|
"comment" : "uint32 overflow in length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3036300d0609608648016503040201050004850100000020532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "5b3d3a198d4b36c6d9641db181fff59407a25bf1571f85e47bad1eaf138079872b93b9eb51aae09b48d6f4ef56badd96a6584277d8f3c6e4a4e11275f72021b50a1665ddaaa56a2a7caa7da6b4d502c5214e17042811154d411dd2197c250264bb69ba43adf668d4f7b81d932afa55e378214bb19ddeb431f702a91dd11e23bb",
|
|
"tcId" : 26
|
|
},
|
|
{
|
|
"comment" : "uint64 overflow in length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3089010000000000000031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "1cc5577d04e34550e7f3d136064547efa30b9413e2c423b5a320eaaaf11cbebb91e13bbe3874e4650e057a8e38c8a366c473f35e0de82b22f846721a09e3f279ebdf54c8df395a9041333f09cb7bed5291bc1842857c4ce6ad5a1c2c476c1efddd5fe42824c25e0581aa7bb8f621d3b53566637c6266bb1bd0a5b7fb79c72616",
|
|
"tcId" : 27
|
|
},
|
|
{
|
|
"comment" : "uint64 overflow in length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303a308901000000000000000d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "6e56d1746105344b34fb8299d173f4a5032cbce3556ca9d1eee35f8b31818efc121a1a9599c24fef8531243016dd6288d67b4bf9fdbf2c90fba5b1661be03531b5e15385ea465d1376010f0af761e8fb1afff7823dcef8dc100d97c192e9a7d03c82321d83fd8ecf67207c65cf182e1104ec5669536070cf1e3fe73c5e27edeb",
|
|
"tcId" : 28
|
|
},
|
|
{
|
|
"comment" : "uint64 overflow in length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303a3016068901000000000000000960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "37a413f9202591b8860cd9d68515ab522ae800e9a71793b479f1fb74ab8c9b07e72fe82dabe1189d028b813610e5e57c055af2d32837551fdb0cd93d7669a3c02a14c460f4c92136a4d11cfb7dcc76401bb5b699fbc64d302736d68c3591ecd59220107cd63f55c83edd38c4568e6f7749c0d9baebfb7c8ae1bf2179101745a9",
|
|
"tcId" : 29
|
|
},
|
|
{
|
|
"comment" : "uint64 overflow in length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303a3016060960864801650304020105890100000000000000000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "9fa8aac224bb50697103d457e7fc870853b23670ee5b8c7395d68ed82b30db18ae34a569abdcdf19238ffca8f5e435327dbe605bdc1a6dd3eaa3c2beb33f00642984a2034bf3b3e8de3ec7009e35069d5b27253c4aadcb4f163148e157252e3b9334abb6cf0299161c12908529f52de9416ec6218af7a6963fcc987c5024ea71",
|
|
"tcId" : 30
|
|
},
|
|
{
|
|
"comment" : "uint64 overflow in length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303a300d060960864801650304020105000489010000000000000020532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "0f50bc6b1b94aeb6805dee51c92860693de47c4925ab90b57a46e0485a9afeed45083eade73bee684cd07048e632d1dd24aa2efc42c1f85e4fd7b7058dbeafb53a3d5b1cb1e7dded3352c3c92ded891839263a501afaa78fedfd04546c43d16f7a52b800abc9ab1ef827ae0eb19d9b52def2435f1477a48dff61800b4db830e4",
|
|
"tcId" : 31
|
|
},
|
|
{
|
|
"comment" : "length = 2**31 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30847fffffff300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "9dcc651cc0a1b4d406112c0d1ebd7a9fb5a2c9d9f9cffbeab2d2821e5ed01efa9d191665794649bd1f588b729e8fba1eaa37a5a736a5863973c338a92b2665d6ead13b72a19d2da778febb94b150e8d750340a3b856fca8b3b6e3cbfecb9c397c23f46912ba546ab0f64ed88404ce317f8fb2278b68950e9712d6b11f5cdfcaa",
|
|
"tcId" : 32
|
|
},
|
|
{
|
|
"comment" : "length = 2**31 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303530847fffffff060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "0397d14205c2f52423ef69c874294dc2b37d5be5d5647f7e83f1dd6783cb41cce52e6de1dc8c9e93ca1ef887d4c0ea79cd8b26391d638bbd8080bce830bf1bd7fb1de31346f28d609874fafd4a34fb7bee900441f55589ec3c5e190106d8816cadfcfb445834739cafaaa3903ed93cedc41a76aa0ce18fb49a3a73b7b5928735",
|
|
"tcId" : 33
|
|
},
|
|
{
|
|
"comment" : "length = 2**31 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035301106847fffffff60864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "2c3ffd881c1c0ce2e4c98282d6011179a89b1e84b17072bcbbb64164e5e05410d0414a1fdbbc04564f3d80f3891f28c3f02e92bf97b4339b5bd4699614e236d4223cef0688c44b297eb9c0e22246b4cb28983b102a446dc76671206c3b77af6897f2f445512abda37bc9c37257dd4f1c6f0e6ec40929eb6b0058682b9d2f6c66",
|
|
"tcId" : 34
|
|
},
|
|
{
|
|
"comment" : "length = 2**31 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30353011060960864801650304020105847fffffff0420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "668bd06eafe953fca6a17b0da0f9006ceadb09ad904786b7530148df7eedc146d20a5472c39677d65e59934c00227fb662b3474596e6072f56d2c00c3d31e66f0da85f4670e75c3f2c910c0fec8c98bc31fb2eceff80350b78aec0d316e9bbb331544d8a3d0b1649291396c717e350bebba3d3c3a0b1d55f010879b8c7b7d4f9",
|
|
"tcId" : 35
|
|
},
|
|
{
|
|
"comment" : "length = 2**31 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035300d0609608648016503040201050004847fffffff532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "87482257ae1d18d0357428b756ae35a48549536a3439ca3c148eee64f4c096d896219097d55c14a25eb1490779f6b1471aed238cc0d6aaf265c12ac086d04de9b79a37518056dfacc12cb4916c17505fc7e2e6c1e0db720a286ea65bde4d3da1d2dcb8d0276e8ce73f3f923209149955285c602572cfd24c82e8d96d45f569e6",
|
|
"tcId" : 36
|
|
},
|
|
{
|
|
"comment" : "length = 2**32 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3084ffffffff300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "03aadd447f36952dfe73ae89e5c656b7d37ec92535e547cca62a7747f3831f2f613c7dc094f3d5c4c6b9e02b21ed4626930ef3948b42ed41f4cf468d2474acadf1c75599c5619e4872e6d3dfd93abe92234165135ed265e0c0f64fddf23e50c1f9fdcede8778a8ca008ab00f8afa887da3f4699df9f1140953232f36d035b03f",
|
|
"tcId" : 37
|
|
},
|
|
{
|
|
"comment" : "length = 2**32 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30353084ffffffff060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "31afd9a0d827755352b16de04de42e98a8c72f08919ed475530a00c762b8a03bde22634dd856a7eede4b4947d780cb3efe55775e16d7f46f209dbcb5569b2d9469cc271aa850f74960f7c741928055925349821e32e1e0fe5a040010a39a4b6a343f7f35c204106b3617e528a99dcaea8a93766adcfe7be31cdb98f7f7f14669",
|
|
"tcId" : 38
|
|
},
|
|
{
|
|
"comment" : "length = 2**32 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303530110684ffffffff60864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "16ac0aa2d727ef5fbf0305259ee6fa40827c92419f819673fd64cc2dc2dbfe7ce1cfcf06e26d45f59cb3d9afd30d7a6265863fe856e0a0b1b9508b1e7a2dfb0f87f5ebfc444bbdae504abde7daa33bffb991551940df682c8e2c45edef0563b34d4f11e1955e83c2145ee321165517d1532abd64dc613a280fc30670bba1f898",
|
|
"tcId" : 39
|
|
},
|
|
{
|
|
"comment" : "length = 2**32 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035301106096086480165030402010584ffffffff0420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "0fe0c75dae62462e66e7277b03c9113727419f7d4db7b2a567c0c189fb6328e1f73d5d44e2196b436f4c2f0f12950d419774c8a51c55f9b2217f904c4f03d5f5754174719dfb85f62795ef75e6d54e703bf231fd8472250f529f85294f29f6c5653ef585079c3b3d8f931da80a46c8afeef37696fb0e7986d413bb1996b8ad57",
|
|
"tcId" : 40
|
|
},
|
|
{
|
|
"comment" : "length = 2**32 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035300d060960864801650304020105000484ffffffff532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "9ef993e6ccf015b0b0de75b51213a1c3efcaf66bf83655287484ef28d984806226a7af1704fa6a7fc02984b44449f83ae24761021e49ba6117505c1e609406b002215de27d696643c3354fb48e6c64e7300944edaeb96e4872275f75532f5aab94358d4954522fc7903439e99223d8124e79a3f519050b6b576b77d5abe7c3e3",
|
|
"tcId" : 41
|
|
},
|
|
{
|
|
"comment" : "length = 2**40 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3085ffffffffff300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "0fbc20d18ef2dce383ef9640232e44fc287cd97bdb1a18614a77a6d72da5db05df264fff4964b3395445a5b75f4098be8c923ec613efa49e87877c08ce52e9e8b491eaab77ed2336179f1e447bc53e0d9fb9cbd2f2c5e180acdc946df4cdb0a878f27dc010adb1d080330e0bed852181bf97dc4372049ac6ab5802c0d650ffa9",
|
|
"tcId" : 42
|
|
},
|
|
{
|
|
"comment" : "length = 2**40 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30363085ffffffffff060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "3df42c382b86647a466ffc743dc4713259bd7dfdc909939738e59e3d1eb11d104537762c50eb55d4677a005f7f925ffc7ef0751ffe0c4320a6cf0733e738a404b2672f3dd11fa97bf9d84b786a47c63bbc962d52873765a6de3a57590c2cec68118af81d7dac4f7ce6c101811f2fa364a34fe704d674be5a28531d6e8c4fe120",
|
|
"tcId" : 43
|
|
},
|
|
{
|
|
"comment" : "length = 2**40 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303630120685ffffffffff60864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "a66d9848a3db7e49d8053c4a3869415c0bb58fd265276c99a66ed1df84e162cfe8f0820229d2ac2f99d9753eed39af46649409cf559ca6edc8c47e550b7a4cf24fac756389e365ad73ddfa67e72d042ec494644c5f277f60864dc90d6cbfdf556396c795192077f51f173477b934871e2a960f7ac3e6e8c8039956a5061bccf2",
|
|
"tcId" : 44
|
|
},
|
|
{
|
|
"comment" : "length = 2**40 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3036301206096086480165030402010585ffffffffff0420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "7561668d5b2f8fd3190be8244d4d0550043dc0a7e80dfac83eb6f6ddbf448d424082fafc332e473d434b37ce7605352594ce632f4d5de30951581af907fff6c01814022c31a31b3d130673a56b4ef7763bad595053af0174df395b802722f5046e408c978e2b5a9a63f8ea80e932f76513928253f432c8bdc7ee51872d315b7a",
|
|
"tcId" : 45
|
|
},
|
|
{
|
|
"comment" : "length = 2**40 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3036300d060960864801650304020105000485ffffffffff532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "5a836168587968425c4e103bae20603e0ae6f714ccdc603a865bb3541b65eee9dd0d9ee21cc66c7a83403fce2413b97f1c1239947e94614f6f2eb731387c8b9d956242bd9fb0545eb2c874ca1a167222034649894b41fd0fa935cf52e583a5e9a4b503cf9f2b238c025bf2e22ed78e7a64bcac1d38302cc2361c71b854e79123",
|
|
"tcId" : 46
|
|
},
|
|
{
|
|
"comment" : "length = 2**64 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3088ffffffffffffffff300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "97c602416f2131d34f2a57acecf26365a30c12f77e5beac095533848ce227302092c6f44b47f011d6eb0a91f8024d1935d8bb274c42b57875115a94281fd3cb198f9334758d3200c1c721f6babef332c02a89968a7089f7783993bdd54f809f8372437798d2364040c1faabfb00faabf28cd6ae4ffea29ae2c08a6a7e6074700",
|
|
"tcId" : 47
|
|
},
|
|
{
|
|
"comment" : "length = 2**64 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30393088ffffffffffffffff060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "2a970dc291a1dc935cca6985dda703bcc1ece2e40817ce8fa79b6e8fe84e113686e6e65570d46bf22147bcbc389cb5f86f92dc185f556d15e7614cef119fcd7305a31fd2f8710812f35f9f0bd8a1a6e5be3163de644370c67181b7575635dfb9f717f78631d62db714b2a19cea7079ff13c8926ae0c601e4befb6541b02a7e20",
|
|
"tcId" : 48
|
|
},
|
|
{
|
|
"comment" : "length = 2**64 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303930150688ffffffffffffffff60864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "6e16d110235cd11e32b114ca9dac0cd6a1b041a6d2c61941d49bb458241281f62a4e2b1bf3cebc3e67e8c062ec67a51a599a553b09732e23e1d09fb2b20be7fd311a7122414d535651718a1421d4239276c227b96506729a09e3ff2779dd1c79de4d402623039b826e2bb4d26d1b56775fce14ed0203a9ebd8f042d981705a77",
|
|
"tcId" : 49
|
|
},
|
|
{
|
|
"comment" : "length = 2**64 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3039301506096086480165030402010588ffffffffffffffff0420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "0716d252488e08f10a25cec94714e6105bd4e13ff019431190864cb0f4378d315f4bd0fdf186e1f2d45a6e97eb04fb2013273e178ce4f82a0b67bf9d021b1d8ab73d753adf2073ee1ad6190b2163139db63778a3670b7cce23f45efb601bd59644a431cbe534ecdf4c4c58ed02ed03863ee32d296b5736c010305fec655b1a44",
|
|
"tcId" : 50
|
|
},
|
|
{
|
|
"comment" : "length = 2**64 - 1",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3039300d060960864801650304020105000488ffffffffffffffff532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "03e52a2ed638bfb9184a0ee3698502af3a19bb959a984957de5101e6f7a62cccc2ec2a6293fa9d76fabf3ce7e4bf35c65a5f864bc003686a1e05b57c5af6ad588e05a5225479422d7b78c5bedddaec7f4b8c1e9ab7478c1ee253847324e025434b76a01b82a40123ab31ec9862c6016885dc6cbfe97801503369fd3688bdaaf8",
|
|
"tcId" : 51
|
|
},
|
|
{
|
|
"comment" : "incorrect length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30ff300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "9c4217830da16424a6c80a62e1e1cc0c589e3324267b4498e89af96998f83524b67c703e46860ca55631f1e659096366b60557dbbc8aa8a3a7ff6a887f1afcc55d336458ae25b015061adc391b8a449a7546e48d7e1d783e5684730333b0e2a32c13d36e342e31a9c1c447c0585545e08ce4f6340529413aaba6872280bbd7a7",
|
|
"tcId" : 52
|
|
},
|
|
{
|
|
"comment" : "incorrect length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303130ff060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "5aa35d19b312de94d0123619500c15ec79fd838f6f18e75e79a11e50d0eca9406ecb38de68e11cf107f80ce2d62573bd1e4062fe78f30cf4bdfe9bb571488887d9dfaa2d6031f3b7efdd0dd78f04d980abfe641f490faee10e86dcc9b729bda0b127b448d33b1e1b76373794c284d1aecb5b813a2defdae3723eafaaf3606eac",
|
|
"tcId" : 53
|
|
},
|
|
{
|
|
"comment" : "incorrect length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d06ff60864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "971daa114a33b412a3aa1c3a93d5e1cb9810210019fe4e6dd0c70361a99f1a0676563bca2a05915df2ef2e38cab387ea16405d371d1a382ac286f1f97d4fdcf84464413986d54d6e2c7aeb8d5afffdc6de31684ecc7df721957d331bfa588a5f2a65c52f29ba5e4585bc69539e1945f1c4306f8d664d9cedde6684254ac704e0",
|
|
"tcId" : 54
|
|
},
|
|
{
|
|
"comment" : "incorrect length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020105ff0420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "1f5bf49483eb6f33a5575ec2a8d49388523ee41223210f05e1f9f73bcb5a8973dfaa0093247460885f034e4ed7cd888c63f9f0f74dba7065f00cbfe5d9cc0dc7aebd7893acc3f32d5cc03763b59a0a846554ef58569f153301dd6080d428c8330718e733b92e76367f4eb75213de1495bdb1a5743deb55a77919adb45bb6bc4a",
|
|
"tcId" : 55
|
|
},
|
|
{
|
|
"comment" : "incorrect length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d0609608648016503040201050004ff532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "7bffc77cda9ff6bfbbd5a92fa6d4cf5a9f48a083c37a9437e5d82c0ad9f625aac8917c8df8bb4db5ef879431bacf360399c6607711082d6bfc5264f40631f2a742a3494c039146c3f41c7b53aa754afd35410a0a26c6957dfec86797268861036bacb5dc8fa6ca2893b26a3e4b186d4ae774a3822aa1e99ba4bf6bc3d53b2c99",
|
|
"tcId" : 56
|
|
},
|
|
{
|
|
"comment" : "indefinte length without termination",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3080300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "3e461f3131735907cec3208f19a7ecfaa8f3bedf587d1c586773899f3fed55cf669ba736c9478b93ff058fc063e62433bb0da4d6da8254a00a6b1e1527dba86d89ca412cb952a988009d8874163683e729c7544b9c83e07b77467b4329e04bdee552ab0513f92dcc7376ed59718b645b50bd50661c783d559eaceb12f7bf5d10",
|
|
"tcId" : 57
|
|
},
|
|
{
|
|
"comment" : "indefinte length without termination",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30313080060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "81312384fb68fc608aa019df2a251d5a77dbff379c99d2804bc5ea766f051a80dcab2f63ec0b60d2b26391b35a83a5b75c7449fb0b32bd28d78f1138dde33b223d141e293bf007c5d028b34cd6055a4ed7aa31881c8514a2a091690405f8a708da65b34730233168dc08cd81733d2717db133f5d54ada593184bd008e5a7f016",
|
|
"tcId" : 58
|
|
},
|
|
{
|
|
"comment" : "indefinte length without termination",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d068060864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "1d1150ce975992c50b3cbe98f2373621929c7a90f8dc5a9434a06159fb614acdfbd09851b297505db51aea8132a8f082fe72ea23099aea18494d2a73aaa6b9b6b04ca6d20a88c5dcea917f92c5df7943254fa9c3b1e7eca05a2ae2f796726d9296c880cf0872b8c32082a3a42b9cd099d286b586b0efce95908c8ffd27835572",
|
|
"tcId" : 59
|
|
},
|
|
{
|
|
"comment" : "indefinte length without termination",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020105800420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "7c64ae50883b449f68f941c9892dc1e1f446bc3a779ce9906bf5f6751dd110162ee03a99d1b556ff380f176263846e76aea5e7078927ec6c076a79c64450f6ce8e7a9faab4040a31c145564107120cb524451e4fec4b1ae3702d0b063c660031b61fb6c2d0cb46d17c5f4605124057d5ce3a0ded2019a14718de1374e0e87124",
|
|
"tcId" : 60
|
|
},
|
|
{
|
|
"comment" : "indefinte length without termination",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020105000480532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "65e61f63db5ef3a5de4a11aa39e3f4a6d3d952336c19f0fd60255b376d459d318fe4234a3a6c883090617306f98659577f7670054fc4f2d4c82bf7fde24bd1a231c71644d487d65beead86828e48a3e081fa6d4666b86b899ea57c99a67c0ae75947f2a4e5dbce3025421b3213224e29a55faf0cab8d9411b629baabf7c9ba6a",
|
|
"tcId" : 61
|
|
},
|
|
{
|
|
"comment" : "removing sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "",
|
|
"result" : "invalid",
|
|
"sig" : "5df1c4a701c6fc1f2daf6f4538f29c3452667424c05edcbdaba4a1678c8b5bc0e89656a0e48aef46642e0bb597813688904e9d74cbd377a3d9d2c965bd3ed06f136f10367ea3eecf89a97508389448a31ae0e79ed3725d0c4e99a516daa4116479bc53da5d7c2f26c7ec6310d4cb4174bb781405630a9b1c147b0e1da3a7faf9",
|
|
"tcId" : 62
|
|
},
|
|
{
|
|
"comment" : "removing sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30220420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "3e43837b92ebe4df08586fced3dce46aeb2fdb6ec2bd0c58e823f6e6363b9b676786929d13ede60a8d8d0daaf71f0de8880ed0fdac8706eb2f324394145818b641d1049cc7552bc6273d86e901099c78297381faec5c518fb6de429700f3bbfef76cdecbb60088b9f2a77d75b8ff86f06cf23850e3183a267c0ea34f4f839015",
|
|
"tcId" : 63
|
|
},
|
|
{
|
|
"comment" : "appending 0's to sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250000",
|
|
"result" : "invalid",
|
|
"sig" : "26d20fecdcf0b7d6a0472754aecbe115c39d580ce9d78b67d1a6395aa6ce6689bf6d0d96545341fbf04956a48c47f7d30bda017acb1d8e24ce596aacd3e05b1afa571d19f5316142557f765e4c5d080bc5336b79e2c02d8833d076ac9d7794ffbe85c66d0db97e1f5bd2ecb46afb15c19a8fe083fa593420e996a483c2a3a766",
|
|
"tcId" : 64
|
|
},
|
|
{
|
|
"comment" : "appending 0's to sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f0609608648016503040201050000000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "1163082ba8d48352df7eab96a0067539faff24374a630aa4393461a0aac716606625d706699dfc22cf3aff89fcc278f83a0adac87aa0bf192dd86a97031515de1933a23849478ebed20e4203abfb47345bc18f38da5d45e829997b10107c536999b2ce10b2781e1db03e10cc2bdbc2e0ff4c3db5d271ce83c1e7e267e7c1e107",
|
|
"tcId" : 65
|
|
},
|
|
{
|
|
"comment" : "prepending 0's to sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30330000300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "0ded592bef1fa809841e0d7365e66af12f4239be0928656e7c49a043b9f2b18b9bd2dfe93a810c6e6c8ae6cb8a5c9d6e9d39a96a10b3bbdb92a7b8f575c2db4841c1b628160f956f54e0c58d3b6fd4d640b0a06d39476daba7be04b63a75f38bbf7517d9751d2b12d2dc00e44de7263275dce6b0c0af65d3c04878d6fc1be2ac",
|
|
"tcId" : 66
|
|
},
|
|
{
|
|
"comment" : "prepending 0's to sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f0000060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "95a42e5d9bd9ad5a8579444e8167bdecec16116a7900117b298c82d5560f1d16e9fbe963764727fef9111f2465e66177b576bdb8c70a58e3df6ff69edd2d6827c97d626b09c24cc49f223cd5d2db2916c54fd8f2ac7301723449b1823f2ff48c56849f7d608312d4bb7a97f90ba218f99cb773fba0a34909618f5d25854d7687",
|
|
"tcId" : 67
|
|
},
|
|
{
|
|
"comment" : "appending unused 0's",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250000",
|
|
"result" : "invalid",
|
|
"sig" : "2344c598a8905b350f20de5cf0cee60253729a54be45b0b19acc109ac15862efab2e7c96e92bc990ed6959a40d725c24c25c8d223a46f490905c1448d8dbf7c9c427bc2e896bdce6d2c1daabdc93ce177f9525ac69d899bded12443338834a16d885456057461740c5140cb9a89a017851f9e99e38c1727fe5ccad9a7a8709d6",
|
|
"tcId" : 68
|
|
},
|
|
{
|
|
"comment" : "appending unused 0's",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300d0609608648016503040201050000000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "a08cbe4009080f73cef03116ea949d1dbacce7025f7f61040fb4e052754d5b2d74c2dd06c0dfe1d09b97aa5739c809bec6d8cb27e852e9fef353bfa32964b99495a6dc63d6ce77460ac280c74c0cabdef794f74930f7f8827af1c6690d22ec2df3af497837bbe900a890e3feeaca2c0d16b0017155390ff0396a35ecb62b5992",
|
|
"tcId" : 69
|
|
},
|
|
{
|
|
"comment" : "appending unused 0's",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f0609608648016503040201000005000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "500df36bd7d0b56642e2d5dab6e4ec0b148e7b8673cfab40e45c5dad5efc469b3321ce027a3a7ff5689366a18a32267d161a1266491b055f11557c35bd0d4f43df11b8a26f7b13c54be423b87b30b1dca956151c3ec3df03b30918a413179b0e064bf434736b323408e3f1330743c8bdbbb9d466dc1e21710c12e2e3b638b172",
|
|
"tcId" : 70
|
|
},
|
|
{
|
|
"comment" : "appending null value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250500",
|
|
"result" : "invalid",
|
|
"sig" : "11a382fe570e0cfeb515955b70ec89a9353cda0c5a5d3cfa3e16e41340eccaa18ba21ad87c4a54a7131c4a7cf9afed68b1c1645568bab9b0fe7dfe0437abbe1fb6cf06bb690f46aa2eca034093ded661c38954341f3f35abe484015150307ecafd06d4309836771dfe29bfe56350d68725e0cd02b1479c6f99eeba2d59f40626",
|
|
"tcId" : 71
|
|
},
|
|
{
|
|
"comment" : "appending null value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f0609608648016503040201050005000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "110f3f188df46da58cdd46b5d460ba3d2f8d00d907289634d52a3ce693eb232cd6db738c48c8aa22d923d4f81d55925b3d4ff29ad9869f97a244d37b860cbd4646c6318c041729a7aaf473b61a93cccd62fe223d1be00364f03d722f43c7beff98c3fde573e7e6a0ce7d4a2a4bcf279765e29769bd4f884ce41fb808ac3d541a",
|
|
"tcId" : 72
|
|
},
|
|
{
|
|
"comment" : "appending null value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f060b608648016503040201050005000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "470416ee76f0bbdbd2812b533813e4463b799f4036e6955f3e174f6287e3c73d57c32875607e2eaf06d612cc85170ba5df31286edb645ae9ceb9e62064050f3e7f6b36fe8fdae7a3bd89b6acc523c923b9d3f3e5f57d80c9100b39dde75caf46adcae56668149ce0b80762bc459ac598241dd79c6b4fe0220ad53e3c591243fe",
|
|
"tcId" : 73
|
|
},
|
|
{
|
|
"comment" : "appending null value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f0609608648016503040201050205000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "100714ee0d38c541c2632e96885a7ce0afcb22f0cbd84c556f19d1b44bce75a8fdf141e975dda1812b4465050d4615a51c3b9816606c7ac88d6b684df938e7a8852835dcf5bf0ee45f2e413290691832095af77eef0e7a86f72167dbb03758e68561f7f06afc6e902ba19fad57e00cb43c0fb2a5ead689a146c79c9e6188bd85",
|
|
"tcId" : 74
|
|
},
|
|
{
|
|
"comment" : "appending null value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300d060960864801650304020105000422532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250500",
|
|
"result" : "invalid",
|
|
"sig" : "44eaf5ded57ac5c25c17eb31c2e071400b46b9022641347b2edb0b14efbd4eac5f71e4bfbe791e164c003667387e57ae22c6b00e69971d7245e381f6459e5f88d9dc0fdb385b777fe99e5e4d79aec057e41a1e457fe2b91a5f4a8878d2eaa1c3ad8393d281eca07ebd287364a19045029fa7ed0e62a21e5e42a88a52ea4abc8b",
|
|
"tcId" : 75
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30364981773031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "3b8b17b4c7b66b2fa3be8eb404e32b6fc0b9e56bbe678bddc8f7ef7c042c12ae5290b9c4201b35d10e409f3b7eb7760f5dee7fef09c30ea858b78bc9637dab245b8f83ee83c75a7aa3d5234b0b6dcdec385f8cd305dfef92aa83cc0ecde8f20f08af78b600c1f802695c243502397dd161b6151a72ac20596a7d7efd8e321298",
|
|
"tcId" : 76
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303525003031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "762d30b302cd76b021e237f28017e48488ff3bb30ff9e92db5b1e76eec2ee91c9af03e1c5038afc22591b1cd8cfae648a33ab77901f9f3736e50eea83f7c7a4546dc55c0265fb17dfdd30250fa3881e34e51b4f2e54554ad098eee952ec888e911a0ea5df42c0560bcb4bdd718c88d834b534917e555c38fd1ec3593b2f25b39",
|
|
"tcId" : 77
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30333031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250004deadbeef",
|
|
"result" : "invalid",
|
|
"sig" : "8cbf9d425abef67ff0a7fb648e70b82b1556ac80e46dcff37145b9041bee2bbbfa56817e04994c9cf1123c6df2aeeb1637595eb1e20adef51d657943fd67826ac5d5dfba106ae9cd243f12746917a446ce955034b46ceb0f4d542b7bcd06ad3e6e10899d5338e6d8caf3d4de3cbf45d45a58d946a64d0bc13e97a4ab4e6b6016",
|
|
"tcId" : 78
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30363012498177300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "2f4944e5191dde165950a381eee6cce3fd40214e6a9851919f5441b4efb7ae5724db46e92a747937c3c8f9329facb7a71ad5f380e44dad0436cd05fc312bf3cbf05c4873ab2125d605848cf97ef976f7ba8ab6949bdac5152bf1a66945caeddbd89346965a33a8fe0a0ba63b59beb05a44b6d84e1fd93506edcc48da12d488a6",
|
|
"tcId" : 79
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303530112500300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "975d07b7295268a8662aedbd2b65b5eb10bb496077f41b90d12d34ebc7e492f0c7f3a41d4164a279f06ea616f91968628be4ceecd4a554477bc76cc6b2e6bda4042dc253327c4b8fc40e9242cbc8b835114a7379a3081bae4b2803a99deb4a540f8c149ca5db3a61c7bc9f61cd7e55521660a06603849896c791a18d1c7360e1",
|
|
"tcId" : 80
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3039300f300d060960864801650304020105000004deadbeef0420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "37352cd11eb5ff7380bfb7c0d3e8d9979ae7cb489a71c31a077d59496547b0c95a760387ed50eefde0b762222f05a6033740f6e010693edf3ef8ab5f9c57f4eb1f6ccd83287dcc2e90857defe5ba4109bf79ad84ab069c85a25758d22536c6882919245fa2d7e7921b3635d984deeb6555cabdfc46a42c75875d55924c8bac62",
|
|
"tcId" : 81
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30363012260e498177060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "05df1fa9290a68415b86468a57394c052f00abdd6c65eb4fbbd834cc117cee4bba99764906fdc46e78bd9d554d15cf0284a64dd0c19877115c425a1ba70c1a4339a54ba7fd60ec809b9b789dc06997c2f25e890d8bdb1bc945c0daa8c61feab5bca471bd520126b6db3d6077f55428e0e7374da961dc5cba5397604303eec6d5",
|
|
"tcId" : 82
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30353011260d2500060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "1fb1960934683292a4c92cf3d582cd5fe68888a5b0f6c2e64538289da7f96a9efcc36bdbf1fdc0cc0b3b36c6af608309de58c6151112f3a78599ade4a718b359547a4cac9a020e5e7e7117d1bfeb3ec21bfe9732825e624b27ddf8a946eb858b30461706f769a54b0478e0753388951d98129383590186b80836608f7e06c72f",
|
|
"tcId" : 83
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30393015260b06096086480165030402010004deadbeef05000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "7e4f953b288c20fd5bec56a00745db9be03590efcb637e2ce2119a0a1846e9f38c0ebc5f2498ebde6217d81c9939b6d6a6f35ba54ee50d6313d3f2579751e7ae8d31ef4b0e99ca2e96c80459a7e5ff51f6f31e9c965be19097de13017c90037aa482d197c986f50bf2d5e1acb3f3024605e46d963410a4a623c898d0d773a78e",
|
|
"tcId" : 84
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303630120609608648016503040201250549817705000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "53b8fdeb2d8aee9796a56afe4934221610ad028ae6f9478c90d4e865f3f78b3d27b383f87086d50fc4d96c5004d8a22a0c5d32afad45fd68fcc3e9115bdfddab605c81f31d0a8ccffcfd5fdbfa0f0a4386649198b11c10f33ec5bd73c713a6af706e617a3a1e967f6ac025e7f283e49bb9ea1fe3a4f27d9f6caaf1bf4981ba06",
|
|
"tcId" : 85
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035301106096086480165030402012504250005000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "90a5d10e2e19f7e016d5126a3d3eb91432611ebfd411b07a4be15aa48c39df33f3a2855f1e150ad34c7f83973bd73eca6575dcbac4086aa0a38db3d6e6ee2e9f419768493fb4829f1f6d67f80359f82d95483d6057de17fd388ae46687c429dea4d9f7a286c95fb1b9df0f1ba40a4263307789952b1bd07cdcb3b5cef10d9d2e",
|
|
"tcId" : 86
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303930150609608648016503040201250205000004deadbeef0420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "a88d38e8c765b7e439f42294e71c1689a318ed5414efdf474196989829d4989fce8910798f4d7873fb43d3a501fa15c8019813104e4699597246db66f96c838e45aa3596a1d26cbe9f6ee91c077422953b402f7e11f8768a2f132295bff79a0d10ab843cbcf2c921113992336638f4052446f52815328ba4946510a6b701d448",
|
|
"tcId" : 87
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3036300d0609608648016503040201050024254981770420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "a34e59121976568352ea031232f6da386623a1c6866e36d6c6c07168de977faf6e008f14fe22a27d42664925f756f4b57f5258ceaa8197c3c172068dabf3c6cd46b3cf0262931bea731249781f28361c25cba9b64f678c0b2692056469624d0204bf2bf9c4e87407372838926e6b34e68cfb31e2870bfb5b0fdfa2ec1e177149",
|
|
"tcId" : 88
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035300d06096086480165030402010500242425000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "7f642b5702c331dd76b7ff66578a2c0547d91c556b7b9751443d911729fb5ce8426515ba068e2839cfdc956eb813c25d65a2d5213b59302c0ed5e6fb95c49002edb1605f8f622912fdc309d92e6e3f188ba19e991fab0a7018ae4f6e70927d91cffec51b2dcc8113908faa1173ec9ed72350aa93a8cadef8bfa7305bae22bdf9",
|
|
"tcId" : 89
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3039300d0609608648016503040201050024220420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250004deadbeef",
|
|
"result" : "invalid",
|
|
"sig" : "0abb75f2fac084da0b99bc823c021c4872e23302a6a25e400b6f25d60f7c903899a69dc548676106b44f37c1e6d2604eb995a16880a2a8e2cc9e0ccb2b984ae482036f69a6ad31a2b5836e73e0d30c3e10f8b93c7587d7c0f2371183edc3b8cd0fd7bc325b1cf75e1079f8d6df53fe495722cc1ce707cca49bc6f4ed2ca6c4f9",
|
|
"tcId" : 90
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3039aa00bb00cd003031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "9f2234b108a45abaed850e19d2f9576f59bb83dbc6165da61c4798638f9c98587c7eb92a8c901dc4430e4a47dc05681ae811ffcad6f7a604c43551cd0f5d123549435d622f7efec578301efd49dc6b139abbc3c7d6a26858f6d18f09b863a145d6483c9efc6c322fec1341b6362dc1d752c714efcdfb09097a0ce6df7dbe88a9",
|
|
"tcId" : 91
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3037aa02aabb3031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "24ba137a293599ab7e50a0a4f8c7a5cd02dda6a4568c93f84d00ff47296564563c9051b334db2fd2c081b23d322d4870a61b2435d651d7efb4e1b0920e759f7fd81a937bbc85ff43dbe2b702dec3acf4db68d5fd7b8a2f6d32cc49a7300dd659623b391927a2442d69c6c3c29e59eb80b1d0a95bec6d18a6223cf4357eb7cc96",
|
|
"tcId" : 92
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30393015aa00bb00cd00300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "04023dd35fa479f8156794d02935f8669c023c774b95c5a0e02837e32ccaf7a4ba5195835a15de6a21796eb96bdaed868f9e8b7f0a5a21c1a3058f53aadb62d6ee74cd70b2c38f17e42a1f7ffd88955731b4e15368211ad53f617aacbb54a7e7078740ba6daaca81c1b321b748ea1d13f7aece490226636ecac41bdc275175d6",
|
|
"tcId" : 93
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30373013aa02aabb300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "253bed76e4b8465ebfffd1b7214ce586294d3bea290517ca2bfc417ba9d8e72d286570c348dc6084fd379c2bf4dae424189964639533e17c409ae18e445210ed4dc98de4ad7336554740d1532d5010a1bd7ebbc33ba48a3365d50669e4f4522d0e5ff7a3bdb1c42c42dee647a8a3ce16633eb33bbc0a869e12cf99f9481dcf85",
|
|
"tcId" : 94
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303930152611aa00bb00cd00060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "0775598491297eb9004eed66234ded82e047ea2f06837425e6bd27f33b1373667f3ff4961d60f85edede88ec2bba2680151da3763f0df9785b31771da7e643862ff9ba944ab54bb1356ee113e420002a873f1eb381660f3eb84b1d6b25ccb8b82ad12ad0a449c4de205144873329e80ae8a84d1d3c1660b3303cbef28b48a553",
|
|
"tcId" : 95
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30373013260faa02aabb060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "a73df043d06ae53a37773016a4e21d3f1093c50e079b189c4bd7db3e2e9875b14e5374cb8e7394a9f1b45c7e4e9dd516198bf5055b30ea4d205f39fddaab3da0cec63524bdae2ae166a3874c59057d93855d6e6314fc5da8111ff58666a73c00a105311859f27d2fb92f507531b9d681e219861e4f0b2b979c185af2690eb4f7",
|
|
"tcId" : 96
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3039301506096086480165030402012508aa00bb00cd0005000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "17e5a889b8139593e192f7af684c918f2751f157214863f88984ff3d8c9e381d1bee5ee788fc82869f4c3d8483e3c17c873a850a7a5c85e4518cbd8531b331a308a0368a868bb7995ce0f8a7ac5ba53b88c31c958dfabb36ed461472505b598418185b864f381342c29dc80e55ca7c2095e7788e7e8d385d61de605f74e431b9",
|
|
"tcId" : 97
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3037301306096086480165030402012506aa02aabb05000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "a659f7c44e4589e9f6658b0b57e82e65d5ee9fbe2376894f558a7ca4b6e3c5032f953d1dccfb9b76bbc53dd5d1a52cfc092c6ca279b37c0a43c99ec0553d7ef4d9bf9361a1c4a3fb7496aa58c0af518312e18819fffdafd1a230a38440a6fbb0e69babaa977b8b5fe08ed7c6d59c0391ccd80b42a0c0102264b0ed6af8524e9e",
|
|
"tcId" : 98
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3039300d060960864801650304020105002428aa00bb00cd000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "83fd4599a47bc0852ee1a12b2d97fceae6d8442fd089df1d21ecc252a410982410bbd2cc6bbca219502c2934ac593a09beefdeb54b0692b3e5724b79b0f5c53541b62b0c4bf80a658af71d5964fc6a1fd7823370d00e24dcead4bdc86bcd883fe3f48dc7f8468ce99b7580306007021b68b48ace274e3c09a1b5e21fc7542ef0",
|
|
"tcId" : 99
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3037300d060960864801650304020105002426aa02aabb0420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "4bab6fc6948143f8ec7c8ad86a0c5cda5bd8151c24ca7916857778729c882581603363fde0ae2a28b6f8f2c8ce8d5f6b6e731bf8ef735bd31318069544295b54b04ff2abd1e11900373931164586d7c830bae704f7314eebf1d32b3a171274ed456e335d2a0b998ac441053ef096a037bfa6e5cdf3835c45ede383f0ee8feeec",
|
|
"tcId" : 100
|
|
},
|
|
{
|
|
"comment" : "using composition with indefinite length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30803031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250000",
|
|
"result" : "invalid",
|
|
"sig" : "2d9940c172e83a1ce38ce52741e694c7b62c77a63c0523ef68ffde402b0cdf7102afa7005a731d399757b69d313c2970a61f785c12fe79aad5398a956a2c004faec802691b00246cb759b0db432739febfef9abece7bd95e6ad980eb9d8b53886f739035b71fecd5e5ef0f0c0990a9f8fc0aa5d18089471dbd53488c23630415",
|
|
"tcId" : 101
|
|
},
|
|
{
|
|
"comment" : "using composition with indefinite length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30353080300d0609608648016503040201050000000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "69fd1dfca1b436593840f946e6113a79018c6cbc4e2b4562b12d06c03c7cfc1e724841ec59aeb0371c67a76a089a3f83f837255719bd648bc0888339c54223c25a238e717d1a90691fcf9690a3fef132f034cc03926ba8ae21dbb68467669cd19837907ca58237b6619be08a92ccf8e5756e3caec34a3c2a4622d7154a72256f",
|
|
"tcId" : 102
|
|
},
|
|
{
|
|
"comment" : "using composition with indefinite length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035301126800609608648016503040201000005000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "58c64866f9c1b6cd94c33fd708375ee8462f89efb1c72322174a1c5ed9117885bfa4a02ef0acc16d6a078800b84e9fbdb7f8f4f232091326811e71639fc1321b31c15c9fccb68f77c79b2e39b817478539636966c0adb23407401a4c68e6cf5589104a5557650ac389e4fb2a64191014c4e8f9af48f8a28f555d5cc32d7a87aa",
|
|
"tcId" : 103
|
|
},
|
|
{
|
|
"comment" : "using composition with indefinite length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035301106096086480165030402012580050000000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "0ba4e7900332ef20ad600bd4b8c0bab55c1030138c6131c1cf14a45fa98e10ea297ff6c2b8de3d92bcab6f1d303f4f8168848b2fee58ca40fb1f1c7eeb808c212b413f6f302d2e3904c2be2fa77fac21d04352a0abb07aae028e54d9e08ce37a6c210ae47095890d668cc1c296c9db1b5ddec30b722790260dc26c85e35f6692",
|
|
"tcId" : 104
|
|
},
|
|
{
|
|
"comment" : "using composition with indefinite length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035300d0609608648016503040201050024800420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250000",
|
|
"result" : "invalid",
|
|
"sig" : "6f7b739d7e604a1123a232be4d0909a890eb3ad115f822b91592563a55fa59711f7ad17d1370abd4a6af6dac7ba08b6ae111291b0c8fd0626bc068022a8eff5ea5b797cc7fd35a81130a9394f051d2bb6bdf6190c11b964dbe2e4021a71ee8b405d0baf91ad5897d9ce22c8c1dd0e7dfee0e6abd979f5a1cd9443116c212b806",
|
|
"tcId" : 105
|
|
},
|
|
{
|
|
"comment" : "using composition with wrong tag",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30803131300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250000",
|
|
"result" : "invalid",
|
|
"sig" : "53e00d738939553ca6f742ccc3671c88fd2319dc438d046f06011e088b57df8703813a53fa9c68a8b2de333445fb739726ac2b6ce3b2800e3082f48b823a06d0b2a83fc4c0b2e6a40fc2d86b73030e974f101dc6fd6a24abcc6cb347eeed08a4c8086d1fc5fd68b0b36fce0c79e5187c38c8a4cd35973b1755643aa28496fbd4",
|
|
"tcId" : 106
|
|
},
|
|
{
|
|
"comment" : "using composition with wrong tag",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30353080310d0609608648016503040201050000000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "9382e341df276efda17aaa4410801a3ba0e4ccd5f0b61cde2416c7a8345cab1bb1fcc4a4a1d7c4a03a9d9ef68c83f2b3e08fc5893324159cd3dbae159bab67b109e55db550b540aa6142531528281732f63235785e145ea0defac4e67e825b30fbe9ff19687436d600ca412053e2430a1d1b637d4db255f1616713f3a2ad135b",
|
|
"tcId" : 107
|
|
},
|
|
{
|
|
"comment" : "using composition with wrong tag",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035301126800709608648016503040201000005000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "01ed4d8d4a342729f18182bc4f7645ca0a5216b57d4d26b874832983d19741673aa7c0e01705ada27ab779b9b84f431e83c621a2dd7ae5f501ec369273d297144b76477f4408bca5ef6a59053c1ffde80bc228f99dcaaffb4c520c507b3a941399042f0c535015d86b2b5a95696b71ed61ff2bb585442b85fa2477268b71f77e",
|
|
"tcId" : 108
|
|
},
|
|
{
|
|
"comment" : "using composition with wrong tag",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035301106096086480165030402012580040000000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "21782ca777e07848b600c37bb0a881707e580fe822d5dbb78f4809251a5cd74cb6f3636194cec8bab9040339da6531c730060ff5ac39ac9ad56a2371fe21e02ce08da18778d2256276c47ef0261d9c453360fbc4a2cc1dc7a8965ac2ccc17b460b0fe359ae4fa53f75efc68e96762cff5d98be46fbeacce2edf1d1bf5e158653",
|
|
"tcId" : 109
|
|
},
|
|
{
|
|
"comment" : "using composition with wrong tag",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035300d0609608648016503040201050024800520532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250000",
|
|
"result" : "invalid",
|
|
"sig" : "1eb6de862a77d435e62635b620be37fc8be499500c19b4d87b3f993b9710f55476d3f3ac27d5ab2c1ec36dded088bc50ba5c0540934fdbb5ed3309babd766726ae833aec211a526caa82bf08f1704b66128f24c912c8c3719170090fe1a2738b0da32f91d35546a9a499618428d368b326203aeafce635668d3d5fde15762d84",
|
|
"tcId" : 110
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "2e31300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "5770bbbb883f93f7c29bdab32e496f2e9063110fe648705fd0b1dc927052fc9ace9b36d898d19cd4f862b777b7c790d767b8313f735ff567c34cfb31f29644540645beea182cabdf789ff9ac3f68cc20444af0b9d4ec0bc8992945063fdb733cccef7590a10bdf491bc21c38f25ff65a581b40343e30529c3dbb71f62189ba3f",
|
|
"tcId" : 111
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3231300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "359dfbf40d3c2383f58bef1d518abe9852ca80d797393e4e1a9380ef08aa851d585213e8897c6f701ab680b0f63ccf5ea4216331918ca9a984fb6ba549f4bd066ec1fc4f1ed053fa5658b01df674a21322ba7e21fba6cbb3a8eb5565fb7bc269f99c65981efa650dde613ccd6d3927cdae45922d94dcf7ca5188bf5acf84035f",
|
|
"tcId" : 112
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "ff31300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "24a61067121e9b4363b816b7c5750584c23f3c3200ca929fdedbe95d7504c56ea7dffd762074e44e96e22147943f2b704003967270b2be1bd1baadc3861c4cae91bd41530c67220349db4481d324d9927d52fe85618ddab2598996c5813f3299e1afb020b24003fa94f94a0c6c02b3183295e0de79eda021dccc5539cd7874ce",
|
|
"tcId" : 113
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30312e0d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "11b8d1dc2fa2afbc32f048d7454ba032b432a2ecd438506aa72c697a5c118e9e231a0c6b6340b5564402b7e837c59dd36f726fd626621b8f543964198484087eded70e7bb1dd63df2cea33198b9d02dd28e3b8bd006ba991a8b3bf06ac928bef45cba2362f2e11a5fbfb0310e84e8b7ba1e17c315adc1f34519134c36689619d",
|
|
"tcId" : 114
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031320d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "8748f029d5294dc917cf4fb347e0046f903c088fd976ca97b1322738549df7c56cd67349d66596338fe418b29de9e8af8872fcdbb55e1a6f74e9965fe7a365b846b667d0ae50df23083be73cceb59db545a3e1a560f6ce0e9eaee57b5f95b8487a3987c00f364d0f148ead6d7e6a37b05456b913b7a79c0547b80da2a2893881",
|
|
"tcId" : 115
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031ff0d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "2bfc087003f3b98f0c8c5273de34f5e4d5047e909cd80e222072f6a7926ced5ae169131342640f2be11bde2f7565c3c63d0335614dd278915514de8421f4521f0138109a5c9778f86647b8a42815b6b861f173f5a6df893873f99c5e62bc3c086150e3b7d7abb943ecbe5806068abc433e9052d9bdfa19a58d19da463dbf3b23",
|
|
"tcId" : 116
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d040960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "0fe03eea6c50ab664bebc7d64346762aa29b08b61f2877973cd543c9533c9d0451db8d836eb46e8d64283306efd7ef6387cdc3c794f7474f2e7d51b9df078095adc85fb810cae52434c9cee5048fbff72610778397fd83204f44bb87f7637373d111dd16e18287bd9ffe816683bc3663f586082fe0811ff6a06c0264b67f7716",
|
|
"tcId" : 117
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d080960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "748b9e64195314003ca31f726bb3d3294abd8eb376365acc5b1cd36934bbe1a9bae99ceb7c1a40c910bca6007ced7961ecc9ac74c7a6424cc87b6b9610320ab9c5b527d986c6e8ed21e677bbe2ee7752e2dbcfceecc2dd6da3f6c6b9c81435e9e060dcd67ba834729761dfc9570b79bb1b8ead7bc1325c2233e445eeed12dcad",
|
|
"tcId" : 118
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300dff0960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "7379bc96dd40d37a7f8e58f87c10fb94f250a964a55b2abead479b368e60e442e6eb864952308eb45eef1d318b6a5ffce634fcb886dbfa062060b9809cf89a09a26fd334ca22a1917fd219900ec0c68164c308cb9cbca3fb2b89ed8637c5540f7a5886ab1e52c503e20edd6316e41c746e53917e107ef5308590800ad378ac97",
|
|
"tcId" : 119
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020103000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "4a2478918565be6b46fe61e5f66cd1befb7a3026b5a1502e9a42636b0b924a02e85d7ffdfd8671b1d6d3e604e3ac6a5302db4e0ae0975d0661efa018d6ba0c632a6381368dcb75926542c74823a8c6d8732619764d5a61062fb3b17ae243bd691c97c8f9821af9526abcb522ec8e9dca32de1989e576e336af9dddc3e766541b",
|
|
"tcId" : 120
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020107000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "5ec392c91cc165ae59013337e7f7d5f2f9b3a6d45b6f6beee6dbf93e7b9607900f4672555a57de6e9e1aee1fc9b7adfc0dc00e122e84b0233c0d615dd0d79764fdc9d1b0e541f2de0083ab479f313a07f55f51390d1c2274858b219b1ec0601b82a2f7648ae95ec17099067a173e3e83959b6c06f149af0e4610761aab5be1a5",
|
|
"tcId" : 121
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d0609608648016503040201ff000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "6173aef07a7057c3e97f6b7d4d7266918876f9fad86000b4c8ec7f83ee491563115b0cb5d580df8c97feb0d95866eabb79147926f5395c5189554749f4a2c75c0d96325971635be029062e1f27536c5041bb42f42e1fa10e21bb8e9a2e2502f2a7299dfe3bd8720ecb8a57238056ab0eb546de8dc0e56b317c73ab1e19772596",
|
|
"tcId" : 122
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020105000220532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "3b80c72f3b7ada8b38b30527bca41180b4a89b066f44a17b9df5963dca46517d9160326afee7a34b650b9e7746e764958ce6a0a6268481a8df40e0a95a81ab0f0bd20c050becfc0c4b03ebda19749a4a1dd3ce925fafd9a4006a835eedf221a6ceab6aac6bc74f743fe171ef8c01935f8901e1ec9ff6e33ae8311851fa14a65e",
|
|
"tcId" : 123
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020105000620532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "4b0eaf3ae1c7a3322dcfabee0569aaafba51e0f34fa6afc325bacc853ccd2daa3dca56c918325bf553af02ddd19fb597c368dd18892d52d9e935dc51d38347ebae2a7f90c78504355f6899ab4452d5f51d2025381d81042a08582dc50bc1078246ee69652043bb747969a7450659e333193990f34a8ce3f036221193e700489c",
|
|
"tcId" : 124
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d06096086480165030402010500ff20532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "1fe7b390bcbd5bc1904e676111653e14e581e7817b45294bb790e4e62f3010aaaa77e246b29729f2b7da65a2f437b8d9c4fe3b26baad367a19fd7b1758d04c2f788c45e5309a833522b46d7255dd5ef70ed006ef966aa7c648bd0b893b8e1566961c16e9554fb729ec81819f1b3da890d413a153f487c030c7581da9531bf134",
|
|
"tcId" : 125
|
|
},
|
|
{
|
|
"comment" : "dropping value of sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3000",
|
|
"result" : "invalid",
|
|
"sig" : "317379f37cb7f21fd03259a27db3575d491a248df82e67b39d4956a1c619094fcde001544f0fa70c64dc0d0440fb21d2860a20a911cbb397792bf3eafa5cc050e78b1e7bb29d041cfa0287bdf54a90a7a8bff5c870e898fe34bb522477daf8e003bc22891b789ff215869cceb92610c4b03210d19506058d941e6fce7a3cd786",
|
|
"tcId" : 126
|
|
},
|
|
{
|
|
"comment" : "dropping value of sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302430000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "2de802ddacb7e47e27875943d5098419bca3b170bf74f1c4b4a8ac420d4469d9aea97592fbeaaa1dcb5fd20bb97afc5f7abae17a9bb85c5490db97010c5217c88f9f52b5e209cf5fba5f0594f4e4450114dd0348ece336870a1333f7660caf959056ba13b77d35239eea164ddbc8808f8e7e1beb070f551b6e95f90d5bdbd925",
|
|
"tcId" : 127
|
|
},
|
|
{
|
|
"comment" : "using composition",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303530013030300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "09342a8fb8402b5e50fbf8c5d1cae415ce02c0a803adfed88188982129e8480918dc21616bb5f8381e8dfe13f63234090c32e542a005df70df5e8e00dd2a478d10fff1b61efbdcf0e410236f7c031c9a5f7cd0db9098f8a32a6a49f408e72c4a29b7d27e8041ba605bf089bbdb9777e19b31ecca0d49b90d54701721af79cf3a",
|
|
"tcId" : 128
|
|
},
|
|
{
|
|
"comment" : "using composition",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30353011300106300c0960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "3ef90c414a64601c538c286f2c35f32445039799b8c266eed605027578edda796a409d905a751bf5c1cdea97840437fa82733d8f27efbbc05da732887078a8f547bbfb54607a54f893df7dde0c35c45f9c2402bed0405c72e98175e5b9d6f90224e07d12e8c1bbad2fc8b1a14c42dd5fb7e554db5edae89d335705c672cd7b55",
|
|
"tcId" : 129
|
|
},
|
|
{
|
|
"comment" : "using composition",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30353011260d0601600608864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "3ad3e4ec3636b5eb8aac2161c04d228491ca0d9da2abd69d8904054373940b39b5c025c011c9b9508a25ec25b24a0837cdd6a27cb5c8ba3683d90ba5912ede9a21f2f7e851dc49dfebea8807576be703a6a87ca44c370db76812b9929a54fb8e2259453ccaf47da1b8ddc5b7322c20197604b9e028ec00bd7eb48012274d5b81",
|
|
"tcId" : 130
|
|
},
|
|
{
|
|
"comment" : "using composition",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3035300d060960864801650304020105002424040153041f2eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "778d93be708d56defbb6dedcfec2a917a3772b2810e26143db1f9d0f26c4fbb8de8db5818aa32ebb2cdcd7960e593ace2c3c3eb682c930cbffcfa6b34438ee2a786a9707d5d10902f7f4d8fc677106275fcb6cb08f56f341e0f52af590e0bdfa2f2bf95693265e87f5046bcf3e6de34810e8eaa479f3afa2b0a98b175007c209",
|
|
"tcId" : 131
|
|
},
|
|
{
|
|
"comment" : "truncate sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3030300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e",
|
|
"result" : "invalid",
|
|
"sig" : "a3e0e0cb9f7cdf8a2b95139f7c475f274bb63252385f62e66f82158f429e74d83df9ab1040717d34b6a5e009b6ac95960826ee83bb298ecf900425ff03a8f156053b57eac6086d61dd3a8085b84c83bebbe3270164e3147ddee8966a026796401fa48da70f5d949386eccad26b0016543f3f90c8ac2874100dce13f03845509c",
|
|
"tcId" : 132
|
|
},
|
|
{
|
|
"comment" : "truncate sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "84345c9d3de7b5da2156d3669a731c4baf6726c4c231bc8bcaef950d7ac37ca8d86e9c9558404f313de3fdf09024d25491b0a933cc3958033210b1c4f90070ddd083005873762566ff2cd7f6915b4cb430f5e7e1bca8c2ec32b4ddee48aba667f9d614a27c3bb40c6cb7f0cd77d3d17257f197974d1871cc09c9583cc6af8e15",
|
|
"tcId" : 133
|
|
},
|
|
{
|
|
"comment" : "truncate sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3030300c0609608648016503040201050420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "227aaebca262d2189c479ab46d8715a34100bc1975c2d3991a4ade27376f068756cc9d89e903713bc28394d202d81b32126d7eb09154261841227cba6ea0a60d0ed9302f816fb4dd241dcd2d746d5c1b068c42c0b2bd567ef799cbfd0a83e8a30c4fa2f7296dceca38c36ab597ba992f658ef7955d32d38847870afbca35d836",
|
|
"tcId" : 134
|
|
},
|
|
{
|
|
"comment" : "truncate sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3030300c0960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "a4316d438c7091b3bd5ec09aeea9095cb5046d8f08642b087c34985c34377bdafe74285d00862fba20572ce7a06dfe62b4fc08704d1cfb161cd88478e7e1c5451e0bdcce0fdd83c0e37fba5168ae03fcf4ccf60fa12c9b0acb39fe99b06933b9e0774f41151e0564ef805144c0cb76101672c287912197155d91bf036e84d1ce",
|
|
"tcId" : 135
|
|
},
|
|
{
|
|
"comment" : "indefinite length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3080300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250000",
|
|
"result" : "invalid",
|
|
"sig" : "447904593d2796cb9851fc38f6494697af3eff1997568a320a0e6a50d62b484d7254c99cad3897f7383da73ee48ee824f7f6819c7dfce18021e7cb43b48cd77532c6af28e9adbe8005c576415c379bb7bd164a49010f0b243f60064f1986d1923146be8e8a4eceb9263445f32e49e5cef3e500467f3cfa9102b51b2772df803a",
|
|
"tcId" : 136
|
|
},
|
|
{
|
|
"comment" : "indefinite length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303330800609608648016503040201050000000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "01ce4a92bfbefd1de73607085c875704ff40751537bbce8ae2df9b10db01443154f415a936b38f937f7514763e20de0c55a1b441c5b10a09c7e09a7070cbc88becfaa8d39ab1cb93f4e2d1dfbc973715b04bf5d21f2cbab061ce36c81642fea43d0b11317961886d8783c628947b8f14be0864674e84c4af5f9dbb1f95b327a1",
|
|
"tcId" : 137
|
|
},
|
|
{
|
|
"comment" : "prepend empty sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30333000300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "361f80a57ddb48796e50b3e6467cb00a9e1e193330ecd2cd6a31f649b49eac27e295450efe03e09e59f1829cc661d36b0fe904602c644aad7ec8cb2ca3099078b6d4f7b9233dc159fd1a6189451fedbd176e436f6605f2b889fc7197ebb520accd7f90e543da44453c7ba1948e83e31f5907d1989d982acbb348ca2216fe050d",
|
|
"tcId" : 138
|
|
},
|
|
{
|
|
"comment" : "prepend empty sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f3000060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "674c01596bf71fccd36aa81b000be007f6cff713e5f6ffe58b25e790f9a1f6542ba3f68e1eeaf1bb1ac6c3d55aeaf08140f6cc3d0474f6bd87ee442568346553ceb34efb5301a4d3a5b3f28a5fb038ccfe8444524d18adfa042aa1685fc3a5f9005da5688853b8660ba74f0e32c5be38c743b0048ca9b9fc19a35a5ff4e2c48f",
|
|
"tcId" : 139
|
|
},
|
|
{
|
|
"comment" : "append empty sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e253000",
|
|
"result" : "invalid",
|
|
"sig" : "07ba2b5d519b1f60dc455d6ad90b4135cb45c5da5a2a2c9b8cb954165394a0f40145ebf2b1a3ff1d47f5031d542d25041fe9b6d78aab623c40eedcd8467618168ad02af8a696573c5c63cae0b2c26583b0240848d663fdd0195322bc2c8dbf9b5db2ff9cc3e75e70480e51da0d6dd402fa87772ddef5256467205cf41a42d18a",
|
|
"tcId" : 140
|
|
},
|
|
{
|
|
"comment" : "append empty sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f0609608648016503040201050030000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "9fd302307455d4e946c1ccee65b0941c3550c823279cc52c4f29ecff72a12ac40ef6b7e37b7dd774b7735bbae89b0792908bafc47f0b0a11637042fc8541b346151bdadc3990e64b6d1807dd0e7f9266ceb3f686a9813341f835562d3c8c84868a1f98db97d3e695ce4a25fce80b828d010d6323120362ac48700abff8a7116e",
|
|
"tcId" : 141
|
|
},
|
|
{
|
|
"comment" : "sequence of sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30333031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "247aa1cb69ccb72795c93809d7c3a5e52de98ec5285196058a6ab18ec2f5d9fef5545ab5df923f63bd58f5f247b3d824bf161bcb56d325d4e2fc7eb3765dd81b5580422abf2a3bca8d8af94cf6a9a3133b1494f66d5cbe938d30b9308b5ce2cc6d3df37d3299b6a7616d40afcc7935d80225e1a89a7a63ebff13a66e21280a6a",
|
|
"tcId" : 142
|
|
},
|
|
{
|
|
"comment" : "sequence of sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "6d6248f823020a9604bbafe5acc103d9bd020624585c95805533de22afa3b6b1b511f8805296ee4d3e96d707c91e55df8959464ddb6d6a3d62b1cb248754302b2833406300f4975d913f1b90f95e3673e2c57d6181d73a360e8c818b8a9dd1e7a4fdcd68683f11dd47c2d395f20b0ce9c59eede6ae6aa58a707c4ea8d1a73a9a",
|
|
"tcId" : 143
|
|
},
|
|
{
|
|
"comment" : "truncated sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "300f300d06096086480165030402010500",
|
|
"result" : "invalid",
|
|
"sig" : "941d41c39aa8bf3879d16cb78c5486589e7b97e56a0249c4f613060d26b786598fd2d34bc4e99cc8888137975937307d6a328059a09f3b994bf955c7de4a2841a0d10bbbebb2db3b332656f258c66c8d50cf9155ba94e1cb21a78e6147af76958ddd997665b6d8f67ea8f5e1fdbebd7df635f20494489c895d33ae4c7f248bad",
|
|
"tcId" : 144
|
|
},
|
|
{
|
|
"comment" : "repeat element in sequence",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3053300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "a32afeafa2c3b58bef55776ef6daaac6647485dde100d968e0449d1a2d5a121807ca2fdd70e2e9cf524cae4f263e11837000df85f0886b718ff45cd316c8d031b746dabfb956dd6118a37e0dabcda1ce9c728afd9a5f2448f5b15d27982218888d457752485119f53219315bf63141c9c0802327226a096403ece022cb27c0df",
|
|
"tcId" : 145
|
|
},
|
|
{
|
|
"comment" : "removing oid",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3026300205000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "6098a732419cd71887548ccf4fbf3edeaf9fe7b220bd747ae1b995b746de1f4d7b48c73ddb71903f50ccf7c93be9c8219de5a75ecc302ab50356069dfaf642f32ec580a283519fbcf04784860b0660174dfb7e1e527bb320960bde8f6c605bc3c1055b878d2adbb44e1b6c41add15cb603345c4fe2d1c0158fa03f21b4c015e0",
|
|
"tcId" : 146
|
|
},
|
|
{
|
|
"comment" : "appending 0's to oid",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f060b608648016503040201000005000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "2f08cdca4d621007acd15b1f4e3c39882a8aef706878e8f101e7fb250798a3528dcbf4d3327ceb0754a2ca0850794094dde8a875cb947d624d386ddb9593259c53ef2311260ac3c9cd1277050ec98d105188f590f198ba908ddcf3f9ed18f5a96cc6b353fadde007658f87ff4c201db7621d69c8278305f3e9f2041a2dddfad0",
|
|
"tcId" : 147
|
|
},
|
|
{
|
|
"comment" : "prepending 0's to oid",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f060b000060864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "10078ea73abb9bbb879c9d8139b1758170fb73b34f39cdc83e6a725439e315a5cba4421fe15e8c80d8fda0a9aba9a12c23aab41f7328d4191e6c7c3a53a505ab518dce078439347945671ab06a2cd5375457b3bf181c40a1a4be1ea8305c9a401488532c7cdc1150fb9c46a2e846ce4a2fd9ee863d0b0b8af7f10360acc47f10",
|
|
"tcId" : 148
|
|
},
|
|
{
|
|
"comment" : "dropping value of oid",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30283004060005000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "69a74665f61787b54b522937c534e95e91917f5dd4fa9e3472add6e21dc033a275408f35c71ff6cc029e25986fe6dced8ed053a9040aac32fc444e9252d2bd4081fe3e51ace15a0f694c0b8953dd6afa7f8cac67f4d8e17513b415c14b439a634274893885907e2ea428a6e242154a58a031fedae31c73df7cd4e2f5591496cb",
|
|
"tcId" : 149
|
|
},
|
|
{
|
|
"comment" : "modify first byte of oid",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060961864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "8f3b544724810d462cc9b19f356e61efe7c192dd63511a9f1f63286ca81f89477c2b464f8e51a97ee138dcf8c6709d79a78591081384af7cb5e182c9867b826013e6191efddddcc39909d3ffbb18944503b69d774c959831a8092f4790a4933521100c3e9741c3b58e1d24b75425ee28fde4e40c249b4dccd726cb06cb9ad2e3",
|
|
"tcId" : 150
|
|
},
|
|
{
|
|
"comment" : "modify last byte of oid",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020005000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "3933d6937e977caac37a07a5c4ae503565af57e6c4e830004147f8bbf6784f79666d89cb4cac60e3f0aff2d5ed6a182921e490c958bfa49c86fcf0270914c102275b0878f01795c7a2f44a8a6f5306aa67a81f9294089876801503989e749d152c3e34906291f1f54bb6232fdd3d51e807f70927bf38ef70bd2ba45f0323acf2",
|
|
"tcId" : 151
|
|
},
|
|
{
|
|
"comment" : "truncate oid",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3030300c0608608648016503040205000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "7b2f6581fb0b4f913ed38c0ea20dff2bd60723f2bc3f1022ceb946e48adb75b1e0be031dd8b706d82967f93c6b6ba496d8c4b49aea9970e139b18fefdce30a4ec04f77625eaca4c7d1265cebbbcf53b63a113cf06bc50e4a416a771cd28785a0075631a3ef60c9212e224aaa063e7d8109c27e248e6422b26acd02ec012b7bf3",
|
|
"tcId" : 152
|
|
},
|
|
{
|
|
"comment" : "truncate oid",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3030300c0608864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "4dc9e86e076a395b530868d9fec9f858bd6e8c10cc1e32cae7653abb3f23991c677e970ee468c7f35022f3241f5d35673a8cf4ce9134b1e63a994dc7abc8cf4b9dbbb126b314312539931a0163c911f0234f5c3f683c9376f2ecaa3294d71a1274f6c63b84ea8faf826eacb05e4fa5459b787ff384b2cfe0f1f4c755f32b5c50",
|
|
"tcId" : 153
|
|
},
|
|
{
|
|
"comment" : "wrong oid",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302d300906052b0e03021a05000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "8bbc9167821885a728260bf9831120ecc42c14b2b07854169c86421146367d1bec66d8c3daadd115f16a29754e7fa8fb70a63966f7838484615d4364311b6c3f6e73ecd8ced0adb52db2c374297119f5fe571bd5396529d13b7225e87db5b5b0df38e4c56f2349071b09ff5c1ded919b398d4aff38c6ae29af6f6ff99d3e8836",
|
|
"tcId" : 154
|
|
},
|
|
{
|
|
"comment" : "longer oid",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3032300e060a6086480165030402010105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "2054d402bf6a148b52972b830c8c8a16a6aeddbcd5c2ae3fd83de67c666e712fa98650308658837a67ab87b2c444bedc7cf995c19af433da9343f260049b1bcb436ebe27d8a502728dfb0daac5d2710e2c39fa000b909aede07ad7a0d27629e0ac27ed9fcd41a39e09f7acdec4c2df77f38c535f46e3b96f2772a81e65e74bb8",
|
|
"tcId" : 155
|
|
},
|
|
{
|
|
"comment" : "oid with modified node",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304021105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "3a94d241563a2ad97574ec82baefccd9dd114e21fa9169d0f54c4d0f57826224804ddc9b29c1905c59f39bd6aa3366705a85f5e6e18c0eb0f67986b5265e7371865b618e90e5c5313f0b6fce2343aa12d4ed44d6770fa08d4f1342608a4fb627a273f3a1f1340d1f5c55957ce51048e3690a845851009cbfe38d3c96e96d4172",
|
|
"tcId" : 156
|
|
},
|
|
{
|
|
"comment" : "oid with modified node",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30353011060d6086480165030402888080800105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "079cb62831dbeb40a638402865cc92cb49913dae214babc3f4f8d69d64cf14362c23c8dd6ebcee9c44633dd54a62bb2f0042c20033728fc2f8ff482cf0be3ee103bacf757b50319495d9a838844ea1064f4bd1f1ebdc1b71a318c3c8f7d76ebd79ef2f3991d4d87e110d60e5fc655adfa4a8e792e46c1c7aa96156b884e2f7a9",
|
|
"tcId" : 157
|
|
},
|
|
{
|
|
"comment" : "large integer in oid",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "303a3016061260864801650304028280808080808080800105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "2c9083459ba6504dc10e0e63edf8ede8bdb4a9728673306908ad4e8f25656d4865f0748b9fd2cf7b51db0a2c659e0ce021fef3d2d3d0cf7c45343729c2001a19d37e29398a9a7e92d7f62693252261f1f7406b54af5447db6e846f981722059b7bb09ba95268c321c156ff659e0ce8e709d2819d5ce15f5dcfa54c55114a611a",
|
|
"tcId" : 158
|
|
},
|
|
{
|
|
"comment" : "oid with invalid node",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3032300e060a608648016503040201e005000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "9a76669c75f0f11399699f76e7bfbefc0d29feb5a8d86de1f751eedbb5c9e7b81ecbc224534db67cfe1b611951a6ff499d86e11cac4a1725e2ff707085a81a76c73d5b53d1b0b2c4fab2d2eebe57eca83242a261cfca768abcd8e1f42e3841d698bef3d4f16ac2dfab0fd42ef0abb0463474367dff7ec99d665a9838f2cfc24c",
|
|
"tcId" : 159
|
|
},
|
|
{
|
|
"comment" : "oid with invalid node",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3032300e060a6080864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "6674ec2352f0d3e90f4b72086f39815db11b056babc57644c8a703014f439baa46e8ed961714d5c7b5f0ec97ba3fe5ab867c16b7e1de089868dcb195fc20cc42fa1b3d3060f50cca77281bb6be18d65a1ee8e5a381e21e7f02e819752b71327a28719c7284f6425bc9241abb08d000faf58d48848d7f4b8d68b28266e663f36b",
|
|
"tcId" : 160
|
|
},
|
|
{
|
|
"comment" : "appending 0's to null",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300f0609608648016503040201050200000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "8d18a5e0a81522b56eb9e4f43bee15475cdfc7881006150cc230e76028283375a13425fe5a106f2626346a65817010a5510b157b234a16fcb9426909a524a288161537be91ab13033ed296f5f8c1e5c3bdb963f12d7b5eded46106f7c2dc1ae9c451415303cb7e6a3f59809b922183b9638197909d5730e5b1e89705fbbe8464",
|
|
"tcId" : 161
|
|
},
|
|
{
|
|
"comment" : "composed null",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3037301306096086480165030402012580aa00bb0000000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "80c9add3930a98b726fe543b4350c593d28e77f9f53f1ea04c2bfca30f157309eeb41e5a675bc0045823df8e99f2e55d2567f4b78e36eb8af1b45c50e33e6634dcfdc4094407b760d8b60f76995edd05920a6a89e22168a788557bfc7cf01d47d21448a65f9766bb217bcac1124020b6b062fd0e7bbe3e142ec88652eb617513",
|
|
"tcId" : 162
|
|
},
|
|
{
|
|
"comment" : "appending 0's to digest",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300d060960864801650304020105000422532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e250000",
|
|
"result" : "invalid",
|
|
"sig" : "51640e26e8764936a7d9d709b3e0f52a5f1843453f2c6107a8e7fd6dad8b1c02ecc71659cd4134be952c03ee83c190bea4ea7260e5472c3cdf87b6ad45b5c974957ee9b4bf6f30152c2d939f722cff32e5482db96f3e283532b96716d3624daf16767e0ecdad16c97e56e4e076d64b92af329d2d6a2f8d14b59d1b84853659ab",
|
|
"tcId" : 163
|
|
},
|
|
{
|
|
"comment" : "prepending 0's to digest",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3033300d0609608648016503040201050004220000532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "9080bd4ac03b7ecedd45f8165360d4848bdfe1c9212ee1a4debc1aa92886cd7947a2df5435789bbb0b3e8f78815aac80e2cff14e1939e9ec32f42e7c29ed4029c88cafb64e8523dc85217c40d1bba900468a69c5bd4d12ac67401698fbffaa5159907ad459d3843e12487b3b2315c585881bc42e45543f7cf25110ab7e0a19f4",
|
|
"tcId" : 164
|
|
},
|
|
{
|
|
"comment" : "dropping value of digest",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3011300d060960864801650304020105000400",
|
|
"result" : "invalid",
|
|
"sig" : "5f66f645307346216d3ba9c3d8b29e96270cb3b2e686a676fe975c10b8c26fda8d8eb172628bb3dcd726160c13ab8c5afb1d6ae943ea4c18d00465d97c0d2bcc27a63c18457ff8d6e3f5ba373b4be7b6f4c610f83578613f4fe41a40d86230afce0bb8d4496425a5bf0a80c6b1b1e2a981cd44c31a9aa603748c3d2fd2b85478",
|
|
"tcId" : 165
|
|
},
|
|
{
|
|
"comment" : "modify first byte of digest",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020105000420522eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "8ccff4ab4fd8534b6b50593f775bf6684391225adc37745e7ff25a4c4baff78a252aa1177ea3f3f09d2791da50ba19cef40ab8915379f128bba3271069cc2c02725e09f0b2cdfa0d313eba3f5a7e231588fd617b7d90b285e88a944d7d0a7fe9cc558dfe8103391ab2e6fbf762d829a55ed4486b5d888957078ffcf49e8ec352",
|
|
"tcId" : 166
|
|
},
|
|
{
|
|
"comment" : "modify last byte of digest",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020105000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e24",
|
|
"result" : "invalid",
|
|
"sig" : "694b90d259b8dbe290f5851ede2ebf3bb718c1674ab1d3b7b6418e8ef7ea0760bf3ce69d98a7a3baae5aee488cddfb877972fa88ad05996879d0ce15aca53591423bf1b1b3ff02f823cdbb26bb80e3f7b83c3b7ac01ad7806335f871cd7b7e9e64708c200a9cd092589131aeb7db15655174000cf7db782bd54325ea956a1a15",
|
|
"tcId" : 167
|
|
},
|
|
{
|
|
"comment" : "truncate digest",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3030300d06096086480165030402010500041f532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e",
|
|
"result" : "invalid",
|
|
"sig" : "888cd9bdece5ceeef0fea92727ef1a1d996960f3f551bf108682f8103590323669ba1ab48becd14a49b87a900434d0ca7670d094b08b2f851834757bef580d2d3278d85b88036ea90d4c2a673dfafeb0c3701332c2b77493110d9b28dade7e985ec27240c90498372fc00ac8e0e5547e4d59cdd19022b8d961f3b63630b5448d",
|
|
"tcId" : 168
|
|
},
|
|
{
|
|
"comment" : "truncate digest",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3030300d06096086480165030402010500041f2eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "762c745262627d0df634d6cce41fb8af3cb855fc2d974b8093b035e9d11e510b9b7e7d61581b8f262fc1c4b8a6da3f6d609512e32f16416c7449c623c1773417032ddf2a559d7eb3af129fd02f83b5e35f5b5c065b1e0bc6481f38b6361f0b018b5e7166e8e67dddcf1550222f125efde241a27b0e7f670d15346dde082a8c4e",
|
|
"tcId" : 169
|
|
},
|
|
{
|
|
"comment" : "wrong hash in padding",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3030300c06082a864886f70d020505000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "27830ed405bc9d34009ec6258b766100273b4dcf2a9b3cf6ae31029837c6e24cf6e819734c1fd10c2c23db34d227d98d3498850f083ecd78b648baccfd4647a572607dedbc2b8ab7a595c0594ece904380e7f395ba4840a81367e99275cde1064fc6f7fbd564c5f26ddd0103991ae8262eaf16623685b43f77ea7a05d080166a",
|
|
"tcId" : 170
|
|
},
|
|
{
|
|
"comment" : "wrong hash in padding",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020205000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "4cdfa8cd615bcdefa253d75212e4ed0a1fd60841656c6a749690cb0c6c3cd723b518560c3b11a734010acf6e38f0526338351d9b58351826b360c851d3c86429f38eb689e8555aa2a23157e197faebdd29bc49f84c10dacca655cd5fa50fdec86a72f0ff1c7f8feeec31fee188fbfa72776a7b5cdae1c1506830bd3a00181b13",
|
|
"tcId" : 171
|
|
},
|
|
{
|
|
"comment" : "wrong hash in padding",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020305000420532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25",
|
|
"result" : "invalid",
|
|
"sig" : "024746d8dd71ecfe33cf0ad7ab8ddab9dfeb5740ec47b8ddd668f07b8f7610f726692404ac14c3a1947ff4246fe0a9e216131489125e71df68d60930fac06a20e948a3e4948aff5e3f9772155f8bd6772b1cefd8180ae719afc061e2f0d68a69769930b8d90ca4ecd6c7b20d04f0cc939502e698ad1c500403763c0205f6870d",
|
|
"tcId" : 172
|
|
},
|
|
{
|
|
"comment" : "wrong hash in signature",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3020300c06082a864886f70d0205050004100cbc6611f5540bd0809a388dc95a615b",
|
|
"result" : "invalid",
|
|
"sig" : "3a152ced8b5e0efa33cd57d4afe67f31ed3b9fb22e7b0ff32795cd9510374fa09fc63a3366465f83ba4d44e36418a5c1d171b6ca05d8c74a242983d5e5912cd05bdbd75fcfd5b4eda7cadab21e6dcefca8e2ab7303871ef360beff45564a01bdc887d9e849e407c6aa5b12055647f6c9df49758d1272f7cb476f51088e21f246",
|
|
"tcId" : 173
|
|
},
|
|
{
|
|
"comment" : "wrong hash in signature",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05000414640ab2bae07bedc4c163f679a746f7ab7fb5d1fa",
|
|
"result" : "invalid",
|
|
"sig" : "3765b8800e6ccf29544d834034e39f8fe7a2e6dfd7e6b4a8f81df091bbfd7aa17edfa6005024fe04d35c340a2215fd3f1cf4b4dfdd3c8ad09e6df2c2256c7541e19c2e80051d1ef5df5c384bfb6be88c4415eb2740db2d9fb3214890a8a0f19146dfb7897bacc02700a89139dc8fb21b2a7bbfbd43604d7f384cc00aecefb4ef",
|
|
"tcId" : 174
|
|
},
|
|
{
|
|
"comment" : "wrong hash in signature",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3041300d0609608648016503040202050004307b8f4654076b80eb963911f19cfad1aaf4285ed48e826f6cde1b01a79aa73fadb5446e667fc4f90417782c91270540f3",
|
|
"result" : "invalid",
|
|
"sig" : "5c5b097c21ac2eb156de39d1eaebe3b96082f54b0171469a94edf7d2027ebfdebc0837f766cfefec577e7b797c7a082df2ecc826e55d39927b01c2da26f8f6814ec993e3b93ee87a3418322b65ac652b3bba6d34373a13fd40b66be489938fadf67bbda762f6ee09a1ddc41382051d4a9a946e0df832bc65b7d5dd58cc5a402b",
|
|
"tcId" : 175
|
|
},
|
|
{
|
|
"comment" : "wrong hash in signature",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3051300d060960864801650304020305000440c6ee9e33cf5c6715a1d148fd73f7318884b41adcb916021e2bc0e800a5c5dd97f5142178f6ae88c8fdd98e1afb0ce4c8d2c54b5f37b30b7da1997bb33b0b8a31",
|
|
"result" : "invalid",
|
|
"sig" : "0ede4ac9ffcb6d3d42c75cf73303a28ba6089941f68dcf392a75b071f6c149a109cab95b80a679ca3b29ae44e51c18a2db4c72211ae6b959c7f22e854c45f20f5560446f33be4819f08d981d2fb176d48039ac4acd28127d593f9e219ad40e2a5ee911b334b3b8bb290f2327524e3faae2c028745e03d58882bfe503c4ff04b2",
|
|
"tcId" : 176
|
|
},
|
|
{
|
|
"comment" : "using PKCS#1 encryption padding",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "0002ff...00<asn wrapped hash>",
|
|
"result" : "invalid",
|
|
"sig" : "6c0b3edf5f6e5d3f07057d0b752e89cfdd1c289ad18a0ba94670cd36547734e2c7bb32dd49709f0f7149944c450c23b7f2d360e3602cad5ddff7fd9d711eef6dd4c32e66c4433f041fffefe112024a655bc5bacbd0914bbb2b2a41a91b1293fe9478ddca926a13e6131cc5e9b70625eac1e533ce8171a2dc7b2c4a490e966445",
|
|
"tcId" : 177
|
|
},
|
|
{
|
|
"comment" : "using PKCS#1 encryption padding",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "0002ff...00<hash>",
|
|
"result" : "invalid",
|
|
"sig" : "1acce04e348a5c8377c54d8ddd8ec2d8c5cb9b195863c32eb716745f3462b5f249b612aefb31ba484949d0a0cb5cb8e1f06c1cec58fe5ffff6ba796218c46c3e527c7ab0c4276ccbafd133812faec33721a08542e7e3a34449bebbb28bd0f28994c6801ba5c971991004e31de8f728f6bc37a4ec7b049c1f2dc64d4be9415462",
|
|
"tcId" : 178
|
|
},
|
|
{
|
|
"comment" : "invalid PKCS#1 signature padding",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "0001ff...ee00",
|
|
"result" : "invalid",
|
|
"sig" : "61a4066d0b64964100ecf583325cad10b53912aba1bf3606720d2bdd8e21120bb0b5e4323987d96039819ccce0e5e90854bc0e5c239ab198f75b00355a04e4eb1f855f76697cd65732820575306eb9323954bc5913568a7278fcdeff8e8acad4481e3559f8c44a0be3bc02bae437c3146e4516632b3fe788c3a0e44171155728",
|
|
"tcId" : 179
|
|
},
|
|
{
|
|
"comment" : "PKCS#1 padding too short",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "000001ff...",
|
|
"result" : "invalid",
|
|
"sig" : "979a313677883b0980997f1cb525f43401739945860149dcad80f602df8abed4fd85bcd6e174d9183a5a44008fd77b5a5abcffbcfd4f47ccd2dabef963d9b228310d99000ed0cebbf61438cbe586985bcffb3923a8467a97ae791d0b04925c0894b5a41583d6de72d4369f481f66abce41a577fb128fc0b0aeec746ec089d834",
|
|
"tcId" : 180
|
|
},
|
|
{
|
|
"comment" : "invalid length",
|
|
"message" : "54657374",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "2 bytes too long",
|
|
"result" : "invalid",
|
|
"sig" : "ab9014dc47d44b6d260fc1fef9ab022042fd9566e9d7b60c54100cb6e1d4edc98590467d0502c17fce69d00ac5efb40b2cb167d8a44ab93d73c4d0f109fb5a26c2f8823236ff517cf84412e173679cfae42e043b6fec81f9d984b562517e6febe1f72295dbc3fdfc19d3240aa75515563f31dad83563f3a315acf9a0b351a23f0000",
|
|
"tcId" : 181
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"e" : "10001",
|
|
"keyAsn" : "308189028181009e62337ef7d4fabec2561bb45a18a362022b23666571bbc762c1c717a14a46d8f58119072aa26245e71fc6945540335163798fcbdea04b3104ee23f2c3874bbfb3e7e0c1ba5f1fca909265274414db6957a5eb668e0e36a388784355d528e51a6a4a9a9c6b6ab912812a268dac9dcacf1c13507768e63b1f82f8af29c3786a170203010001",
|
|
"keyDer" : "30819f300d06092a864886f70d010101050003818d00308189028181009e62337ef7d4fabec2561bb45a18a362022b23666571bbc762c1c717a14a46d8f58119072aa26245e71fc6945540335163798fcbdea04b3104ee23f2c3874bbfb3e7e0c1ba5f1fca909265274414db6957a5eb668e0e36a388784355d528e51a6a4a9a9c6b6ab912812a268dac9dcacf1c13507768e63b1f82f8af29c3786a170203010001",
|
|
"keyPem" : "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCeYjN+99T6vsJWG7RaGKNiAisj\nZmVxu8diwccXoUpG2PWBGQcqomJF5x/GlFVAM1FjeY/L3qBLMQTuI/LDh0u/s+fg\nwbpfH8qQkmUnRBTbaVel62aODjajiHhDVdUo5RpqSpqca2q5EoEqJo2sncrPHBNQ\nd2jmOx+C+K8pw3hqFwIDAQAB\n-----END PUBLIC KEY-----",
|
|
"keysize" : 1024,
|
|
"n" : "09e62337ef7d4fabec2561bb45a18a362022b23666571bbc762c1c717a14a46d8f58119072aa26245e71fc6945540335163798fcbdea04b3104ee23f2c3874bbfb3e7e0c1ba5f1fca909265274414db6957a5eb668e0e36a388784355d528e51a6a4a9a9c6b6ab912812a268dac9dcacf1c13507768e63b1f82f8af29c3786a17",
|
|
"sha" : "SHA-1",
|
|
"type" : "RSASigVer",
|
|
"tests" : [
|
|
{
|
|
"comment" : "valid",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "valid",
|
|
"sig" : "8aa2c8a167fa230a1d1ea6bf5286d3ba6e675ca57cc5ca8cb26fdf465810c19af36cbdf843319f7af9b2954f372ef16891918aaa2ab64dbd1cd0ea54351ff2b3437fae5ec947971662c1f75ef6892b6899b77343fe87665c5b74df322b59f017e5488a67ec836ccc3f873788d60992d43f64b736507c455b649119373ba1aea4",
|
|
"tcId" : 182
|
|
},
|
|
{
|
|
"comment" : "Legacy:missing NULL",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "301f300706052b0e03021a0414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "acceptable",
|
|
"sig" : "707e19417b5b3cb975795e5d53cb2db69bf80699e69114955aea5ff45755eb365fd34a18290db1975c32388eaed0d446b44138bf18b012f7da3ed067de6e444a5a66a35633c875254ed3d1b120ce657873e888af703e649076b368e90d761cb3e14cf79099026cb4a4c1f20c771c1d7544fccebd6d642506146e3d28acb6cf6b",
|
|
"tcId" : 183
|
|
},
|
|
{
|
|
"comment" : "long form encoding of length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "308121300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5b4cb0b22300dc4913e7c1cb82e86663462e4b30d03053f697d59252e01339cd230b72afc8623e185db939108f3a47814f418b5411dbd3365d45b609f93b1f4fa10b7b908430a9f7d97037161cbeb2a1af0223b6657179a9bd2efa8c40a2f57b20755042b401e81d3fa3d4faf69d05cfdf3b7c3d5d3cce8fe036e9899db34de5",
|
|
"tcId" : 184
|
|
},
|
|
{
|
|
"comment" : "long form encoding of length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302230810906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "264bb84974efc808ded6a363c50bba6c1ad8acea4d26f86afb81839d8ecfe7041db3ace271f308399bf3bd2effd70c3b17e968f084867a0d95299a8dd0bc27e516925d3b8c0e748d5f91dfc87eebc383ecfdf6bf46cd28912bd4cfb9949f7660f1dbdba527db82cfca5aad1f99cebb1d7b554d4038238a4755b25c2348397e2f",
|
|
"tcId" : 185
|
|
},
|
|
{
|
|
"comment" : "long form encoding of length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3022300a0681052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "23fad8546f338cec2aa7fd93387b8f1e735e3fc3337350276efad8950161e6cbc7dfd28c7272be65c9dd469cbfc8ddeb6945880234a60c0778d5e8f185b95b0caeda346ce5b8231f94c076d056e2aa7245072ee055f37e7392ad4c158dab92263e4803d82939c7ede603c3467c14c61a5743df002358cc63eab3648d8ca8ec2a",
|
|
"tcId" : 186
|
|
},
|
|
{
|
|
"comment" : "long form encoding of length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3022300a06052b0e03021a0581000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "64513a079e0bd31939110d49d36101fd2a49c6d940637b9900fd317a64d174ef64acea808329b700954471c8282d1f246ca3172481fddfda77bbe24deb8d3d20200e78ee9cfbd97b063c1da700a50f635cc32ed74efc59407b8af422e01f728997c9a2dd6f8fd0fc89c9c5a9b0a2038cb006f3e8a8bd86ec129db6ae95b18ffd",
|
|
"tcId" : 187
|
|
},
|
|
{
|
|
"comment" : "long form encoding of length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3022300906052b0e03021a0500048114f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "79547cc01aba5ccca5e0337304e02c48455df528e61037516262e151d4378f3447a730b894d63974c3df0cecd708bffd53742c908b718ea1e09786f00b58f434a10e5014fc5ee96c8c87aa0cd73348a470c369b71bee3d78e3b7a640d605736f3b3691253d853473e34e0eee9533abf655e0e490744a354309c3639ca5e0e084",
|
|
"tcId" : 188
|
|
},
|
|
{
|
|
"comment" : "length contains leading 0",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30820021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "6dde5d8a638e4cda4551a295aa037c0db901578d70b6943d58f842e2b334822e986506768fbd73bd46e62f11acc308eb9b0f9fc8831729fdf630bb0b9ac8a9ce484e1fdf5d1099659ff452c132096d085b624e521ec0cd76449f50e57fa39adfb91d1c4cad4b9651cfda905689c24b3118970f78ca6240b48cba83d19da8ae91",
|
|
"tcId" : 189
|
|
},
|
|
{
|
|
"comment" : "length contains leading 0",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30233082000906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "28a4c4957ee24b104aa7f68d8d7fe5275abfe1c449f6e2d41d2741081e4e0248ff40acbfe0bf7652af44f4f369de583c355af6a5af87500330710b976f1bd3a705c216255d71589c341b237024337d38161946dd0ee3fc822b06c96775c6be57a906eb7c6178751537bb181e47acae959862253c34e979c3def80038488d0482",
|
|
"tcId" : 190
|
|
},
|
|
{
|
|
"comment" : "length contains leading 0",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b068200052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "08cc5258ab3d68d796e5dd868d676ce9c2774d1eb6a16b4bbf0acaa0baf9d812ed0138a17ab8a64dbb913e33a88a388883889bfde6922cca5ca98d5fd1ac13fa87eb1b5701cb4ef5271057b39cceafa0f8509f9151383058a1349460db1895b3d7fbc043771ebd48538e9c208c34719f21b2d60dfb7a06a3ef42d1f2a90826b8",
|
|
"tcId" : 191
|
|
},
|
|
{
|
|
"comment" : "length contains leading 0",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b06052b0e03021a058200000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "118bdd711ce909f3e6894be2c5f7fbd21b6e542205e63447848bd6be079874f2858e9640ca8723cd4f73d1d272780aef52200d991cf620f7345f20ed4b5c978f93dfa495a24680c762ff1f1c4c3d0513b818b2cdedc63cacaa76af3b4672e0c3eae523b410d7c03ce4b9d2f65f92e580e4e7f04d3f62047db3968e33f0f1f40c",
|
|
"tcId" : 192
|
|
},
|
|
{
|
|
"comment" : "length contains leading 0",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300906052b0e03021a050004820014f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "7c2ddfeb9611939302c4791b44d2eaec63ba700853c84c928e11f50a5fb15c47a2f0ad91962aa88e944c0a655db19ea4bda87e386ae820fea49725c75e13b26a7c7d9dc63e353259d318246a3ec3c4b7d2ff8e6af164fe73ef35eeb76e921a523f48db83d541b3abca995d807968cb960fe192ffc0501a0840a1f5bf1b332123",
|
|
"tcId" : 193
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3022300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5065698891c73f55ade9d829053b14086b977af8f8ddcb9d2b5d236bced0821b00cca31a26b43a838ed36f96d823205fe79644ab4d431d2072f823bf9dd60bde8c2af3e2f4af0fcd734f285c0f8e0b9e5cfb5b7cf5d4131ad2122862c7bb6d9a9d6a7ec674703c79e4712ea84bc178da4bbf08355b2c248a5887a9b87702f70d",
|
|
"tcId" : 194
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3020300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "33ab162433e5c9677c2ef33d2949c64167afc165223a79ea96bc1096e0654db370f84b30f3ae03da910e6343fdc9f7413e9422f76dfe4287dfaf7250567076a4b2cba812b784410ff19f412df89f1af8b9a5ea4809b7f60b8b5b4063d07dd17311b5b0b75599ea8988c605b06cee2b6bcf79f20ad7c4bd67cf179511ceb9fb21",
|
|
"tcId" : 195
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300a06052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "7cb2655e9bc1e633b46656d28db5bf457cfd6a6557ebe511a694ecd36987fcf94a6de7a3f73d47777990697b5663fe59b838fc0a7fcc0604a08e951fb1ef4dcdae0bc09c6733815a65ed465e86e98bd08ccce8df0a7822f1dd74fd8ff7add8314387ed2bb5474c7c282333bcc962af3f0506a15971f30967f49bbb22cf3e99d4",
|
|
"tcId" : 196
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300806052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5e147003f7061b46a6046dc91374cbb2f1113ddb56dee64f203a513b421330655c123fc2c51a79ce70fef2884b6b444ff8639d5448a0781f8f0503009cac89a58fa0bf73b698011d80986379dfa0b8923591f2c310cdea8982f8b87dffc4ce27e5a1a75f44c40e95898d0ae12cabb94fff41116f1d96dfc8fb5834965b750cbc",
|
|
"tcId" : 197
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906062b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "8cf10e501268713c12ae5c26c5982c082a912ba2d22501a12438118067ac19957b0191498fb2113d1ca2db5fad32761f282b4c7684827b35a1709297c9bded1fe61a4e1963d32aaf4cd0ba5c51ad9c1aa3494c47afca86a264293d9a940310d6c1d8bc3e51ea3e12488e87f624e738f3568b21ab5f7a8b299b5eb0d7147ca794",
|
|
"tcId" : 198
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906042b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "8ee3b703c37759112397fbc6410d9c95a93084f544a26756071b298ba563b2c22962befb038d995912ef5b48f5ffb9d187be72f835d0afa764eaaaffa2cf42b0918e8b364bdef42a482e571cb949342654c91e3012776620cdb590323326e2861d1abdae6ea2fae95d7304b25255aae9d7309324bfb6b47cc2555e5191e95a79",
|
|
"tcId" : 199
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05010414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "7ab24ebda94da9c07a8742a96884e7006e36c15fadc0d41721d8192581ace97b040af10f79bdf1041ce48bfbdfe0e2807042ef91efb0136acd592346bc8c572bd0da5f6400406971b8d84b021c0550e32b9ae8cc4481b8979979170d7690158dc95f2fea00e05566a2369a3eb34794cfa6792128d72774eb0fb504490a5e9484",
|
|
"tcId" : 200
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05000415f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "49877ff5a25db5d9736e7c0198f7908dd0eaf2f2ac754d6456073df7a1b8d87f49fe9ed7caac03e92cf8bf253626c2ec049c4dd4615bacc5a617ffd874934ad868db7c5d7db8e37bddaa22b557b49bf8ee769bcd0d0faee45adaeca042fdfabe0864256a64389208ea8a825d373c439e220a60fb30ddf96427741e5771b89200",
|
|
"tcId" : 201
|
|
},
|
|
{
|
|
"comment" : "wrong length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05000413f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "6acf67de89d21ac6c0e0360dc872eabd3d9f315a46921fbc835391f4e5df2d5a73826cccc3ae099c76c5e0b5dcf13f76316cad72f2715be8927fe83273cb5b10dce6b4a58236e90028146519ee975599e2cfce518be7e20701b82d24e1448654a89a52cdad64c33ef916e1d3a40eaeb07a7b1509a151ca7a8c3f37b734dbcdd3",
|
|
"tcId" : 202
|
|
},
|
|
{
|
|
"comment" : "uint32 overflow in length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30850100000021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "8291239e82027853aad5ec6526dc14eb2e4d6f62459cec895e311302e531a472dc720a55f01089ad3ff96608cd0804dcc4816441f92e77b9dc59d85a7b750cef32013fc888ce4bab028152ed07d31e1232cfbdcdbf096cfbbed22be93a8cca41ffd69575c3e47aa6f3c4bb895690622ad253c60db7fad789b3508252120f2905",
|
|
"tcId" : 203
|
|
},
|
|
{
|
|
"comment" : "uint32 overflow in length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30263085010000000906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "0c0a60f4426a0922599d12bf623821ef3a69e88b8f3df39c998b91951bf8fd9f12f379db75bd051943076b73f145f6de4e82c050bdff9989bfb7430c6b4483502d291e666fc1b93e61a2e7dfc4f3b3d0f695ac605772a8f54a85148b76285aa0ae2a993d5061dccac1afeb9605771de9b51d6891e875c384d8827faef2388555",
|
|
"tcId" : 204
|
|
},
|
|
{
|
|
"comment" : "uint32 overflow in length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3026300e068501000000052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "52d65dbd6d48dce0dbc538883d3508588966c4932afcb22457221c34414a59d8effbcb805c6320b5edb024c745afec75bb7c698d9e903fffeaf7a4ee8c36d7f44482f5116d8d7758f08c889ad777405f204e1c5b75e1dd2721f46679fa13a98f8bfc07885ad67a43fe4c05ded4c36f8d7e1bf5695bd348192986f1b40c60527e",
|
|
"tcId" : 205
|
|
},
|
|
{
|
|
"comment" : "uint32 overflow in length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3026300e06052b0e03021a058501000000000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "485b9c137230f1bd439b4b5753be8267f386e1725d63d6c29bef2759c8fc81d4bfe2b5759e9dfd1772fe2cb661d320ec8fc831cf6e4abe8e18d622893a7ee92c64907c15427e7748faa3d1445e7721260e70be4f32167d60462fae53bfc2d943501b8634e443a940d9f41a1391119305a0367799909a7b83fdf7374721d4efcc",
|
|
"tcId" : 206
|
|
},
|
|
{
|
|
"comment" : "uint32 overflow in length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3026300906052b0e03021a050004850100000014f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "73c06cbffd5b65aa863f4d61321d840689ab69885ecc340748b8c4ad290945074fb58c73a419ea9f56e9ad70d1b133567a6c3e8e42a9b009241179eb154d7fd1603b6e25db969bb62eac8477addf62f1437d225c57725f3a017073c7418e70adf1e5caf81740e9503ff395b956bc90aced537e846968d879e1a17f4823aa3ffc",
|
|
"tcId" : 207
|
|
},
|
|
{
|
|
"comment" : "uint64 overflow in length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3089010000000000000021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5d718291abc4c814b265b5eb7c41d96648ada9e6baeca90e4dc851a1655a64aadc072ed9402f583f6f56b1d885c9423f4b708afa978c3c941969188b44b04d4d787bb6079e3527d6c1e36cd5fffbd33178cb6f23c4e1302b3a59cebe6353b6b10a005e6f24a5ef8350900b3717646917d1efdaf8aab1a3e994d5627a8d11e577",
|
|
"tcId" : 208
|
|
},
|
|
{
|
|
"comment" : "uint64 overflow in length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302a308901000000000000000906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "1849ce77edf490fe5825f6bd1d6b4c312227fa9296ebb4f5e9a48dcb9b9a8918362a92d8a620dd3cec378f67beda0216b4c39fe07903bdeaed853f8884ba017fafce472c751284cfcd4db8fd5b93dd821eb43a202747927f1bcb947ad76ebd9d6085b616e8f8485b31889b95f28c4bf06dd4852142ac2f5ae707d1ed4f23cb5e",
|
|
"tcId" : 209
|
|
},
|
|
{
|
|
"comment" : "uint64 overflow in length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302a301206890100000000000000052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "0d3eb2ba13141b7d5fb65b0ebca47b979bb51778e762bde3c4cf33b02f84b0567214eaf31dfdc8197c2e84d9a85af76e8bf832a5ca2797af79b0293d85f513e421714e364ac5a5551a066063f008d6eb7c3bfdda6c6fed53e0161cb607ff7e78916f301cd81dd63f351eab77395c718b56d8d0b73b4806229999fb98aaa7751a",
|
|
"tcId" : 210
|
|
},
|
|
{
|
|
"comment" : "uint64 overflow in length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302a301206052b0e03021a05890100000000000000000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "88b8e16d5527fc54feac2b63c905964e71c47701dad5944aba4847460b235c09e9ffa8bc6e59390dfa8d739893cbb32f5b06ec7f1fc918ffa0c364e0b5985dc05aafe98a8b86b18168d7705231dede7f0ffef76e6805a35a0ed9a78bebedcc274169f242aab6c33541c840a1e50cf09720b2aecfc356ed88ce1090bc54499f6c",
|
|
"tcId" : 211
|
|
},
|
|
{
|
|
"comment" : "uint64 overflow in length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302a300906052b0e03021a05000489010000000000000014f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "54bbb6fa9891afe6101547c34599fd1fb4bfb3dbe0c57fcaba3bd3700f0ee7d658ccd24bde5394aadc7480f181b90576a74de3c705b85bf214d9d8284be4b00b12678891989c3e3e16f53185fa590c016c29fd6ea02f97f1a872100969fdc57654b691122f2eddbeb6dc558ade5854fc8f26c11c5c32638bd4f7253099c7d1bf",
|
|
"tcId" : 212
|
|
},
|
|
{
|
|
"comment" : "length = 2**31 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30847fffffff300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "0dd112d02c49ae5057f4b89c14b871e5a446e96dca84c6d0d012c95615cf43ebd42e79d034fdcdc93de62e3b11dc11dba63dacf300190d443e3796e0c95a5db3955f799ec1bcdd4ecf69b708fec727b76401e989f5cdd612773f65e1a357e0b2942b78aac09dea9eb0d86463aca289a0af876eb4ee031bdf10e0df27516ebafa",
|
|
"tcId" : 213
|
|
},
|
|
{
|
|
"comment" : "length = 2**31 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302530847fffffff06052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "603d34e2f71dabf90d862e828a0579fef915972f070c495da35fb279808ccf4bdbb0a43f666d203aa494f0a3012f5a4518c2a83fd8a8d3f1537be15174f22a355124657fef6e1b673c4010e8514cb133f63a15a7245ba9fd8acd03c080e4e89531c0ee3b41612e34b136c07c469c042b2b2718dc600cc1f4069063d0989fa188",
|
|
"tcId" : 214
|
|
},
|
|
{
|
|
"comment" : "length = 2**31 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d06847fffffff2b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "11238413d11b4c1e0e311fee14bc4b3370c9943fc22c8b9429487bcb920e091d9edd0341bfc79070337854884267cbbc0f41dc34746c3e56096bc03cfa9d58e812d2bb9cf7dd90f3f16c048036255c0338c3777073a925f565ca9c9f78c7edb856f20a541275f84eef9a022e94dfeeeae4f07416cfefd742c21da502a1fe80c1",
|
|
"tcId" : 215
|
|
},
|
|
{
|
|
"comment" : "length = 2**31 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d06052b0e03021a05847fffffff0414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "8364095ecbfbd1f50f2964bce941395095071e45e9ab55edfef6ec767dc3790ac237a11132e6e087e96c226fd338783d4de817abfb9e134c2dd61dd4e400188f50be2a7cf3f96804011b5240da29bb1e8f7d4337c8e1f2af0acc1536057b0114a23172c6d37f9128ba4c2b719158ad70c5c44033e532c58d0d79c4508470465e",
|
|
"tcId" : 216
|
|
},
|
|
{
|
|
"comment" : "length = 2**31 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300906052b0e03021a050004847ffffffff7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "8a3d7f621509191a435d03f94a338c1aeb99a824eac10a7c8575d1848f16af74dd87db6137a590d3e0cffa18cb5c52e1ab42688c2d50afa5a29730a98d6cd60e24f13c7dfd8500a9442954a23e773560a11b1a2a3fc087a28ff2520aeeff2a058928c9af14e90125b0d534bfec11eb1a02227e7d513569f3f8dc6e35f6fe6136",
|
|
"tcId" : 217
|
|
},
|
|
{
|
|
"comment" : "length = 2**32 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3084ffffffff300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "149a74b89d1eb542f383ce0f24f8665b1387529770f561cee91f39e3af3e82c1cb0f589f4d6d5e9fbe92a8105993d55c205cbf9b4ec4c3085739ae1ae2ef4615d43040926813981d4b626f3c71e08981b8c900952eb23d8b9da218fc3f1f113a27682ead4466157e9043188d331a9632c8972ac7bca5729132bcf4b76309fcf4",
|
|
"tcId" : 218
|
|
},
|
|
{
|
|
"comment" : "length = 2**32 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30253084ffffffff06052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "3b55f4f1b497c53dc4fe59e8e2c8bd48f9199bae420e43e5a22fcefe047a5fd6422de99742ab6b3f946a908d382852359f5f80037976287f4806ee3edbfb94a01d81fcc9c28afbbe8d824089bca34f939d5298152bfa11e69e047a6379723d5d187c1cee5f437517ea237d0a024d2d21316666f867411b0b84f6010dbf3fc2f7",
|
|
"tcId" : 219
|
|
},
|
|
{
|
|
"comment" : "length = 2**32 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d0684ffffffff2b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "99a4a625ecb0c1c339c42b058d05f8cc6cd47bb29deb1df909fc16083e08ea18f482dc3932f0f81a0881c8a4e450d52da647fe501baa9363ce0261729beb173e3c6b3ecfb392ce93d89ea4c0e911ee2b95574a966c23276b9495b2ef6dee3a054c728c4ebb1cb294c703e1320a7d3cace4acdb57c605ab1c197448d5b890e71c",
|
|
"tcId" : 220
|
|
},
|
|
{
|
|
"comment" : "length = 2**32 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d06052b0e03021a0584ffffffff0414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "4473370a0f1cbe032dd66017379c5605c69fb77c74af9f119f93b4df107cda358dd074a7c8a2a4b3afb3bdd4d6074be90e6e8018fe482121cea28e7d42b4a64e0fad25c86d4792099812b74dfd225efefe1a4c9b664a3786c9e2070bd7ec4bbf666a4fdacf5966d121fd17169db07d47f04beae689080c76592527346d3741ec",
|
|
"tcId" : 221
|
|
},
|
|
{
|
|
"comment" : "length = 2**32 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300906052b0e03021a05000484fffffffff7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "1157bd4955170a4d8dbb6c3e20faf50fdc20140cd2f0ba30f2b3b059742b747f501e8fd4df0c614d247d7c7ffb91365e6bfb5ce36d21364cde0ddf7d9b10c1b1fa0ef1aa37deecfcb0002094a6b2971854f70912e62e91275091ecdbf0c218c0a3a4d7c5ddc7eed97c317f46ea2b554d391d08a5d015ffdf1c51de55f8048d1f",
|
|
"tcId" : 222
|
|
},
|
|
{
|
|
"comment" : "length = 2**40 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3085ffffffffff300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "50af5b10a7fb4f26fe6abe148cbf8169fc5f7260e732f4ae4ccb79877a3b1c8d6fbc476a43db9f5e94c8c13fb256ce767aacd02445b47bcc54f535ce67251ee94a63b33dac77cff65d3de5aff42f12939f10320d40ac448cde70bcd8a40fa20dc91354f97521d847e45aaeb9fe38a8c9c0a3ebaaa34046a620654e305cbc3289",
|
|
"tcId" : 223
|
|
},
|
|
{
|
|
"comment" : "length = 2**40 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30263085ffffffffff06052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "4635e85ef3201bd0c0f1e57a2fda4c1a7b68f36db6ca9f1f034c75bad695a67964086d3d7f7a7505ff10cd77f1017908634f309fd5e0d4a406c1c579b08b397305e0e6a57390738c2e663449a72c0894bb3beb0933cd12c469181b139ee21ca9954dfd88b0ebc6f0e8d29c7b45b2bf5714e17ea9950e0d5b476b55aa0b717bfc",
|
|
"tcId" : 224
|
|
},
|
|
{
|
|
"comment" : "length = 2**40 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3026300e0685ffffffffff2b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "6cec5f74cea80f137a424880ca5254507315b6e50376a969a444aa0c33d5a9079fbdd417662c16048a249a94d251685742ebe4fba882e797bc77f6d28105136b2ba9bd5ec3080343d00d7bb9f579a334c945c1239680c11170e0470e801bdf6f9789a5428cf97b0af0f2fa77db2f8fc00182b1bf9601acde6fd5158b4f57bcaf",
|
|
"tcId" : 225
|
|
},
|
|
{
|
|
"comment" : "length = 2**40 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3026300e06052b0e03021a0585ffffffffff0414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "0513eb217a06590004cbfcb0bc94c0c6f79b488fffbba9d85e289e42b91824c8c4e1dc04f3ad6f6ce6e8480c96889bef3c62105bdff8af972264cf0110b4e522fd26ff6af8147990143828fa3aa2ba25066369357e19fce0b8f90d048ac1ef19380fe493fb70ac9660d5258dc0657a6270166d3400c2421bbf57bcfe10e2ad64",
|
|
"tcId" : 226
|
|
},
|
|
{
|
|
"comment" : "length = 2**40 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3026300906052b0e03021a05000485fffffffffff7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5b0df944013467b97409704eb2130b06e537f746c5387dbb858651f4446887f874977dfbe9d5fd26d0be6ed9ed9381b9a8511710d0756434ce897cb00863c652ddf3a6b2df37f9308a46dcf2027ea523f124c9f32c2d9a09b5d1928e2677dfaf5e0d8a00c3d0edc5c1441f017011a16f2e0788fb2d8d22e395b4d79a8375ba49",
|
|
"tcId" : 227
|
|
},
|
|
{
|
|
"comment" : "length = 2**64 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3088ffffffffffffffff300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "52be2fd82c24a1fcbcc3d832732eb97b1032933fa6af3b7fd8d63fca652d4b3a40c8488695414049f416f4eb01095767d75325662accd8c47bb75500ea4a99ac1fbd01815d0b8ddf450e097380c53715298c22fd3150b8417a66f499495372f07e98578e407ca2d226c69533c80b08f58e1fc0ca1cacb8652fc9374e12f6278e",
|
|
"tcId" : 228
|
|
},
|
|
{
|
|
"comment" : "length = 2**64 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30293088ffffffffffffffff06052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "2703db8b7d2f7a879c235f95a9a39870074efea76b73663c50c4581eb2debb494472402d271b115a14fdc14eaea36cdb4c199260abd321d8cfbd1f56b1954761c5c61ad3ec1e440b53f1cceb156d8638b597eee1eb717b110f30fcea92f47e7c1ba438b1b161967f555bd14f0bcbcd21833aeb2c6b8b3f5c4727d07ddf009b11",
|
|
"tcId" : 229
|
|
},
|
|
{
|
|
"comment" : "length = 2**64 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302930110688ffffffffffffffff2b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "927d2fcf22048a79d64b34aaa94de24a10770a95e32f0a6e2b9bd5a9c1e502e9fca540e54aca240091923bf4a64fd703b30fb5cec96c8da5431373bfec653da1ab25cff5024e1a029cca12469db0ca362ecefadf60991fc1c1615154450d9e1b54abad613f5ddccb5545e615c6168d0247f8e7c061659c9946c3af1e373a618a",
|
|
"tcId" : 230
|
|
},
|
|
{
|
|
"comment" : "length = 2**64 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3029301106052b0e03021a0588ffffffffffffffff0414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "1da7bb65b41d9e5fb8b895882b9b6c2aa5ba32e7297c8eb3d64e5ae4311ad229692296cc27eb84e8673c29b65c35b1d52038d8b4136b334f4bd385621d7ddd6e0b5718c65834dcee0e7841a154f1953b130573995ad5cb29849490366936ee8a383f33f6cab3221d21d86c42ad8fff91efc5257ab8e9279df968d477167e75cb",
|
|
"tcId" : 231
|
|
},
|
|
{
|
|
"comment" : "length = 2**64 - 1",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3029300906052b0e03021a05000488fffffffffffffffff7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "4c3a7204c4807d5b44fc36eff6b0513730fde67c74eb7a7d0484b7a5b89e444e89b07170ec0ff4ec4f58b9f13c3bb82cba0081b737f62277dbbc678933dc3faad4dcdd61c8b4d62c7a1c9a6dc40c564b36bcfb9aff90e9c642afd81a8c9911351e3f0b78e0ad6850c937a69ee2a639be88473682d7c4a6edc77365cfcfe91075",
|
|
"tcId" : 232
|
|
},
|
|
{
|
|
"comment" : "incorrect length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30ff300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "32107f36c8b86cee3154d197a6e281869070fa9947177aff8cfea5942b3fbc323452b002f957f19083b57d59e6279d80821fa33c1f450ef5f805eabf1782f729dad2f9d0e63462e901dcd449c7fb14a8c42ec9599d30cf1b16b45550061f5b6f7f91c4c2bcb1613daaec5984e634fdd65a19cf24cd29d093406d7f5f4c443a23",
|
|
"tcId" : 233
|
|
},
|
|
{
|
|
"comment" : "incorrect length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302130ff06052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5ebb4faf49a82b1fda92b2ccc8de0d158bf62f819359d06c6a4a2a508bf728635296d188d5a221b40cde9d51e107b8e8f73ed2a0c3cbd92325ddea1cad1f72ff6491133ab7a2847f3d339cb2317e8b9e336516a7a9d84fa8fb2b481df9e1ec397fe97d18227ab98c2fa55f080569aedc7025af770674a5b33c61b811922058dd",
|
|
"tcId" : 234
|
|
},
|
|
{
|
|
"comment" : "incorrect length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906ff2b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "531ddbfca4d3202639ecda32eed51b2fcffaa0cc6a0e97bdc1df71ab3b800f3e80f661b118d9cd82dfa1ae35cc3a364dd2a1c688e90cb6b6a215485e5e30679838bea37edcbe982ae858ebb461a45ff687332be102eb65746d9539a693b489c3cd5901adecc2d4afeca278fcf3b21774f2d11090f436d949d4ef96480839b678",
|
|
"tcId" : 235
|
|
},
|
|
{
|
|
"comment" : "incorrect length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05ff0414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "4ec4e1b4bb0ce0b002b8cc0b47fbc2baa9be415e35d77fb95906620322a63fed39595837d1a547cffc5f50c34a4daebf3a15d7d7ede9e583ffefb77ca4e4cd953b91a8608ede58a5500dbb71ad24bfa2b07bbec03b702c53baf4a1053d4834376b205854cee7e0dbaa1ec60f72ef238fbce20d76f9549b485b41173da58356aa",
|
|
"tcId" : 236
|
|
},
|
|
{
|
|
"comment" : "incorrect length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a050004fff7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "7d54aa05c2043d5f6330ab97726ae0407d0f6be65cc1146b374d3e7f75583beb5ad0ba0361b2cd6bcfcfa01987cfdd4423047fa6f909b3fe3840262c55b3f2c0385cd8474cb92eedf9eb9113e9e83d0ae220124493c3df2380df4cea3e88b81d9e3947feebd788c2417c644974f6b909c1e44b75b74240b370f8663e9a1f63b3",
|
|
"tcId" : 237
|
|
},
|
|
{
|
|
"comment" : "indefinte length without termination",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3080300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "1573e93ebc5caf4eba58c9d80b89c0b62de2073a85f5872a22ea283f37366fbb8c6c7f4b0a4f459505d95da2921d8aefa640d81f5dffb9e0e679c69ccb310eda59f36d49b33219b30ee3b0f680e2794654c99e63effef73b09891f67c403283999943d4ded2c823797ac2773aed7a0af88cade66f4a203fe91c8d86d720fbd36",
|
|
"tcId" : 238
|
|
},
|
|
{
|
|
"comment" : "indefinte length without termination",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021308006052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "9dc2d9a253cf809bf178002806d1c9883f5c74a0734f70dea7e322f2ea00a00a3bc864dc4f0fa90bdf0af0a8e46f893f6405a63998ed27f18cdffd1b46a183763e3bcfc4c491a023468f1b355d12be2118e4381d960fa2548afa12a6ea46da03268d1d050bd942ec8c2bf584f8d2ff00ff975860686311b1dd17d1ad6f262d66",
|
|
"tcId" : 239
|
|
},
|
|
{
|
|
"comment" : "indefinte length without termination",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906802b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "3b1240c785cab25d0ebd26078da7323bd28352a878cd405419cef18938d27dede67112d32f6a60d22b14c78e0f5c392bc9f53f2a71769e21a9dd4b5d8495a203ff0e715a1173ce69f3c966d83e8ac9a45ad534c36b77d1cd120a6a3236ce023099b19acb39a25ec420f8765829b77cb048a5136b597645caafbc34d3c09723c1",
|
|
"tcId" : 240
|
|
},
|
|
{
|
|
"comment" : "indefinte length without termination",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05800414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "84bbedc08a146e7f8923dbc116c9793d1bac3608d71f962664d2a155bc06b8a02d3a346e067f347cdf50ba537c14c1c8bfabcae5ff982e5543b626f89627d1a4bace0928115d22d2b0daa5285afab45c9d54e5fe1832494f432b32bafb8a922360f5f545b15dc189b7e64dfbe96372b401ad519162488f0123934a9c0512b4d3",
|
|
"tcId" : 241
|
|
},
|
|
{
|
|
"comment" : "indefinte length without termination",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05000480f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "15a6c89db01ecf6d5f4d3a1535bdadcab861655619500b010851340b88cf8ec2547bf402137751006ac9d675b42308f939eed23d010fa36006eee53b94d63c3ef3800665038ffb4f017c1f3f5f8e9b909fd555e67cb002fbe261a42bd7b617525c5027d5af82aae2b6fd29abe4f503dc5f2620aff14d7b7798fdb8d4a7629db2",
|
|
"tcId" : 242
|
|
},
|
|
{
|
|
"comment" : "removing sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "",
|
|
"result" : "invalid",
|
|
"sig" : "14951bfe3fa22176d5ff4ad5f7dec0d0954e25a2381c91bc17707034ba19087c9f5b167d250129b95b41c883c69a5628196f9733cdff2daacb49ab61ee430582aab7c785e4f70f2320ea1d18da9ed0bd4f96e597977c2aaf0c2b8a3dfd8015d08195e3446efe12788fb7cbfd612d309a13952682b65f03a8c9440fd735fb2078",
|
|
"tcId" : 243
|
|
},
|
|
{
|
|
"comment" : "removing sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30160414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "40868e6b6d88f66b2478d680ea58466d642e141951f69c1f25bc3f23211100441857b33253b4cf1668b6568b858d1c604e6062022c71c0d764f260c1924972ce44a89b508a3a220cc5b545c4166974e6b619d3d6cfd0b72be7f31070e743eb7611230b4da746f64dec399f71bbe8aa998a99f746bd422be6d02f0e80f5e9a337",
|
|
"tcId" : 244
|
|
},
|
|
{
|
|
"comment" : "appending 0's to sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00000",
|
|
"result" : "invalid",
|
|
"sig" : "34bff75efb6f79769cdf1dae7cbf4be4644b03b7e44ba74a277281e229a6bdd96f922884fdf97705a456ad07e13f90578ce2b3aad819879be2c4097ebe5329e8eb72598005d02c6e73d8ecdbb45fab138cd88259320397f6b90a5108adab63ea07e1b86f5e20455368cfec220782a63aa7aea41761ead5952f9c7da59135f0e9",
|
|
"tcId" : 245
|
|
},
|
|
{
|
|
"comment" : "appending 0's to sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b06052b0e03021a050000000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "96d9ab79a2c8db9e9a483d5c36c0c3ee430eed6bd8385e4b7b655b7428a28d609ef4a9d413269572cc4be679497329042a1e1b0b090cfbc9a9236b94942e33e2e54a593efc3821ced8110042f4e56a521f4f46a3305dfcd1b899c0f092aeba78ecb8731a91c2a64bfbe7e00d46d85275a04c2269a74cbdf3ee6d6aa4867c8728",
|
|
"tcId" : 246
|
|
},
|
|
{
|
|
"comment" : "prepending 0's to sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30230000300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "26ec2f6585eb6e732d8430faad988f8223db0f11b8e56c14370697f083f16daf1ce571f73ed43162b40abe8736a43b99cb3c6c6e4a2fd5e2cc75bf779f10abd718eb0f252fa867b4d08cd8ab3f80745c2d368ceaac264427b96dac8b4b7aeeb3303cf4bdb7a45cac40f991c1fe53e8dc530c6dd76302dd8f6bfcd86d6ab290b2",
|
|
"tcId" : 247
|
|
},
|
|
{
|
|
"comment" : "prepending 0's to sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b000006052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "9e4c79c5fe53b5514cd9a3f3d6d898b53f92859d7f862f66b08585ebd6efcead5b69df6d12b1dfed30abf729558f340def7ffd341bc599102ee3cad5459b11457a2a463cdc40594fea9b7d8d0a99b952aa442a25f77991d34a2dbb0b5d73946d5780c176f0cd977a4e2c26b3b25406b7092c2d8ca14205007fcd0b776d01278b",
|
|
"tcId" : 248
|
|
},
|
|
{
|
|
"comment" : "appending unused 0's",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00000",
|
|
"result" : "invalid",
|
|
"sig" : "94c2d05aa194c25bbf274f9b1a312f87128d3c177cda66961cc8388a3ed5c658cdf320bc6af14e57b1569ee6f96280e5fa98ca6eb67017cf3077fa63d9f7a916c445dceacf73d06fe53060a11a4c9ebf0e6203890c0da57324d86fa92e8f9b854c262b57046b1422c9aabd40edbef96f97c015690a4dd1f84bcc02867067d35c",
|
|
"tcId" : 249
|
|
},
|
|
{
|
|
"comment" : "appending unused 0's",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300906052b0e03021a050000000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "789468845b4388391ff3baafc966a3957f2db65a01fb34132be2445c22b303fcdaa4379c14a9291f3a7e1f23948c5c6b3d1d61934d3e5689267a14b122017df19da59a762114b4db56b17fd61043caede4ad0c8f89ddf180456d5695b337525f6dee1d1806c69a14868ccbe6edfa523795a9422057a3dd9ca8636e5026ca74ea",
|
|
"tcId" : 250
|
|
},
|
|
{
|
|
"comment" : "appending unused 0's",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b06052b0e03021a000005000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "65929dfb1cfa05e3a405e1fd566e86a0627ad471101f5b2ace5d2a225641a521ecf2638b5de2c9f691dc0d4260ec49ce2b05bac8064e5a16881bba6dcf7fbb890896c27ca5fad9bfe6259aaaca16d94f01c24f13e30285caa9d610ad26457376c332bba7ab26d6bf832c7aeb2746faa914936c9ee51f9475861db055a89a1cf0",
|
|
"tcId" : 251
|
|
},
|
|
{
|
|
"comment" : "appending null value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00500",
|
|
"result" : "invalid",
|
|
"sig" : "81bacc6576415739b7cdf7ec09bbe148be54e8e9b1941992d6c3108cfd3bf095e9f2b4d0c9101136def16587e2121e6ce9d705be253c1597b4963ec43e99ff48d2cfc1ca6141a7c6c309d7a09312dcc5d2b985c38c89bc532578e19f544a0d22262306482973163a93a0e7845479214300f00cb9a01bc5253650d79446c4aa7d",
|
|
"tcId" : 252
|
|
},
|
|
{
|
|
"comment" : "appending null value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b06052b0e03021a050005000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "42b488de85d7a4dfd153e07d965116dc20c05b971faf7c7c899dda96b3325947a36652cf1c6861011307c47b45fccdf1520c39a56e5ecc1292f336ae19256a2e68ca1d3e8930456e53b3778ccaf50a79f8bbce54489281f7dfd376473951f1a893460503cdec4ed81c722906fbde5b9553ace4f794e600b00e79b11822d13ff0",
|
|
"tcId" : 253
|
|
},
|
|
{
|
|
"comment" : "appending null value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b06072b0e03021a050005000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "497311a6c38b7b78634e563139cd5255d5db5f49950b9a45928f0e0b84c9db2bda1072389bdd5c44b229a4038d5dd111e4681fd94fa09775e7670fa7de90f1362621f1ca85fb9c79d941fc34b121f60e38b211b3bbed00edbada6f53aaec2555ed59145af32235232a322519fd408ace24b819e0e3c9bd0a6597d84f9530d208",
|
|
"tcId" : 254
|
|
},
|
|
{
|
|
"comment" : "appending null value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b06052b0e03021a050205000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "637bfa1961468a3ceae4f91bb9fdf7815d171cdc947a8cedb8beb9077f2096b65500a15c99f512c34acde371be79690acb660bcfe55c0d1a812d12d079f516a6d48b3d35c5c10f21987ac6ba830839a83b1d140c15c57a9df09dd0b1cceb323b1c9a0d854510116d0fa5d16443ea5fec8fc1ec782c76936beef5bd420d789494",
|
|
"tcId" : 255
|
|
},
|
|
{
|
|
"comment" : "appending null value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300906052b0e03021a05000416f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00500",
|
|
"result" : "invalid",
|
|
"sig" : "7fbadbb2cb7b323b8f1dfe78abd8e6b78df62aee4cd2d261ba32c05fa321caabf2ec7486bc9811999e48b3b1b06fa1c590fb7b014fe6137165357b4977821e74323eb64a338e98cb0133cc2a9a46e1691fe45dec76781e60022eecbaa6773e911589e831ac2a485c9654fdf3cfc73b66029295eef4c8065f831abafd960ac0b7",
|
|
"tcId" : 256
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30264981773021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "7d63040570a002364293787b3c0340b7c460eea2cc307d4a6542662a04c0f07ebbc27457f1745129eeddf08156c977e8e346b112024b50c2e3d3686b8e87dd0e35d4f5499cb14049e61e81a5b43fe306ef02b644f20f8db8ed738de9dc630dca8de629a9bc268bee600b7c13c35eaebbbd4e018df9659354efd9bcd5452f578d",
|
|
"tcId" : 257
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302525003021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "0cc6704e2d24718199b007a9a590a3a63aad1d5f769bb29d2c233f38cd994ad8359522e9c1af260bd8c526de9528de4bf67ea0a34286eaf9e015e4276be490214a52e4f66d44d6f71b7e5c07850a18072ef3e15ce31ad0a085ac59501abc4552a5a2762d484ab494a281801eeebe59d20187f3b6a168cf23f0893b3ea100bba8",
|
|
"tcId" : 258
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30233021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00004deadbeef",
|
|
"result" : "invalid",
|
|
"sig" : "2916f598221ebb2894a79ae4580d3e7cf6af6a5d345d4be8b254b9efa08d267e3c25570a515ae47a22fe24a914218bd7bb8322e96d49cf16076cd5cefab88db6609438d939f392c2c985272c7561726e51c85ade312ea1b77cc96b0d681f6f2695106d6e8dd5fd5556ed88151cc0a4302f61f5f3db1e714ce11356fd6c6d46e2",
|
|
"tcId" : 259
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3026300e498177300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "934016d53fdc1e94095ad0c3b39fd01983a037a5344c486edf74efe2daa9da8e1b8e597176faba7ecc9562d432ff98dc205d00cb3937221a6efd35c42674058db4edeec5b6bc86f49e31201e8c6d5b0fe3d0463e2b36bfcd9bbfd055e89034446da971bc3dfe793350f2f85862baf328c542199ad55fd56bd1f75094eb5e09e2",
|
|
"tcId" : 260
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d2500300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5ef2282d6b3b03eeb68b8f1fa17bb20d7f3bd2a66f2450ad97048183c3647de4cf533442f92e2ea850b09c552be9e99419a48891e4952a0d4d886cc1a7115563a49c3490fb8e146b368d3a9f9d98567d6ad03799e6d6415cd325a413d43be0ddd2d5b3706c0bb0432989bda8a5d4543b832638ff3ee4ceaaf239acf0c1ac2f53",
|
|
"tcId" : 261
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3029300b300906052b0e03021a05000004deadbeef0414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "88f59da879a63cb4fa4523cda167443e78b2878e8143a54cb0e237ff51e45d34d17d59ce704b72c185346c7093b79fcc0700516dec9c5cb8c3bd7bc21a1f46f593b38b4dc52f80e06a1eb7631bf2590dc7001c122bd2fbe260547c9d13010094ad1e5e75255cbbda3539b1454e3914e6c1e8c93f58b36381b844c39d08770c64",
|
|
"tcId" : 262
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3026300e260a49817706052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "1458cdaa71d53e60633583b0ca0edd905eaae3dc86350c4803a5fb5d1620b31713930cbe5d21d9530cd791c1cd10007078799a9359b09f39c61394f0d2ffe366efd4485830aceff2296da12a1f9b6677a1b8349cf6b832e7b9821e1be8d5e39a7e892062926066312b231306ba32cff73b03e9be39f12eb1a559e7e18d912f85",
|
|
"tcId" : 263
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d2609250006052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "7f2c73434ec35a0db8a6e89d81171d7df1e1479d4b5e00da0d5e1223c95ebf9eaecb9f5d7b2705ea3e06f42828fc6c6c3cd3af52e3dc20c164789785aa88cbdb63c4b973b4f871c085670039612d4a9f50f0ff84e38c576b09bcc9d55d6c66418f0e8737b1c0e8abc3c2dcee84d7861e58d4cbe887d022a3250f28059c5d4288",
|
|
"tcId" : 264
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30293011260706052b0e03021a0004deadbeef05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "51d48f38227999d2d1af07719ec317d34e2ee5e42650a6b59b2d0057b7df31a2b551a736c621f5a8e4345fa755f57e55ff80a61c041c7c28e9148b020913b72d6a0ea7cf2f956b567eaed32ea647687505e11d756581fa1d0b593207c6f2db3a75a0923a375731b925779fc3ade0a00997ce4cda3ec6e981e91e1af78b12dc26",
|
|
"tcId" : 265
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3026300e06052b0e03021a250549817705000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "55dc53df20ba602ce3b36914347d0a2c22ece2b11ca27b9f8807ffd36545ae33f4a665b6a125253a5cd7c358c52d75b65cac14f9553252ec770c25ad03693a1b6f44470a7418bb55ef5d6a0528ff0174119b1b43c1fd1d07a2506603def7f66d45afb99ba70178b3774cc1f3b4421addb8fee0c22e86416b0b1f3c19356ee38f",
|
|
"tcId" : 266
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d06052b0e03021a2504250005000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "1ff67456aa711438c0bf7e46aedf2cd4ebca7d0e9f8b3f98af54c949a1e27026281f77ecc61ae1a981afda0bf7aae38619c5447508b0fea79a588d0d2806ae0f67b32d6dac4b2ad58dfd413d235543666ddfe31d8545015edf25b5b90cf0f8c592f048d009a293dfd1e7bb50a37d52c1540bccf99d8fe2c1299cdbc563d96b45",
|
|
"tcId" : 267
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3029301106052b0e03021a250205000004deadbeef0414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "6af2cd04b32de5d3cf8ce985bca6f581e96dfb4ec483b1d2c06cf4439bde888524b2e6675c4fd4e10277752d269c87fe1c4eb70a72a2596cf53f1f4f0ba3e82212e72e09774781c888a96e8870658bd9c248bb1f0f7e3c44f4cd284dd6c611cda266f2f841ec1215295edb5291ff1e5111701258441f06b1ed85e16452a02cf5",
|
|
"tcId" : 268
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3026300906052b0e03021a050024194981770414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "0541e9a8f0735076b58133e205803982f403cd1203407ebff3534a48eb35f06842fd496d505739fb07dd85f48b3b24685e1d6c7be539edc862cd9b6869097c7344847201842aeea3ebe3595557cb93269898e2109226a2f4eca5bfef0851a5fceb2d6bac753faf6dec4911610e6b40d827a00502537a6fe743d616558813df8a",
|
|
"tcId" : 269
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300906052b0e03021a0500241825000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5e21d6a684e3daf0be25155cf79874a6bfaee2b771d38ab8895f031cf25a9a05fc8e1d421ce78944bf57a3f0214ee090c42cec51decdc0dc3ab376deaa4603d59eb3ec8b4470e6d8b00b53651873d48f6f2cbd035bacd0f7b24633a025b8ea9dc7c55dfc6578601849e9aaaccdf5fd4d1611b45ed3abe2010079e64de8ab74e0",
|
|
"tcId" : 270
|
|
},
|
|
{
|
|
"comment" : "including garbage",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3029300906052b0e03021a050024160414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00004deadbeef",
|
|
"result" : "invalid",
|
|
"sig" : "1f96486457eb037dc9e2464e507d720adcf90f48a0dd1d42bf4239df64e5ef25556ec27290a8d87fc9fb89ad0a8547980f6b2bd7efd0dbe425559bdf08005fb762b92d0aea2f33c17002ab9a911e457532f0134d2e35db6b3393436de160faca0a2c82509ec929d2893bf82a83bfe1a59fc9189e7ca846998b39919d3ec4d6ed",
|
|
"tcId" : 271
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3029aa00bb00cd003021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "48eedcec184b7ade4fb34efac030a4ce140fcd91a1a1e986bf5232e8db9160f076d9ae36ca23246efd53ece2014ea56d5e596b42ce66e3c585d5e6a4cadcd779c6df0d8c43e7945cf02a07dd3851258ed021ade9cfe6fc3df222ebbd6b9e3f39b4331a11c4ea401592883b4f8da7372526f4f3e7acfdad447846ac8160e5ce38",
|
|
"tcId" : 272
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3027aa02aabb3021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "107ae9af715ac312dcae1f831a818dd55caa33e659ac6f1a15ef41ebed6207cb54a7faa7e45b519a3ca9c304a645f24ee9ad3eb83d6856ce4809e5d7137ed30e919c9615382e9e8767495495cb7dc4cc27e2ee8932c47cdc6c9154391993108cf952fbada535823368843adbfb06d874c14634659f7dd89b02a14377a5c1e8c0",
|
|
"tcId" : 273
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30293011aa00bb00cd00300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "34b98ee9fe1600e2806f67ea122dfc989aa727f16c8e2cf704b1f05026105b595528692c16a052725a2ea47c4ea2ef13c2f5f9a9304d11607a25b8cb261e64658c6047627e9a7651730b81376d9fd978547c270d15f5c57126e3b41b39ca687d6c8be52bf2552104ca06ef64dfe317095b835cdac2840d4f0d3febcc3863684c",
|
|
"tcId" : 274
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3027300faa02aabb300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "358ce2879366fcebb1212839560958d6a3cfc4cffe2a05e9c7ccbdf18b6427f419a2c1e85fd82e27bc63315a9742d141ca157a435c4f20758e4011b8b0b33b9fb5f0006170c3bbdf4d2fe16888404dbf8b9c00ef30bf45ea68371b76a692f98e79c6c5a574e410a8505d5166112f43cffc506a9d46276cbedfec64f1b2697584",
|
|
"tcId" : 275
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30293011260daa00bb00cd0006052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5affee843b343a6d142406d3d89366a9149d642ca12a661c5d0eb0c1b5e15d3c90dc134eb76aff110b1964ed6566469c47e54aba7145c5601412cd38c630e05236c169f2ac6491795408d410a763f0090e299ad9022ebacfcf2f8f0f248674402479db2387e9eefe47c86c2430e529cd13e213753332fc4a3541de49dd1f3920",
|
|
"tcId" : 276
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3027300f260baa02aabb06052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5cf35c6711fb8b297ec405496e8db527ad1cbcc55ce6122b24ed917fb989c28e369354900abb96f41457f15754fd1060710c6e984db30eb73300cfd890454e97957a589de151225827b5a12384717a7ad92aeb941e1e148e8d008e11598bc7b8a3eac35f2af5584f61335a608c5206e5e24cf934ef2009367f3403e8da2dd0cb",
|
|
"tcId" : 277
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3029301106052b0e03021a2508aa00bb00cd0005000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "6e037fa40b3ce48ea72b28bc1ce8cc01188e6f84addcbefa2c729179043b3804d6ff1f25d85c2b9d72acce9c9c64e3f63ecffac670f76b2be75d63b3cee45b72f8758345021177ed13b66ecf0082e3c4418cc92713bb9867c8d28b78f30ff599e82f17734d0772e1e733c0b74fbf31c4f1ee99dbb89b5b113a7f628742d3b2a2",
|
|
"tcId" : 278
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3027300f06052b0e03021a2506aa02aabb05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5e7bf33ad4d9393d6b368764fac6395ed8ba3da7bf04a0f95d8426684bf0e9f2f78c9e49189bbeec883955af428e6e4527b871aeac21feb8231162f5380077c1fdf63a7cd4be65f813663dd82e732cfb3e1cd09298abbc42fbddc3551772f492627e657febca487db5c03c54850327eacc44dbf4a7c230f1c8166138cbd95587",
|
|
"tcId" : 279
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3029300906052b0e03021a0500241caa00bb00cd000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "0c57e98c13628c8188a0095b98d312cf0fa1a1d2039700ab4c607fe75ea0fab11c2c84e5d22d26b014ae1c2aa948efbb1197e39eafc49cf9f010a7b2be4ab9dfa94ad48ce5dcd5c7fd405f55922146cbc541b9ebc1c89f30a2a3f7cf4a8b14797ff4a60922ac710e7496931ff69e4c0d4e06375c05a7ef1910cbd6c3cae5bbb8",
|
|
"tcId" : 280
|
|
},
|
|
{
|
|
"comment" : "including undefined tags",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3027300906052b0e03021a0500241aaa02aabb0414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "874f05aca449fe8b39b29dff1eb20b145ca4bccd25981176d33b6b41a1dcb48b7a668782549013deeceae3599309f541bfd4a15eb984a401bec4f0facce679c0608d962964b85df739ad19a926de875f6404ca5b209891d380f6e53140b1bfc05a2cf1db336d3a01e8777614299b6e2f683f2406b295f3366d77505cb2e56875",
|
|
"tcId" : 281
|
|
},
|
|
{
|
|
"comment" : "using composition with indefinite length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30803021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00000",
|
|
"result" : "invalid",
|
|
"sig" : "123c3ba6d4a5de10837fe12e9b2c61ecb00c93c7d25aa440b7c739df817ccb37be122c5f5570e44a943ee345590c5ca0597605c1487986dfb75245f8e89e4f29aaf3c8eb5c5e8944a63baee4d0143ea2765b0f297a1da8a51981c26a807cf4f9a1aee00bb75cedfbf6466098f7aa27f1e3e63f4f0b7b8c40fc837c23248e914c",
|
|
"tcId" : 282
|
|
},
|
|
{
|
|
"comment" : "using composition with indefinite length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30253080300906052b0e03021a050000000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "2220dc736ee3c63b5d5915050c6687b3861b52e664ce1ab501681d6e40990f02dfaf96f240adf2dfec05edcb268f6dda4129f901f7416660d56ab3a4145bc354fd11a1dc4e1535a4b8a61498508019ac38b61636356a641b8fb4d4739eb84b4fc49647fad35668ead0743aea841214a6e628ab2b5488de6e60d012c0566fe78d",
|
|
"tcId" : 283
|
|
},
|
|
{
|
|
"comment" : "using composition with indefinite length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d268006052b0e03021a000005000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "51fc2dc54c9a46a30ea1c7ea262e86c85110f8bbe42d5abaa3eafb13fa7f3e2424090476c2e50e5eb74d3b6f5e5fe379f3935afe5ed940d443fbcb8686f999c6fdc9e508a5fc7c27bc17169eb5d8e0421ebe7d04260c60435f56d4f614ab9dc0b9298c45fd660c352d35d2985831622eea08010bc27c887f95cb33699759e630",
|
|
"tcId" : 284
|
|
},
|
|
{
|
|
"comment" : "using composition with indefinite length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d06052b0e03021a2580050000000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "87fb9a61395878aafc1fb4a872d8e2db7db123ce4b2d67cd36a7f6e7e190d0bef9487f54340c28fe55d1bd9c38afe166924c787169890493d5cd2a5c79317064313b77a481ddb8bff9a917da32899448d9104ab67dcc856aee617a0a65631609f0632d58bb6585b4dd0c4a8bb41fa0dab99a08489feda41f1e7e5e1fde382952",
|
|
"tcId" : 285
|
|
},
|
|
{
|
|
"comment" : "using composition with indefinite length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300906052b0e03021a050024800414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00000",
|
|
"result" : "invalid",
|
|
"sig" : "442ac72092d6956bc846d7be909704dc4633e3e59e6ff4bcc97bc9d412645dc17ec3db8bd885150bacfbb085dc90bdf26129637876a4d5713beee0385cb5ea7fa6ae57208df368b4ba95720a716d58ca6ee5a03ede1cc7f2ef31d8c459576ef72f6ba1b5d9409efc74932543ed601f957913a12304c2e29dac219d78ed12203a",
|
|
"tcId" : 286
|
|
},
|
|
{
|
|
"comment" : "using composition with wrong tag",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30803121300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00000",
|
|
"result" : "invalid",
|
|
"sig" : "2ebe12f793a821425e9513256ce1517b03b6bc19e2c2347e94651054caffb1f5d6101d4f3402d5945b4aecd04dacc3ba89d1123916d44941715951e9fd59bf0614a0534762e86275a8f1b0b16fd9a9d146946cff740c206ba6b27b26e8d1fc43b2b4d117e144973091674607844f86fce6f07a2a63acf8df67d3827141ad432b",
|
|
"tcId" : 287
|
|
},
|
|
{
|
|
"comment" : "using composition with wrong tag",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30253080310906052b0e03021a050000000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "6e4d642285fa7a46daf985135181712e84efd52cebe8885b52c61a5cec753c1f8c8ba42886b584faf1551da81232214c2088060e6843d0d319a5e877bd4c500f6832f537306285011e5d8b98e2fe00bd38885211478f27b0d037c34d79d7f4d5828403d20b5463a7e1e2de2398c79fed33bc9eee2fdab52bb40acf9fb68a16a8",
|
|
"tcId" : 288
|
|
},
|
|
{
|
|
"comment" : "using composition with wrong tag",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d268007052b0e03021a000005000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "0de20757fb64e3633c36e8965fcc20631e9e890152e3a1d2d6a91fbe9ebd56bb99126050c79b41ef0c107086106738a91d0e815d3218404c1db9d4e8526e085ae10195b9cee788fdf7ba9d28c614bce268af0cc58b8a959fb4c24bfceeb5bcfcc4e326d9de825bcbd8eed0df37de2add59f8879326a7e6bfa2a36eb48eba2f36",
|
|
"tcId" : 289
|
|
},
|
|
{
|
|
"comment" : "using composition with wrong tag",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d06052b0e03021a2580040000000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "2e48a4122de8e1779d169f5a6ab72eba7ca3b0c31ea73d41fd82047e18559ff9706acb85f92872124b4020ae001dadc76b61c0e166df0af677f886cde8e13dc8c2b5c93d62cee44cf3bbdc74756d249d3c59834e079154f6646a8c69a2320cf7bc3925523bc2ca3f8fa7d63650321d2a4de3ef3726f74a2020ff5db397454242",
|
|
"tcId" : 290
|
|
},
|
|
{
|
|
"comment" : "using composition with wrong tag",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300906052b0e03021a050024800514f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00000",
|
|
"result" : "invalid",
|
|
"sig" : "6726053471ecf6651529165c96db60559a525efb27d31de913a44d885d33e404fa9dd7d28de94a7d8dfaed297ae500a55bb3535d77dad3031f7edf7bcd636534621d870c28fe64f7b4752f59cb1490208405bf38dc054311473286c52a59a8c6060827ce9a2ccaae9739030927aaa5225d45655be1fd826eaa6b27a8e20a4f31",
|
|
"tcId" : 291
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "2e21300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "4aba9d2c7a58610d7d3f1050cf5c1558369823c1a344c1573b64d3e8483e04995176f05c255ba67e8bfdcc6c7ca640a4ae423bb3c027f8b14318467e6ce1086db7307c0c9c56acd0372c9f53ad17e117df0557e5548d8d7bb6b9545ace3354f5400b832accea7c60c2585b34881461ee6595f0fd564de7f49a7f0228a042c39d",
|
|
"tcId" : 292
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3221300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "8c7108f3eab93fdfe930ff1a149a071019936122a4ba0524e309c9af89664f4a202a4f49a4288d80f759521de7e0e04409b5d9f4cb93a722724e34bce76607f9a4c46081abc5a606cda70a859ac1fc931afd10d22a7a4c224cffea888979cb314e9a8dd75a85059bc282c923ca5fd6b508cf4e0c21a93f5d179d05228316eed2",
|
|
"tcId" : 293
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "ff21300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5200334dfd766b1052dbe9d422f94b979b60afe3d9a2d60aa5eccf0e449357296eccc321561534450ddec51de1b6dc6b94e1e8b1ca52714230f9f7081a36eab655827defce738670c769953dce9696110689c1db5d475c4b1b030db86cab46745b4f23d68dbe3951e089786101d19548816f78343c942f31373519aabee6e520",
|
|
"tcId" : 294
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30212e0906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "3fc2126ef4b90f42dc8817fb368e4fc5ca34105ae98b3298425af76d2a304ffdabf8d246a53385e0b1c2a2c46205d64eae7be9edb22d5d9bbfa50bca0ca7a8b279ca8eb0ef3aa94d48ec1120010148a58bb576258ec2fd57d10c3d60ed4d94160c5256a24973e5a8333a4f54c288a18494eeff5579e52ee8a45af1ef9943d6a8",
|
|
"tcId" : 295
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021320906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "8cda31b963c774894aeea363abc4af9a8b83cd4aec6cc9197423e7bf9f6935bce978a148d9179f47c092f3de5bf9229f37f86e7586d8fe197cabf27b99a902e561d722b0359a738523aef87286d19cb36d7b430aef83d9828df1aa334ec3835648b3b2af8c2c65f9ac8990d2f4df370d49da6f81dc93cb7035ee931093d843dc",
|
|
"tcId" : 296
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021ff0906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "426aa261ad32507dbd08dc315b39368e8909824128abb746c65743fee574b42840489d54c8c5d6c5553e8ae1a3f14bdf4ae3677fec308864ad9d5ac5439976e9379904c6ae5a24e73daa34822e846a0eced7314b4cddc0111c21387d56f89f03a470b79514dfa97c405c8ca9dfbb6f2e3610a8eb5d6c52b37b200a1519026e7e",
|
|
"tcId" : 297
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300904052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "126d30c8acb2fdaee4e622a2b4f2a16c56b50d03c3fa4ef5a417e9aac346512483e1f4fb7217ff640197d31b0d6f4c41403945dcef37da312f33eb845fb862ec9994060b085c005c6feb382547a4fa1a7d6e7383c81c8ff7a51b539cb55c94d41fa804d9d6968b57a2e8c946f5260d835167b3b5a8302bb054638b9842ac963b",
|
|
"tcId" : 298
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300908052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "44715b61effca0e94098d7dba43839ab8999dca771968c09b9263a9d732d000db443e4253394eb357cb05bc0d2a715d4d9a0a64b64e3ae7938e040bc9ce6f2b2a5172a564bf970a56a12dbe54d96bc9a6d5d1ee78b112e7c5447015dd461ce824062161f513f17cce02f259a80fa78e655b9c09d5f129fcab8df0a045d19142f",
|
|
"tcId" : 299
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30213009ff052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5ec2194d5f835d6dba9c4ab2bdebbed946f106fcd2a3c6a623e67e6f8ed7ffd8eb4d41f0bbfdcaad34a34d84f9a735f78de159748efe2fe3629f7f185e681dbc5c48025469fc890222e5be9884c550e5cc483f6854184df13162f20d1daeab78eccbc52988815997887e4e52ab7b756885442c7ddb557e726642bccabdfe78fb",
|
|
"tcId" : 300
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a03000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "2fb77b5a5766d1e898af896192abf3f347100053b920dbaa931a8f210f1b84d522b283e59f6f6f5b7b13d4a3ffd21d2e0b64d1b275501b0bfadd23e89361f327e8fc7f29992dde2e5ecd85ae81cc1740228f983b02bb9875eb30597fd247a8351ba87a5ad5ae32cc4596b4105904a19e5805b92c266f66a9516fc2ca519ceb14",
|
|
"tcId" : 301
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a07000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "6a853a5244bf6d3795dd7047da88403f24831169f0fe2f7b789109f279d01e092d5e35d837644c4b83614bd40ae164290cb4fe6fb6eea7dd271195d0b81715a32184342c8c83a82ab6fc62ad58e299b619489d5670c65a6f9faae11909a825da0c4486ea2ba1002f5f8d1dfaccfee2312c9098ee684675f920e61a3f6ff11480",
|
|
"tcId" : 302
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021aff000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "16f7787a9f5760f025b2e03886ae1a6c83a99a7495eb57e01b687434a1aa27e5f73e0440a0e6d45d7dae80b7f3d9dda8e2bd37540eac08bfd75f13371daa98a334af10762a55b684bef3c67ee6072717ee9fe67397fd612837e0c449d0404382a1b59adb19bebe32f29b1374b36f9649c0c5fe838252c15e2c8b92ba02bf607d",
|
|
"tcId" : 303
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05000214f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "71629cae46ffacf0f7af338c56deb86464d037b1c38baf338eea05164a1bc15db208b8e3054d828dfa10aa5595d20e9010d071baff42f5d39264ba7a10ab263a30cf169021bafc2647bccb1f624abd87ea18750fb3380e7b0bcc0e12f96ffb6b98caebf9f2faee4644c8d6f0d8d33511725ac390f99fae9b40968de60a50dbb2",
|
|
"tcId" : 304
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05000614f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "656312f836bcfdfb4e38f88994a2295bb55ecff0e745974753b22a15c67c64c92c329693917050fae66f565310f8ef8cf4b37dd47eae088adafc34cb0a2eb1d34223ff51bd230d3946fd8d4abb8ed8d4c923bdff7011052e07b358bc5d59deca4a3d82999e54fb5d521564e9ce1fc69c3968adf31a5837fdecc0c9552297ecda",
|
|
"tcId" : 305
|
|
},
|
|
{
|
|
"comment" : "changing tag value",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a0500ff14f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "8fe1efcfcfb09cb4bcea76590fb8fac5ad9428898848d3c20efb256ba2532dcd77603bbc2cb7c5902e099081f6a54ecfa4b0669d5391c10f391aebfc636fef14bb7bda71f12e0d9f164a2ad47abba6103986eba5cbb0b1a4bc3887a51ebe614e0dfa60afe1c5c0bd76911d01450952408384fb88e795897c0ed64e28c5f00b71",
|
|
"tcId" : 306
|
|
},
|
|
{
|
|
"comment" : "dropping value of sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3000",
|
|
"result" : "invalid",
|
|
"sig" : "2b58ee609310e66e3d812f20eb3a9e2995bbd5947b5569c0c23aad8638590a43c8610e25fe6c248b74392ebe9f4edabb1e5b918e227f49bb9df288f5755d06f7a22e8e7e3d63b21ac023d35067142f301bde6f6ce017ffdd256647861801e3dcf38b18888b9986eb2c944937fe1706e28988f0781b7acc83c4a0ef4b40b25b44",
|
|
"tcId" : 307
|
|
},
|
|
{
|
|
"comment" : "dropping value of sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "301830000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "1bf19d3dbdc4d1ce61350bb52d11ef6ecde6816b875ce7fa7361bb2edf84115313cb95d21f3472b7d178e27c0701c6ab528a735fc0ced0a8af81c78d96227ffecc545c8cb7a49fe269e97d647b5b01e0996f29689504b1ff4e4d8e08fab6756ce9603c0bd622b4e74eb8c18373ac1efd5074d08ddaf8fd7c3204e25fc0c99328",
|
|
"tcId" : 308
|
|
},
|
|
{
|
|
"comment" : "using composition",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302530013030200906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "5e1f0d448504349b31c8a5ed03e066c7dd7878622fe42d645bae8592aee87e1056504d92a88a3626c54fe3da07649ae6bb30315f3c3b358beed1afd38d414785906dbbc6d0e188f9006756a545a1d1979a496449689ee3cc067072624ef5f2de8a1f6f0c798e8bbbb9b6e14db12512feaff11063dc3ca3a5b3bd5926bcabbd78",
|
|
"tcId" : 309
|
|
},
|
|
{
|
|
"comment" : "using composition",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d3001063008052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "18d30faf84664f79faa0dd0285c408fe54793df5858ed7cc367d62847470e32f433edb77c30f0d0dd549220cb18eba18d1076820ec27ac37bbd8b989b847ed8c84ed1930e7ea8566a9d043807b0f03fae51aa0046483343ae06831743fa79f4438190164e9d5e75610bb5fb9201365dd9dd4aa6b5dcafcfd73161dde7da40e99",
|
|
"tcId" : 310
|
|
},
|
|
{
|
|
"comment" : "using composition",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d260906012b06040e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "981a4523b61116d28d4bdb8d80969f7fe1cfbb06f4dd218d05fa332680b1342d20f0e4d4a1a6401ad777615fc56e3ca2fccaf07139f43ebe1d92d20605f8c894d88e8c062487fa86f51b2026dd12ba68077c3551d928990848bf0de07cd880194f2ac276af86c1e55e25044be3c7204ddafdcd61795a9e3b7885a88f43aa6b8f",
|
|
"tcId" : 311
|
|
},
|
|
{
|
|
"comment" : "using composition",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300906052b0e03021a050024180401f70413ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "98d603185c1e2927622056c9053a62e17ea4aab5808418725cf8887720f5f3500cfe6ffa00513e45b72c9fe44d288d06555bf715282f6feb685df2f44bfcb3ed541653139eeeaeabeae9d52514495b604512a9ad6223f68a860612b668f5a0993ebd5c9ce9cc00baa80484d60b01c23a6abf40be03cd1cce3317563b1f9326f5",
|
|
"tcId" : 312
|
|
},
|
|
{
|
|
"comment" : "truncate sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3020300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0ab",
|
|
"result" : "invalid",
|
|
"sig" : "3b5c1e0d3dc103755b67feb766d58968f94e8d8af6a209f6d28e7c0541a4fdf7a6976f664414f5ee0beb9369a59681291fb2c902853fcaa01bd065fb7a1da967849cf45bf558e375058591b3af1b5c8a18da21d5dd7598e7e3aebe0478180200294b86d88b1c39e224bc1dc22f1a8e537e05db467b5a04dc70ab9346c79fddd0",
|
|
"tcId" : 313
|
|
},
|
|
{
|
|
"comment" : "truncate sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30200906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "61b6f98e16e4809448e56d9845850b748bdb64064ed4851c141c57e93c37744bd91f54f5ffd9264f151294e6f73bc8d5a51daa06b9121bfea1f28847229875ab87a7297dc383987db1f6bc1133e344a95af6d34fd18105d154ca951e4e6f64f9fde7994207ddd5eb6bb2a07037f13c8d853a8b8684431d5ecf1cc9bde41cda49",
|
|
"tcId" : 314
|
|
},
|
|
{
|
|
"comment" : "truncate sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3020300806052b0e03021a050414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "8c05912e8ebe5f2cc9fcbc2410bcb63b217756cd961db8caba316634c6ce191f365a21137602373f357461e9020b702025c61e3571cac6967a8f68375a9cd4792222b59c54e21649776f6e7d5995448779f7f9d32bb4e0e4e2b612b5c2b8574d98d01b9cdd26965541c0a67d484e13d4f49095ff7030b180569058376c7926a5",
|
|
"tcId" : 315
|
|
},
|
|
{
|
|
"comment" : "truncate sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30203008052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "8bf895e0a26741d142767e67e73f102180a5e2083ee27d869585cd02c0211673641ab3e4f84cfdb2748b0a3a39db047fca2261c7ab3a7bac575990741d15c543f83f9da27fb5da3362ad1ce1a0eccf853b9e0a36f851b6cb5734cd22bc3b621193db37e13dd06d8854ff111dac2c939618aa041abce70123cb14d62d527223c1",
|
|
"tcId" : 316
|
|
},
|
|
{
|
|
"comment" : "indefinite length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3080300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00000",
|
|
"result" : "invalid",
|
|
"sig" : "5280f9fd14542d5b61a951893b081540d922ba15a7a650aced363106d97b69aff5b1ad624528b7560dce27c3a3e8f8657c8b0e9b83ab63342550fea7469ec14ef1cf48ed33515d56c7872d5eae8cf2480ae7549a8ce4c56748d08c4f3a61bd13b9c9ead6bcaa113bf3f85a112057658689ea075fc8ac7d74216918d588865ec7",
|
|
"tcId" : 317
|
|
},
|
|
{
|
|
"comment" : "indefinite length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023308006052b0e03021a050000000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "88cd60c74205ced62ae7bf35eae4c86826ca946a9b3bf190ab8069734489058191b6a501b6766fce0f5a3e5f7a39c0deae40aa66ab36b5a2a39d955650118ded3a8dba0df5b50056058cd643630133c4f2cbaaf8055cbe96e63e8fef8074fa23e1f1d5a1b5cb5ecde5fde92c78441f2907aa53ae9e3e09f0a7a7628e4e2be5df",
|
|
"tcId" : 318
|
|
},
|
|
{
|
|
"comment" : "prepend empty sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30233000300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "91c68a2673606cff82abf69c9e2d591315595a3a0b612d6d2708528be0184c9116195f58cb4109a69f8d2f7cbf4036affcebe7a1615a914833b921b915ea12b16324e6e74f95d6eb5b03201d67b945f03296ffb37ef7cda908e83f44dbed24a54e81b71f840668fa4fd82b29c0e1c5b1c021d481c73a662668603d3fbf5182dd",
|
|
"tcId" : 319
|
|
},
|
|
{
|
|
"comment" : "prepend empty sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b300006052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "17c921fb3a8535f2e472df2c447a60f2fe49a4afeefa065f1c84e50dc97f989268ae6bf1e8d77f5b2edd59c2c7f3653b7565902c5b889ec7007fb9006f244257649888a4a1883146c88828717d381018b1f00d656d5e092172f49fadb42f913a92ae1eb4e01e3c2490e1dc52a109e37094188bcaa181898d97ea2c0203a885a8",
|
|
"tcId" : 320
|
|
},
|
|
{
|
|
"comment" : "append empty sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf03000",
|
|
"result" : "invalid",
|
|
"sig" : "077b2d2e79ff380612aa3f9c79e8b7a580ffafdab8ca3ec86501c40248b3459c0c7b2590fc18ccfba2b0e7a34c67b8d3a7ed92fa686170475666570d38464720b4983e5c374f1b6c604226284a62e20a8a37341abd72f238aec8a2cdfeff00c512c28e608ce98e4bf3640c61509ec56f7e2143216214eb5b06bfd0fa448ba633",
|
|
"tcId" : 321
|
|
},
|
|
{
|
|
"comment" : "append empty sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b06052b0e03021a050030000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "2121389e8b2282bf6022c45e7a3ac9f42bd7f13ea37060f6989bacc72fb6e887db8128024698a5c76adea034c69604b1f56e062627c840cd2f80802e6f2764606b96b78506614198844319bf7726b95afdfd19d5ffda1ccb159646bee5c3d81adf56f2b54edf749ca99a86bc9452f6a307eae06f028f86b4af17137f6a2352cb",
|
|
"tcId" : 322
|
|
},
|
|
{
|
|
"comment" : "sequence of sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "30233021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "059efdc649108b988ee6a63697701a3c98bf7c770dd525844dd6e936d0f468b3c786f82a03c4b1d23caca0dd2a62a6ac43f58b6cb311a819f7b9f48cb9b59b17306deebf1d69a7d93a2d9381e48ddd0ef1d0a07dc5a5568eeefb3832dbbad503e21141f6dd58a5bf503a469d49dd3edc5f3a712b7e63d8ae734ee1808a9654f9",
|
|
"tcId" : 323
|
|
},
|
|
{
|
|
"comment" : "sequence of sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "21d94c3d46c49bc86f376e2d4fba1495f98558e9f76136ba001f1f90befb6311771b700c1252894a5348491c262329e99cc52ee68e577615ebe73d59210f8ddd8b91ddced5fe98cd832b57a4c583318377892bb15bb7d545cc7a182fb47c3149b99e4db5f12df9105a055d0925d8f3d747a2f25ba1dd00a5184afa46695197e3",
|
|
"tcId" : 324
|
|
},
|
|
{
|
|
"comment" : "truncated sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "300b300906052b0e03021a0500",
|
|
"result" : "invalid",
|
|
"sig" : "690c052df7c7079aa3bbcc9d4699ac50bf0dd90b1d6822046c7ad1429900ce2c4882af9decd580fab0698e5ce3185bcc234561e051533283d022831fd8b19434e4bdbc84223ddcd99d1a8f28a9ba222394312d11d81ee95831b4264d5434c3122c30afaf6b990ccb4f6991f60e78195d3aed5f670c4c2fdc034a514b92c67519",
|
|
"tcId" : 325
|
|
},
|
|
{
|
|
"comment" : "repeat element in sequence",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3037300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "4f4f38364932377af52adb8c51c5bd705088ddbfda713458377c3997915766ae05da5c797cbf24a9c73d36fa61b1b0bfb9c14e429c0b66fd6fe1ec041b9d14946588dc384a7a69bf2ab69fd8da67d0e1fab2dbf1838959cadd0d3ca03c9c0bc929d207be60ff8e08bfbb03f4423cd81fc5f587bbff3985d2beef69dce295b903",
|
|
"tcId" : 326
|
|
},
|
|
{
|
|
"comment" : "removing oid",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "301a300205000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "6ea8317813355faec271a659d62cc94f7408fe73178a2de00407136a53b69d77136b9ef4533e3cda580761f42a683d4a02a2abb7aeb941a44854832d18950d8efc43ae8de29c0c97873761d126e15e7816d173dcaf9315dfa045681d9a4b37b2ce1578ffcbfb4c30cba6e1746ec3f95d310839d75ea873ffcc0ee82513342a71",
|
|
"tcId" : 327
|
|
},
|
|
{
|
|
"comment" : "appending 0's to oid",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b06072b0e03021a000005000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "990ac0a5dbe9f30114427c45925353e49c235ec8fc5b19724bffa75eb7e93987ed97dc3107e2ec26b9bb2c51d53f92158fca0baea0d881cb829e0bfcbc88f0021bf967e44a245eadf78fa8eed67aee696fde1a2a79e05a7c6a049f3af282a394f743bb4eedc9798b2d3290e8255a2339fb7a694e789a6fa38e2a236b948f48e1",
|
|
"tcId" : 328
|
|
},
|
|
{
|
|
"comment" : "prepending 0's to oid",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b060700002b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "3c8995341ca2811f9e976e8157e708aa59b38f8e1a24ed16d8b30a19fa23c5df8b1ac2b3c82fbf91800918a2ad6b9320b10e39fb391254a3d954a278faffa97a2052513ccc8b17783faed189b8a4d997d7baba3053d6ab6493e2e36b3ee5046ea62d37a835a51390252dff088cc3a0a33cd1a82e557a0be0d5871b4fa18c05e2",
|
|
"tcId" : 329
|
|
},
|
|
{
|
|
"comment" : "dropping value of oid",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "301c3004060005000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "87b5cb8841fa252f38c375b39ccce2d0361397a8436d2f37ca3e2293e554ca27fea1095683e42f274ccead1876d89dbb4e5dcca8e28972aeabe3d818144e96c020bef1de944724d1c2a813c633f8e7f8b6f8c8950d2c89dd26534430ff9cb6f5f08b332638b1385770a69bbbf6f76342b8270e2bd440df058c2ad55f9a0dd679",
|
|
"tcId" : 330
|
|
},
|
|
{
|
|
"comment" : "modify first byte of oid",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052a0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "288ea84a615e75c398407dc72e2482ffc013e09b1ba302790d17d0949e286c156584e6098858501b0c5c763615e59d840ec53269bf0ff5bab1f79c8e717497e705724fe933343106bab5b9e619b0a111a59b72be36372efb6fb981be725e3408a1185a5f42d486d8c052af448f0abedbeafaa1d5d8caf5fc03d85329fe675f9a",
|
|
"tcId" : 331
|
|
},
|
|
{
|
|
"comment" : "modify last byte of oid",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021b05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "222c07c03d0c5bb3cbe70a8835447ff9af92ce32245f0e1de0481d87bd174731093f9b84aa5381b107c00fde8ed78030026d87951f8e5b6180827ff2a0a277db3a8f5031a82b83259bf6baab154cda64b372ba3cac5c629459284d986f3c2367e8b14f6dec7d38628e4ecb884158cc78ac39f4c9ee537d45370b089418d7227e",
|
|
"tcId" : 332
|
|
},
|
|
{
|
|
"comment" : "truncate oid",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3020300806042b0e030205000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "3fcd54aa3d66afce987282cbfe09f0a6eb30d0c94227bef8a2c9fccba44f1c8aa080b361b13eed4c9d0d37caf26fe61ddac8347102d9080cb17f2cfdba7e217df3f8c19039d466241264ae8caf15652c8f72a6ae292dc71c80049d679034ad19bc745d6155cb2efde963f738cfea08f7bba8894f472beff5deebe33173033317",
|
|
"tcId" : 333
|
|
},
|
|
{
|
|
"comment" : "truncate oid",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3020300806040e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "4ad8a7e4a92ee9aeb1bf3ee9392abe141d435a6ebd1799d90f5417e6daef65d37bf33c8c5255d52ce5d8b2cc223cd0c68a6061450df5c6694e2b911c8c25e6384a70fb19a50e10bfbc494fe5a62d9db915b7c77a27d17788f0567110bb046b8aa42d3ee1ea444c20b983226cf094f4cbfab24855c68f1e2e9fefd41b2dc7903b",
|
|
"tcId" : 334
|
|
},
|
|
{
|
|
"comment" : "wrong oid",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d060960864801650304020105000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "949fecb83ddc236d3c622c9b6118fe0bf524080594c731636eb735e7d1285b5b6c527a2346b51c42fcf706184c4edd79ac98750dcf35973920aa19dee689cb7654b4785d2755b0dde4113c293e301f4e0331cf166bd8c7ae07031165fa4c02a3d6d70422fe42c7c6077a1f1dcbdc0de257363d51951ed1e2b8cb66684d42a8b4",
|
|
"tcId" : 335
|
|
},
|
|
{
|
|
"comment" : "longer oid",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3022300a06062b0e03021a0105000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "8a52f6b0275fe745b429d0a4a42122269277de6a5eacd0daf79166cf8ab8ad061e74d91ee1877bb6ca50b9bcc5f0677702184e6d8ffc841fe3b6c24c9cd6dc017824bad65d89a47a21e54f87005afb3f13cf11d10383458548394211074f19da555205026f4fcdfafb73041bb84f1dd9e8012bb1473314c85bb3460d51ab5f13",
|
|
"tcId" : 336
|
|
},
|
|
{
|
|
"comment" : "oid with modified node",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03022a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "216fc9e3ee6438bf1934f30ea7a86aba6ecbfc04fbbced4576a6c59f7a9f5a761d6a97d262142489807e4ca1b9bc02c86a80e093b55fc97bc943be0403bcf390f6140de964199f753b7afe430308b871fc0c596c1b08ca74006a10bdbd6a53064796747bbc203383ac7916ca1ef1a2def714e9f5f9ce9584cb09bd677ef374be",
|
|
"tcId" : 337
|
|
},
|
|
{
|
|
"comment" : "oid with modified node",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d06092b0e0302888080801a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "135f14404b953bbcf4580133f0432cd746a5601ae01c5542924a1b28fc422c501c732dc330bb81d8df7a2a3829e6c5a151e81333832cb124d513f5b6fe799e207999c3010bf30689cc4b8b3bdb081d7351b47196de41e9f988c2eed49c22c7b0a6ca3eed511080fdc17d263b82ba668d3225da4fe66bffae68c536c4e38b2dcc",
|
|
"tcId" : 338
|
|
},
|
|
{
|
|
"comment" : "large integer in oid",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "302a3012060e2b0e03028280808080808080801a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "21fb0d97e5e1a178b08e2bd646f59ab8ad1a7a955afa71d4c0e4631069ec8436abff03327b696c90b91f7769fe0b085a83ed2bed876a9da05f273b58ed057429ddf25a8b1bc0c87ccfbc8394864405c0b7c27d4a4b589d7a5711f36d8922729169520d7bffd52aefc41205a6ee8a54609d0533c64bc8e88b3d58ed9a04d2f9fa",
|
|
"tcId" : 339
|
|
},
|
|
{
|
|
"comment" : "oid with invalid node",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3022300a06062b0e03021ae005000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "9be13e0d25b9cd6a1b8544fb488254319505a1fb27fda933f8b91f6f325b5beffdb71dbf377093da2e0ca3098c891cf7d8a8762e1e27ba1d4e6491ac3fa4c8ad3d4e4937621904a347d197fb373c62766ad14525e2c32913e7fe6f045eaca77c9a5025a6746f9c7b94cab054c476548dd1eb3e01c5923ed681fa04d47ba126d2",
|
|
"tcId" : 340
|
|
},
|
|
{
|
|
"comment" : "oid with invalid node",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3022300a06062b800e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "4738deff4b32a30dd68b0abc1971dd2af9a500b5f6922558b96ac9b1ab4a50328b2ba9a48e7c207a02ddf642728930f4004d337483eaa0a01fb038a7a6c289672bdaf1016120f2faea563f179d3d623d3ec9bb5d936ea2a7f74d2bd70a06c83e904df55f5142c5c6b6f75221397dabcb19e069436b94ca764a5016141496503d",
|
|
"tcId" : 341
|
|
},
|
|
{
|
|
"comment" : "appending 0's to null",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300b06052b0e03021a050200000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "977a5c762a4dcbe9551a4a0bcfe96114aa59187e6dd0164cbbec2d28ff9d11e413a1de7f274704c24229c99ce9b5a3d98872db56310be7259a2fa44e652c4d02f8802360d3a29ded2a7de0a183001e74b3aa3fe594867294461d6a23160481ecdee9c05c28ce066021847a23366cb147013f57ce53a24791dd1873527f1323f0",
|
|
"tcId" : 342
|
|
},
|
|
{
|
|
"comment" : "composed null",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3027300f06052b0e03021a2580aa00bb0000000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "79a42d1f294f82bd6ad48818f1f634733fbefea7def5ea32a1ed56de994ac047011695a0c8a11813d042ee6784cb172da76aa0ed892e53d4bf99fc21301a91181e7c93a56646190aeeb4a1c212d34d17484521580d84adb41b2a5cc285963509d0c832e5a2252e5cb028839d9db7bdabb7689219b97d699277ed004ca6389b61",
|
|
"tcId" : 343
|
|
},
|
|
{
|
|
"comment" : "appending 0's to digest",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300906052b0e03021a05000416f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf00000",
|
|
"result" : "invalid",
|
|
"sig" : "37ddb1b141539dfc350974039429b948cfd8acc40ecab7270b3e560f0876cec68fa22c8dbf09c8c25955819a5cfc6d251ab99cd06c013792207caa2ada95d4fc01a6d89329e211869c02c648a64b721e92ef3aa767569ba2f0c7c376772926a95ededa5d3f0ce10ab3b2b25f70fee1702dfedb0605ef6401f3f44c464ee98110",
|
|
"tcId" : 344
|
|
},
|
|
{
|
|
"comment" : "prepending 0's to digest",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3023300906052b0e03021a050004160000f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "85c2c430e7cc2e989e729186cb1256a5f7e78bbb6e135b36a43059389f57cc7fd67ccf20becc0d9e63731ae4ee77e926754ee5226991f9bd46203f7fb88562b00974dad035b1a0f39cba567dc0ed3cb3f7bf51326e62b0f82d8aaf8cc8dfb96c08c64235dc2a4f612bc29a8d4fb4b1edff1cd517d1c981a809ce9708a547a765",
|
|
"tcId" : 345
|
|
},
|
|
{
|
|
"comment" : "dropping value of digest",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "300d300906052b0e03021a05000400",
|
|
"result" : "invalid",
|
|
"sig" : "708e3d4577c0ced7b4d729b5124169f67836738bc18f82537dbe1c9a48054769ed0888751a823eedd05408ed934a555655d473dcec0fb5c6f19aee82f1dedf3f4fa14171c3ccbd3f1f9920f233a21be4341134f25636cbdd55918e9da76568c3ba55c630ee3e9eaa4dba7bd989fe0534925d1c47592214eb4869bcd42b60c92d",
|
|
"tcId" : 346
|
|
},
|
|
{
|
|
"comment" : "modify first byte of digest",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05000414f6ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "0a581f33a2e1e1665032331dcd1baefb9048af3efa9d6e24ae8e73fb0611422db4426bf804c08ea5ee7089574d4b657cb526437bf677fe3f9e140ee76f4ee2a9514bf0772670de18141840d93f12975013b84dfb74fb450f3bf2cf1cb0cd0267fe521f01d85efd8726be12e9c574907e97a2834cf00910b164732e5daeff4acc",
|
|
"tcId" : 347
|
|
},
|
|
{
|
|
"comment" : "modify last byte of digest",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3021300906052b0e03021a05000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf1",
|
|
"result" : "invalid",
|
|
"sig" : "0c64af0070eb86bb4abe059fce3fe3ced43fb4c19d1c3560877ef54c575530d0473ff2691781c2f7d7aa971b07e517888dc50cd63b0b07e2eb5aa18c6c5ea7f5c9e8e4c7d283808e40920c83cdba64a7e9d01b1e15710b1caa6da8686cc2e4e3b8cc276204c3e21f3e352e81e081660b18a8e6057f2227b117c2c9c5021be26d",
|
|
"tcId" : 348
|
|
},
|
|
{
|
|
"comment" : "truncate digest",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3020300906052b0e03021a05000413f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0ab",
|
|
"result" : "invalid",
|
|
"sig" : "313624a0449c7f2f19878797dab59c91ed45ca0910aed355737635283d56edc7f470628e119a70f7d40b238e0ead042ec1c1c377272fa3ca975cc21eeec934f758ce70f19e00f592a0e5a4aad8e9956d9fd7dbbc126b6a001f20c42b517ba54511630382612f2bacb9711c87d9a19897c8c44f7905f548b558fada6a2c9912c7",
|
|
"tcId" : 349
|
|
},
|
|
{
|
|
"comment" : "truncate digest",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3020300906052b0e03021a05000413ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "4a3539eaceb4691d856020b9acc11854892df705ad7994759dea2efe0c5384e8f86ebeb3f4360ab0bc7d35c8ca520c8d0a1c869f3979ddedbb60437e798332a0ef7a52ca86b430ebc6aa57114f6057c8f18066ca1483cbe8a8ad3a1e96476a21d53ac6f6a4e18ee965371ebe58184fdcec67f0d42cd16d6ce6800ec87978b759",
|
|
"tcId" : 350
|
|
},
|
|
{
|
|
"comment" : "wrong hash in padding",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3024300c06082a864886f70d020505000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "1d8eb339d60f873bf3dd07816dbd8a5b5e61805e26654e5a5869fcbef176a61a3b2c173778ce5fb7323dee2f4e42a272474576e8942ce04c66a17d2ccc093e529df580d047159f7c1266af51b7a7f07f43a28e309111540a80fa76b25b6d86f9d2fc99a28d1715567545509f80beb700fe9cfb82be7bc801794b7d32eb9b584d",
|
|
"tcId" : 351
|
|
},
|
|
{
|
|
"comment" : "wrong hash in padding",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d060960864801650304020205000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "3b2ead8d64cf96e26db3ba9d1ff63a187a715d04e3a7dfcf6c85790896793bc19c0ea6c5266cd4ebc25b859a07ad6459942eb46f3efcb9adbc29f3fa5acf0013d5baf3089e3ec5cd3401ae282670d27493b0ee33e391a9d32283b224036405c9d61bbb470dc8a69762bc35483d3d26c1c8e16c311e5d3e284f1d51383ce7bdcb",
|
|
"tcId" : 352
|
|
},
|
|
{
|
|
"comment" : "wrong hash in padding",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3025300d060960864801650304020305000414f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0",
|
|
"result" : "invalid",
|
|
"sig" : "6b23ad94314f022d64a7b525aa933b7aef8184b66473572bf41c00f899dbeeb95755da7c749a0ce5cb09d3567ebd4ceb0033a1b16cfa13e85fd1745640a5306229a14a9c67c07f75058ad1dfebee25c44ba3bbf75fa053ef74717ea7f972dcf7d7d23901a3aed841e0ca419aa570a605e0d189d2b51ce3f00497c0bf16998ade",
|
|
"tcId" : 353
|
|
},
|
|
{
|
|
"comment" : "wrong hash in signature",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3020300c06082a864886f70d0205050004108b1a9953c4611296a827abf8c47804d7",
|
|
"result" : "invalid",
|
|
"sig" : "53ee28bf3582045ff9a6f7d813b9453fc5813245b198d98cb141f6f36202240746b9d3778006aa4cd3905bffed0fde38157d8e8809228871fb48037706ddaaebd31ecebe3dae0516539509bfaea18dc1fc3c7f29620f3214db5d70005e1323094aa8f94ac9d64d9d02ff2010178425027145740b40640a43ff24db043a7a2d2b",
|
|
"tcId" : 354
|
|
},
|
|
{
|
|
"comment" : "wrong hash in signature",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3031300d060960864801650304020105000420185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969",
|
|
"result" : "invalid",
|
|
"sig" : "171b1a7fa8cf97283809515866708d449f184d675613cbd33e91586f8e238946f860915f0fb6a390bc7cedfcf7d1621f49f3c6f39b7412d75660fbe3c2326c48399b7d41dfceeadabf0cbfc4b7dd756d8bdc38d28e80fb60e743fdf6d81973959d2c6b111fa0d8f3c9c8677c0c8030001b12f3e2c5990822154b1b762162dd7d",
|
|
"tcId" : 355
|
|
},
|
|
{
|
|
"comment" : "wrong hash in signature",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3041300d0609608648016503040202050004303519fe5ad2c596efe3e276a6f351b8fc0b03db861782490d45f7598ebd0ab5fd5520ed102f38c4a5ec834e98668035fc",
|
|
"result" : "invalid",
|
|
"sig" : "9810d39416595ad79cf376b41e6e5f94fb89f61ae78bc5a0c710fab15d369dd7f050b035e5c2b8cdfe10d06be739bae08b47afd0b7dd2b226905f3ee718ccd5b5fb5b951558a62d83a2f3ba5dd1990d2d3e05c461e33ccaa1bbc22350c3ca157351a5b88ad3b1f524fc5cec5c1714a8ab3ef709e462434a6048133846fd1d85b",
|
|
"tcId" : 356
|
|
},
|
|
{
|
|
"comment" : "wrong hash in signature",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "3051300d0609608648016503040203050004403615f80c9d293ed7402687f94b22d58e529b8cc7916f8fac7fddf7fbd5af4cf777d3d795a7a00a16bf7e7f3fb9561ee9baae480da9fe7a18769e71886b03f315",
|
|
"result" : "invalid",
|
|
"sig" : "57532194f33bfddba2e848b9342342114e2c6dcffe228cb97b72ac9e26b77cd336a6fa5c8152db0d536c6fb3cc48487a89cfcf42990593fd0dad420b46fa87ea2b9c9962025dcc2b8a6d5a0476408a62d9c276fb5eb8e97e5f1726918fef41c0d12ad420525a803d804002061c3bf355a3c4fee4ce42016cb0e0531d2657726d",
|
|
"tcId" : 357
|
|
},
|
|
{
|
|
"comment" : "using PKCS#1 encryption padding",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "0002ff...00<asn wrapped hash>",
|
|
"result" : "invalid",
|
|
"sig" : "572ecc55660cc4f8888559092f54e4ee0dc6a57d0722bcba6b608869bc0e86ed53f8d88180b40c006ff10dbf32ba2c6bf3558e22a688f7d68a6d38740b99dd2a2eaa6fc94fe9fa76a0bf775c0eca5751ce7837a3da3db7dc648fb94ed0def4996eb40e168d49417dfd82c86f2c586fc49dfa37a6335b8a76aee84c755610948b",
|
|
"tcId" : 358
|
|
},
|
|
{
|
|
"comment" : "using PKCS#1 encryption padding",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "0002ff...00<hash>",
|
|
"result" : "invalid",
|
|
"sig" : "849f48195c7ae50b762ff93e350bacdf52e3eef5f86dbec5115d74ccfb2c9a49cc91115f6935b71deb424865666ba070299e17e64c3ce5019e1481ee195cffb4fc1f92f026cea579bbe9f78d7c665dd7f65af7c3221bae50d5c0b50ede25a3993979d167a86db511b9ace4f11c331f892f06e72d17e934da9a83a3c703b3409b",
|
|
"tcId" : 359
|
|
},
|
|
{
|
|
"comment" : "invalid PKCS#1 signature padding",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "0001ff...ee00",
|
|
"result" : "invalid",
|
|
"sig" : "29b9b831e6694768910397fbe53e0a6868f75e3910d600e3421349bc4321d93067c78f6294b00e52e9c2fafdef67e0a460c3d76e6196fec6aab5c4964a4782c5da021466908d106193ec1b6b0bae4c9a5e3fcc4a355565c1dcfb76c489b4c3ad11b6f2182188470edf748eaf81646fcc164c60c1a55e9334076d8b5ce3d09808",
|
|
"tcId" : 360
|
|
},
|
|
{
|
|
"comment" : "PKCS#1 padding too short",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "000001ff...",
|
|
"result" : "invalid",
|
|
"sig" : "583dc8ac657ac9d55c74b6505f1a7a4b2225c038f36cc66d76a7eb8c818195b138e8bb2b26ac5a01ce32aa3f590815f0ecdf693877bdb12c5dd55b947b91f83d66639874ca263d1227dd0b6531e3eedf0b1e87a92b8db4be7c3c40d70865f56c8e0b6cf6607d47ed44acff9c4360d65f847f4ae947a13e4a56dff1d11503bc9b",
|
|
"tcId" : 361
|
|
},
|
|
{
|
|
"comment" : "invalid length",
|
|
"message" : "48656c6c6f",
|
|
"name" : "RsaSignatureTestVector",
|
|
"padding" : "2 bytes too long",
|
|
"result" : "invalid",
|
|
"sig" : "9e62337ef7d4fabec2561bb45a18a362022b23666571bbc762c1c717a14a46d8f58119072aa26245e71fc6945540335163798fcbdea04b3104ee23f2c3874bbfb3e7e0c1ba5f1fca909265274414db6957a5eb668e0e36a388784355d528e51a6a4a9a9c6b6ab912812a268dac9dcacf1c13507768e63b1f82f8af29c3786a170000",
|
|
"tcId" : 362
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|