diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /security/nss/gtests/common/wycheproof/source_vectors/rsa_pkcs1_2048_test.json | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'security/nss/gtests/common/wycheproof/source_vectors/rsa_pkcs1_2048_test.json')
-rw-r--r-- | security/nss/gtests/common/wycheproof/source_vectors/rsa_pkcs1_2048_test.json | 1365 |
1 files changed, 1365 insertions, 0 deletions
diff --git a/security/nss/gtests/common/wycheproof/source_vectors/rsa_pkcs1_2048_test.json b/security/nss/gtests/common/wycheproof/source_vectors/rsa_pkcs1_2048_test.json new file mode 100644 index 0000000000..cda77b9b5d --- /dev/null +++ b/security/nss/gtests/common/wycheproof/source_vectors/rsa_pkcs1_2048_test.json @@ -0,0 +1,1365 @@ +{ + "algorithm" : "RSAES-PKCS1-v1_5", + "generatorVersion" : "0.8r12", + "numberOfTests" : 65, + "header" : [ + "Test vectors of type RsaesPkcs1Decrypt are intended to check the decryption", + "of RSA encrypted ciphertexts." + ], + "notes" : { + "InvalidPkcs1Padding" : "This is a test vector with an invalid PKCS #1 padding. Implementations must ensure that different error conditions cannot be distinguished, since the information about the error condition can be used for a padding oracle attack. (RFC 8017 Section 7.2.2)" + }, + "schema" : "rsaes_pkcs1_decrypt_schema.json", + "testGroups" : [ + { + "d" : "1a502d0eea6c7b69e21d5839101f705456ed0ef852fb47fe21071f54c5f33c8ceb066c62d727e32d26c58137329f89d3195325b795264c195d85472f7507dbd0961d2951f935a26b34f0ac24d15490e1128a9b7138915bc7dbfa8fe396357131c543ae9c98507368d9ceb08c1c6198a3eda7aea185a0e976cd42c22d00f003d9f19d96ea4c9afcbfe1441ccc802cfb0689f59d804c6a4e4f404c15174745ed6cb8bc88ef0b33ba0d2a80e35e43bc90f350052e72016e75b00d357a381c9c0d467069ca660887c987766349fcc43460b4aa516bce079edd87ba164307b752c277ed9528ad3ba0bf1877349ed3b7966a6c240110409bf4d0fade0c68fdadd847fd", + "e" : "010001", + "keysize" : 2048, + "n" : "00b3510a2bcd4ce644c5b594ae5059e12b2f054b658d5da5959a2fdf1871b808bc3df3e628d2792e51aad5c124b43bda453dca5cde4bcf28e7bd4effba0cb4b742bbb6d5a013cb63d1aa3a89e02627ef5398b52c0cfd97d208abeb8d7c9bce0bbeb019a86ddb589beb29a5b74bf861075c677c81d430f030c265247af9d3c9140ccb65309d07e0adc1efd15cf17e7b055d7da3868e4648cc3a180f0ee7f8e1e7b18098a3391b4ce7161e98d57af8a947e201a463e2d6bbca8059e5706e9dfed8f4856465ffa712ed1aa18e888d12dc6aa09ce95ecfca83cc5b0b15db09c8647f5d524c0f2e7620a3416b9623cadc0f097af573261c98c8400aa12af38e43cad84d", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "GlAtDupse2niHVg5EB9wVFbtDvhS-0f-IQcfVMXzPIzrBmxi1yfjLSbFgTcyn4nTGVMlt5UmTBldhUcvdQfb0JYdKVH5NaJrNPCsJNFUkOESiptxOJFbx9v6j-OWNXExxUOunJhQc2jZzrCMHGGYo-2nrqGFoOl2zULCLQDwA9nxnZbqTJr8v-FEHMyALPsGifWdgExqTk9ATBUXR0XtbLi8iO8LM7oNKoDjXkO8kPNQBS5yAW51sA01ejgcnA1GcGnKZgiHyYd2Y0n8xDRgtKpRa84Hnt2HuhZDB7dSwnftlSitO6C_GHc0ntO3lmpsJAEQQJv00PreDGj9rdhH_Q", + "dp" : "lql5jSUCY0ALtidzQogWJ-B87N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uGSNttMQBzjCiVy0+y0+Wm3rRnFIsAtd0RlZ24aN3bFTWJINIsCgYEAwnQq\nvNmJe9SwtnH5c/yCqPhKv1cF/4jdQZSGI6/p3KYNxlQzkHZ/6uvrU5V27ov6YbX8\nvKlKfO91oJFQxUD6lpTdgAStI3GMiJBJIZNpyZ9EWNSvwUj28H34cySpbZz3s4Xd\nhiJBShgy+fKURvBQwtWmQHZJ3EGrcOI7PcwiyYcCgYEAlql5jSUCY0ALtidzQogW\nJ+B87N+RGHsBuJ/0cxQYinwg+ySAAVbSyF1WZujfbO/5+YBN362A/1dn3lbswCnH\nK/bHF9+fZNqvwprPnceQj5oK1n4g6JSZNsy6GNAhosT+uwQ0misgR8SQE4W25dDG\nkdEYsz+BgCsyrCcu8J5C+tUCgYAFVPQbC4f2ikVyKzvgz0qx4WUDTBqRACq48p6e\n+eLatv7nskVbr7QgN+nS9+Uz80ihR0Ev1yCAvnwmM/XYAskcOea87OPmdeWZlQM8\nVXNwINrZ6LMNBLgorfuTBK1UoRo1pPUHCYdqxbEYI2unak18mikd2WB7Fp3h0YI4\nVpGZnwKBgBxkAYnZv+jGI4MyEKdsQgxvROXXYOJZkWzsKuKxVkVpYP2V4nR2YMOJ\nViJQ8FUEnPq35cMDlUk4SnoqrrHIJNOvcJSCqM+bWHAioAsfByLbUPM8sm3CDdIk\nXVJl32HuKYPJOMIWfc7hIfxLRHnCN+coz2M6tgqMDs0E/OfjuqVZ\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100b3510a2bcd4ce644c5b594ae5059e12b2f054b658d5da5959a2fdf1871b808bc3df3e628d2792e51aad5c124b43bda453dca5cde4bcf28e7bd4effba0cb4b742bbb6d5a013cb63d1aa3a89e02627ef5398b52c0cfd97d208abeb8d7c9bce0bbeb019a86ddb589beb29a5b74bf861075c677c81d430f030c265247af9d3c9140ccb65309d07e0adc1efd15cf17e7b055d7da3868e4648cc3a180f0ee7f8e1e7b18098a3391b4ce7161e98d57af8a947e201a463e2d6bbca8059e5706e9dfed8f4856465ffa712ed1aa18e888d12dc6aa09ce95ecfca83cc5b0b15db09c8647f5d524c0f2e7620a3416b9623cadc0f097af573261c98c8400aa12af38e43cad84d0203010001028201001a502d0eea6c7b69e21d5839101f705456ed0ef852fb47fe21071f54c5f33c8ceb066c62d727e32d26c58137329f89d3195325b795264c195d85472f7507dbd0961d2951f935a26b34f0ac24d15490e1128a9b7138915bc7dbfa8fe396357131c543ae9c98507368d9ceb08c1c6198a3eda7aea185a0e976cd42c22d00f003d9f19d96ea4c9afcbfe1441ccc802cfb0689f59d804c6a4e4f404c15174745ed6cb8bc88ef0b33ba0d2a80e35e43bc90f350052e72016e75b00d357a381c9c0d467069ca660887c987766349fcc43460b4aa516bce079edd87ba164307b752c277ed9528ad3ba0bf1877349ed3b7966a6c240110409bf4d0fade0c68fdadd847fd02818100ec125cf37e310a2ff46263b9b2e0629d6390005ec88913d4fb71bd4dd856124498aaeba983d7ba2bd942e64d223feb7a23af4d605efeea6bd70d39afe99d35a3aa15e74a1768778093be0edd4a8d09b2def6dc9b67ff85764625c2e19236db4c401ce30a2572d3ecb4f969b7ad19c522c02d774465676e1a3776c54d6248348b02818100c2742abcd9897bd4b0b671f973fc82a8f84abf5705ff88dd41948623afe9dca60dc6543390767feaebeb539576ee8bfa61b5fcbca94a7cef75a09150c540fa9694dd8004ad23718c889049219369c99f4458d4afc148f6f07df87324a96d9cf7b385dd8622414a1832f9f29446f050c2d5a6407649dc41ab70e23b3dcc22c9870281810096a9798d250263400bb6277342881627e07cecdf91187b01b89ff47314188a7c20fb24800156d2c85d5666e8df6ceff9f9804ddfad80ff5767de56ecc029c72bf6c717df9f64daafc29acf9dc7908f9a0ad67e20e8949936ccba18d021a2c4febb04349a2b2047c4901385b6e5d0c691d118b33f81802b32ac272ef09e42fad50281800554f41b0b87f68a45722b3be0cf4ab1e165034c1a91002ab8f29e9ef9e2dab6fee7b2455bafb42037e9d2f7e533f348a147412fd72080be7c2633f5d802c91c39e6bcece3e675e59995033c55737020dad9e8b30d04b828adfb9304ad54a11a35a4f50709876ac5b118236ba76a4d7c9a291dd9607b169de1d182385691999f0281801c640189d9bfe8c623833210a76c420c6f44e5d760e259916cec2ae2b156456960fd95e2747660c389562250f055049cfab7e5c3039549384a7a2aaeb1c824d3af709482a8cf9b587022a00b1f0722db50f33cb26dc20dd2245d5265df61ee2983c938c2167dcee121fc4b4479c237e728cf633ab60a8c0ecd04fce7e3baa559", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 1, + "comment" : "", + "msg" : "", + "ct" : "5999ccb0cfdd584a3fd9daf247b9cd7314323f8bba4864258f98c6bafc068fe672641bab25ef5b1a7a2b88f67f12af3ca4fe3c493b2062bbb11ad3b1ba0640025c814326ff50ed52b176bd7f606ea9e209bcdcc67c0a0c4b8ed30b9959c57e90fd1efdf99895e2608095f92caff9070dec900fb96d5ce5efd2b2e66b80cff27d482d242b307cb813e7dc818fce31b67ac9a94501b5bc4621b547ba9d81808dd297d600dfc1a7deeb061570cde8894e398453328740adfd77cf76075a109d41ad296651ac817382424a4907d5a342d06cf19c09d5b37a147dd69045bf7d378e19dbbbbfb25282e3d9a4dc9793c8c32ab5a45c0b43dba4daca367b6eb5f4432a62", + "result" : "valid", + "flags" : [] + }, + { + "tcId" : 2, + "comment" : "", + "msg" : "0000000000000000000000000000000000000000", + "ct" : "a9acec7e58761d9191249ff7ea5db499cadccc51d29f8e7fd0aa2cb9962095626f1cadae29666f04ce2afd4b650be59d071d06446d59107eb508cc60545727b0567dfb4f2f94ca60b939c60be111172f367dfd235516e4a60061648c67f5536650821ac2a60744be3cf6befa8f66e76a3e7c5fbc6dfa4dda55ecbdbffdc98d610de5667a4f485f6168b52bbe470e6014253874ce7b78e509937e0bc5f02857e1ad3cf55139bbe6dc7ac4b1ed5097bf781b7671ca9bb58187aa6c71c58ac0561c5aacf96c35deb24e395b6823de7fc96b8031b5906a34c4dc57e4f1226157b9abd849e1367dda014fbf9ed4ca515a7a04cf87787945007e4f63c0366a5bbc3489", + "result" : "valid", + "flags" : [] + }, + { + "tcId" : 3, + "comment" : "", + "msg" : "54657374", + "ct" : "4501b4d669e01b9ef2dc800aa1b06d49196f5a09fe8fbcd037323c60eaf027bfb98432be4e4a26c567ffec718bcbea977dd26812fa071c33808b4d5ebb742d9879806094b6fbeea63d25ea3141733b60e31c6912106e1b758a7fe0014f075193faa8b4622bfd5d3013f0a32190a95de61a3604711bc62945f95a6522bd4dfed0a994ef185b28c281f7b5e4c8ed41176d12d9fc1b837e6a0111d0132d08a6d6f0580de0c9eed8ed105531799482d1e466c68c23b0c222af7fc12ac279bc4ff57e7b4586d209371b38c4c1035edd418dc5f960441cb21ea2bedbfea86de0d7861e81021b650a1de51002c315f1e7c12debe4dcebf790caaa54a2f26b149cf9e77d", + "result" : "valid", + "flags" : [] + }, + { + "tcId" : 4, + "comment" : "", + "msg" : "313233343030", + "ct" : "455fe8c7c59d08c068b5ff739d8dab912b639c8e9eade5d0519d58f4ead7208d5a753b4a88fe771475adc82d10ab29ded28caf03f9034d3a111b520440c02276e1b6417c42eec0257f1f05482868987f2f75bd33d1ec3dbc799d7b5bf25c4a0543793a4d3ce305cc43646bc450344e624fd381e24d8e57ef2840dd9d576da554ba408ee6580159e6d88438a28d66250b3b3fe3bc6624406022a9e4ee2778c38230674f635f56b9d6adcf2be6bfab34a8a431169d769876422f7077ded31fa6f29993dd1972b2d2d24b0513a7a193f6a88d53c49cde2c030f85e3ddfbc9f99b4a667fd9c652382238166f3d39eb2b78de53ad24c97699fe5738a7a705a2ab141b", + "result" : "valid", + "flags" : [] + }, + { + "tcId" : 5, + "comment" : "", + "msg" : "4d657373616765", + "ct" : "1cf861ef8b6c29474666605d3ddb663a259a9ae838417abcc7f7dd42d471d5f3812cdf90e3041c4c5bfd38ac1e4d95fd71661bddac45f5f8e3e89629a335bbf2eff116030f1c5ace8336cf7e94c2e8bf5a1d6116e54ec42b9da5fc651a41ac8fd38194e5029489cfde1f7fc850c0dfb3dc00021f74ae3847327c69afdb1355c7587bb93d5f4d2cfb35a7f70bcabd43eb32300585b6ee32f14a68c2a08434e923adb76dfcdf3ea5133edffa5ca20425083b28ecb045e69562b44286d320d87285e7a2e3bedded083c010401ae22c8f278b080112c4264a3cad3ed9fa31cf19e052aabbda9f8ecef1d64786258202bb61128b3140a355d65b982b0239764d77d24", + "result" : "valid", + "flags" : [] + }, + { + "tcId" : 6, + "comment" : "", + "msg" : "61", + "ct" : "8122b33665648346f6cf728f285667cff7f3c20907e76438e64db81a6a5e74c34c5694fb5b4c826067bae94c5176e152eb16884d9c2b63d2ff41d06140c9c39469a4ae05cda86c81ccb208894266f6b24a0f79132f71521e10683faa05c8e68b77dd6c0c04cbfef55a9d1b68291c286e08907c3df029c52e15539027f534c7df8da5637db99355b24576b873c119ff1d74b3c913b70c48f366887ccbe6d206c11657401f41baad9290fe6ae01855a99891700d71775fb36237bd3597ad240fff4c03d1fe599cdec65baef11fbc4889575a55f255b51ec8298595dbcc89659382d35c2b85a941c33746a7937f3d18e27079fc3d2252904aa533fbfd2ebed2e059", + "result" : "valid", + "flags" : [] + }, + { + "tcId" : 7, + "comment" : "", + "msg" : "e0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff", + "ct" : "18e280e8b03d8588b923842d15fddb0493285ecd7ad2d9a9878045ce615ba07cb811fd4a0737e91ece5a63b70b1edc23e0da939ec654333eb77e956108b040bd6b92927e25a6922d1b92302036985915fedf9fb38431bbce1feee3ec42ff15bc4a4b6d10b3da41ec96667b81163b30b46eef4f46fb22f187da8fd536461e5594bf557a6dfc2337883bee8d6187192a3b4bea70398b01f3ea8c1547f6c57248243365b3c46b117924d8bb6845ea382c389c648d3e65ff0b8711bbe1a6fd3bea028f5808725f198cda0407a0ff46b5af261a37184547250f496800e697290e39d46d6bce67b767d73a63bd98f699c1828180abfd51a3048d050d496236edf1e99d", + "result" : "valid", + "flags" : [] + }, + { + "tcId" : 8, + "comment" : "Longest valid message size", + "msg" : "7878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878", + "ct" : "7e151b7b34e3b4abe045cf708640e61501c50fdca629aeca10259d45d15eeec6a2008b6336f57021ac6fdad9a6b29d65f098abff76f93722a8e23fb5e153db075005575dad6adccb7c020cd741c3419946b82d369a07fad5b0d55d51774f8991bd65e9e828d8f5a989c866a024a4a78434e9affd0af2c72f9185d450b627008a8a0968fc6373ca340410306a58921cce1207bb6f6c14e3d1f214304f9f6bb9199909e1610322e834b0ce9f55b1835d7623b82ef548545f984ea51466250159344dde902a0f021ba4baf26b16d8c6a42003f4d5dcae531187dc7e3f87c9e04470599eb623e04fca266e86f98cabb6866004e7fc80b36c3977456e51eb64f4b65f", + "result" : "valid", + "flags" : [] + }, + { + "tcId" : 9, + "comment" : "ps is all 0", + "msg" : "54657374", + "ct" : "6e0d507f66e16d4b7373a504c6d48692aaa541fdd59eeb5d4a2cd91f6000ce9b5734a232d6541a78729ac82152d3a30b51950a24ae379a108ed20fa4ec7542fe2281c2dd5de685564d15182f3c73e9c0135ebc993f5acd240a343d3257997582328c31be215c7349375406aa78a3ac35327226839bee2f1a4a0f8e6e06986cb33806c93e0b0c1d6cfd23f4a68c1f2a38c74b8df70f280984a840c710c52279034d04f61e313d4bcd8b3b5c58468a44565a1acb2eefc6d49044be7163e64ed84b5e7991ecba274a3a7ee4defb842a86ac4cbf2d3bfc9cf870ae025a3e2fbc775916a59579763c06eb84ad8edd1d03787e609ad446de43ebed16330ab06716fa73", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 10, + "comment" : "ps is all 1", + "msg" : "54657374", + "ct" : "633546723d13ef2712561abfa5b477a36ce7c8dc5a9f43589ea289a15f749c89e4e3ba3ca6a615333e9bb5ff3efb62b32e7f11870c8bbeffe884a5ef2b1006045bd97bb29699084dac4212c217e10113232683445091fa7224abc02ad37feaf10d5b4af6f288fa01d85bcd944bf411ac56c0b7bf1037452f540f286114b14b2208fb4282b6829c594aa27ad5ef1dc67b5696ed2a4b9a4ee2354cc05315fff5e8a4e0e75675c1eed34d46effa73ea96e748340771dfec01dae937edd8924ece8470542a8251c31e9130e2c5f80152b4c66111df52f7e5f9b40835b44bf8e8e273b075dc04f758a30c24dc2c2abeaf639f4fca4dacd509250378ad0e5276374b99", + "result" : "valid", + "flags" : [] + }, + { + "tcId" : 11, + "comment" : "rsa_sslv23_padding", + "msg" : "54657374", + "ct" : "94a6ecdadcc3a9c5645d0410929ba8f01c89b8426b889d3064cf1811f2caaa1e1a55a29a1869a7d719226bcea637407bb80383e76b5966e2ea4d56fbb2fb325da12546071b65898b12e36d0ea0e47245930eb051cecc4b8dede18adb4f1ca318cf0e36820f1cfd4911f076e0f3fbf9c197a0ed32063f72405477888f13cbab4649e3c8df4f022a4109ecb91fbeedbc4df4d89ad9cacbbd7e8e27a2f1fe1813d3f1b537ecf41878f05918171504bf800631781a7c36451abbc32dda5b55f05f4ba7b5414089d9d679248cf042756a4f06c37c8b5a18a6ba8f97853cc6763235ee841d96e61f2d75c188ca53d222d3d925a3d701551758feb79ccf8709cb61b793", + "result" : "valid", + "flags" : [] + }, + { + "tcId" : 12, + "comment" : "byte 0 of ps is 0", + "msg" : "54657374", + "ct" : "6a8b8c01247d9d4d1c3bbaac58e077e37926854dc8bdb58fb7b98979ba9102934469836480a0b96a5b452e54dff55e77b52dc1cb93656f6802b7fbe06ca0923e38e549dabcdbce909fdd10d677d896384af75e7146794bfa009ebbb2d6890b1cfcad4698d297c759b0a01151bdfe1d48cf92e80896be923d02371930cafb155e543d9a21e52faf2395234e65d575fa9f5276c80ae4cd6ec18ac6d954ad043d2a46932763ca44476180b397215d95651fba63220998e06ab2dcc4935dadaae8660ac8c6356b871e0b1397af20d6fe937c3211e21559a3d0eb39c2949a96611b13740ae0c26ce67c373a9225a3c1773ec662ca20dee620c0acef1475b362ee9b9f", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 13, + "comment" : "byte 1 of ps is 0", + "msg" : "54657374", + "ct" : "84c149c378f3f12ce202bb561456257057709114ecbaa4c3a7dbfbcbfaf2fe9a19cebabd72e39474b6bd7871c3dae41a9c87c5cb2fafc2d06d49c60ac401ed1e125522d0854fe8fb8611f8efb90d2b89a14eaeb6e991f19329dd7d183ef72cf0543dabedcdecc9977cc9395e2629a1dc8d359b2bc0fea6ef250c4cfa2ac8ad22a6a587e32859a8c99e4f7cdf938527e9e0bb597721517067d83fab31457e52e7a11b0393135d30e619d7cc47caf970facdd8dc4bd613b151f93cc53c1307cef68feb5a67d32337cf2ff954be7a553d3f07c9f657aebd9e8d4ee99e8736c152804295f366a4ffaf2a72e29c2f87b03b28b99da1f6a7ee0d9364ef711eda4f0793", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 14, + "comment" : "byte 7 of ps is 0", + "msg" : "54657374", + "ct" : "3307264f64d4ca8b62c4e7da4cac117262e5d3a3dbc19a529ac5167c1987bce56e358726d0ecfc6cb591a12bd5f7531cd2249439254c366ad3cb7a608f845e1eca931018295208ba5c6198027b22191224c4568856ab331e2acf530fc434870865d3321ac90327a8c61f27cac9859dac8e3c38d8453349d2ef8e4a7e8011f6badd1530eae710e0c60d35905f20d7a2d118e7ce18ebb220f04b4089778cbf091bcb3e02aca83b4b9ba5319c3069188c7b00c7d32ebe1dd6e6535b5f667ce972f00ba773d4cf6a556ccf65bacc1eca2312881caf6a89ff5d83960846a5d9dd31477dcc9ee4ae50ab0cb2e574a685bd9d7b7a74c7ca9876f08fd64d1d5f196786be", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 15, + "comment" : "ps truncated", + "msg" : "54657374", + "ct" : "16d56b7a9e672e387016e8b1c9cff474d560faa8ca14a565fba086015c5f9d53b205c4ccfe77ed5f3d10a04a23bc031d9c7fc809668ceb5c4e31ba8760475de713413b1ae5666e93087e146a2607c00d6492ed095973c7ccd79996aa26023a2c6623f382e94a4c595fbb596be074f87559267186cc475175152277cccaf9513dcb95a1f6540bb633a9a65182f2a53838b85329c9544c24740b24b27ce5d760f051c47e6cc107c264bc1a87ba7bd2bf27675547bda28b3d2a7281d6732f9dbc3c20eecb280f2ba6f25cd49c930dcc3a413987ab4de0fe9314a61e092b3708c75c9bf96831df05e4dbe31f75b2ddaf3bde7f01c7940ec62758006a652871d72b75", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 16, + "comment" : "ps missing", + "msg" : "54657374", + "ct" : "25f67bc6c1320a13fa91a23d4d1801cc73594161a7f344ffa195d6dd1894c1e39d6cd81866462d05e0e16c02459a3f1dc5f0ecc52657f70385fd0b33de214216a2298b4814550af1ecd929170bc69b74e08299bea50de33021468f4fe2a2e4a43233d6872d15379ccea03450145d909c5eb11ca5f524e17b2065768b9bb06438e81b0b8ca816bfcc7eddcffba59b33e2a0b4ad8df215c2eafa240e553f1526dad66038e54f305a6d3fd6460e781239c9dc424ab6df7f75bb4327d873d0e8d7ecab1b09b8779cb841e002ee45f8dbebd2d483de2d7136ae7e350580dc8a48bcd6359a677bccd689bbdf879f2520d8976fc2b92e64dda8e7399719a13b8182c739", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 17, + "comment" : "Block type = 0", + "msg" : "54657374", + "ct" : "371e281730bbc289cd77a64ab49b370ed7900c48f5625615ff28beeeeabc860b4673ab16003fd5e13c89c8b6a0e5c9b732044981ddf2bc45d4613bf409cb2e98123ceb661c1093773d71c67fd198288d6e9b832596894834c3955799ea20e242b632335baf8e8787c104499fb5d0eaa331f05a8b46383dd13cc05f0518d05d9b03bdfdc2dbc9299a04210c33f5dbed3779fb1548ead0022622234a6a2ffe5ca42a43db40f272d6633c7151360b5b90e135283a6aaf69b0491edda637dea0989e3a5dd0c3aac267074662443c37ce1b3fd4b2e9743fb0d00dc136d8df10b6fd0b60d30c1399ab52d75e2db559d8faefc45008c2d9100ed08caa88bdc11aea04df", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 18, + "comment" : "Block type = 1", + "msg" : "54657374", + "ct" : "92210e5bbf24d2cd9527f6e24ffafafdfee242b146539f3731715fff42092cc8f5a1a4919417c9df9a5a32e61201f4354a87ab06e97f827f69e6cc13e7b9c79515145f210713523e6f64def697406a4929b2e09c31890b695b7b8bb851a22c7b541c5dc53cc75954c0246eae5a12af304133f4dcdb90f8c6f54847165612f7ef70f51dd493899d6e09ae9fed16fb1f1225d09750177893c5e5482e3cd427931ffd3fef3e901d51f39aa17e34443a34754533a887474e19213a5e24298071495d18c6ac77dece094c56bb34ed8274f5d75f99162a58dfc4240f5393baae58f484ef0a0259b56ad647ad81fe88c91b75a36b1acc67a56ec379bba03a8be91dc0cd", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 19, + "comment" : "Block type = 0xff", + "msg" : "54657374", + "ct" : "6dbc27d33371f8cb3c3a54185a687a66eea8114f26cd234617b2f567d6013e222f33d7fe05298b73f8bf20266483571a52b1da2c0b1a431c257c62ed441215f57cd2a4af4628eeb21a9cd66a350a161cce446f25224a9acbdcdd709b14b810fafb02f3879605402e3fa6404e6e9a13b3f4fd3bd0e6c32f188a367a94aea813aebf4bd31635e5843a27bf7300419365d00ab97cb535866ba521dd0a8460fbc368ab9337caeee54f719f8998b126a111ffc6cff6d3c43ced45e8dce6565c00bf0be00694c339f7fdbe064c60e040a95b5d5b4af15fb7f14e00da6a591f187277e0c453eef7ffcef2a4efab93afdaa58e0bc1bb25286d9ce202176f395e29f92136", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 20, + "comment" : "First byte is not zero", + "msg" : "54657374", + "ct" : "794ab724aeb176c4415a597e9d69cb567cece4479e6e4c9c19530b0877b53719d7f6318be8e970874c4be19984c632825dee7a38561a6904e23c776ccce71128847c24d5609e6790e3c9112393660ffd208771916d2e80d2c2fb35ff7936bab6c03e07646f15d09a88fd2ff8e70b624c66da4eb7dae241907ef328697c219d1ff347ada945e24ab526b6cea4e6b7f386560ab56f16751f6e2de0f7922a8946ae9afb9ce95369418f540163827f452f5d2a5029a1ce417453324eb015fd83ca2147331c02c762c457fc52ca5f097610c60430b69b6b0fc1c0877513bdb51923bca03e9af9174d3094530a007253958bfed03606e6f75cb5854443eaa363614116", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 21, + "comment" : "First byte is not zero", + "msg" : "54657374", + "ct" : "8c7b80188818f63e6a0110cf94a169c78a0db75917caaf47405e8384b79a8f40de94f28f749186c4f16aeffb66168ac7c319d47de699ccae0edcb51a6822f88e27e99a1a0bb39d292e7d6e0922c1d2fd649376d81160d15cce10fc7082b88e8cd80dff13a33b54b8c00178a35fbbca633f4987f117aa9ec8e5f123dadcf29700ed5dbdad05bcd8e990985d950b210edae1ca1f6ecabf50a27e4bb23d4e80bf3955852e2ca18fd3e3c2f570fbeece943ef5c10ed1265049eac0d5b549713368703ad02311193ba0d3dac6073eb799139229a4aa0bfbc25bd5e886ad213dc321131ed12cf1008ee8af3a1588d06c75d7cf7375998e5a03af0ec8aa92276bd51b21", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 22, + "comment" : "signature padding", + "msg" : "54657374", + "ct" : "34bc8b1a4646f2db8b10fdae22d6b5cb300229114015f25293d4b28e8f58783e1c5e6894da18dea527e4d843b51cf984170d56853e45f6ac77b1179eb0aa74fc556cbd632d576524b820a2c74a4c8159885fa08937e9c73ca0385c7a19676f2789b62f7a8b359a29132d74bc2b850e2335b5c7da8bf52d8d6fadd83ff9db32239bb737e890a32d561b10e9163c2fe4d35624e3e5faf664374c972a8d2e5b873c9a465e108bbdff1296c5557f314026558441a055d4b9cbb54179356787bd4bd02015cb3bbe02633711f266e915a0b4591415983610a2714adce1b0716675b95877bcef618784f2b3cd23fcdd0636e5856edb96852a32c9632c2e6e4b9a6f881e", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 23, + "comment" : "no zero after padding", + "msg" : "54657374", + "ct" : "4629027bfdd6c33abda030f0cb3ac1b55bddddd11292520f142248bbd1efad14adcb7ec50d278471f4a98dc9a674c202d823677d2606cd639fda443d7c14f0aa35f472189abe1b639f0856743212aab46ae35160ab4e6c08a20e5b82210b07b6eed11a315ef1b1f831b52bfd3abc06382b51c41a665ca6428e4bb6bd0df7895d056b8c17093e73c8129916e3abab3f61ce9a94c9d2fd30902076104b0e7fbde8da601f6c1bcc56a0100104848da6e9fbb28d893274b40885b3003ec7781aa710c83fbf4d4bc197630b1455853c4d6d6050011a7f7377e9034d29e4396f52b24ee6875feef883274cb0842b4b177d3fa3b416095c6ff96f6de0d9123dd9ce6d31", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 24, + "comment" : "no padding", + "msg" : "54657374", + "ct" : "910ad40ae0d8af151f512354e1cf12af7c4851cff0b659026e90a9ec4dea6c1e4b2b33cbe8260501493df2e7fa2cd77f020a7cfac1ca379eed3fe6d003335653a5f022f6bf5010e5f58c41fc91253d75eac2072479d4bb3509e1351a66f700ff4ac470115490021734bb8099e66c35f904f09d167303e26163393ed556cdccdfae95f239ebf0bd361a8adad927fb9544ca30132195735cb026dd0dc66c6efa0db41b73fc1c917be384a430e0788f5f872785cd709f70793204753d7b207fbce2d0bfbab11d3d614b99bf87bcc9a34db639fd203c9c081ddeecb9c85221e03cb9171685dafcfeaba470c5f1921a6fe016ba4b816a2328eee9853fa6994ec313d8", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 25, + "comment" : "m = 2", + "msg" : "54657374", + "ct" : "6294ddf0fcd137390cb2193e050b5f61bf0183972912dca88ddcef7d54388665a7ff9be1f074b5e33b55dbf7c4212554a4e6243d3974aef4d95794dc72261883a45842da69497a36ed22c3590b0110e857bd0fc729663df53c831836f890b2b2012c9f56fc6dff36daada1a1e1cb2d654fee868c7c6fd58435dc8edb95dfe0271787074c2be9aace1f33ebd07ee6112cfb62f52487934af0c22ac93dafccfb01c561b370f05f3e604e92e5380103ba91113d007ab97b21ff3feb22f37c1a358215467d0a0223d43792f4947aa30c38f14246d1db9918c94600e7d0a393079dec2d9ad368ef378b2fff72cdd7c572f11074caca0995ca3e576428f651e1cf3764", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 26, + "comment" : "m = n-2", + "msg" : "54657374", + "ct" : "50bc2c3ad07baf0bb9037b704b4e81c97003c7ce644ac8ed0c52ef9b1d7f825695f44a46e204786e6f7fe52cf01ab4f098e438a1125a79f2e3f76add9a8e9ebf175e92c5aa81e99abd17c6871b26de6b40f81c45d43194136f687545a33d590caeed0916deea9cb44ef815aa1695d9f7178dfb47b4805b3e2f47ec1e3de933e5b3de2950dbf702f3d09d7120ff94f43082409169beb5814955e445aa4914ecafbb36efc82aeda8b5d005f042f7a58d50f06763681d40a88119fa4d7b21e4a372701de8f5a4ef18e30e99f4126fd031af5aa28cf4316b03150a2e0a66355ce17124b13bc586e918116c2355f3169c186a80a85c1302fe01b33d01fd3c61fba0e9", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 27, + "comment" : "c = 0", + "msg" : "54657374", + "ct" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 28, + "comment" : "c = 1", + "msg" : "54657374", + "ct" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 29, + "comment" : "c = n-1", + "msg" : "54657374", + "ct" : "b3510a2bcd4ce644c5b594ae5059e12b2f054b658d5da5959a2fdf1871b808bc3df3e628d2792e51aad5c124b43bda453dca5cde4bcf28e7bd4effba0cb4b742bbb6d5a013cb63d1aa3a89e02627ef5398b52c0cfd97d208abeb8d7c9bce0bbeb019a86ddb589beb29a5b74bf861075c677c81d430f030c265247af9d3c9140ccb65309d07e0adc1efd15cf17e7b055d7da3868e4648cc3a180f0ee7f8e1e7b18098a3391b4ce7161e98d57af8a947e201a463e2d6bbca8059e5706e9dfed8f4856465ffa712ed1aa18e888d12dc6aa09ce95ecfca83cc5b0b15db09c8647f5d524c0f2e7620a3416b9623cadc0f097af573261c98c8400aa12af38e43cad84c", + "result" : "invalid", + "flags" : [ + "InvalidPkcs1Padding" + ] + }, + { + "tcId" : 30, + "comment" : "ciphertext is empty", + "msg" : "54657374", + "ct" : "", + "result" : "invalid", + "flags" : [] + }, + { + "tcId" : 31, + "comment" : "prepended bytes to ciphertext", + "msg" : "54657374", + "ct" : "00004501b4d669e01b9ef2dc800aa1b06d49196f5a09fe8fbcd037323c60eaf027bfb98432be4e4a26c567ffec718bcbea977dd26812fa071c33808b4d5ebb742d9879806094b6fbeea63d25ea3141733b60e31c6912106e1b758a7fe0014f075193faa8b4622bfd5d3013f0a32190a95de61a3604711bc62945f95a6522bd4dfed0a994ef185b28c281f7b5e4c8ed41176d12d9fc1b837e6a0111d0132d08a6d6f0580de0c9eed8ed105531799482d1e466c68c23b0c222af7fc12ac279bc4ff57e7b4586d209371b38c4c1035edd418dc5f960441cb21ea2bedbfea86de0d7861e81021b650a1de51002c315f1e7c12debe4dcebf790caaa54a2f26b149cf9e77d", + "result" : "invalid", + "flags" : [] + }, + { + "tcId" : 32, + "comment" : "appended bytes to ciphertext", + "msg" : "54657374", + "ct" : "4501b4d669e01b9ef2dc800aa1b06d49196f5a09fe8fbcd037323c60eaf027bfb98432be4e4a26c567ffec718bcbea977dd26812fa071c33808b4d5ebb742d9879806094b6fbeea63d25ea3141733b60e31c6912106e1b758a7fe0014f075193faa8b4622bfd5d3013f0a32190a95de61a3604711bc62945f95a6522bd4dfed0a994ef185b28c281f7b5e4c8ed41176d12d9fc1b837e6a0111d0132d08a6d6f0580de0c9eed8ed105531799482d1e466c68c23b0c222af7fc12ac279bc4ff57e7b4586d209371b38c4c1035edd418dc5f960441cb21ea2bedbfea86de0d7861e81021b650a1de51002c315f1e7c12debe4dcebf790caaa54a2f26b149cf9e77d0000", + "result" : "invalid", + "flags" : [] + }, + { + "tcId" : 33, + "comment" : "truncated ciphertext", + "msg" : "54657374", + "ct" : "01b4d669e01b9ef2dc800aa1b06d49196f5a09fe8fbcd037323c60eaf027bfb98432be4e4a26c567ffec718bcbea977dd26812fa071c33808b4d5ebb742d9879806094b6fbeea63d25ea3141733b60e31c6912106e1b758a7fe0014f075193faa8b4622bfd5d3013f0a32190a95de61a3604711bc62945f95a6522bd4dfed0a994ef185b28c281f7b5e4c8ed41176d12d9fc1b837e6a0111d0132d08a6d6f0580de0c9eed8ed105531799482d1e466c68c23b0c222af7fc12ac279bc4ff57e7b4586d209371b38c4c1035edd418dc5f960441cb21ea2bedbfea86de0d7861e81021b650a1de51002c315f1e7c12debe4dcebf790caaa54a2f26b149cf9e77d", + "result" : "invalid", + "flags" : [] + } + ] + }, + { + "d" : "2bd68add0171ed921c0924dc0a40427fd4a4fc67821c6e7d50d0e8c730c665e2a843b1eb243e763a740d3c666b1bb1d4f9466b32b2b2e09a9e26e8777595da48a13ba9f9c45f6d2c214b9e5e504bfb3fafbce6adb31e8c15bde1968899efee1a5dcdff0d2a8bf2e27301eaa07882494610a23dd3644d0eb0a6086450e3a7bd4b5c446c01814be16c208619f8a5b7463fca583d936864bf74d96788aae8e5bae3c052a2b409df9a08eb9be76b3dbaba28863d5c56ee42eecdb85075e04de90b6dd3bd9408d7fa5694697c185162329ab9b57f21a84cab007c1c10d975f5491977fecf6c949f3a566d84be477ddaab02c0762d1b232f8a61910715a0ffa438a461", + "e" : "010001", + "keysize" : 2048, + "n" : "00dd904590397808c4314329623d9013453843251b13b8b3c4fef54598112af3eb31c71103c6259951674e53bd93a7e36d19472e474ebe8028686d9529484d8bafea4a04ba19555667616c8478670594009c9bc6a3efe52274cba64c724747d7edc194e4fedde32a3289d94c31936e7e7a15d756f548492f5b345b927e8c618bdd550acb21a17ae148304383db9b3c7baa3e4c8bd8e844a884daa3e18d56998cb32f9bae4d41d56a18ddd4313c8089b75e9dbb9128470bac9b087fb61928ab0f8c4c89360b020899008d08e8bd31f907a807e8056ad6800dffdf9ed9d964a939e7e48114b84978551acb85c9df9196f3eff55286d6cd4b39a822a8a7763a18208f", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "K9aK3QFx7ZIcCSTcCkBCf9Sk_GeCHG59UNDoxzDGZeKoQ7HrJD52OnQNPGZrG7HU-UZrMrKy4JqeJuh3dZXaSKE7qfnEX20sIUueXlBL-z-vvOatsx6MFb3hloiZ7-4aXc3_DSqL8uJzAeqgeIJJRhCiPdNkTQ6wpghkUOOnvUtcRGwBgUvhbCCGGfilt0Y_ylg9k2hkv3TZZ4iq6OW648BSorQJ35oI65vnaz26uiiGPVxW7kLuzbhQdeBN6Qtt072UCNf6VpRpfBhRYjKaubV_IahMqwB8HBDZdfVJGXf-z2yUnzpWbYS-R33aqwLAdi0bIy-KYZEHFaD_pDikYQ", + "dp" : "PGEOZW9DtcYO0D3S4T0NwSICkvg7_RWlbW_-O5GZjbLgiqkelWeRFcdcP7_St5VDouNKsCS7F0lRRlQyZ91tpCF3TBuOj9tCmHfme3xbZYCnRUplwniDErBQOLCRzW2EanRrsTk5wfjNTCa24C-ONAoum42GFTnaZQbHXLy90VE", + "dq" : "qy_pDD2wmbqstiLK09V9Gb_BAWbZRIilYHIbBr8PtZmiaIJc9bZcdaaCCW1cYg4OevITF7nfyDAlE--acEqfDvzC-kd775MeNh2w5VzQ6SOZiKneGD7Ko98jFaUyF7mG-6RDS6Cs9DfmJGZ4rtsrt2ivYjQ-pujTPux9TYSOeAE", + "e" : "AQAB", + "kid" : "none", + "kty" : "RSA", + "n" : "3ZBFkDl4CMQxQyliPZATRThDJRsTuLPE_vVFmBEq8-sxxxEDxiWZUWdOU72Tp-NtGUcuR06-gChobZUpSE2Lr-pKBLoZVVZnYWyEeGcFlACcm8aj7-UidMumTHJHR9ftwZTk_t3jKjKJ2Uwxk25-ehXXVvVISS9bNFuSfoxhi91VCsshoXrhSDBDg9ubPHuqPkyL2OhEqITao-GNVpmMsy-brk1B1WoY3dQxPICJt16du5EoRwusmwh_thkoqw-MTIk2CwIImQCNCOi9MfkHqAfoBWrWgA3_357Z2WSpOefkgRS4SXhVGsuFyd-RlvPv9VKG1s1LOagiqKd2Ohggjw", + "p" : "_aykrdsX5T7qB7lJITtX2lDWWQc4ZP08IeVw60UPkBT6Q85TtM5MVayhic6TqMHWao60reJ62vdkrXV3wRvwuvFmpU8IDF8HZaSz_TlObWYKswJUy4mZ8P1wOHfHHkzvA4rK-B8IkefdBtf9WywBTmc0dm0YrbI8q655mY_z47E", + "q" : "35hEOarCZ7siiOU6ukmOSCWwAYJr-fgM8cChRQfziLNjRrfdWOo3FOnA5cr36lbHOsdBWysPB-sBp0oIU3RSvi7JGN6k2jMCVTQeDm_zS7JMok2V42mlulXpvRp9C6av8dpxjOsQbuHEY6f8MMEde4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JUy4mZ\n8P1wOHfHHkzvA4rK+B8IkefdBtf9WywBTmc0dm0YrbI8q655mY/z47ECgYEA35hE\nOarCZ7siiOU6ukmOSCWwAYJr+fgM8cChRQfziLNjRrfdWOo3FOnA5cr36lbHOsdB\nWysPB+sBp0oIU3RSvi7JGN6k2jMCVTQeDm/zS7JMok2V42mlulXpvRp9C6av8dpx\njOsQbuHEY6f8MMEde4hcdrZfKLDzJD5ZHL6CmD8CgYA8YQ5lb0O1xg7QPdLhPQ3B\nIgKS+Dv9FaVtb/47kZmNsuCKqR6VZ5EVx1w/v9K3lUOi40qwJLsXSVFGVDJn3W2k\nIXdMG46P20KYd+Z7fFtlgKdFSmXCeIMSsFA4sJHNbYRqdGuxOTnB+M1MJrbgL440\nCi6bjYYVOdplBsdcvL3RUQKBgQCrL+kMPbCZuqy2IsrT1X0Zv8EBZtlEiKVgchsG\nvw+1maJoglz1tlx1poIJbVxiDg568hMXud/IMCUT75pwSp8O/ML6R3vvkx42HbDl\nXNDpI5mIqd4YPsqj3yMVpTIXuYb7pENLoKz0N+YkZniu2yu3aK9iND6m6NM+7H1N\nhI54AQKBgFOC2XFFoBI8OD7ea13tIXzlCjdR0JJhSKp4lfUBVj0TGrzC/yIhULPj\nXjU/2wBiMvH1IeKUHuxRgQpdsiwa9BO/MkkYzfngDJFux5HLasP7ywT6JjlvBUBH\nCr2SmYMXL0hLEC4h9EyKsIZ+yQp31/Rqb/4QRrjU5+JhfANb/hSK\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100dd904590397808c4314329623d9013453843251b13b8b3c4fef54598112af3eb31c71103c6259951674e53bd93a7e36d19472e474ebe8028686d9529484d8bafea4a04ba19555667616c8478670594009c9bc6a3efe52274cba64c724747d7edc194e4fedde32a3289d94c31936e7e7a15d756f548492f5b345b927e8c618bdd550acb21a17ae148304383db9b3c7baa3e4c8bd8e844a884daa3e18d56998cb32f9bae4d41d56a18ddd4313c8089b75e9dbb9128470bac9b087fb61928ab0f8c4c89360b020899008d08e8bd31f907a807e8056ad6800dffdf9ed9d964a939e7e48114b84978551acb85c9df9196f3eff55286d6cd4b39a822a8a7763a18208f0203010001028201002bd68add0171ed921c0924dc0a40427fd4a4fc67821c6e7d50d0e8c730c665e2a843b1eb243e763a740d3c666b1bb1d4f9466b32b2b2e09a9e26e8777595da48a13ba9f9c45f6d2c214b9e5e504bfb3fafbce6adb31e8c15bde1968899efee1a5dcdff0d2a8bf2e27301eaa07882494610a23dd3644d0eb0a6086450e3a7bd4b5c446c01814be16c208619f8a5b7463fca583d936864bf74d96788aae8e5bae3c052a2b409df9a08eb9be76b3dbaba28863d5c56ee42eecdb85075e04de90b6dd3bd9408d7fa5694697c185162329ab9b57f21a84cab007c1c10d975f5491977fecf6c949f3a566d84be477ddaab02c0762d1b232f8a61910715a0ffa438a46102818100fdaca4addb17e53eea07b949213b57da50d659073864fd3c21e570eb450f9014fa43ce53b4ce4c55aca189ce93a8c1d66a8eb4ade27adaf764ad7577c11bf0baf166a54f080c5f0765a4b3fd394e6d660ab30254cb8999f0fd703877c71e4cef038acaf81f0891e7dd06d7fd5b2c014e6734766d18adb23cabae79998ff3e3b102818100df984439aac267bb2288e53aba498e4825b001826bf9f80cf1c0a14507f388b36346b7dd58ea3714e9c0e5caf7ea56c73ac7415b2b0f07eb01a74a08537452be2ec918dea4da330255341e0e6ff34bb24ca24d95e369a5ba55e9bd1a7d0ba6aff1da718ceb106ee1c463a7fc30c11d7b885c76b65f28b0f3243e591cbe82983f0281803c610e656f43b5c60ed03dd2e13d0dc1220292f83bfd15a56d6ffe3b91998db2e08aa91e95679115c75c3fbfd2b79543a2e34ab024bb17495146543267dd6da421774c1b8e8fdb429877e67b7c5b6580a7454a65c2788312b05038b091cd6d846a746bb13939c1f8cd4c26b6e02f8e340a2e9b8d861539da6506c75cbcbdd15102818100ab2fe90c3db099baacb622cad3d57d19bfc10166d94488a560721b06bf0fb599a268825cf5b65c75a682096d5c620e0e7af21317b9dfc8302513ef9a704a9f0efcc2fa477bef931e361db0e55cd0e9239988a9de183ecaa3df2315a53217b986fba4434ba0acf437e6246678aedb2bb768af62343ea6e8d33eec7d4d848e78010281805382d97145a0123c383ede6b5ded217ce50a3751d0926148aa7895f501563d131abcc2ff222150b3e35e353fdb006232f1f521e2941eec51810a5db22c1af413bf324918cdf9e00c916ec791cb6ac3fbcb04fa26396f0540470abd929983172f484b102e21f44c8ab0867ec90a77d7f46a6ffe1046b8d4e7e2617c035bfe148a", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 34, + "comment" : "edge case for ciphertext", + "msg" : "52a61193b56236922dde714383c6bfc5a3c3a4515707521ebc84220bed615b28cf50222c2cfb7da7e5bf8ed088333d360a1f95d428d0563c3757f400f582cccc1c06e43cb575545f0cdc6bf29c585d8feda2522234415317bc5d8641737b9cf657620499a1d4fd69e4fa109e068511cfee4d2b3c9f9904fb370cb28dbc7e0e", + "ct" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "6148075f3c03a05b4eab069a1d11dd76c1b7bf9551d2603ccda95c8a8c47f54e5423bfa35b77cc030a5366ba267011acfcfd8a5d0c445d72db4b398eb632fee8e5a0803486e9f334e719238addcf3a29c3f1efa0b8d554fb85bae2144c8efc477a7eeae305d1f3271c6d313dad86fdfea1cbdac4c448bfccc84025d34d444de5e40dc37de6a4cf7255e38152ab049186834f23b75fda4e51f57b01b8958e6a846cf9fb82353f6772e5318b3020651259ecf3b9827285fa34be81d73be182fd8e96d7350e7b4832adac0b0362ec03c1c6d91339df584ef816b59b34c90e9b913feb24155a9869a20f2afff161a8b8fc112a80e89ac449e5dd6b167fc373bb6dc1", + "e" : "010001", + "keysize" : 2048, + "n" : "00c6e320b47282afaf1c18f55f28aa278d401163529e605c1ec6ff403d25c726f547407e4cc128c1aaf397dee2e881c20144616ca16f3d9a1794a70ae05f9722e9feab650c21b886aacaa34163bd8254ea53a8c1dba6bb8eecba38aad49be9d6658230fb3950382a5dc8d5c0538e50f976e4ee673f8faa2ab8b3805605642c6d770579736e410c9ecb32e0559d82b6f22b3ac79cdf57ea9a3fd4b5e8df66bca92b8478b971afb0d6b185b642c362daaa79d330d14069b9e917a3f84433ac32b56cbe2760e9507bd39749d18a1b13e923c7efc9fad13d12568e5d910c1cbe9a6069d0fe80e3aa57bf5e74fa5d86433eaf5690175f13e4c3148c7300799244c566bf", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "YUgHXzwDoFtOqwaaHRHddsG3v5VR0mA8zalcioxH9U5UI7-jW3fMAwpTZromcBGs_P2KXQxEXXLbSzmOtjL-6OWggDSG6fM05xkjit3POinD8e-guNVU-4W64hRMjvxHen7q4wXR8yccbTE9rYb9_qHL2sTESL_MyEAl001ETeXkDcN95qTPclXjgVKrBJGGg08jt1_aTlH1ewG4lY5qhGz5-4I1P2dy5TGLMCBlElns87mCcoX6NL6B1zvhgv2Oltc1DntIMq2sCwNi7APBxtkTOd9YTvgWtZs0yQ6bkT_rJBVamGmiDyr_8WGouPwRKoDomsRJ5d1rFn_Dc7ttwQ", + "dp" : "xeXJmSyJXQDkyj8yvGH3SP1zmWkLWSSj2ji6UhZU1b6wdDcxifgepuqIZ0QCV7m4XF8gS7pFBkn_16FQ4ZVnxyfpmm4hNJQPVsQ2X8okix43LbL2Rsbp44kTrhiNZGHJljlsFMFIJ-mBFGdRqnEuIIJX1HFtR1Lz7MMANB9aD0s", + "dq" : "XQ6vQGbh5vuuK3fgvOo9wwo9eJzuOl1flDOjSY5mmGv6K3pLr3MAydLpIW0BqKGGWCOrRbInAM0ShOLiXZeyxTGX767sT5yazazqeV61Q5qr21AytQWhPQd3f6ozWOuToxsK_trM4HvvfI61RSXS9UGfDEAx-mwHh3jl20zbUvU", + "e" : "AQAB", + "kid" : "none", + "kty" : "RSA", + "n" : "xuMgtHKCr68cGPVfKKonjUARY1KeYFwexv9APSXHJvVHQH5MwSjBqvOX3uLogcIBRGFsoW89mheUpwrgX5ci6f6rZQwhuIaqyqNBY72CVOpTqMHbpruO7Lo4qtSb6dZlgjD7OVA4Kl3I1cBTjlD5duTuZz-Pqiq4s4BWBWQsbXcFeXNuQQyeyzLgVZ2CtvIrOsec31fqmj_UtejfZrypK4R4uXGvsNaxhbZCw2LaqnnTMNFAabnpF6P4RDOsMrVsvidg6VB705dJ0YobE-kjx-_J-tE9ElaOXZEMHL6aYGnQ_oDjqle_XnT6XYZDPq9WkBdfE-TDFIxzAHmSRMVmvw", + "p" : "-Fwy6137yCUl7ypngP8DVVO_dhfgrPN4R96l1kj9NgP2RMHS2yXug4117qhrZaN0tUhL8J6Z3VEWsM9ZBjPm3TKM_Xvc-NgSIe5eCOoxCdUs6zhXYtcGgeoGOMdmrpqi3MNB__AkDBFR0CVxlDGsHH5_xqFcYGsewBgQn8WObZM", + "q" : "zQFWI95ApGAdQDRs6ngi4TxnvGrMpVtLISZMRU39zdph8PHWR3bvszQUPh1NSAc4O6KTUVvDwPDXFM-oTG7fzESTtoAq8fj7S5htce-nw3yb8hghKIIY_tyPJpwKYz6gM-VgP--UJt5g86_8dA-YAVjwT7aZNvHyc2-CvhSofaU", + "qi" : "eDeJb6NUQzuKQHMipRqCJH3xIarWrnIES96__dMvmQ8TXBrCxjc0bq0IO52QoNaIDNCvL2SvPDUtdLDmsUEfitZdaMTsyRm0BhKdSd7OQHyXPhvQaFSTE0QGFcfDsC_H-Z1NxwB5fXU2Vpsv5pLhJa3zz__qtZ6g4MODrrp2RFk" + }, + "privateKeyPem" : "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAxuMgtHKCr68cGPVfKKonjUARY1KeYFwexv9APS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mWkLWSSj2ji6UhZU1b6wdDcxifgepuqIZ0QCV7m4XF8gS7pFBkn/16FQ4ZVn\nxyfpmm4hNJQPVsQ2X8okix43LbL2Rsbp44kTrhiNZGHJljlsFMFIJ+mBFGdRqnEu\nIIJX1HFtR1Lz7MMANB9aD0sCgYBdDq9AZuHm+64rd+C86j3DCj14nO46XV+UM6NJ\njmaYa/orekuvcwDJ0ukhbQGooYZYI6tFsicAzRKE4uJdl7LFMZfvruxPnJrNrOp5\nXrVDmqvbUDK1BaE9B3d/qjNY65OjGwr+2szge+98jrVFJdL1QZ8MQDH6bAeHeOXb\nTNtS9QKBgHg3iW+jVEM7ikBzIqUagiR98SGq1q5yBEvev/3TL5kPE1wawsY3NG6t\nCDudkKDWiAzQry9krzw1LXSw5rFBH4rWXWjE7MkZtAYSnUnezkB8lz4b0GhUkxNE\nBhXHw7Avx/mdTccAeX11NlabL+aS4SWt88//6rWeoODDg666dkRZ\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100c6e320b47282afaf1c18f55f28aa278d401163529e605c1ec6ff403d25c726f547407e4cc128c1aaf397dee2e881c20144616ca16f3d9a1794a70ae05f9722e9feab650c21b886aacaa34163bd8254ea53a8c1dba6bb8eecba38aad49be9d6658230fb3950382a5dc8d5c0538e50f976e4ee673f8faa2ab8b3805605642c6d770579736e410c9ecb32e0559d82b6f22b3ac79cdf57ea9a3fd4b5e8df66bca92b8478b971afb0d6b185b642c362daaa79d330d14069b9e917a3f84433ac32b56cbe2760e9507bd39749d18a1b13e923c7efc9fad13d12568e5d910c1cbe9a6069d0fe80e3aa57bf5e74fa5d86433eaf5690175f13e4c3148c7300799244c566bf0203010001028201006148075f3c03a05b4eab069a1d11dd76c1b7bf9551d2603ccda95c8a8c47f54e5423bfa35b77cc030a5366ba267011acfcfd8a5d0c445d72db4b398eb632fee8e5a0803486e9f334e719238addcf3a29c3f1efa0b8d554fb85bae2144c8efc477a7eeae305d1f3271c6d313dad86fdfea1cbdac4c448bfccc84025d34d444de5e40dc37de6a4cf7255e38152ab049186834f23b75fda4e51f57b01b8958e6a846cf9fb82353f6772e5318b3020651259ecf3b9827285fa34be81d73be182fd8e96d7350e7b4832adac0b0362ec03c1c6d91339df584ef816b59b34c90e9b913feb24155a9869a20f2afff161a8b8fc112a80e89ac449e5dd6b167fc373bb6dc102818100f85c32eb5dfbc82525ef2a6780ff035553bf7617e0acf37847dea5d648fd3603f644c1d2db25ee838d75eea86b65a374b5484bf09e99dd5116b0cf590633e6dd328cfd7bdcf8d81221ee5e08ea3109d52ceb385762d70681ea0638c766ae9aa2dcc341fff0240c1151d025719431ac1c7e7fc6a15c606b1ec018109fc58e6d9302818100cd015623de40a4601d40346cea7822e13c67bc6acca55b4b21264c454dfdcdda61f0f1d64776efb334143e1d4d4807383ba293515bc3c0f0d714cfa84c6edfcc4493b6802af1f8fb4b986d71efa7c37c9bf21821288218fedc8f269c0a633ea033e5603fef9426de60f3affc740f980158f04fb69936f1f2736f82be14a87da502818100c5e5c9992c895d00e4ca3f32bc61f748fd7399690b5924a3da38ba521654d5beb074373189f81ea6ea8867440257b9b85c5f204bba450649ffd7a150e19567c727e99a6e2134940f56c4365fca248b1e372db2f646c6e9e38913ae188d6461c996396c14c14827e981146751aa712e208257d4716d4752f3ecc300341f5a0f4b0281805d0eaf4066e1e6fbae2b77e0bcea3dc30a3d789cee3a5d5f9433a3498e66986bfa2b7a4baf7300c9d2e9216d01a8a1865823ab45b22700cd1284e2e25d97b2c53197efaeec4f9c9acdacea795eb5439aabdb5032b505a13d07777faa3358eb93a31b0afedacce07bef7c8eb54525d2f5419f0c4031fa6c078778e5db4cdb52f50281807837896fa354433b8a407322a51a82247df121aad6ae72044bdebffdd32f990f135c1ac2c637346ead083b9d90a0d6880cd0af2f64af3c352d74b0e6b1411f8ad65d68c4ecc919b406129d49dece407c973e1bd068549313440615c7c3b02fc7f99d4dc700797d7536569b2fe692e125adf3cfffeab59ea0e0c383aeba764459", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 35, + "comment" : "edge case for ciphertext", + "msg" : "f50d8c4dbfdd67f1018ef2bded1a74c6ddbf7db395af1b56a91507ee381689d9e06d1b71b783d895dd7a7289a20ccd5c2b5f38be6d248fde32fa02ba825047c14caf35f96873aad739a31f02b2433e871d1265c58245191cc5a1dfd299b160edcafc5ca7a37c056dbac9e7dd1195c20451", + "ct" : "c6e320b47282afaf1c18f55f28aa278d401163529e605c1ec6ff403d25c726f547407e4cc128c1aaf397dee2e881c20144616ca16f3d9a1794a70ae05f9722e9feab650c21b886aacaa34163bd8254ea53a8c1dba6bb8eecba38aad49be9d6658230fb3950382a5dc8d5c0538e50f976e4ee673f8faa2ab8b3805605642c6d770579736e410c9ecb32e0559d82b6f22b3ac79cdf57ea9a3fd4b5e8df66bca92b8478b971afb0d6b185b642c362daaa79d330d14069b9e917a3f84433ac32b56cbe2760e9507bd39749d18a1b13e923c7efc9fad13d12568e5d910c1cbe9a6069d0fe80e3aa57bf5e74fa5d86433eaf5690175f13e4c3148c7300799244c566bd", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "0081102400faeba6a1c103df40b3e6c39c1355259c61957146aff836d6e8ebe7512152232055245fc10b0f4e5b4e595de13c75dc96d0807be47b37561350edd5deddb3f5422e08cdf1ac3183e04e23b314c4e58f65064e8ef88d9461fd35ad9e8797ca76cb9d1533fea829eab7cfd20e2f3a1d6eb6ab46803de01cdca9b2e7a95326a8362d8422fa51cc13230db40ab197966dd471549c86da98ba4ba1d02bc68dd10818ddfeadd529527c7df4e6c48ce5c6952e91324458bf75e02600ef5ace55ddbd1caa2d5444e295393cb793ac55f6ddecd8e2679b07907eaf32b47d48a256e7ae7260ee70eeb8f36c0bae377e9efb5b85f435fc31a816bd8b18ce1fef8641", + "e" : "010001", + "keysize" : 2048, + "n" : "00a9cbdd7376863a8fa77931db45b29d3cd33842fabfb9b685e5f5c9ad15fe7844be23c7b5abb165f32d5d26e3db746cf09ee4c8b67b528ccdbdb20c3bf4f7a1f5ab1b93648d2c7d039d09f9a5b28393480b31c87b28fb4364c373a95d496ce442bca4aad4de1cc613d3bee9ed31a85957dcff15998c6df8f0e0b1182bf256538ce414bb1220c9a4e0bc666b2230033b7abd072cf9a3c302b424b32860604427904671678b11bec74f5dedc380b01ad4d5e228d717f80e862f3800da9f2edd0c30a900a2d8ffb292a74a092264df73ee7888258d8ba441296917d5b7742894060c318790a21fa23c4895d36f6ce5c22680505caf8c098905f4e0413e63512040e5", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "gRAkAPrrpqHBA99As-bDnBNVJZxhlXFGr_g21ujr51EhUiMgVSRfwQsPTltOWV3hPHXcltCAe-R7N1YTUO3V3t2z9UIuCM3xrDGD4E4jsxTE5Y9lBk6O-I2UYf01rZ6Hl8p2y50VM_6oKeq3z9IOLzodbrarRoA94BzcqbLnqVMmqDYthCL6UcwTIw20CrGXlm3UcVSchtqYukuh0CvGjdEIGN3-rdUpUnx99ObEjOXGlS6RMkRYv3XgJgDvWs5V3b0cqi1UROKVOTy3k6xV9t3s2OJnmweQfq8ytH1IolbnrnJg7nDuuPNsC643fp77W4X0NfwxqBa9ixjOH--GQQ", + "dp" : "DbK7ytvElwuNHkyqfIoCRhcLvI0s9PmGaFpLybh71vk8Xfo83B1hgTCTTfrHDRQgerwlBH0W-WbCoLchbLQk_K9449qp4x2101ITKVXI98jJZt2ETkNB6amPmNJvELYiR72kOL4SYQA5q4fQqeiTrsN5s0_aDhygVjHZ6NKNRWU", + "dq" : "xfMtolqLxKhTr4V_7tZUec-WFDm8lIWCXfNi-arq1RkGytJK3xX14rwqGxZ5_rBEZ2WluOrnb-6Hy4E3rOSAFVwkIWZ0Uaz_7EWbshK1BD5iHjanFbTSBc57bjXFYNi3e6cTmYhxwQQzXaJuOvHcyUQlUo6vgJapuYBPiF8qpuE", + "e" : "AQAB", + "kid" : "none", + "kty" : "RSA", + "n" : "qcvdc3aGOo-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T\nrsN5s0/aDhygVjHZ6NKNRWUCgYEAxfMtolqLxKhTr4V/7tZUec+WFDm8lIWCXfNi\n+arq1RkGytJK3xX14rwqGxZ5/rBEZ2WluOrnb+6Hy4E3rOSAFVwkIWZ0Uaz/7EWb\nshK1BD5iHjanFbTSBc57bjXFYNi3e6cTmYhxwQQzXaJuOvHcyUQlUo6vgJapuYBP\niF8qpuECgYBr67fW/YMtfQSUOTrTbWmAnV39QSoszJVPV/Lsi6l6VYN17GgV5Ig5\n9MqolvVoTu0603oTHwgdXwQUSsdYl/PodtKGmZJ9JJuobvgBe4O93y2D6Kasjzvx\ngMXr5HenAyywEjvyfCkmeNxb9R8akuJ4yWXXfUdJrgje+9I0iwWTFg==\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204be020100300d06092a864886f70d0101010500048204a8308204a40201000282010100a9cbdd7376863a8fa77931db45b29d3cd33842fabfb9b685e5f5c9ad15fe7844be23c7b5abb165f32d5d26e3db746cf09ee4c8b67b528ccdbdb20c3bf4f7a1f5ab1b93648d2c7d039d09f9a5b28393480b31c87b28fb4364c373a95d496ce442bca4aad4de1cc613d3bee9ed31a85957dcff15998c6df8f0e0b1182bf256538ce414bb1220c9a4e0bc666b2230033b7abd072cf9a3c302b424b32860604427904671678b11bec74f5dedc380b01ad4d5e228d717f80e862f3800da9f2edd0c30a900a2d8ffb292a74a092264df73ee7888258d8ba441296917d5b7742894060c318790a21fa23c4895d36f6ce5c22680505caf8c098905f4e0413e63512040e50203010001028201010081102400faeba6a1c103df40b3e6c39c1355259c61957146aff836d6e8ebe7512152232055245fc10b0f4e5b4e595de13c75dc96d0807be47b37561350edd5deddb3f5422e08cdf1ac3183e04e23b314c4e58f65064e8ef88d9461fd35ad9e8797ca76cb9d1533fea829eab7cfd20e2f3a1d6eb6ab46803de01cdca9b2e7a95326a8362d8422fa51cc13230db40ab197966dd471549c86da98ba4ba1d02bc68dd10818ddfeadd529527c7df4e6c48ce5c6952e91324458bf75e02600ef5ace55ddbd1caa2d5444e295393cb793ac55f6ddecd8e2679b07907eaf32b47d48a256e7ae7260ee70eeb8f36c0bae377e9efb5b85f435fc31a816bd8b18ce1fef864102818100d24acefb79e15875c90fa375302ef16f14141ff50e760b5b529df6494bd507eb925530904d5f43db6cc00c5bb113148ad0d7ddfa027c857898866e9681fba9efd61e102a14daf9e13d19c13d29d0b85310d4757c6b31f6949132372bf2feeeba9c451478caa2ef6ce17648cfd46b13b08d8ce9017612c0296d36281936c1737502818100ceb3c37dde127b7a1539da1061da9a119f00d6e88cb2dc350a323d517efa6da3ea0e0d5a62cb5c95f2e2bc233ad4a68798fddbeb9ba914ff805287492082727e831a1a64938f119a57b80c4cf87348231265f5988f7ecfdaeed964567467fce6c0cbae5399f1674b3db04a0e54a97c43a5f6f8e0d66253a07d36d960269519b10281800db2bbcadbc4970b8d1e4caa7c8a0246170bbc8d2cf4f986685a4bc9b87bd6f93c5dfa3cdc1d618130934dfac70d14207abc25047d16f966c2a0b7216cb424fcaf78e3daa9e31db5d352132955c8f7c8c966dd844e4341e9a98f98d26f10b62247bda438be12610039ab87d0a9e893aec379b34fda0e1ca05631d9e8d28d456502818100c5f32da25a8bc4a853af857feed65479cf961439bc9485825df362f9aaead51906cad24adf15f5e2bc2a1b1679feb0446765a5b8eae76fee87cb8137ace480155c2421667451acffec459bb212b5043e621e36a715b4d205ce7b6e35c560d8b77ba713998871c104335da26e3af1dcc94425528eaf8096a9b9804f885f2aa6e10281806bebb7d6fd832d7d0494393ad36d69809d5dfd412a2ccc954f57f2ec8ba97a558375ec6815e48839f4caa896f5684eed3ad37a131f081d5f04144ac75897f3e876d28699927d249ba86ef8017b83bddf2d83e8a6ac8f3bf180c5ebe477a7032cb0123bf27c292678dc5bf51f1a92e278c965d77d4749ae08defbd2348b059316", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 36, + "comment" : "ciphertext has low hamming weight", + "msg" : "636d26280a49b4207bd30e67e5e15ddb5455", + "ct" : "01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "7e60a24231b43275729daec4ee6047e8af545cb10a0bfc849bf256273055e581a55f2b15ba1a6058c67252d7605f6d1cb91416fdc8325a8718e747cf8594348577bb79514c5a676c2b8829993e28258a449c5f9fedad5a641d42990ee9ac172db9f595f0fc45b18b5c93fbc422d41694df9b3545a984cbfc090b5c1722a38c9b50698cac516d5aa16d89864c8568a2956ecd7db8369490e28d3764de0078d20753db4285afff292fba35d5def72959e712f7ab5e40db81d1c89f8c842e97abb25e25f59e78bfe712cbbfd760206e4ecfb001094eef8e238844432086b30dac2b4e7ddd4a725218f45193dd14d4fecc5f683cc4fb4f4418acec3b8da900dec1", + "e" : "010001", + "keysize" : 2048, + "n" : "00ac17529177c7575ed5e394f3380718e614c0105e81016588fb2f95ec4a327fc8e8af681c740024044a9cbaf1f97ba56d23a9f53391f54a84b2f8581f0cc928fcd4c55e067f8d3629a1fb018a1574466554a18df0121cfaa56703b17470a77e6f6909f4f89b865f11c6f9a951dd67cb73b146eb68aca6c0af6e56533f4ff8c31070d3607edc565d22ebb418d2a00a5b6fb58e29b4d464f0dfca6cb20881c323c9cf91a4fc2a437197f2579d9faaa016a42b59473412245f7640dced842587d6a62fa7c4cb6b57e39b73f0a545bc0e0d6501fa0af22ca162dc0327c4d6b3563fd4880b2010e7e9338a1d90b7cb8b8f410d72287d70bb2079c3a6dc51d6c6a8b807", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "fmCiQjG0MnVyna7E7mBH6K9UXLEKC_yEm_JWJzBV5YGlXysVuhpgWMZyUtdgX20cuRQW_cgyWocY50fPhZQ0hXe7eVFMWmdsK4gpmT4oJY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f70d0101010500048204a6308204a20201000282010100ac17529177c7575ed5e394f3380718e614c0105e81016588fb2f95ec4a327fc8e8af681c740024044a9cbaf1f97ba56d23a9f53391f54a84b2f8581f0cc928fcd4c55e067f8d3629a1fb018a1574466554a18df0121cfaa56703b17470a77e6f6909f4f89b865f11c6f9a951dd67cb73b146eb68aca6c0af6e56533f4ff8c31070d3607edc565d22ebb418d2a00a5b6fb58e29b4d464f0dfca6cb20881c323c9cf91a4fc2a437197f2579d9faaa016a42b59473412245f7640dced842587d6a62fa7c4cb6b57e39b73f0a545bc0e0d6501fa0af22ca162dc0327c4d6b3563fd4880b2010e7e9338a1d90b7cb8b8f410d72287d70bb2079c3a6dc51d6c6a8b80702030100010281ff7e60a24231b43275729daec4ee6047e8af545cb10a0bfc849bf256273055e581a55f2b15ba1a6058c67252d7605f6d1cb91416fdc8325a8718e747cf8594348577bb79514c5a676c2b8829993e28258a449c5f9fedad5a641d42990ee9ac172db9f595f0fc45b18b5c93fbc422d41694df9b3545a984cbfc090b5c1722a38c9b50698cac516d5aa16d89864c8568a2956ecd7db8369490e28d3764de0078d20753db4285afff292fba35d5def72959e712f7ab5e40db81d1c89f8c842e97abb25e25f59e78bfe712cbbfd760206e4ecfb001094eef8e238844432086b30dac2b4e7ddd4a725218f45193dd14d4fecc5f683cc4fb4f4418acec3b8da900dec102818100e811b5a9c9e65a385fa5cf0e3f3408e613b4a33d270c70141f2359736f5e0cbcec22bc940320827ed227a4ece56876f6047be2475912f8ea86cef0dba1ba72dbc0d7970c549514ebea6e07edccf07a1cfa736e3256ac4829aefcff287c98188b1e4e6d6b3a4d5d15c6a8352694e609f542402afa0d30fb1e9ae11681dbb639df02818100bdd6474fce37443303a839a65bc9dab7d66e0ded2fa924ed8d30e8cf1604a6b589b7a3ce5a2cac20161d80c2052c4c8771ef7215adddfb6949cacf8833505055462c5430e283a8cc8b1cfb21827168bd245f7fba6d4aca3cab9888b12c6bf1e0972297b59859bc3522706eaee8f086ef0e655bb27c93b53146a8e19af7d796d9028180313cf8af52a0264a49b8f36a916c67eaf109658d2708d38ae1646da9395ada17077f0345e037f89811dcc9785de04145478445695ff3cf8e6b15e332a668d9cfd865a5adbf107684eb9376e9348f5d4962b6350e47277c9423859859adbdd38f48d9d90b642e5feeabdcaa924a0b58d789bbf5a262441f33ca26b1d0d19e233f0281810099d96417d85f4fe52c2c94f42ee56b5d9be9bb5da347a886e0eb6772153d15c2806714d932998bb1c15a8db4302f13a29d82d9e999ec1249e524f9863f57f292f979098e48b53d02f0273f9b8bb4cf96a238c732564acb95d9d797c846e100b8eca37b620fa381f56a00c6a2f8639e67753a4dd35c44f50e875e6ce083c5f419028181009d7230cada81be92c5f9ce4fb4c973fe0c56a230d99f4b59bd3f3a867d548787a562e47f13a1327d6d88b61c68d564bcac123c0bd63fb4c4cad5174886dd28632a2326afc7f172055c6e0760515259561e67b8a24362a50ac758f7e3289cb5b915b445eef1e62ca603d56d39569e689bfec6911deb4c37b0c73337fd23156a6f", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 37, + "comment" : "ciphertext has high hamming weight", + "msg" : "44fadc2b07145f74c552f37b2140338aef1b46d7d4aabcb041faf19f22d6d18fc40a5e9aa4fa7013ee7953f180323d4affd3adf4c358084b057e48ee001ff567f5f509d8d429aecdac397447893d81323132b141ed345e0c52a980d470deb3951b6feb4c", + "ct" : "7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "50ef8824a0174d47039d0d427c85a7afc1478fcd7b6f0cad060d4ac4f16a136327f8d766b1750783d33bae44ea6553bb0ad3857813125ce1a38440d8f35fad5460e5d19e2185e517634c4fd9eeea0bb055cf457434bc96c43b70d3ea7b6be92279ce05d5d8ea7b4caa3d915215ac5bd7ee8e56418d91706f8ececa304dbe7e0e23c5ec42a029d1a60a1c9673e3a8bc942754d4d601f1847fb3539a3259c36c725f279c1ad4480f7186c1d641f377fa3d7ee90a5bf16b8f1c7d9f289b854cb77bfd0f41a028b9634cf3adda3b5567918d2b5d0aa08bc8ccec8d0b39c561f1c92aa6b200bb8824ff50067ef87c0f55e0a981655180aef3bc335c557a9be54e1fe1", + "e" : "010001", + "keysize" : 2048, + "n" : "00c01f17440887a6016faad9d70d23e5290ebef6ee9b7707affc88fa85b0b66033e1cf2a82654518e2b732c2edbafa9d2b68b2fef78ed36d6c421c5bb2304711d98a5ab9aff8c48f8c35ecd5e0c721eede459832d83b92a7edfebaf163c1445a003b3300f8eea2ce43b88cad04c413b561006b7494810fc5b46c6598d3da90d044f5ef73754c3b14fbce33bf0269faacbae52328602b13e0dc7c485c02caa54b05821f5e6923c3c7b3bdfbf9f444aa3003cb031af78804b4702185a42b38ddc0bd1bebfe107685b40de763cb1797c95e0cbb41f92ba62e3f383103ab7cc01604c50c2776b022278da9b359e6c94badb7017ed3ac100a9afeec1218d28e839f2f1b", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "UO-IJKAXTUcDnQ1CfIWnr8FHj817bwytBg1KxPFqE2Mn-NdmsXUHg9M7rkTqZVO7CtOFeBMSXOGjhEDY81-tVGDl0Z4hheUXY0xP2e7qC7BVz0V0NLyWxDtw0-p7a-kiec4F1djqe0yqPZFSFaxb1-6OVkGNkXBvjs7KME2-fg4jxexCoCnRpgoclnPjqLyUJ1TU1gHxhH-zU5oyWcNscl8nnBrUSA9xhsHWQfN3-j1-6Qpb8WuPHH2fKJuFTLd7_Q9BoCi5Y0zzrdo7VWeRjStdCqCLyMzsjQs5xWHxySqmsgC7iCT_UAZ--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cJ9VBkPHIPYx+dhgxC9mqNvh421v4jMCEca5tpL/KguujHAP\nTaegTgY4i8MT5rSAlJVloWCUDE8KQyPZYPuJ/ulzlg8ZchCAiOFHQYsCgYEAzTWl\nAkURT2vt8eCwAMcl8eZZtEagX6oUVC7wiP6FVf58GcTpfli87cmBPre/cAtZSUM4\ntyCMJNJW9zxtcq8sBa13dt6RMFPt37ROD322h2VKPuif4JXDMdm8KwGunLUg6DVe\n2i5VFt0vTERZvBa0C9lRdPEaVIw1iZhNQwbwWrECgYEAoGJF5MAWNBLn5QHUv8/j\nXYzaRGB8e6G9Su7qgmoEzt/uL5bgAjtRC3JT4JiE+OMbD/uRyqvU6exRRO17ZAY4\nOxC9UiJSdy60wFoB+INTo6matzg6BiC3HPAfhhcDoANbPfdsVAHlkKhgahw6cdN7\nlDq/jaYLg093Z61DVlXqqSECgYEAzRmWyMP7XyQCeEQX5U8mL7YJZlNIqxS0qMcZ\nhfLNlXt60c6riKpsekVyNhs07WmKXd0f7HhNWegZH5Z31a4bE7mis14UQvc/wtzV\nQEpnir/EC0g5syA8LbDvjxRpTxsBvtTI7sxsIyQCx/lwrrsKTOVxsq3foS1ZvSJJ\n5noi9KECgYEA1LiH+NRqQKFNZYLH+y66T71xV1euiLofZEopdIPjZKEoZQOuq3mN\nMPTS6ulxC1tx/MLRMjFNpNqr0lICBScxKz6ffU2NPEyN9GRXIMM30Q83BsBtGBxI\nv681wY7HWdoWbjyTEoKP/5kyvyJ9h3fc5W/wAzAQcsYg5zgL5Irv+5k=\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bf020100300d06092a864886f70d0101010500048204a9308204a50201000282010100c01f17440887a6016faad9d70d23e5290ebef6ee9b7707affc88fa85b0b66033e1cf2a82654518e2b732c2edbafa9d2b68b2fef78ed36d6c421c5bb2304711d98a5ab9aff8c48f8c35ecd5e0c721eede459832d83b92a7edfebaf163c1445a003b3300f8eea2ce43b88cad04c413b561006b7494810fc5b46c6598d3da90d044f5ef73754c3b14fbce33bf0269faacbae52328602b13e0dc7c485c02caa54b05821f5e6923c3c7b3bdfbf9f444aa3003cb031af78804b4702185a42b38ddc0bd1bebfe107685b40de763cb1797c95e0cbb41f92ba62e3f383103ab7cc01604c50c2776b022278da9b359e6c94badb7017ed3ac100a9afeec1218d28e839f2f1b02030100010282010050ef8824a0174d47039d0d427c85a7afc1478fcd7b6f0cad060d4ac4f16a136327f8d766b1750783d33bae44ea6553bb0ad3857813125ce1a38440d8f35fad5460e5d19e2185e517634c4fd9eeea0bb055cf457434bc96c43b70d3ea7b6be92279ce05d5d8ea7b4caa3d915215ac5bd7ee8e56418d91706f8ececa304dbe7e0e23c5ec42a029d1a60a1c9673e3a8bc942754d4d601f1847fb3539a3259c36c725f279c1ad4480f7186c1d641f377fa3d7ee90a5bf16b8f1c7d9f289b854cb77bfd0f41a028b9634cf3adda3b5567918d2b5d0aa08bc8ccec8d0b39c561f1c92aa6b200bb8824ff50067ef87c0f55e0a981655180aef3bc335c557a9be54e1fe102818100efac2aa13cc58edb458882585cdcfead704eed622a314d923d56e3fd21924f99fe68d20bea1e2fabf67837ec6b52248a866fb6709f550643c720f631f9d860c42f66a8dbe1e36d6fe2330211c6b9b692ff2a0bae8c700f4da7a04e06388bc313e6b480949565a160940c4f0a4323d960fb89fee973960f1972108088e147418b02818100cd35a50245114f6bedf1e0b000c725f1e659b446a05faa14542ef088fe8555fe7c19c4e97e58bcedc9813eb7bf700b59494338b7208c24d256f73c6d72af2c05ad7776de913053eddfb44e0f7db687654a3ee89fe095c331d9bc2b01ae9cb520e8355eda2e5516dd2f4c4459bc16b40bd95174f11a548c3589984d4306f05ab102818100a06245e4c0163412e7e501d4bfcfe35d8cda44607c7ba1bd4aeeea826a04cedfee2f96e0023b510b7253e09884f8e31b0ffb91caabd4e9ec5144ed7b6406383b10bd522252772eb4c05a01f88353a3a99ab7383a0620b71cf01f861703a0035b3df76c5401e590a8606a1c3a71d37b943abf8da60b834f7767ad435655eaa92102818100cd1996c8c3fb5f2402784417e54f262fb609665348ab14b4a8c71985f2cd957b7ad1ceab88aa6c7a4572361b34ed698a5ddd1fec784d59e8191f9677d5ae1b13b9a2b35e1442f73fc2dcd5404a678abfc40b4839b3203c2db0ef8f14694f1b01bed4c8eecc6c232402c7f970aebb0a4ce571b2addfa12d59bd2249e67a22f4a102818100d4b887f8d46a40a14d6582c7fb2eba4fbd715757ae88ba1f644a297483e364a1286503aeab798d30f4d2eae9710b5b71fcc2d132314da4daabd252020527312b3e9f7d4d8d3c4c8df4645720c337d10f3706c06d181c48bfaf35c18ec759da166e3c9312828fff9932bf227d8777dce56ff003301072c620e7380be48aeffb99", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 38, + "comment" : "ciphertext has high hamming weight", + "msg" : "a4f7ea4da2d695750150d5c9889a6b4ad0a183184a9561b9dfe0afafaccf16010628cc51c68d5035919edaa1ed462d06c4b5feb649be3c60f7bdc1e4a964e758bb0541382b61b49a77314e08b3a88f65d3b5ca2d49b15ff8afa229f462535fcf7f3f20dc01d824927040446a8136cc22ef049b2c", + "ct" : "00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "2b09c12e8d0e96b3ae88077ee960021adcaedff938ba7d13da0e7152efa04e17d7beff53f0a714ae3197a5b44685e5b4a002d96ab8fe83cdba7cc0b84184a9a18648951fffc3e0a580f6411ac053c4de699b27c44371c9af451285b46d8507f13eac5a21a0cee6485af5a7036223e7d70ccf5d5d3747397ba7acc60d9d8e37b875498d06e7ca08c93cde6d8d7263cc0c696032fe973750d617b979c7afc2628938a2bb3ef6d787955b198dd114bf6af63a28e0fd7d32c85aca53c0255972841f99c4a4707afbc05c329aeb3f3daa4325e80116fdeb38f8a452f1ad4280e324df9edb9c471dffb27b679381ee11b01a656e183aab9b5b480d7ef81d0a5a3a0d01", + "e" : "010001", + "keysize" : 2048, + "n" : "009ed120a37de2127bb18615516cd7931182ad62d39d1ce99adb21d60b8b940830843ffc9537bda7be9760bd49fa61809ce9467a6e0baa28c479006465827e15c4ba08b2a1be1873e96bdfbdd2d129208ce4b15fef184dae5f3b874e0da757f2f1cbd7c43cd0445e6eb879cd292f2759df8c50de0c4a53bada3179f889f81936fe12bdd9c906d80781963781e877e4981ea4c394417965c24d82730c15a3c1ec338873b536552ae1f6d92fb39653a8ebad8338a8dd16492673a18d3c123edcdea1e100f15adc127e04ddf4c4acf2d1c44e875d65de40c4f51dde0249dd58528a371a7c764f0589d342d52bedae8e7e8889f17f9bc0c0c14237b34a8ef7c4b6b56b", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "KwnBLo0OlrOuiAd-6WACGtyu3_k4un0T2g5xUu-gThfXvv9T8KcUrjGXpbRGheW0oALZarj-g826fMC4QYSpoYZIlR__w-ClgPZBGsBTxN5pmyfEQ3HJr0UShbRthQfxPqxaIaDO5kha9acDYiPn1wzPXV03Rzl7p6zGDZ2ON7h1SY0G58oIyTzebY1yY8wMaWAy_pc3UNYXuXnHr8JiiTiiuz7214eVWxmN0RS_avY6KOD9fTLIWspTwCVZcoQfmcSkcHr7wFwymus_PapDJegBFv3rOPikUvGtQoDjJN-e25xHHf-ye2eTge4RsBplbhg6q5tbSA1--B0KWjoNAQ", + "dp" : "ouz8JOsCXO2itDPOB7OTnNlIyT8LCVAbGVDOURy_Kq2g1E9cnDc4cP4eFvuGEUl68PwcGTJTUPyQKNH8nNWrCnTwIDXyanWvlfZ9jVF4s5Jm9zagGH9VOILuPzkWX0c0SFHMHb2LQ9wIW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SDKcXSviy9TQegjhxrMe3+Emx2LRgoQLY5C4YidnMEZ\nXGharCdcdRzlvIKDa2JLF8+FjzaTED3LqvkkHUUCgYEAouz8JOsCXO2itDPOB7OT\nnNlIyT8LCVAbGVDOURy/Kq2g1E9cnDc4cP4eFvuGEUl68PwcGTJTUPyQKNH8nNWr\nCnTwIDXyanWvlfZ9jVF4s5Jm9zagGH9VOILuPzkWX0c0SFHMHb2LQ9wIWAJ6x+lc\nL9GpXl7TlCu42IKkuqIgssECgYAgiCNPFDodnrbWjcBud+amiTAm12AAr/bqKaf4\nkoq85tTqK3B4Fh04DVstAmCFq0s7xjHHN0IJYHf15tj/kMTf8W1cG/Fmlkn4X/0I\nC8TVuDngt1rb0igbj87du46WhmaQa+YmxZ88n8dOG1prua7HN532cwNIkWAGcDQm\nONchgQKBgBvNEdZe8+LCVr1Rk9vyu1rzaLxyaDiw85Hnhdj6ynBPW5Men7/L6mHH\nZXA1XkvlE62xHflDr94itc45Siczl+4j6WEWMp4ULMcxydYGodvwp8N93pIhbgEX\nSaN5Jm+k0LFjlcLNvex+ClL18WRx9FnAP+1ebB8jMVZCE6LqNO+9\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bd020100300d06092a864886f70d0101010500048204a7308204a302010002820101009ed120a37de2127bb18615516cd7931182ad62d39d1ce99adb21d60b8b940830843ffc9537bda7be9760bd49fa61809ce9467a6e0baa28c479006465827e15c4ba08b2a1be1873e96bdfbdd2d129208ce4b15fef184dae5f3b874e0da757f2f1cbd7c43cd0445e6eb879cd292f2759df8c50de0c4a53bada3179f889f81936fe12bdd9c906d80781963781e877e4981ea4c394417965c24d82730c15a3c1ec338873b536552ae1f6d92fb39653a8ebad8338a8dd16492673a18d3c123edcdea1e100f15adc127e04ddf4c4acf2d1c44e875d65de40c4f51dde0249dd58528a371a7c764f0589d342d52bedae8e7e8889f17f9bc0c0c14237b34a8ef7c4b6b56b0203010001028201002b09c12e8d0e96b3ae88077ee960021adcaedff938ba7d13da0e7152efa04e17d7beff53f0a714ae3197a5b44685e5b4a002d96ab8fe83cdba7cc0b84184a9a18648951fffc3e0a580f6411ac053c4de699b27c44371c9af451285b46d8507f13eac5a21a0cee6485af5a7036223e7d70ccf5d5d3747397ba7acc60d9d8e37b875498d06e7ca08c93cde6d8d7263cc0c696032fe973750d617b979c7afc2628938a2bb3ef6d787955b198dd114bf6af63a28e0fd7d32c85aca53c0255972841f99c4a4707afbc05c329aeb3f3daa4325e80116fdeb38f8a452f1ad4280e324df9edb9c471dffb27b679381ee11b01a656e183aab9b5b480d7ef81d0a5a3a0d0102818100cede080639a5e44e156f5e205aca552678ce7eb0962e7a633da3827832de3b43310d183539b5d3716e60eb04bf26a4cd580a38ec8cd697ce544d4d7a47d3eae4625fa60a9138dbc8d397590e332277168281f8d09eddc95cf7254ec1bbe0165104f33eed294f3417ddfa05ce88ab961b354afda8f4fc075d805fd8f19762faef02818100c48987b8d0a44a9783e66ecbcdfa750364f8d39f8030b50a6f05b6cd464ee6bd36048a1173b1f745b977f01576c0170dc27cebed558d3af636e64bde2b4655ba4bd48520ca7174af8b2f5341e823871acc7b7f849b1d8b460a102d8e42e1889d9cc1195c685aac275c751ce5bc82836b624b17cf858f3693103dcbaaf9241d4502818100a2ecfc24eb025ceda2b433ce07b3939cd948c93f0b09501b1950ce511cbf2aada0d44f5c9c373870fe1e16fb8611497af0fc1c19325350fc9028d1fc9cd5ab0a74f02035f26a75af95f67d8d5178b39266f736a0187f553882ee3f39165f47344851cc1dbd8b43dc0858027ac7e95c2fd1a95e5ed3942bb8d882a4baa220b2c10281802088234f143a1d9eb6d68dc06e77e6a6893026d76000aff6ea29a7f8928abce6d4ea2b7078161d380d5b2d026085ab4b3bc631c73742096077f5e6d8ff90c4dff16d5c1bf1669649f85ffd080bc4d5b839e0b75adbd2281b8fceddbb8e968666906be626c59f3c9fc74e1b5a6bb9aec7379df673034891600670342638d721810281801bcd11d65ef3e2c256bd5193dbf2bb5af368bc726838b0f391e785d8faca704f5b931e9fbfcbea61c76570355e4be513adb11df943afde22b5ce394a273397ee23e96116329e142cc731c9d606a1dbf0a7c37dde92216e011749a379266fa4d0b16395c2cdbdec7e0a52f5f16471f459c03fed5e6c1f2331564213a2ea34efbd", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 39, + "comment" : "ciphertext mod p,q has high hamming weight", + "msg" : "0148726644c9d20762c9546d18d3c13c620f4b3b4073c68c4f9dca924acede084e66cc1e31cc7135b53b483fd32d866517aee3db019e56d161787ee6e873f6c4f08acfc58222871dd6ccec5e2dd1898990c6cd98340a12fb7f7b404d15a5dbc26bbcb2f18547ba2d62c5a5923f9ed5b90ceffd597e8dda192de98fc3c7ebc169863de9f56bdd549404a690b3ef50a59e29375557c88f", + "ct" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "0dc7c66696abbe32b7e45e194277ba258a94a0513c77de6674b128c8c37aa6c54618b4514c0e543ddaa40b4f98be347d48385ef4a54ec9516bce481a742fc15c85b26c01dae4430913d9048a38039d0fd0d61ecfca8aa2029c493ccb342e2d5acdaaf0f80fcaebda7fd5a0b629c63a4f82f29840193b6d68411c3b6352111ecd7335809a380e647c57babc7ce9a1410011feda9ab0fdcfea820bbfde5652f6b1658bed43ee719d054939467846d98771019225eef193480995dc4fc6fd12ff6534f35027b8d15a7afe90187081886db0e7e3530cf60ea98ce5704291737b8e9b26b53e40a6508e34b91c136967f8e633e9ed95f65b89fc3e4d3fc88f491921e9", + "e" : "010001", + "keysize" : 2048, + "n" : "00c7ac781ffb9a9f691c4dfe64e47de98b8f265e667d5fc2532668caf63921ead3d8440e605a89c7c017a722c9d654db1fe7de724689bb35d684fe038d018a3f4b47e0da7d79c09ab4b74660101b0b8cf5120d39718f0d1b11818c422220caf09a9324fede40ce3a9ab9c45ffb28f192688dd838c085c64df9eaa20429bd59c2757732ce09ae78179b99da63c1c94efec3426f81b63b8f31478f50f826ea378f391223d841aa55c72eda9094e88d658a0972d92468ce651573f0212244e04ad0d95d61f95924f65aa85c316771f18edb27e9a71a53e763c7786f14589514a7029791388fabe024e39ab31ec634a4dd85e334360791092a4d3a15d547ac40ca1fc7", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "DcfGZparvjK35F4ZQne6JYqUoFE8d95mdLEoyMN6psVGGLRRTA5UPdqkC0-YvjR9SDhe9KVOyVFrzkgadC_BXIWybAHa5EMJE9kEijgDnQ_Q1h7PyoqiApxJPMs0Li1azarw-A_K69p_1aC2KcY6T4LymEAZO21oQRw7Y1IRHs1zNYCaOA5kfFe6vHzpoUEAEf7amrD9z-qCC7_eVlL2sWWL7UPucZ0FSTlGeEbZh3EBkiXu8ZNICZXcT8b9Ev9lNPNQJ7jRWnr-kBhwgYhtsOfjUwz2DqmM5XBCkXN7jpsmtT5AplCONLkcE2ln-OYz6e2V9luJ_D5NP8iPSRkh6Q", + "dp" : "PRGFM91jgFYNOCscneD-BUHphj07ZcocRiT_f2ryg0hy-3OeNk0npUA1QZbVueFR59bkuJnwqtTuLRse-zOHkyirHMPH3VZye63j-ytSFQJ3VzbRI8auHNn2qhDEwwg6ULHvIcUv1Mv7ILI9sPhXoprqp1FE2WJ3FiDELVLkwt0", + "dq" : "isQ1Y0GNgdHRIc_I1F24xOrIubVc5pSSOa_4EmoLYUZFeHJGxj3d-Zd7Oti03E5UZMPbtdWTWsCR7hYN19uBOCZtY4UaHL8SItUv96B3OpoNlkTEB-VCQm8ikgxhxytSXvEuLDpqm5fPKGmH8PpE9AqsrLTBVbc45g0_UNDDZY0", + "e" : "AQAB", + "kid" : "none", + "k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se8hxS/Uy/sgsj2w+Fei\nmuqnUUTZYncWIMQtUuTC3QKBgQCKxDVjQY2B0dEhz8jUXbjE6si5tVzmlJI5r/gS\nagthRkV4ckbGPd35l3s62LTcTlRkw9u11ZNawJHuFg3X24E4Jm1jhRocvxIi1S/3\noHc6mg2WRMQH5UJCbyKSDGHHK1Je8S4sOmqbl88oaYfw+kT0CqystMFVtzjmDT9Q\n0MNljQKBgQDvccW8lR18YWukjJE5GUgJMKhkRQ2JN3bqzyGETMsK527v+BTqxam1\nDCBp2CLicK2tlO0Z/W7w3j9xVKakErx4T3jstcHLCb1VQHMlZtNJdgXM46bgzmnJ\nXdgD8pEYOyda/HgJccG1B7Itry/QYLBa4ncmmqNkiVh9WoTKIq0ZdQ==\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204be020100300d06092a864886f70d0101010500048204a8308204a40201000282010100c7ac781ffb9a9f691c4dfe64e47de98b8f265e667d5fc2532668caf63921ead3d8440e605a89c7c017a722c9d654db1fe7de724689bb35d684fe038d018a3f4b47e0da7d79c09ab4b74660101b0b8cf5120d39718f0d1b11818c422220caf09a9324fede40ce3a9ab9c45ffb28f192688dd838c085c64df9eaa20429bd59c2757732ce09ae78179b99da63c1c94efec3426f81b63b8f31478f50f826ea378f391223d841aa55c72eda9094e88d658a0972d92468ce651573f0212244e04ad0d95d61f95924f65aa85c316771f18edb27e9a71a53e763c7786f14589514a7029791388fabe024e39ab31ec634a4dd85e334360791092a4d3a15d547ac40ca1fc70203010001028201000dc7c66696abbe32b7e45e194277ba258a94a0513c77de6674b128c8c37aa6c54618b4514c0e543ddaa40b4f98be347d48385ef4a54ec9516bce481a742fc15c85b26c01dae4430913d9048a38039d0fd0d61ecfca8aa2029c493ccb342e2d5acdaaf0f80fcaebda7fd5a0b629c63a4f82f29840193b6d68411c3b6352111ecd7335809a380e647c57babc7ce9a1410011feda9ab0fdcfea820bbfde5652f6b1658bed43ee719d054939467846d98771019225eef193480995dc4fc6fd12ff6534f35027b8d15a7afe90187081886db0e7e3530cf60ea98ce5704291737b8e9b26b53e40a6508e34b91c136967f8e633e9ed95f65b89fc3e4d3fc88f491921e902818100fa2be1bf12c6b55c095112496edb08a523ba9e24d4aed479bf4eea882f240a49e6c77d940c99755549cf30cebc218661a1791481a8a63dbab209f126cb43fd29a41ef05513a2e7c5258bf2b40b17e98abe31d52f2ef26db3c487609c6ab2b9e69a84f11d0860f09a62d6d52f524035af9530d78381d1954e632562b3a7d4911302818100cc536656010736f6ef6492a2da5bd075e7faa46db5dc67e11d7a7205d826c31de8371f502fc9d21c39d7e0df2983f491db457d0591b98b5259a911cd0a3788573d2a858874a76cfb440e2a477ed59f4c988332730c583e1db2b131273e132eac0590a49ec595d90198f75ee8f1cfd8c97d50b2a19f1956d60c8ffba9e30640fd0281803d118533dd6380560d382b1c9de0fe0541e9863d3b65ca1c4624ff7f6af2834872fb739e364d27a540354196d5b9e151e7d6e4b899f0aad4ee2d1b1efb33879328ab1cc3c7dd56727bade3fb2b521502775736d123c6ae1cd9f6aa10c4c3083a50b1ef21c52fd4cbfb20b23db0f857a29aeaa75144d962771620c42d52e4c2dd028181008ac43563418d81d1d121cfc8d45db8c4eac8b9b55ce6949239aff8126a0b614645787246c63dddf9977b3ad8b4dc4e5464c3dbb5d5935ac091ee160dd7db8138266d63851a1cbf1222d52ff7a0773a9a0d9644c407e542426f22920c61c72b525ef12e2c3a6a9b97cf286987f0fa44f40aacacb4c155b738e60d3f50d0c3658d02818100ef71c5bc951d7c616ba48c913919480930a864450d893776eacf21844ccb0ae76eeff814eac5a9b50c2069d822e270adad94ed19fd6ef0de3f7154a6a412bc784f78ecb5c1cb09bd5540732566d3497605cce3a6e0ce69c95dd803f291183b275afc780971c1b507b22daf2fd060b05ae277269aa36489587d5a84ca22ad1975", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 40, + "comment" : "ciphertext mod p,q has low hamming weight", + "msg" : "30bc6828ea18265687b8bd3bae90a8c1", + "ct" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "4c340ee9111801978db8d5de581b8c825bab65e64165f5d83c7d99551c21e1e202a12a0e905ede10fb8ac383e89d736f3458370d1429e764fcedbfd7465686abee6c1e6755f08880314ffbc2ed473041095680da453a40e780e301e4a6f600fee8d25ed421e1f4732e231485d5380d995e83858eccf4511c5781c71b7a0a7cb41d7238c3dab14a136d6c3bb829347dd5e7e45d8d76c0db0c55f384f9c118de3442573e992a1ad3f81e6b0475ee302609b22b4defaafe8339c29d371732cd66a1bcecc7c84da5aa58685b84cce664e9211fcc8b21bd81d4d1cec3471bd52a729e24785b4ea510ef638a6596b9ab2638904532df185642b823a04d7d6bd8fd73e1", + "e" : "010001", + "keysize" : 2048, + "n" : "00a6fa514e4abb5a0c7078f4db7a2edbded360d84197a9fd5d8c23d3e43641df5a9ac31b425001e766386751dbba10a824f969b5f05d2f5672ae22fad8f66ba21bc233ca72c87987565605be718e7871422f800a471c7f96044721d30f8f3ed55b5a103554270c5a99ef773602279c87e649f15d3d3aa1d6f8ed3f6308825b97434975f65359be75362bd95b6a6347b994951db1b2ad97ee12e21c8284f82392f6d08cf26470f76c4bbfbfc608d499a1b263968962134cff8010b2f15c3c7b19c0858c63e6f412727d196fc229d24651c839093466982a81bc2673f58b6e8625830eff0a22a3af66b9c9c1e47a99aa057ab8c0d16b16bb479a751ef3a3f1653c5f", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "TDQO6REYAZeNuNXeWBuMglurZeZBZfXYPH2ZVRwh4eICoSoOkF7eEPuKw4PonXNvNFg3DRQp52T87b_XRlaGq-5sHmdV8IiAMU_7wu1HMEEJVoDaRTpA54D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70d0101010500048204a6308204a20201000282010100a6fa514e4abb5a0c7078f4db7a2edbded360d84197a9fd5d8c23d3e43641df5a9ac31b425001e766386751dbba10a824f969b5f05d2f5672ae22fad8f66ba21bc233ca72c87987565605be718e7871422f800a471c7f96044721d30f8f3ed55b5a103554270c5a99ef773602279c87e649f15d3d3aa1d6f8ed3f6308825b97434975f65359be75362bd95b6a6347b994951db1b2ad97ee12e21c8284f82392f6d08cf26470f76c4bbfbfc608d499a1b263968962134cff8010b2f15c3c7b19c0858c63e6f412727d196fc229d24651c839093466982a81bc2673f58b6e8625830eff0a22a3af66b9c9c1e47a99aa057ab8c0d16b16bb479a751ef3a3f1653c5f0203010001028201004c340ee9111801978db8d5de581b8c825bab65e64165f5d83c7d99551c21e1e202a12a0e905ede10fb8ac383e89d736f3458370d1429e764fcedbfd7465686abee6c1e6755f08880314ffbc2ed473041095680da453a40e780e301e4a6f600fee8d25ed421e1f4732e231485d5380d995e83858eccf4511c5781c71b7a0a7cb41d7238c3dab14a136d6c3bb829347dd5e7e45d8d76c0db0c55f384f9c118de3442573e992a1ad3f81e6b0475ee302609b22b4defaafe8339c29d371732cd66a1bcecc7c84da5aa58685b84cce664e9211fcc8b21bd81d4d1cec3471bd52a729e24785b4ea510ef638a6596b9ab2638904532df185642b823a04d7d6bd8fd73e102818100e99c2ac2c9e1cabe0c54efccea49f9fbb1d4c0999ed8f3dcdd6b8300d83772ccfff4c9ddbfcfdda0c5ab01679bf0423b2b481488cde9e5307224fee2d37435183efe825d1870b8545e612f3ee8694817270f28f7a62ea122ae2fd0c30498af9ebf9c078f17e9ea065fabf753354b869b4110fcb4b82990950236b728d4ca4eaf02818100b6fb44ce7578f18a1c48e5d6a86e0768043e94cbbf56b38042fcb90b8a6b9d20c352b9cee2376ac317fa42cfb5bab87e05d7423f136efb2fe433a1ca7129645a2f3334d1dae55ab0265d8ec7a7f78f02cfe6dd269d1d1378716b03365d3922967438c1358075aaf3821c48eed9b59f85be1197b9c17f3fc52c5e77da9650d9510281807120d0505e257ae207e4c5efecf1801e94229c56886735c91a6ceb16e89e09791ee6732f70a90001d0579ca98909937945df751a3ee56ab8c83e0434e2039f86ab52e2dca46e49c589a2f49739436ac6d38272eb62cda7f8bc73a95c1788bd5b5a1cfc481e63879228988580050a1b186a2d08c3977f8165b799b99f0b55213f02818064ede1fd1374db9e378dca21061472c76017f8d10dc050107e6291db18c5d50cbe504227284633005b987203ca14ad30ee1dd6ef9dd3887fd91ad5b2298b104c625e9752edafb6bf14da642822b0fd542ac307d705b0850dd95992930906bbda4b4f06db70f8f68b8c87f77eafdd6b9944c6c56ef39931de9b639c2e98dd0d9102818072949cbe1de1edc01c21d2bda3f13ad55e950c0823c928c9af117f004cb42e4a1ab01d7f139ab1578643c833e5c580b822044bdb03a31ea5ced1070ca9f198919264aec69ad137338ac7a7753f77846f4701f0b458acc22aab16ee8983c7efcfe9ffc1d17171c9906ffaa5c0623c2a496862ae30aae81a73f1166b21ee6ee153", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 41, + "comment" : "special case ciphertext", + "msg" : "5428c34ab4a93dedef450347e9b89b894fa6c6b1c07e0205f5b4505cf0e65954760e3ce92a170499dfc10d5f3b4ee72843bd394d04f0310db1f7dc47950ebe88b3d32492d7170814dde0e0564560740f6bc7c34a64a9547977b446e8f9edbec97246e113e6f86a2e81cdbdef6531016638196eaa8cab3cd7c6f6fbdc8a60e5b48698993310872429cf5baa34f32c6fd9320265", + "ct" : "537d28a7255dad06383c7a6dbd176def69b06c20cbd4feaec611e9f21b20efad4d618da12800f3b31c33a8eddd0854127cb4daf82e97ab3957117d6c7b35d10de119e539643cc3ab2b02df38c73c38a117c005238e3fcb022390e987c79f6aadad081aaa13862d4cf7bb9b0113ce43f324f8ae9e9d50eb7c769fb184412dcba1a4bafb29acdf3a9b15ecadb531a3dcca4a8ed8d956cbf709710e41427c11c97b68467932387bb625dfdfe3046a4cd0d931cb44b109a67fc0085978ae1e3d8ce042c631f37a09393e8cb7e114e92328e41c849a334c1540de1339fac5b74312c1877f851151d7b35ce4e0f23d4cd502bd5c6068b58b5da3cd3a8f79d1f8b29e30", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "1de8594775dc196abf0c3cd0c072e60d376db575f2b3ae3b1c082cfd91186621dcef7fc575d0361d755270f7cc01ade8b93c018d8bb883adc5b10a6c75ab9bd7f65c336e3e0d2165e4534477e38ede3c7dac1a784fe02fa3202170003273e3f6b10771033ddbc9cdec6f9f6d308783a76853be9a4fe49bffbce84e65bf29308d956a7375fef2d1a41c60f980817d9a95f485ab29e441805c615cbe6ee17794231b5207c53a21f11ea2f16f576a43a9279702d8614ef8136cb0d69a105308bbe0e7707d88716c8970b4c4d5e3ce41a400b379bc2a5b6307a6063f641b38934fba06bc3af42e4b4d587086309882180bfff4d8974baf6fa3d17ee094a9454d2be1", + "e" : "010001", + "keysize" : 2048, + "n" : "00aca199738e9f86f0e76696188f4d366e6c900d11d0de3ed586f371172e2cfc94289d93411b51d82ca16f63a9e4586d8b0198418307093b1475660d055e4b2940662fee32a10ffefc62df6a2d8bb811eedcb461529ed548e6e094fe8c7a91703524b5af85add10113655c934bcd6b8dcc0d0ee6edcb08f8a84fe871f44f85b2aff13a968bc12a960f8c93877f1bf22d18ac581878a0e6e7643781c91c65ec0135cac31fba6dbb3cf36acf9e3168571edb6d26b02b5c011dd10b57462d0abeb0c2d3d4e0f89680f2834b117215c6d79b3ed938b657b45decedf1524b095dc6160c18dbe58cf8d0a251ec2f9f737bb81997cd863d94c535eec63ff5e6000d80fa13", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "HehZR3XcGWq_DDzQwHLmDTdttXXys647HAgs_ZEYZiHc73_FddA2HXVScPfMAa3ouTwBjYu4g63FsQpsdaub1_ZcM24-DSFl5FNEd-OO3jx9rBp4T-AvoyAhcAAyc-P2sQdxAz3byc3sb59tMIeDp2hTvppP5Jv_vOhOZb8pMI2VanN1_vLRpBxg-YCBfZqV9IWrKeRBgFxhXL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hwhjCYghgL//TYl0uvb6PRfuCU\nqUVNK+ECgYEA7H5Kej6krqAiz0tcqm2f8598goXW3ZeJ+Q9CRiF6P0uzQqN3BGoh\nbiFIdNHTtP9Znh/ptw2BrFou0rvRih7Fu6OEMcJsYU9dR0tcpW14w2oofGiA4/8t\nPRQw/klsfA35cN849pm3kZgZtIcsrv4taEipdm29ATzPjJYFpunGn3kCgYEAut7R\nzs5l9sqX35wbV1xTWAbeY39zg6OBR3xoLm3JEaAmRGUxGvY24TujKKH33IiA26Se\naDxtzXBzvBODYtav32LKDmJs7l/5oyWrLrBHkZD4eH2L97TD5+0bS1aKu537JtTR\nYAE5Ljkr1+sqpTYQnyc8A4cFbNq0CSRcxD09xusCgYEA1naQw9sbLOE7sBD/r+5K\nJ3xyRUtqVvmdvacAyuiBG/ViUwQ6Yl58gorcUlQWUQVgF+2I3N/6wHnoDGMW2tKd\nLlRTBWzzLCv0wzqsgbiM02np3ShH+nrmY4V0CKY9IyLpGlrUJY2w0u/EH9qVwvvt\n4axDQYqy4/Rpo2xJI9zMqsECgYAqfbwLYFdDFLIQAHkfFjlFTNqImVR03FrrHFi8\nJe6QeW/6IWBXFyFHeb4R4TJxDQDv8LCsVwFIs4c9ftpjQRngm6ACQVMvqNckx83y\n4daEPQiirTmEa7AYLowER3toSfXv0HiDcgPEhO95O1oJExAYgF1fF/ad1+UUJxaI\n8Lv5XQKBgQDAF2krOvitBQb7I9wC8dIgx7mdaLkeP5eQHBDpx3LlN/X2ECcgrfel\nXmvv9pDH5I8MEiveqB9WvWVhozbXMYjjziE6yFP3RPDsW47BCpubBDPsxKN9mXB3\nngkTvEvSXSER6JKG3cusrNI6E+XX4DWMNWgdVY+qSE6BBKMJOOOLtg==\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204be020100300d06092a864886f70d0101010500048204a8308204a40201000282010100aca199738e9f86f0e76696188f4d366e6c900d11d0de3ed586f371172e2cfc94289d93411b51d82ca16f63a9e4586d8b0198418307093b1475660d055e4b2940662fee32a10ffefc62df6a2d8bb811eedcb461529ed548e6e094fe8c7a91703524b5af85add10113655c934bcd6b8dcc0d0ee6edcb08f8a84fe871f44f85b2aff13a968bc12a960f8c93877f1bf22d18ac581878a0e6e7643781c91c65ec0135cac31fba6dbb3cf36acf9e3168571edb6d26b02b5c011dd10b57462d0abeb0c2d3d4e0f89680f2834b117215c6d79b3ed938b657b45decedf1524b095dc6160c18dbe58cf8d0a251ec2f9f737bb81997cd863d94c535eec63ff5e6000d80fa130203010001028201001de8594775dc196abf0c3cd0c072e60d376db575f2b3ae3b1c082cfd91186621dcef7fc575d0361d755270f7cc01ade8b93c018d8bb883adc5b10a6c75ab9bd7f65c336e3e0d2165e4534477e38ede3c7dac1a784fe02fa3202170003273e3f6b10771033ddbc9cdec6f9f6d308783a76853be9a4fe49bffbce84e65bf29308d956a7375fef2d1a41c60f980817d9a95f485ab29e441805c615cbe6ee17794231b5207c53a21f11ea2f16f576a43a9279702d8614ef8136cb0d69a105308bbe0e7707d88716c8970b4c4d5e3ce41a400b379bc2a5b6307a6063f641b38934fba06bc3af42e4b4d587086309882180bfff4d8974baf6fa3d17ee094a9454d2be102818100ec7e4a7a3ea4aea022cf4b5caa6d9ff39f7c8285d6dd9789f90f4246217a3f4bb342a377046a216e214874d1d3b4ff599e1fe9b70d81ac5a2ed2bbd18a1ec5bba38431c26c614f5d474b5ca56d78c36a287c6880e3ff2d3d1430fe496c7c0df970df38f699b7919819b4872caefe2d6848a9766dbd013ccf8c9605a6e9c69f7902818100baded1cece65f6ca97df9c1b575c535806de637f7383a381477c682e6dc911a0264465311af636e13ba328a1f7dc8880dba49e683c6dcd7073bc138362d6afdf62ca0e626cee5ff9a325ab2eb0479190f8787d8bf7b4c3e7ed1b4b568abb9dfb26d4d16001392e392bd7eb2aa536109f273c0387056cdab409245cc43d3dc6eb02818100d67690c3db1b2ce13bb010ffafee4a277c72454b6a56f99dbda700cae8811bf56253043a625e7c828adc52541651056017ed88dcdffac079e80c6316dad29d2e5453056cf32c2bf4c33aac81b88cd369e9dd2847fa7ae663857408a63d2322e91a5ad4258db0d2efc41fda95c2fbede1ac43418ab2e3f469a36c4923dcccaac10281802a7dbc0b60574314b21000791f1639454cda88995474dc5aeb1c58bc25ee90796ffa21605717214779be11e132710d00eff0b0ac570148b3873d7eda634119e09ba00241532fa8d724c7cdf2e1d6843d08a2ad39846bb0182e8c04477b6849f5efd078837203c484ef793b5a09131018805d5f17f69dd7e514271688f0bbf95d02818100c017692b3af8ad0506fb23dc02f1d220c7b99d68b91e3f97901c10e9c772e537f5f6102720adf7a55e6beff690c7e48f0c122bdea81f56bd6561a336d73188e3ce213ac853f744f0ec5b8ec10a9b9b0433ecc4a37d9970779e0913bc4bd25d2111e89286ddcbacacd23a13e5d7e0358c35681d558faa484e8104a30938e38bb6", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 42, + "comment" : "ciphertext is a simple fraction", + "msg" : "9d01acafe3375c444a74d3ed74166e8728eb6657c7644677579720aa8ffebe64f52e36b449f8a0fe79e07bd59e46aa48c83088ac38bf10a3e036158c198a2a3fed283b2710b632e0741f970969b475bc4ae8355e60c440f71f304a1363b24819a351d5147836febbe249d65ef3c483a76df46a019a2f3eecfdf0c18c0ab11de90313cd9af93a857dbaf8049c6efede83274440ece9c2103d00e942ca65a8efbebe6190d9e5ed61816804d941d027cccae2966854b38ea07bcef857e5fc3fb4aa5f3c4c56360007f972d5d6d6740a585d000df619d3466032930a856c2ee14db5e6960c8e9ffe79107e212cdd6e082eccb10a", + "ct" : "171759da87532242dcbd4821488d4861c1d87a2479c655e945d02cb5de9799f5f6199413101e0caf24bcfa7319b91da481b3c717dbd894f9f7fe814964cdc5d2f5daab161c5d36346ec30a5d8e8e959df25fc107ce2fe831aeceafcd580dd9d6e862b0dc67c97786947a06788dc037794ba3bac7d6c1dd87f0d0acc4b65d0f05965884a3a6b57c50a3cd7b758907b45f877bace2102e28e61dac68cafdb0cafe635664f27d005bf03c809114e6d2d3ef06f18effdcd8f4b223506259765efbd632be128b67b268df2e6f99714325d7cf089110aedbb55d0556c76a164cb6534b36c0ab6fee98e4d0f8db7a76bac1d9b8328b928e6601092ff61caf0298175a39", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "16253d566d6f2660896b3504d2ded2d2c264cf22f9524487bcaf5c0df7075e3a97cf959fe7b78d33c217b47f25d85f30b00f1ad3347d6bfb090382ba45d620342e7532f65627b2bb411d383aab5ffcba33fc32dd06bff027229e4f542d42f9e4fded45637a2d43d42d2e0c527ad28d60a837a45bdf8c39376ac9c13f9b8a39ee93846c65fb70f129e37e5a3d21b5237448e3b78fb128bebe81c78a39c6fcbf0ffa2ee6beba1b5be02e2a7c4c2586380889275ed22f6d1153c1782643fc792542859e8ebbd5da60a8c6b27bd7d22d28089d6a369a0d8188dceb90fa6aa72449a6f58a07575d131dbf4f72a1f05864824511d713ff6350f10e2ab42f36fa37ae01", + "e" : "010001", + "keysize" : 2048, + "n" : "00af1d441122c45188e3b2daef70cacd253a0e611af2d17a60e703baba696e5ef2d7ca0d53eeeedaca1c079ddd3b0b0732e15a4839cd1daac35ddacd85b368f5721eee409a7983bbe3f2eb09a23632a8d700b1235fadde1ce1f05a8013a9bc05302e08027e8102e755877b59f65625d029312ed813e3960410ed419b787cd8235e002c26f1f7bd7e03754ec0fc12087edb85dc793757324ca90611a22364bba069f084fcfe7730a98f6f6b784e65b84643443e38b317af8cf99c7e4711f7303c7c323b3ca4b6b306b76bc9f554b9713fed313713d98438efcb3cc9c6d4958ba84bd80f2989e4e059005a6585ec18c6c6c887c143d9ed962303d6c74c21771184f3", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "FiU9Vm1vJmCJazUE0t7S0sJkzyL5UkSHvK9cDfcHXjqXz5Wf57eNM8IXtH8l2F8wsA8a0zR9a_sJA4K6RdYgNC51MvZWJ7K7QR04Oqtf_Loz_DLdBr_wJyKeT1QtQvnk_e1FY3otQ9QtLgxSetKNYKg3pFvfjDk3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xrJ7\n19ItKAidajaaDYGI3OuQ+mqnJEmm9YoHV10THb9PcqHwWGSCRRHXE/9jUPEOKrQv\nNvo3rgECgYEA6hWG8vvf3n97W/hkCnV+iXcWzX58NCa5w98Qa/atNiQrEAIcxMI7\nLn3/MRTA9mYjz+nfbplGCZ5FsbdUR9oTMaXL60CwGRkB5PspZDj8bJ200vSW7FqJ\nHubDrBriBai8NiFkL39YxwEjY1Th3/VY0yfT/pFkX1MawzdJOM/6upsCgYEAv4Jd\nc1/55dpRqbX0E9v8E2f6Cv/AigMdsrC3PFWjeq7AjKxgMCSb+9B5yvlXF/F1aPcw\n8QbWNzkm/MFH+ot7drD5EVEarANbWnm23Unwjm/vdE6ShzOz0UPNlG+FmEJtEBtV\nnnYCS0AK9sgs/dt6gxXqIASagFBupMmHAwxxeIkCgYEAib4JHsofval+SWwsUgs5\nXmJ5RIp9Q6LWBPAplZ4d5pH51P2pOA6jDISPua3grh0ETb/s/gOrNtWvZRffvDgS\nu1A4YkI6XUpd1wQEIzl1L+TNFqVeec38ifZ4hbl77qCPv7p+XYSuFMwSqsyz7TlN\n/1KcaFvdmEoqoVzS9V9MxqkCgYAN7I+Y3OiRgr8fRMB7VSpNyuiONiwsnK9jF6Aq\n/dsGB4CuebYAqhjBRVYloN1pO0AbIqXnUGTw3PHtvKvcFpoidhmV3by/tvrEaEcY\nbdDUumTBoxjaRbMUSwa+fSFMgb/mROaDv/bIu95QNRu4VWXh9AzyyQLmw3JX/uMX\nIKd7aQKBgQDht7WBg/RNuVp2f1XYKnd6/1ti9EorKTgvgj5ipFv6hzVsCJgWMU0Y\nJ0xX5ClBNaq//tk0UY9hdhxrnT/EcgHu4piUSoiMXrAEsWF5ipH/N3Xdp5XyRMy9\nrlvZDnEwHhwkzbPkOYxqKGDKZ0gbNilH+fuaW3X1s2I9fAY/1eiu1g==\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204be020100300d06092a864886f70d0101010500048204a8308204a40201000282010100af1d441122c45188e3b2daef70cacd253a0e611af2d17a60e703baba696e5ef2d7ca0d53eeeedaca1c079ddd3b0b0732e15a4839cd1daac35ddacd85b368f5721eee409a7983bbe3f2eb09a23632a8d700b1235fadde1ce1f05a8013a9bc05302e08027e8102e755877b59f65625d029312ed813e3960410ed419b787cd8235e002c26f1f7bd7e03754ec0fc12087edb85dc793757324ca90611a22364bba069f084fcfe7730a98f6f6b784e65b84643443e38b317af8cf99c7e4711f7303c7c323b3ca4b6b306b76bc9f554b9713fed313713d98438efcb3cc9c6d4958ba84bd80f2989e4e059005a6585ec18c6c6c887c143d9ed962303d6c74c21771184f302030100010282010016253d566d6f2660896b3504d2ded2d2c264cf22f9524487bcaf5c0df7075e3a97cf959fe7b78d33c217b47f25d85f30b00f1ad3347d6bfb090382ba45d620342e7532f65627b2bb411d383aab5ffcba33fc32dd06bff027229e4f542d42f9e4fded45637a2d43d42d2e0c527ad28d60a837a45bdf8c39376ac9c13f9b8a39ee93846c65fb70f129e37e5a3d21b5237448e3b78fb128bebe81c78a39c6fcbf0ffa2ee6beba1b5be02e2a7c4c2586380889275ed22f6d1153c1782643fc792542859e8ebbd5da60a8c6b27bd7d22d28089d6a369a0d8188dceb90fa6aa72449a6f58a07575d131dbf4f72a1f05864824511d713ff6350f10e2ab42f36fa37ae0102818100ea1586f2fbdfde7f7b5bf8640a757e897716cd7e7c3426b9c3df106bf6ad36242b10021cc4c23b2e7dff3114c0f66623cfe9df6e9946099e45b1b75447da1331a5cbeb40b0191901e4fb296438fc6c9db4d2f496ec5a891ee6c3ac1ae205a8bc3621642f7f58c701236354e1dff558d327d3fe91645f531ac3374938cffaba9b02818100bf825d735ff9e5da51a9b5f413dbfc1367fa0affc08a031db2b0b73c55a37aaec08cac6030249bfbd079caf95717f17568f730f106d6373926fcc147fa8b7b76b0f911511aac035b5a79b6dd49f08e6fef744e928733b3d143cd946f8598426d101b559e76024b400af6c82cfddb7a8315ea20049a80506ea4c987030c7178890281810089be091eca1fbda97e496c2c520b395e6279448a7d43a2d604f029959e1de691f9d4fda9380ea30c848fb9ade0ae1d044dbfecfe03ab36d5af6517dfbc3812bb503862423a5d4a5dd704042339752fe4cd16a55e79cdfc89f67885b97beea08fbfba7e5d84ae14cc12aaccb3ed394dff529c685bdd984a2aa15cd2f55f4cc6a90281800dec8f98dce89182bf1f44c07b552a4dcae88e362c2c9caf6317a02afddb060780ae79b600aa18c1455625a0dd693b401b22a5e75064f0dcf1edbcabdc169a22761995ddbcbfb6fac46847186dd0d4ba64c1a318da45b3144b06be7d214c81bfe644e683bff6c8bbde50351bb85565e1f40cf2c902e6c37257fee31720a77b6902818100e1b7b58183f44db95a767f55d82a777aff5b62f44a2b29382f823e62a45bfa87356c089816314d18274c57e4294135aabffed934518f61761c6b9d3fc47201eee298944a888c5eb004b161798a91ff3775dda795f244ccbdae5bd90e71301e1c24cdb3e4398c6a2860ca67481b362947f9fb9a5b75f5b3623d7c063fd5e8aed6", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 43, + "comment" : "ciphertext is a simple fraction", + "msg" : "6742f1e5ba666a102747f6c90b7afe5700249cf60192b201c6c29bfff1487b0ca4100091e9e1d94df3af18021822835b40b9c20e2bf83ef174deaebc94ac9770d8b128ade611c19256d6fb62a41301898af074254c756f8a241851f3d4a052d7745f99d9e161434af4940a80610cb2fe63520bcefda74564b02c99ee9b0d88036ac39ce547cf103fee0c1666f0757734c29577fbd2f88e11058b5f3e81f82ff3f456ddc8018f7ed740979b15da66469b", + "ct" : "46a9ee986efc30f16a6d46521865f3ebf97ee2c02d693f8f3ae746c99716ee5d10a25a8fb34fb75c735062bed816c2a2cfcc6733c9d1f1b23df893cbaa8c92dbf0e8bf93a80d8a21c1d4cd2af3da728d9aa476ae55ca700820435c02cd872d3835b4cb0f4626feecb0bbe45f35e2f80c704d9a4e1e2bc613bf06fb52f26ca5cba69c3bd96b1a3845a3fed672a52110a9e710a7710a4ffa44f1ff890c1d698882eb27b27cd8184a9f5e3d4b33a51885f23b80e97887e7099c3bea6aa76db83ac9ec6880ce784d34a4cecf841404d6295f531e6f1262ddfef28f06412670ccd2af404b76f94d98ae6c2789944b66cea2a033e2f405217624fea444666ef30c7b84", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "49afb0149ed3ee236c284e0e35bb4e6e085905bb8de274e85d5202613a0e92c461721f289781d7f43482f6249e27d595f36fff1542285590704bd15f79ce3d5749f156a3c3bc68483bb2a3f4441c8311b160413b6aa01b2b1432c620afff3612b931cb6ca7c75a07e076b6a5626174a7e3017dde310237416b3875e588dd9f188f418ccf49d8538d29da7291c5fdd7213d615e5f1d7f94768dca6112978dbdcac1f9b801ec1463e9fc2a49d34b9a638605751485e9f1129800f3ed7e73cf27edbbcb80f11655f10b900544862bf7bf89adbcd5bd23c3ebb744a688078934138a0fb930670ff4b6588f6034777ca1124cd01caa726c75d85963cb3500795401a9", + "e" : "010001", + "keysize" : 2048, + "n" : "00d932a891279753a70c0a5788da0b6c740bc78384b46c43460d9d1d7d64310f066d5d62799e115b542c05012b692c5355ca525492902c1e38ab77c96a7e7d07f651f0ab91dcc4fadf46fb5244065d58620eb6d31d736eceb027c46e4c0424d27f0f16d3e248f3bf3ca93127729f043fc1a307961188c44abe77e782e3d2a022872792425f342de097145551cce568e26f34cd0ac787baf3b7e85a768a469dfcffdb6ed2ed8cd7c433f4db4577cc10ef49a34351c8ebba3240e9a5e867374df01732156e3269f656389aee2eddfeccba60ab913bf3dc734e56b094ae1644a547af5ae4d7153a87610a51af70bd5796d6a2dd874653c5cc5cdc502d7f3358f4de79", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "Sa-wFJ7T7iNsKE4ONbtObghZBbuN4nToXVICYToOksRhch8ol4HX9DSC9iSeJ9WV82__FUIoVZBwS9Ffec49V0nxVqPDvGhIO7Kj9EQcgxGxYEE7aqAbKxQyxiCv_zYSuTHLbKfHWgfgdralYmF0p-MBfd4xAjdBazh15YjdnxiPQYzPSdhTjSnacpHF_dchPWFeXx1_lHa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NBOKD7kwZw/0tliPYDR3fKESTNAcqnJsddhZY8s1\nAHlUAakCgYEA8NbZqhBA6Kz6TWWNYyq4NCNX7fmgBTfIiDcOdHrZWEz6aDJhQ5bb\nWEsom6JYW63unSvndcGU+uz4DkEJvDY9ghHUunGwaAGFau6ZKBhgYgoZ8NSUPz19\nKv5trGxVhwCHlZvg0qH40eAY21lWIOvYqz1UgM1cGuxzyXAmnQxxObMCgYEA5t7T\nM5QTUQ+ZCKHAKJmeUw6qAp27gvVRm/QqqKj4JBsVG/leziSzXDP/6/lzdVcWzd4x\nBS/p+4Mn6m79HhZ66gJ2q7t7mW/4d0KFNMEqSLV5iJld/B5bk7s0YLjF1XqBeO73\nxu66vwCFmCbho8Rnb5iJPAlcioksB9l/9+MKmSMCgYEAmYRqhNQNfANfHdzAzliZ\nyGpLD1+SWCEhy2pE5Yy1ZGrVJ3wNsdbEhLiL7wECD5aERl2JEe/OdlB9IiDlArsU\nZAfXsOztRK7Li8kBiaRYM8Y6mN/4i4M3eSNrZ4A62G5G/t+45Krof2e4kIGWvC96\nElVquxusPWFBwUKi6nLW7a8CgYBz0UKodFdAag++ac6JT49CYW/eQhyoNMMM9m9U\nDvf0vPVZBD+QMI8d6SQw0AIg0mCpRBbZYFEEEKa8j5NBPcvJixTXUAVQUwCVa3SB\no4m/0fI3GaExclVEhjxfbTIpxvwem9sHHAno+a0LSC4XxtaRADeQO64F/YxuH6l3\nxJkzewKBgQDOGNFYgiVAz+WJdIM4p3pL2aV7B5gZ8CgBM3I1nyl0i4zjQN9fxC6t\nY3sdXAaUd+tk5k70JMnWSuxNDQxxuSpdNcCu9OnYos4KLqjW3t29+Wl8BU3CHAXp\nbi3oDGUYJubrWaBmltL4UYrpFHnzIdokw8O2NZyhLe7Bb+OfYuZxTA==\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204be020100300d06092a864886f70d0101010500048204a8308204a40201000282010100d932a891279753a70c0a5788da0b6c740bc78384b46c43460d9d1d7d64310f066d5d62799e115b542c05012b692c5355ca525492902c1e38ab77c96a7e7d07f651f0ab91dcc4fadf46fb5244065d58620eb6d31d736eceb027c46e4c0424d27f0f16d3e248f3bf3ca93127729f043fc1a307961188c44abe77e782e3d2a022872792425f342de097145551cce568e26f34cd0ac787baf3b7e85a768a469dfcffdb6ed2ed8cd7c433f4db4577cc10ef49a34351c8ebba3240e9a5e867374df01732156e3269f656389aee2eddfeccba60ab913bf3dc734e56b094ae1644a547af5ae4d7153a87610a51af70bd5796d6a2dd874653c5cc5cdc502d7f3358f4de7902030100010282010049afb0149ed3ee236c284e0e35bb4e6e085905bb8de274e85d5202613a0e92c461721f289781d7f43482f6249e27d595f36fff1542285590704bd15f79ce3d5749f156a3c3bc68483bb2a3f4441c8311b160413b6aa01b2b1432c620afff3612b931cb6ca7c75a07e076b6a5626174a7e3017dde310237416b3875e588dd9f188f418ccf49d8538d29da7291c5fdd7213d615e5f1d7f94768dca6112978dbdcac1f9b801ec1463e9fc2a49d34b9a638605751485e9f1129800f3ed7e73cf27edbbcb80f11655f10b900544862bf7bf89adbcd5bd23c3ebb744a688078934138a0fb930670ff4b6588f6034777ca1124cd01caa726c75d85963cb3500795401a902818100f0d6d9aa1040e8acfa4d658d632ab8342357edf9a00537c888370e747ad9584cfa6832614396db584b289ba2585badee9d2be775c194faecf80e4109bc363d8211d4ba71b06801856aee99281860620a19f0d4943f3d7d2afe6dac6c55870087959be0d2a1f8d1e018db595620ebd8ab3d5480cd5c1aec73c970269d0c7139b302818100e6ded3339413510f9908a1c028999e530eaa029dbb82f5519bf42aa8a8f8241b151bf95ece24b35c33ffebf973755716cdde31052fe9fb8327ea6efd1e167aea0276abbb7b996ff877428534c12a48b57988995dfc1e5b93bb3460b8c5d57a8178eef7c6eebabf00859826e1a3c4676f98893c095c8a892c07d97ff7e30a99230281810099846a84d40d7c035f1ddcc0ce5899c86a4b0f5f92582121cb6a44e58cb5646ad5277c0db1d6c484b88bef01020f9684465d8911efce76507d2220e502bb146407d7b0eced44aecb8bc90189a45833c63a98dff88b833779236b67803ad86e46fedfb8e4aae87f67b8908196bc2f7a12556abb1bac3d6141c142a2ea72d6edaf02818073d142a87457406a0fbe69ce894f8f42616fde421ca834c30cf66f540ef7f4bcf559043f90308f1de92430d00220d260a94416d960510410a6bc8f93413dcbc98b14d75005505300956b7481a389bfd1f23719a131725544863c5f6d3229c6fc1e9bdb071c09e8f9ad0b482e17c6d6910037903bae05fd8c6e1fa977c499337b02818100ce18d158822540cfe589748338a77a4bd9a57b079819f028013372359f29748b8ce340df5fc42ead637b1d5c069477eb64e64ef424c9d64aec4d0d0c71b92a5d35c0aef4e9d8a2ce0a2ea8d6deddbdf9697c054dc21c05e96e2de80c651826e6eb59a06696d2f8518ae91479f321da24c3c3b6359ca12deec16fe39f62e6714c", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 44, + "comment" : "edge case for Montgomery reduction (32 bit)", + "msg" : "a41ebd80b15cbe50842790f7f30b680aaac807afeeb4e5306dee48e6d7946ab8378fa6112ae86874f7b14233ef62ce90e3c0f0eb5551a256c0759e3b14cd70411a897150640bca5d78298a557992ae3bede97b981b6950689c74d7ad90651870d8f5657a202f6dcc2d6fd2698f03642aebc489c3ac9a68c7a2c184017f8b8ea81b80ccd7871e01c9d7b3496070c2508cb69eb71667649819e803a0c0fdca45c7c21c986baab12f986f37c3132d77b5861d87753f6147a7aa39e70029c024d5896d8add076e517ef0b40049d7fd0495a3e3b63eda", + "ct" : "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "52d5134bdedfdacf2a6122c1bf3e6d8b6dca44da7910e4331fc620a9773324da739a62a8d662b47d4fb955da87a2af253f1c098f3f285359b292f7de587c6ab57a3e3efa9b1ce5f9957aca8151924993e984c300db986e44d4709715f87de78d273cb84265f0f62ece681bfe0a0082fcd4af537d04e2d867a2ad3c245b57d83cffca1227217270cc695f0274f7b93b871f560073afbd7b9ff56cb769b96e041a5e78d272e88d87752c839114de210f990490f37d196a7cd6a7315e66a13fa85ed9c531acd77c35013827f42d9c69e2a2613e9b491c9a33af16ccf9c2057b1d4c547ac91f6511bb74ee68a42d209fc0172c118cd3c664d78e23684dc7681c0591", + "e" : "010001", + "keysize" : 2048, + "n" : "00bb11e68c71d58bf30658751bc3218e68be87dc8afa5ff98ae62c06501548985959ed95172a9d3659ee6ec34bc417cee12b878001c54bc1e085ebbfc0e8d977d35ebc250618bfe6caa1d018f2f4067c3f825016c648c188166560056be9d6a95143bdd4fea6ebaab56f397ec78c9915afe0a18be3f33085c2ae2af3a799d862ec997ff556d91b3a80bd675fd2ce4f1cebfbbeb27bec856a29d267669e2d78f0e7f5a1559853ea7cbe50c3a1051f71b74591c5ab4efb2d1eda47e21f49866e80d75e237486852d5a24b72017d9334e958424ed32f5a02db7cc2cdf743b58864a219a8667890b396c73ca9e7c72c74351dd317583f463094014cedcc12179168ccb", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "UtUTS97f2s8qYSLBvz5ti23KRNp5EOQzH8YgqXczJNpzmmKo1mK0fU-5VdqHoq8lPxwJjz8oU1mykvfeWHxqtXo-PvqbHOX5lXrKgVGSSZPphMMA25huRNRwlxX4feeNJzy4QmXw9i7OaBv-CgCC_NSvU30E4thnoq08JFtX2Dz_yhInIXJwzGlfAnT3uTuHH1YAc6-9e5_1bLdpuW4EGl540nLojYd1LIORFN4hD5kEkPN9GWp81qcxXmahP6he2cUxrNd8NQE4J_QtnGniomE-m0kcmjOvFsz5wgV7HUxUeskfZRG7dO5opC0gn8AXLBGM08Zk144jaE3HaBwFkQ", + "dp" :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9/7ojsVe0arO\nTwWr1fyhOK0DWF4iMer2PBbv3CId2REd/RqzILUrDIeK5o0BCS73e0MCgYEA1ut4\nKe8haWRAUGBI+kphvm648fUl/t/GsmRCBxyjJKm1wxkBh3e2iB+55QaUnGNkiuVZ\nxcD5+nm5rvTFRlmvs8yJKSHqyvlbGUquS2sTCNOZ2omTCC0/8ub+9vUEPKkBjeH2\n7jclJWHtof+FqfOh0DnUFcwlJa5Svrr+1E0FG9kCgYAaNtC6jY7W6alYmX1N+eIj\nvenkqLFzBnDhvvhIMkiYxL7eZr8lLkMPp8UbV5tZUzAilxxBejFJnSrMojHEDTPe\nvpuhHgoDSATPkzWFLmUbEdQOJ84V4IBQ75vdmtDkuAXyuXBQaxH408H4JdNZHBhp\nFGEKcgXUfYWrxd7fU7UtvQKBgBxWRay5w90Cg9xVJaoinoqeTLJSUWUumiMxRudr\nJjOSUM3dgS8cYKvICxmgaX3JORt7K///9rXI0Ou5iD1DXABH6pnKyAtlH1bRWvPE\ntWjHhZSj6Qf9912OiXWETr+0xOixL36vNK2eINfoOfZzkhVDWqxZE1jJiE1vmGPj\nl9XZAoGBAMvuXIkyUDywCpMSWh+JiX2IrBcZMocep8t3Wpu7AoS2ojlAip55192B\nhG+p40rMgVicgoHgZuufp6RWgCSf1Ll8w736y5vxBZH0mYrGPMpzVbm36EEnxv4U\npqm1tk+tNUB1miEO4scYj5KW4b/8Cksv5RasbnqvupXza34DqzHS\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100bb11e68c71d58bf30658751bc3218e68be87dc8afa5ff98ae62c06501548985959ed95172a9d3659ee6ec34bc417cee12b878001c54bc1e085ebbfc0e8d977d35ebc250618bfe6caa1d018f2f4067c3f825016c648c188166560056be9d6a95143bdd4fea6ebaab56f397ec78c9915afe0a18be3f33085c2ae2af3a799d862ec997ff556d91b3a80bd675fd2ce4f1cebfbbeb27bec856a29d267669e2d78f0e7f5a1559853ea7cbe50c3a1051f71b74591c5ab4efb2d1eda47e21f49866e80d75e237486852d5a24b72017d9334e958424ed32f5a02db7cc2cdf743b58864a219a8667890b396c73ca9e7c72c74351dd317583f463094014cedcc12179168ccb02030100010282010052d5134bdedfdacf2a6122c1bf3e6d8b6dca44da7910e4331fc620a9773324da739a62a8d662b47d4fb955da87a2af253f1c098f3f285359b292f7de587c6ab57a3e3efa9b1ce5f9957aca8151924993e984c300db986e44d4709715f87de78d273cb84265f0f62ece681bfe0a0082fcd4af537d04e2d867a2ad3c245b57d83cffca1227217270cc695f0274f7b93b871f560073afbd7b9ff56cb769b96e041a5e78d272e88d87752c839114de210f990490f37d196a7cd6a7315e66a13fa85ed9c531acd77c35013827f42d9c69e2a2613e9b491c9a33af16ccf9c2057b1d4c547ac91f6511bb74ee68a42d209fc0172c118cd3c664d78e23684dc7681c059102818100ded3abd74d472347657a9d94cd09e605b6799c579843335468eb26280ff6cde836d2f68e1bf011fe5e0ed882e962d4f33e10d441d311536c30ef7f61e4791fceacdeda89092442690af53644878bf7fee88ec55ed1aace4f05abd5fca138ad03585e2231eaf63c16efdc221dd9111dfd1ab320b52b0c878ae68d01092ef77b4302818100d6eb7829ef21696440506048fa4a61be6eb8f1f525fedfc6b26442071ca324a9b5c319018777b6881fb9e506949c63648ae559c5c0f9fa79b9aef4c54659afb3cc892921eacaf95b194aae4b6b1308d399da8993082d3ff2e6fef6f5043ca9018de1f6ee37252561eda1ff85a9f3a1d039d415cc2525ae52bebafed44d051bd90281801a36d0ba8d8ed6e9a958997d4df9e223bde9e4a8b1730670e1bef848324898c4bede66bf252e430fa7c51b579b59533022971c417a31499d2acca231c40d33debe9ba11e0a034804cf9335852e651b11d40e27ce15e08050ef9bdd9ad0e4b805f2b970506b11f8d3c1f825d3591c186914610a7205d47d85abc5dedf53b52dbd0281801c5645acb9c3dd0283dc5525aa229e8a9e4cb25251652e9a233146e76b26339250cddd812f1c60abc80b19a0697dc9391b7b2bfffff6b5c8d0ebb9883d435c0047ea99cac80b651f56d15af3c4b568c78594a3e907fdf75d8e8975844ebfb4c4e8b12f7eaf34ad9e20d7e839f6739215435aac591358c9884d6f9863e397d5d902818100cbee5c8932503cb00a93125a1f89897d88ac171932871ea7cb775a9bbb0284b6a239408a9e79d7dd81846fa9e34acc81589c8281e066eb9fa7a45680249fd4b97cc3bdfacb9bf10591f4998ac63cca7355b9b7e84127c6fe14a6a9b5b64fad3540759a210ee2c7188f9296e1bffc0a4b2fe516ac6e7aafba95f36b7e03ab31d2", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 45, + "comment" : "edge case for Montgomery reduction (32 bit)", + "msg" : "f530f3adef7fc80a148531103d79369d741ca40cfedfb9ae1d150eeb73a4acdf71aea6defd3c493ec032f2db51758ad4e02e2bd9d48364bc0adc0a70793727455be33abdec47cb9904c7cb0bd2bbd13a5a1071d326921faedeec73b6bf0aabfb1b8d84432615d7ceb2a943d1fc5679978ac18adab009c86cc381c18878dace1351d1de94ea458465d291ee9cf591eb98284e0d497f699e7443ba15eb851907aa01cebb864ba3a6fb1227a736cdb000fff70ad25daba26a4c4af00141015a049b9dcd4ed2c1996f", + "ct" : "bb11e68c71d58bf30658751bc3218e68be87dc8afa5ff98ae62c06501548985959ed95172a9d3659ee6ec34bc417cee12b878001c54bc1e085ebbfc0e8d977d35ebc250618bfe6caa1d018f2f4067c3f825016c648c188166560056be9d6a95143bdd4fea6ebaab56f397ec78c9915afe0a18be3f33085c2ae2af3a798d862ec997ff556d91b3a80bd675fd2ce4f1cebfbbeb27bec856a29d267669e2d78f0e7f5a1559853ea7cbe50c3a1051f71b74591c5ab4efb2d1eda47e21f49866e80d75e237486852d5a24b72017d9334e958424ed32f5a02db7cc2cdf743b58864a219a8667890b396c73ca9e7c72c74351dd317583f463094014cedcc12279168ccb", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "7ededf50837a69ec04de01c1abe05d95d0034267bae1e04fa63e94c38d361ffdc339ee6a3094eccb7ed5890df0477b0e7dd795a4f1cade2cbfd881e7a17f487698695418c0090eb599ddd1a98a00834a7dffdb850bc60f1c1083750d83e445b74a51efec0dd288c7151bce28358564ea78c00ce438561c218720b7ab7d3c7e3730b1245afdfe5d00d3627a4cabeddad61ced976df0dbb47e0b5804ed843ed00480c50540bac7150fc60f613be5ee4b9184d5b4ab4b82ab31d71fb13a1d21bb110fc12682ab32653375c83f143f0358dda6a2301ab961d1132bbe6308e1586d24add35ffc0db642e888511207e1348668597a01598f528963097be8fb55338531", + "e" : "010001", + "keysize" : 2048, + "n" : "00b47eead880e65ddd3fd77dbc859b82cbd93d16698ce29351e506c361dfc14c7a691e7f045cc7611c0fe0914ed1fb985012e249c238f8c9591255b3d27312c8840b83a1b75b3fb65ec3ec47c066aa31359cc2bbf92648d0e010e4306b8c8d7960ff0fe522e03740e25e3ea31dc61fe980e76aeb5ca56582deff392d676181dea95345fef290c431927a5e8190d1c28548c751d048c51b35c4e4ecaaee4f6c0ab376cef1b0cc0d15a843f3aa15b0de22d02c571344a1704c445bd38dab61bd291eb6ef654fb01e2c9c3149d4e385f5e3d3f2a6ff2ac6543035e742291d02faccf83a283c0f60d2f031d2536dc08861e8c942fe109cab2dbc249a60370fe8133803", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "ft7fUIN6aewE3gHBq-BdldADQme64eBPpj6Uw402H_3DOe5qMJTsy37ViQ3wR3sOfdeVpPHK3iy_2IHnoX9IdphpVBjACQ61md3RqYoAg0p9_9uFC8YPHBCDdQ2D5EW3SlHv7A3SiMcVG84oNYVk6njADOQ4VhwhhyC3q308fjcwsSRa_f5dANNiekyr7drWHO2XbfDbtH4LWATthD7QBIDFBUC6xxUPxg9hO-XuS5GE1bSrS4KrMdcfsTodIbsRD8EmgqsyZTN1yD8UPwNY3aaiMBq5YdETK75jCOFYbSSt01_8DbZC6IhREgfhNIZoWXoBWY9SiWMJe-j7VTOFMQ", + "dp" : "XRU4EbgqU2G7Rz_DtKLUYh7QL4uEXCSydHu3K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BC7/2DAgSufVJ5dTs4MlBvN81lc7UcCgYEAtgOJ\nvqkb/xfsoZiRec+1pgy1yU9HOZDB+aJ9VNjpItiuqcag5YYIqQfWlTQtYyHOW1Ld\nyevgPrHEhFLx2K07OoIGIK8VKZ0iP6p5LVV8GwZTFuUaqf9fzxmQPNXxV5lYWd6w\nMgvb3mrVyZbrPisd36NSW/0lAJeGhRbiEEk7DWUCgYBdFTgRuCpTYbtHP8O0otRi\nHtAvi4RcJLJ0e7co11yCl2MQK+HX9ZnIrJxbprtHphqomzOXEXSYfWRCpiri92Xw\n6SyxRAnBN4KJiy2EiDqzE/hUCejobqHKcGNLI6Yibk9KGuTpmKhx1pnSXyhvpSww\nsKwFPOP9pzOZgvBrEBMwtQKBgFBEwyxoG8al4F9rj0xvA6bVGB5NbhW+9yyGMkuG\n1VnewThyNmbCc3NH16Q5PILpV74Cj3kLIvvDHe1VPv7VdrdYvCcRz31opL/7CDGr\n721jnqUMKHQsAS6uEWQi3apKICKSCJYpkK9H4jxi6B+kmCoWNq4Gt5jJOjPbYZrZ\nEMfZAoGAN/Kh1svRRCUGXtn/55lNgFGShrSWlM6XfTu5mbx+LqnthRJrOJW53sHn\nqs2TC8ogCewYebr7sHeFJ8U/CdEhVJCex5JyvanVeqXbZTZ32VtEOh99uZ3ai7l7\n8XAjCa8eI+ORkO10E9zmkEuOr1OWlEFQ5IeXJqqgmR3LzYEk2KQ=\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bc020100300d06092a864886f70d0101010500048204a6308204a20201000282010100b47eead880e65ddd3fd77dbc859b82cbd93d16698ce29351e506c361dfc14c7a691e7f045cc7611c0fe0914ed1fb985012e249c238f8c9591255b3d27312c8840b83a1b75b3fb65ec3ec47c066aa31359cc2bbf92648d0e010e4306b8c8d7960ff0fe522e03740e25e3ea31dc61fe980e76aeb5ca56582deff392d676181dea95345fef290c431927a5e8190d1c28548c751d048c51b35c4e4ecaaee4f6c0ab376cef1b0cc0d15a843f3aa15b0de22d02c571344a1704c445bd38dab61bd291eb6ef654fb01e2c9c3149d4e385f5e3d3f2a6ff2ac6543035e742291d02faccf83a283c0f60d2f031d2536dc08861e8c942fe109cab2dbc249a60370fe81338030203010001028201007ededf50837a69ec04de01c1abe05d95d0034267bae1e04fa63e94c38d361ffdc339ee6a3094eccb7ed5890df0477b0e7dd795a4f1cade2cbfd881e7a17f487698695418c0090eb599ddd1a98a00834a7dffdb850bc60f1c1083750d83e445b74a51efec0dd288c7151bce28358564ea78c00ce438561c218720b7ab7d3c7e3730b1245afdfe5d00d3627a4cabeddad61ced976df0dbb47e0b5804ed843ed00480c50540bac7150fc60f613be5ee4b9184d5b4ab4b82ab31d71fb13a1d21bb110fc12682ab32653375c83f143f0358dda6a2301ab961d1132bbe6308e1586d24add35ffc0db642e888511207e1348668597a01598f528963097be8fb5533853102818100fddd690268fff94f703b9b1f7969498a1f6e3ea376c7fef65c52e117044c0b09287fd43703204c584721fcaa9cd7b9494d783c5d60897dd65503a06f3ba96b533c61039bce32c41aafed27a60fcd27a3396bf13925f13ca104422c6f3c0b0aa67eb680b29c0786cc1d5410bbff60c0812b9f549e5d4ece0c941bcdf3595ced4702818100b60389bea91bff17eca1989179cfb5a60cb5c94f473990c1f9a27d54d8e922d8aea9c6a0e58608a907d695342d6321ce5b52ddc9ebe03eb1c48452f1d8ad3b3a820620af15299d223faa792d557c1b065316e51aa9ff5fcf19903cd5f157995859deb0320bdbde6ad5c996eb3e2b1ddfa3525bfd250097868516e210493b0d650281805d153811b82a5361bb473fc3b4a2d4621ed02f8b845c24b2747bb728d75c829763102be1d7f599c8ac9c5ba6bb47a61aa89b33971174987d6442a62ae2f765f0e92cb14409c13782898b2d84883ab313f85409e8e86ea1ca70634b23a6226e4f4a1ae4e998a871d699d25f286fa52c30b0ac053ce3fda7339982f06b101330b50281805044c32c681bc6a5e05f6b8f4c6f03a6d5181e4d6e15bef72c86324b86d559dec138723666c2737347d7a4393c82e957be028f790b22fbc31ded553efed576b758bc2711cf7d68a4bffb0831abef6d639ea50c28742c012eae116422ddaa4a20229208962990af47e23c62e81fa4982a1636ae06b798c93a33db619ad910c7d902818037f2a1d6cbd14425065ed9ffe7994d80519286b49694ce977d3bb999bc7e2ea9ed85126b3895b9dec1e7aacd930bca2009ec1879bafbb0778527c53f09d12154909ec79272bda9d57aa5db653677d95b443a1f7db99dda8bb97bf1702309af1e23e39190ed7413dce6904b8eaf5396944150e4879726aaa0991dcbcd8124d8a4", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 46, + "comment" : "edge case for Montgomery reduction (64 bit)", + "msg" : "c0e17fbe480115f5fe7a66236adcd3477fb6d7d2ac5cfcda26afb21b3de59b36b7889c9baccd91dd7dbe7fe744cc48b301ce799ce393452c6bb24a14e5db72cd8ae761a04f3972943c3b59aed2b80246ada1965bc0bd0bd52856d7ba97fe8fa80406d9c9d9af367443df036b1549d1ca1836e676cb0f4a962273c3410d29b7805a7b150c23070da72a7e5198df322c6bcc2798e8ba706854ea2f5d5428f50c01edac19d25295fd239ff86eb8edd9fb53e634044e21079c605a9d3232a61c939e7c87c339b0481a04fe2aecbcbb15f19d2389fe3f6a2dc35fb289cc6818598dce505a11f9aceddd1a", + "ct" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "1cb31a38270da00ed48af41f975773b8e9ef473c5e3393761de003b3a435bd8e2239a427effccfd0df19bc8bd6b41647271a0234a895ed6771fb36b07c1941ec3fbec9c7600b4114ff7287434773142544227505653ba039ab1a7f86a5403e0c89bbaa657ec91a51e212c0592761c8379d41ceb0bf64175fdbdea56833ab3a910a782711243b98a540178031227d169a0113603cad54182534471b4e9f16bf3724f15d45e98127fe348ccbeba5c9fcf9fe3b11ea71c2be3bff4b040565f8179fbcf59f13605cffeab6656dce56b2e9602da5b4b15a7882f564890006f82d0c3011a63485a7b257abccada8cb00f84d66a6cfd3d42084a44db51002319bfb5711", + "e" : "010001", + "keysize" : 2048, + "n" : "00d96b1ed7a5071af8c48b1a162d9a3c336bb0d8b893f54719b21e2bd8581b46de773fb906a99585b777b7aab4130e15d0fd576c7968dc940019a568c6b425f0017843472c698b25253676fb0d6d1dba59ca4fdf90173af5f28b9ea93d9a95c61500fb89131f2d93217aea06910d415b551ed8e8503254c62570e8831e1152f407cbc5ce89e991719fead2cecbe62359bde60adc480efc6b0cea5177cd5663f99aba8c8f9a670b5060c9ea5231a95d655eef14485caf68a688b242e1e6a6543af239cf65c8d4aec626fae444baecf1c70b2d3da3c8b063e09e20aa441eca372b9b13a813dacfd333c491350ed348834375febfb885ae00e16a1828484675f870e1", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "HLMaOCcNoA7UivQfl1dzuOnvRzxeM5N2HeADs6Q1vY4iOaQn7_zP0N8ZvIvWtBZHJxoCNKiV7Wdx-zawfBlB7D--ycdgC0EU_3KHQ0dzFCVEInUFZTugOasaf4alQD4MibuqZX7JGlHiEsBZJ2HIN51BzrC_ZBdf296laDOrOpEKeCcRJDuYpUAXgDEifRaaARNgPK1UGCU0RxtOnxa_NyTxXUXpgSf-NIzL66XJ_Pn-OxHqccK-O_9LBAVl-BefvPWfE2Bc_-q2ZW3OVrLpYC2ltLFaeIL1ZIkABvgtDDARpjSFp7JXq8ytqMsA-E1mps_T1CCEpE21EAIxm_tXEQ", + "dp" : "80c-rWjQxcZJmUeech36q_c---g-gH1FIyezFRdDk8BfVp32bkhCAblO1nz7ehY6JfRIdhYspdJsny4ghOzxyqvWujVBc880jajzS8YIdQr0trxzeyyX4Auxtb6Dy_r_Os-twG0e3gDgdr1FJOEoP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\noN+/0EsPYecRDTmRcU+vcmZyRzboojPYVesPoX2sFheXB+XlLWQjHjXlM8I0GYMj\nd4zd/NtAUMSnDXNQs3WPeiSXAKCPdmYDfoeQ1L0CgYEA80c+rWjQxcZJmUeech36\nq/c+++g+gH1FIyezFRdDk8BfVp32bkhCAblO1nz7ehY6JfRIdhYspdJsny4ghOzx\nyqvWujVBc880jajzS8YIdQr0trxzeyyX4Auxtb6Dy/r/Os+twG0e3gDgdr1FJOEo\nPmA/GReQOgArDAv3sE7QLjUCgYBFW7GL40QV8x53a25NKwPC1opCsDcq7SFSy75/\nJ8nFt0VSFlQ3nQhSkVOtvCnzmQWUDpJRb3NRWAaFeYuF6tMmg4WLxoPywUridoBO\nRvdKd/w3nMOTDUXwGeFMejbVJ/9vNAYtVzLMLuuVpmB8PfdBmwwUjV3tK2huBIL5\n6oPDvQKBgHdTMXzT3nS/pBwyYcMswy3HrsRqVDRYscjqhGz0/sGv/N5Y88JJvptQ\nLaWy6SrV8ATFaPBZLeOZfeLZtDbeQAo3PO3Bqy75z5bPMIdsBpvy6ai4tsym+46w\nZMe2zAh+/rFTNvfYLI93W5hGREOi675HHyeais3c4DvcHj1AfjfR\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100d96b1ed7a5071af8c48b1a162d9a3c336bb0d8b893f54719b21e2bd8581b46de773fb906a99585b777b7aab4130e15d0fd576c7968dc940019a568c6b425f0017843472c698b25253676fb0d6d1dba59ca4fdf90173af5f28b9ea93d9a95c61500fb89131f2d93217aea06910d415b551ed8e8503254c62570e8831e1152f407cbc5ce89e991719fead2cecbe62359bde60adc480efc6b0cea5177cd5663f99aba8c8f9a670b5060c9ea5231a95d655eef14485caf68a688b242e1e6a6543af239cf65c8d4aec626fae444baecf1c70b2d3da3c8b063e09e20aa441eca372b9b13a813dacfd333c491350ed348834375febfb885ae00e16a1828484675f870e10203010001028201001cb31a38270da00ed48af41f975773b8e9ef473c5e3393761de003b3a435bd8e2239a427effccfd0df19bc8bd6b41647271a0234a895ed6771fb36b07c1941ec3fbec9c7600b4114ff7287434773142544227505653ba039ab1a7f86a5403e0c89bbaa657ec91a51e212c0592761c8379d41ceb0bf64175fdbdea56833ab3a910a782711243b98a540178031227d169a0113603cad54182534471b4e9f16bf3724f15d45e98127fe348ccbeba5c9fcf9fe3b11ea71c2be3bff4b040565f8179fbcf59f13605cffeab6656dce56b2e9602da5b4b15a7882f564890006f82d0c3011a63485a7b257abccada8cb00f84d66a6cfd3d42084a44db51002319bfb571102818100fb91d4d6a5bdfbd5f0a82b7e89e98534564ed60638e279c6a2a26e1b635356dd89711e4b8b5af45cd64393b692b661d763b02914d555eb9d24ba5a5fe1adbf059e00eff3a3682c353179c2d6ebe39fc3ce18d492fb34a3ffbd5fdce844633fd275bde50ee36f638827becff7cd0031c335d051337a776554a0f04e614d19b8f502818100dd3f52a51c7266f037c13913ee859cd01e4485db2a4482e340b86e494560ff9a0fbdf48a490f09f9d0b4045593115838e208d3a0dfbfd04b0f61e7110d3991714faf7266724736e8a233d855eb0fa17dac16179707e5e52d64231e35e533c234198323778cddfcdb4050c4a70d7350b3758f7a249700a08f7666037e8790d4bd02818100f3473ead68d0c5c64999479e721dfaabf73efbe83e807d452327b315174393c05f569df66e484201b94ed67cfb7a163a25f44876162ca5d26c9f2e2084ecf1caabd6ba354173cf348da8f34bc608750af4b6bc737b2c97e00bb1b5be83cbfaff3acfadc06d1ede00e076bd4524e1283e603f1917903a002b0c0bf7b04ed02e35028180455bb18be34415f31e776b6e4d2b03c2d68a42b0372aed2152cbbe7f27c9c5b745521654379d08529153adbc29f39905940e92516f7351580685798b85ead32683858bc683f2c14ae276804e46f74a77fc379cc3930d45f019e14c7a36d527ff6f34062d5732cc2eeb95a6607c3df7419b0c148d5ded2b686e0482f9ea83c3bd0281807753317cd3de74bfa41c3261c32cc32dc7aec46a543458b1c8ea846cf4fec1affcde58f3c249be9b502da5b2e92ad5f004c568f0592de3997de2d9b436de400a373cedc1ab2ef9cf96cf30876c069bf2e9a8b8b6cca6fb8eb064c7b6cc087efeb15336f7d82c8f775b98464443a2ebbe471f279a8acddce03bdc1e3d407e37d1", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 47, + "comment" : "edge case for Montgomery reduction (64 bit)", + "msg" : "e0f57a6334f97163fb65a0f924259ca5558e5149bc094b06bbdb2cfe2b5cc4e52eea015afac6a4fd124dd4a0c3c25c9f7f36fc465fda623661c963a1eb6bd48663ede99ec3bed21274", + "ct" : "d96b1ed7a5071af8c48b1a162d9a3c336bb0d8b893f54719b21e2bd8581b46de773fb906a99585b777b7aab4130e15d0fd576c7968dc940019a568c6b425f0017843472c698b25253676fb0d6d1dba59ca4fdf90173af5f28b9ea93d9a95c61500fb89131f2d93217aea06910d415b551ed8e8503254c6256fe8831e1152f407cbc5ce89e991719fead2cecbe62359bde60adc480efc6b0cea5177cd5663f99aba8c8f9a670b5060c9ea5231a95d655eef14485caf68a688b242e1e6a6543af239cf65c8d4aec626fae444baecf1c70b2d3da3c8b063e09e20aa441eca372b9b13a813dacfd333c491350ed348834375febfb885ae00e16b1828484675f870e1", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "3c83123f4cbb23911fbde6c69f9f0b07b51bbbcaf80e0322a71767fa4fce48f2e6e142eab66dd5e4abccc343fdafec10aab8540049e5109d09760080131c8edfb669f9e25b8cd5528f229e74189a4bb3c1d96922640dfd85aadd9f295db5be14d568b4cd288eb08a9e43e53a8a52cd1c25fddaf018abdcb6781c907cb0b394c91a41418e93c60bc9dfdb6674223f7a5d51f90e866aa2c378b8793726cc0f7770ce42b1d534df724d9205fb7679f26f5488aae8e766d6afbcdcfc8aa0ce545adb25692e72960dc9bfdc52fae19953bac45c5b16b8533f0fb03ce24c493fd84c4dbcbb1cc7115a392d5923cb165bbfb0d331cb215d88e8b48ea9803beb7532b901", + "e" : "010001", + "keysize" : 2048, + "n" : "00d29c00cb279876486d2f35c357d23f3a7d2d9c69021b65acc5c227e285bb53a09ce46d08bf1a75fcb4ac97f39d301fc445d6d0e31156bebe6acab4aed4a3b6f836bb057848a475ffc9e81804e1a91a523ee17379db83ec5d1b275f58072a8cefde77b92aa05063f87aa9fd348dae7987270bbb57cb161ff41a0916fe3faf27bdef1068b137b5b114004c95211de3332293491f1b45d57590ac19d82a4033c75e68cf65b62f3630b0a7c05f830f551b569fd37364206f2caaec2bbf5ddbbbcf9cec1f4c160dad459b5a23bb383afa2df7ecce990c401605efb67dc1a87edfb45f8a154093a616e7932959f87dacd46955d59bffa80a4f4be6b1d1e61f372a8ceb", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "PIMSP0y7I5EfvebGn58LB7Ubu8r4DgMipxdn-k_OSPLm4ULqtm3V5KvMw0P9r-wQqrhUAEnlEJ0JdgCAExyO37Zp-eJbjNVSjyKedBiaS7PB2WkiZA39hardnyldtb4U1Wi0zSiOsIqeQ-U6ilLNHCX92vAYq9y2eByQfLCzlMkaQUGOk8YLyd_bZnQiP3pdUfkOhmqiw3i4eTcmzA93cM5CsdU033JNkgX7dnnyb1SIqujnZtavvNz8iqDOVFrbJWkucpYNyb_cUvrhmVO6xFxbFrhTPw-wPOJMST_YTE28uxzHEVo5LVkjyxZbv7DTMcshXYjotI6pgDvrdTK5AQ", + "dp" : "I0yqj33w2VUoZ3uD_xkv-95XwCyrWwFhHu3bS_ppORKoZuvExeKJrNkgQ28BXRvlYeTEaiI7jQDxVsjKNRfJ_jp6hts99BNZRrdadR5p1nvvE3ilRFDvehhcjoX8nNIe7H4GrD1QGPy66jNYYlUj-m-tBQEkCesEKtSNoo6BQXE", + "dq" : "MzglDLFGGCX5Z1bBa66qNm8ZFda1YrDk8ZHFWx5vf9Lnb-woDkac0MmK__4-yYHKVbEpGLxUA7NCp0klu5X2E0VqgvBbUWzkv_-a9FBiz8P8giw1X1hEKBOFW2ucj3wgs57v56NtA0bH-CXjYBaiP0UAeq6ugq_2GSWVFqEbbkE", + "e" : "AQAB", + "kid" : "none", + "kty" : "RSA", + "n" : "0pwAyyeYdkhtLzXDV9I_On0tnGkCG2WsxcIn4oW7U6Cc5G0Ivxp1_LSsl_OdMB_ERdbQ4xFWvr5qyrSu1KO2-Da7BXhIpHX_yegYBOGpGlI-4XN524PsXRsnX1gHKozv3ne5KqBQY_h6qf00ja55hycLu1fLFh_0GgkW_j-vJ73vEGixN7WxFABMlSEd4zMik0kfG0XVdZCsGdgqQDPHXmjPZbYvNjCwp8Bfgw9VG1af03NkIG8squwrv13bu8-c7B9MFg2tRZtaI7s4Ovot9-zOmQxAFgXvtn3BqH7ftF-KFUCTphbnkylZ-H2s1GlV1Zv_qApPS-ax0eYfNyqM6w", + "p" : "7sriF3poMuTGn37t45k8zdrj2F_a_0ePi7SXMkBm1I4YxmYzn8v8LbxG8CBCRoigmioF49lA4NUK_EBKWvPtIicgzTTDu_cNKT0f09dibafImUEhG9tRQYdB7QqnE6BWNnWem0UHkLjc4U06SKeXjzYaVjNljPnRpcDOFk5RLKs", + "q" : "4ck2cdwg4QYJSV_Wty5NDurUQwOes0rqQoxAEj-443l4QcVZvMmFAlSuWue3iWcxW-QVdBmiox-jVbtP9kh0Ar8P5koMMALchrrzGfAtdjCqpX2BBFDafCVbMVDPX82VwJeXSCednunt1RZBo8X6AYlsWxw-OEfr6Cm1lOYnoME", + "qi" : "aAaYtgkR_6T_ZMThXE3PkvjGtBWfmL_sLm91xyFCJ2NxOUFEq7qIaUWIMuQk7TK_qjl0bYiX4u_8w_Hau8kK3sh_3ZKagqUirbd9I5uhidQvlez9XznF3V44hy_lAyWSvzlshHlw2txgKrtifZbvY2BAZ50k3WnFbpZt9CQRwAs" + }, + "privateKeyPem" : "-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEA0pwAyyeYdkhtLzXDV9I/On0tnGkCG2WsxcIn4oW7U6Cc5G0I\nvxp1/LSsl/OdMB/ERdbQ4xFWvr5qyrSu1KO2+Da7BXhIpHX/yegYBOGp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eKVEUO96GFyOhfyc0h7sfgasPVAY/LrqM1hiVSP6\nb60FASQJ6wQq1I2ijoFBcQKBgDM4JQyxRhgl+WdWwWuuqjZvGRXWtWKw5PGRxVse\nb3/S52/sKA5GnNDJiv/+PsmBylWxKRi8VAOzQqdJJbuV9hNFaoLwW1Fs5L//mvRQ\nYs/D/IIsNV9YRCgThVtrnI98ILOe7+ejbQNGx/gl42AWoj9FAHquroKv9hkllRah\nG25BAoGAaAaYtgkR/6T/ZMThXE3PkvjGtBWfmL/sLm91xyFCJ2NxOUFEq7qIaUWI\nMuQk7TK/qjl0bYiX4u/8w/Hau8kK3sh/3ZKagqUirbd9I5uhidQvlez9XznF3V44\nhy/lAyWSvzlshHlw2txgKrtifZbvY2BAZ50k3WnFbpZt9CQRwAs=\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bc020100300d06092a864886f70d0101010500048204a6308204a20201000282010100d29c00cb279876486d2f35c357d23f3a7d2d9c69021b65acc5c227e285bb53a09ce46d08bf1a75fcb4ac97f39d301fc445d6d0e31156bebe6acab4aed4a3b6f836bb057848a475ffc9e81804e1a91a523ee17379db83ec5d1b275f58072a8cefde77b92aa05063f87aa9fd348dae7987270bbb57cb161ff41a0916fe3faf27bdef1068b137b5b114004c95211de3332293491f1b45d57590ac19d82a4033c75e68cf65b62f3630b0a7c05f830f551b569fd37364206f2caaec2bbf5ddbbbcf9cec1f4c160dad459b5a23bb383afa2df7ecce990c401605efb67dc1a87edfb45f8a154093a616e7932959f87dacd46955d59bffa80a4f4be6b1d1e61f372a8ceb0203010001028201003c83123f4cbb23911fbde6c69f9f0b07b51bbbcaf80e0322a71767fa4fce48f2e6e142eab66dd5e4abccc343fdafec10aab8540049e5109d09760080131c8edfb669f9e25b8cd5528f229e74189a4bb3c1d96922640dfd85aadd9f295db5be14d568b4cd288eb08a9e43e53a8a52cd1c25fddaf018abdcb6781c907cb0b394c91a41418e93c60bc9dfdb6674223f7a5d51f90e866aa2c378b8793726cc0f7770ce42b1d534df724d9205fb7679f26f5488aae8e766d6afbcdcfc8aa0ce545adb25692e72960dc9bfdc52fae19953bac45c5b16b8533f0fb03ce24c493fd84c4dbcbb1cc7115a392d5923cb165bbfb0d331cb215d88e8b48ea9803beb7532b90102818100eecae2177a6832e4c69f7eede3993ccddae3d85fdaff478f8bb497324066d48e18c666339fcbfc2dbc46f020424688a09a2a05e3d940e0d50afc404a5af3ed222720cd34c3bbf70d293d1fd3d7626da7c89941211bdb51418741ed0aa713a05636759e9b450790b8dce14d3a48a7978f361a5633658cf9d1a5c0ce164e512cab02818100e1c93671dc20e10609495fd6b72e4d0eead443039eb34aea428c40123fb8e3797841c559bcc9850254ae5ae7b78967315be4157419a2a31fa355bb4ff6487402bf0fe64a0c3002dc86baf319f02d7630aaa57d810450da7c255b3150cf5fcd95c0979748279d9ee9edd51641a3c5fa01896c5b1c3e3847ebe829b594e627a0c1028180234caa8f7df0d95528677b83ff192ffbde57c02cab5b01611eeddb4bfa693912a866ebc4c5e289acd920436f015d1be561e4c46a223b8d00f156c8ca3517c9fe3a7a86db3df4135946b75a751e69d67bef1378a54450ef7a185c8e85fc9cd21eec7e06ac3d5018fcbaea3358625523fa6fad05012409eb042ad48da28e8141710281803338250cb1461825f96756c16baeaa366f1915d6b562b0e4f191c55b1e6f7fd2e76fec280e469cd0c98afffe3ec981ca55b12918bc5403b342a74925bb95f613456a82f05b516ce4bfff9af45062cfc3fc822c355f58442813855b6b9c8f7c20b39eefe7a36d0346c7f825e36016a23f45007aaeae82aff619259516a11b6e41028180680698b60911ffa4ff64c4e15c4dcf92f8c6b4159f98bfec2e6f75c72142276371394144abba8869458832e424ed32bfaa39746d8897e2effcc3f1dabbc90adec87fdd929a82a522adb77d239ba189d42f95ecfd5f39c5dd5e38872fe5032592bf396c847970dadc602abb627d96ef636040679d24dd69c56e966df42411c00b", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 48, + "comment" : "edge case for Montgomery reduction (1024 bit)", + "msg" : "a3807f5d34acd39123d2ec83648225b54590b45750e13c6cacf587dac4fe9c9e32a747b6b7f073d94b07311a0e", + "ct" : "00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "2ff29a4da725374d1dd13493492eeaa468f9fce9d3e6fe0f5fb84143909cb7753526de93234b2cb83cffa6321d5b557832a65c253c2f019723b4d0de97db2f91a7d136fa31a7910495d57d366ec91f29254b30e3cd96705d821bf831b9aab6328bae8f4b15f61cdab097604645ec73a6ed1e19e90204505f93ffaa98569d21eb63abf9448ca9ca735aba55a27c8795a47350b96befec3a243768ddf2aa1b4ab28b7a1e6bad5a0a25c7789225a75081b8e21e2b53612c21fafa41fa7e1e8d52075da58897b195bb356d4e03e5372e6b0d79c8334e642334006b09757b8bc533171d5a46bdd55199779c36e2d9a5acbe58dcefb3bac754bb3eaf07bd3da96c61c1", + "e" : "010001", + "keysize" : 2048, + "n" : "009b298a64d73b644bb4f184c8cebaa01fcc9b9b1fea5e93d3463a28e73284123a1abfae36ef57edd72ab9676c66b629cf42450dbf7c6347047746ff62c22f1e0b854500cd31384f6fadcf996828d96500b6b023619e2378230553e9b9226367ab7b8a06169e1325fb9e8a73c264400855c3b10229b6a661d67e1826bb32fc6ab34e4b6712066c2546bd4e47ac2789867b5e1f29c4e597a19ba715e6f6c011181f758442263355931115f9471fa7654e5fa85b69545482cadea81362b762aa2794f7f132856dea85c65f7d6b581edc89022f4cb1f6f99d5bb4a8cffde294ed5fde28692aa610e83272406cb4697f970ef16f689425e8a5174580184bb223fbb919", + "privateKeyJwk" : { + "alg" : "RSA1_5", +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u/qY0c2v0ZOaPMsVbG5HI\nL2Axy9SIm6dfqU3kHckTUOQQINi1+BtH+2QP8S1pfs2qLa0/qo2nwUE=\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bf020100300d06092a864886f70d0101010500048204a9308204a502010002820101009b298a64d73b644bb4f184c8cebaa01fcc9b9b1fea5e93d3463a28e73284123a1abfae36ef57edd72ab9676c66b629cf42450dbf7c6347047746ff62c22f1e0b854500cd31384f6fadcf996828d96500b6b023619e2378230553e9b9226367ab7b8a06169e1325fb9e8a73c264400855c3b10229b6a661d67e1826bb32fc6ab34e4b6712066c2546bd4e47ac2789867b5e1f29c4e597a19ba715e6f6c011181f758442263355931115f9471fa7654e5fa85b69545482cadea81362b762aa2794f7f132856dea85c65f7d6b581edc89022f4cb1f6f99d5bb4a8cffde294ed5fde28692aa610e83272406cb4697f970ef16f689425e8a5174580184bb223fbb9190203010001028201002ff29a4da725374d1dd13493492eeaa468f9fce9d3e6fe0f5fb84143909cb7753526de93234b2cb83cffa6321d5b557832a65c253c2f019723b4d0de97db2f91a7d136fa31a7910495d57d366ec91f29254b30e3cd96705d821bf831b9aab6328bae8f4b15f61cdab097604645ec73a6ed1e19e90204505f93ffaa98569d21eb63abf9448ca9ca735aba55a27c8795a47350b96befec3a243768ddf2aa1b4ab28b7a1e6bad5a0a25c7789225a75081b8e21e2b53612c21fafa41fa7e1e8d52075da58897b195bb356d4e03e5372e6b0d79c8334e642334006b09757b8bc533171d5a46bdd55199779c36e2d9a5acbe58dcefb3bac754bb3eaf07bd3da96c61c102818100c8f09a8ebd6bf018e3c8d9e51cfeb755a3e63a6342032bf69b496a511aa2c1a5c8cc9612a36bf618c7eb633170a19094db19885b1dc2c03e79bf0d039f782ca4f45fda4398368f5747aa7115eda85b2032e08d26ae93b56deedc63afa58fc7bc784a27976c1501ac69d840d03e38d510a644c3e51d966af4a8eff33fe073f2c502818100c5adc2bf614abfa80b9b921f320e659f44bffab2fa4b1111c98c344c2630a410ee70dc30899efd17a22946662173485e17f3630d61d5ff1bcde4d586243b877e6737438fb9857c3beabaa442c293aa110caeb8ad6967e5a2ea2a34267b0fbde5eac1abef98f329601599abde5150d39e9ba04a7b9c172f88af07d4828fdac245028181008582e09f011b2bdfcdd1d17d9b235f7b66b87d891ffe6d82a0b14a13f387baf54593320fd647d0afac7e295d5b41ee880980508a821eb98f896338e97456ec0afa5889f4a9b96eca8652a86af28b0f693884dd249b90875731037cb4e363c249e6ff168955062c237bfc752c287ba88e347bb25194b43202b8111ee60d63dd25028181009fd23e93f09b389d2ad55aac721205c361183e1e9a123af8c094e46b74acfad8dd8ecdd7484d0c9f20f272027ca4f22b70fdcc65b3660add75f7bf52b6d492557629ce2bd378c2dac68aa3e77ddd593073aa87915c992da62be0774d6d4d6ae10a8e0eeea62062a1569569c952c1207729a7ccd06780af63b8ef81b7158b6e69028181009ff86c3dc539762069ae9d5825b04d1f45722224b0aa86d76f71a9b095afc9767c4e2d2319cf33e123807b2c160d66dfd567a8532b75edb564a70fd0ced4257d0109611a943fa06efea634736bf464e68f32c55b1b91c82f6031cbd4889ba75fa94de41dc91350e41020d8b5f81b47fb640ff12d697ecdaa2dad3faa8da7c141", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 49, + "comment" : "edge case for Montgomery reduction (1024 bit)", + "msg" : "f9077aa629cac80d", + "ct" : "9a298a64d73b644bb4f184c8cebaa01fcc9b9b1fea5e93d3463a28e73284123a1abfae36ef57edd72ab9676c66b629cf42450dbf7c6347047746ff62c22f1e0b854500cd31384f6fadcf996828d96500b6b023619e2378230553e9b9226367ab7b8a06169e1325fb9e8a73c264400855c3b10229b6a661d67e1826bb32fc6ab44e4b6712066c2546bd4e47ac2789867b5e1f29c4e597a19ba715e6f6c011181f758442263355931115f9471fa7654e5fa85b69545482cadea81362b762aa2794f7f132856dea85c65f7d6b581edc89022f4cb1f6f99d5bb4a8cffde294ed5fde28692aa610e83272406cb4697f970ef16f689425e8a5174580184bb223fbb919", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "1e6d819ca726e45b00f4cfaaf0d54a4441a8b89907783efe327575715cee66ebb898833542a13b90fcbee41c321b7f7f555591d4a4953d216396f48f44af6bb1c40b12f723f43e8b61e34dff4cd58f95fb363c789756a759b686f7c41671d7a697982515c0f3b1486f128a92d7cc882152d808a8b80c1fa1dc5b26c92bd54ae6b3a7cda30da414cda14b00e98a610114d79543c6047db9f5685422a9a0fb4c77aae8a69860986d76c00283ca44c89aa6aaff8d333e00b67222a5e1a743ee54b572c5d377ee2d3c0eab9b4664aa89688fe22ff32f226ae6b498508142625be50bc6c5c3d77590fdc6bfdfddeec801e9665cb09cffe140c1972f339dfa17c12791", + "e" : "010001", + "keysize" : 2048, + "n" : "009b867320148400d6236020943c389ace0b5c2aae805d68a1084248bb3ee3206d3e1912aeefa352bdffeaeeee5acc3db5e76b992e54220e449dd0cdd9c54653a3d54a4ae02733482605f6a75d4bd8cbb87fb4718a9914f0131feb339cc656740c9a6de79993a7b7684494e5a20c86a5ac1fa71a546dd3fd3e927d0c43ef8481c86f3aabb9212845eb40afe527bcac69212235d7c7c62b94116b5b6fb304d927b5e29b100d1f4f7112f685e88d76b497f52b99ffef9b7901e4ec980f43d7c461ac22a5788fdaf01010f516be9d0b693782a804dcd4eabb28ce390feba18158969ef49ba449517208580700e82caae1b549e1003540795aede7284fcae04d6ebe43", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "Hm2BnKcm5FsA9M-q8NVKREGouJkHeD7-MnV1cVzuZuu4mIM1QqE7kPy-5BwyG39_VVWR1KSVPSFjlvSPRK9rscQLEvcj9D6LYeNN_0zVj5X7Njx4l1anWbaG98QWcdeml5glFcDzsUhvEoqS18yIIVLYCKi4DB-h3FsmySvVSuazp82jDaQUzaFLAOmKYQEU15VDxgR9ufVoVCKpoPtMd6ropphgmG12wAKDykTImqaq_40zPgC2ciKl4adD7lS1csXTd-4tPA6rm0Zkqoloj-Iv8y8iaua0mFCBQmJb5Q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H6BJlx8n1\nisxFIguogLprcDdgeVudnPIw9DQNNNgixOybVBbnxxltuvUQxdNItOCDO+cGyowN\nce7cuN1S4lfVQhjvJ8n0PGl7XWlHknHF25TGAMCkyCmwQjhCz3iQ1YcCgYEAtmWa\nyq+WyoK02yDJcPhho6QIUe71o3+JzEURanm3rUjBBuWDvUAe3huc5q0UYm/H/fJK\nwGr72X2sGz69SxT2gxLVqvdW9xWgUZy/Xyq/nWbKbHOlruXj5+jTSqrfZGhnJnr9\nEBdQr/HyVG937J5jJYBHRNJImeW30kUcDqQBgGUCgYAhpZZQoOsC5mTbMgnQz0I8\nx2NhAgPaEFBBsF4PZO/VMBJDbYKO10yoBnCpnM5ueU3SUFbonfyfkp2FJvjaKm7B\nmA8hWR6FDCBj7x6Uv8q3RtwzwZrEYe44n68aN9Ns3EkdFSbYJUMmhMPlVDMaGbt7\n62TR/N/pkrN+oZl6zYTVxQKBgC3uAf+eHbObHF29sNwwv62MZcf0C4kDWbjFf7A3\nPEh3dJv++aCTX/KAM49m8CYljc/lzmsLxaWr3sXxk4svmS/Cc2mc5RpNKNTESvB0\n/FFvi/OpX4ReQXipiWNZCe3n2Gm5OLZvmJLlsycN9r3v2HmeBtROu5d9YD+jxX/u\nTq59AoGAcWL5Bp9V72qKwcMb16MyY8Aqt3Oj3A5yb/oUOzojNc+2FLworU36NQzm\nBaxL4toZkkRWGtat+vnRgzp/2WDeC19OT3mViSYGqijR2njHG5zmcAbvzOeMJeP6\ncR5ax8z1UizmwTOnLY/l6jtpbn5tLdeUse1f5JbSDfsOgMWvV6Q=\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bc020100300d06092a864886f70d0101010500048204a6308204a202010002820101009b867320148400d6236020943c389ace0b5c2aae805d68a1084248bb3ee3206d3e1912aeefa352bdffeaeeee5acc3db5e76b992e54220e449dd0cdd9c54653a3d54a4ae02733482605f6a75d4bd8cbb87fb4718a9914f0131feb339cc656740c9a6de79993a7b7684494e5a20c86a5ac1fa71a546dd3fd3e927d0c43ef8481c86f3aabb9212845eb40afe527bcac69212235d7c7c62b94116b5b6fb304d927b5e29b100d1f4f7112f685e88d76b497f52b99ffef9b7901e4ec980f43d7c461ac22a5788fdaf01010f516be9d0b693782a804dcd4eabb28ce390feba18158969ef49ba449517208580700e82caae1b549e1003540795aede7284fcae04d6ebe430203010001028201001e6d819ca726e45b00f4cfaaf0d54a4441a8b89907783efe327575715cee66ebb898833542a13b90fcbee41c321b7f7f555591d4a4953d216396f48f44af6bb1c40b12f723f43e8b61e34dff4cd58f95fb363c789756a759b686f7c41671d7a697982515c0f3b1486f128a92d7cc882152d808a8b80c1fa1dc5b26c92bd54ae6b3a7cda30da414cda14b00e98a610114d79543c6047db9f5685422a9a0fb4c77aae8a69860986d76c00283ca44c89aa6aaff8d333e00b67222a5e1a743ee54b572c5d377ee2d3c0eab9b4664aa89688fe22ff32f226ae6b498508142625be50bc6c5c3d77590fdc6bfdfddeec801e9665cb09cffe140c1972f339dfa17c1279102818100da48e1987c5df633fe9f03ed9fa0cb0984d81f5b81316b8eb9362c7e60c8f61d47e81265c7c9f58acc45220ba880ba6b703760795b9d9cf230f4340d34d822c4ec9b5416e7c7196dbaf510c5d348b4e0833be706ca8c0d71eedcb8dd52e257d54218ef27c9f43c697b5d69479271c5db94c600c0a4c829b0423842cf7890d58702818100b6659acaaf96ca82b4db20c970f861a3a40851eef5a37f89cc45116a79b7ad48c106e583bd401ede1b9ce6ad14626fc7fdf24ac06afbd97dac1b3ebd4b14f68312d5aaf756f715a0519cbf5f2abf9d66ca6c73a5aee5e3e7e8d34aaadf646867267afd101750aff1f2546f77ec9e6325804744d24899e5b7d2451c0ea401806502818021a59650a0eb02e664db3209d0cf423cc763610203da105041b05e0f64efd53012436d828ed74ca80670a99cce6e794dd25056e89dfc9f929d8526f8da2a6ec1980f21591e850c2063ef1e94bfcab746dc33c19ac461ee389faf1a37d36cdc491d1526d825432684c3e554331a19bb7beb64d1fcdfe992b37ea1997acd84d5c50281802dee01ff9e1db39b1c5dbdb0dc30bfad8c65c7f40b890359b8c57fb0373c4877749bfef9a0935ff280338f66f026258dcfe5ce6b0bc5a5abdec5f1938b2f992fc273699ce51a4d28d4c44af074fc516f8bf3a95f845e4178a989635909ede7d869b938b66f9892e5b3270df6bdefd8799e06d44ebb977d603fa3c57fee4eae7d0281807162f9069f55ef6a8ac1c31bd7a33263c02ab773a3dc0e726ffa143b3a2335cfb614bc28ad4dfa350ce605ac4be2da199244561ad6adfaf9d1833a7fd960de0b5f4e4f7995892606aa28d1da78c71b9ce67006efcce78c25e3fa711e5ac7ccf5522ce6c133a72d8fe5ea3b696e7e6d2dd794b1ed5fe496d20dfb0e80c5af57a4", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 50, + "comment" : "edge case for Montgomery reduction over Z/nZ (32 bit)", + "msg" : "67d3329433843fbf8516d807417f96e34ad7be1f8a8c4d4c1ca614e4255938fa622bdab0733b117506aaf3b39ae5c468894d79fc6aa451d837612df52c73eb18df7e8272de79d8621ec3e0c1e725746fd8f4eacc39a0207f91310c35a12401d1b34cf9a6bfc1c44b8b39ff4725fcbcd95c38fe1461361106e8e11be28e0d3ff81d406963db76c073ce41e4e770f9b59f3c99a8d683c5b415e6237cca91dcc31b8c1a3008", + "ct" : "13648644122d5be6e56d210076b9bc59deaf16fff664777a2d6348b1e0da0efc4a77fe2bfe2aeb592ee56fb3208ea0e04d2026a433bdd6ff11b89839f058832d732dda51bfcd5cced8fa7cc58a91fd435fe0aac17a6084c7619b9209d83136c19161aeaca90bd5c92d5ad0d2a99efb392f29a2dd06f0c19d204fe997800e4e7df66efb9a2bc19820e8dd3cf48f3e74f17c50316ab323055366430c21b97171ac776b14ae49fb124cd9df5ead69d267659abfa21676e62b3a0e7d3fb1c575e5c116513d1b654d09d637706d94bf3b252086771398b5934e23f7de652a9906a143eb56bb54e739e53fbb21d73a55da793c82768b3ad880d1e732b5ebce5817debe", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "0d6caf1085c642a1d755c40f9773175b32cf5bc761c22cd2dc366f928395ba347f8a1862aa639c7232e7dfec37900c5442b4b225cc674246cf27e5f1d6fc012ee51acaaa7a51655eb882baac82b4990b2a80eb47856eab5ff72fa066d4eb83dba8eeef2efa4b8fc511c3f15fa0476ace4b6f4e3f6c554f1b9101062d9d52a7a8343312b1c7e450a2874b9d7b2d1fb7e782e607832b885191673226137453716063a593faa684f6b9ba5321befade244dd3b980f3af037409e335294b8bd647c8a0be1db253a6a1baab55fcfce963b09e27e63ee1f4010a534d1acd8185abf854051c658fa12d1e4abbb4f6193fac4654461e8bc941d5fbfb12d5bedccf4836c1", + "e" : "010001", + "keysize" : 2048, + "n" : "0087a58e0f307fe5cbd1e24b84fe4a504aeb7f6e62e482fbb2ff0662b6289594e369f5bc246bebbede1c06be16df402c60448e99152d6e8ab2eed1b4c2b36c3b7a0d2ba4f446e1e96d901f11e3a2e53acce88ef34ee36e77c6a2200876ef4750173d47c2a925704112233f32446d36d39ff0bfbb1d6369d5e188aacad1f56eca5c6380d40b8f8847a0e3145714618177682b24c29184d6b394c4f822ee3640eab510328914b2f6f4443758381dca079cc4df508f060e53dfb4a89b847fa42df73a6c60cf0b5e819296886e0d00f0823f24381830022bc07a9eb06c78e22c77ec124d95c69b5de527da2376364ea211508dc9f2f43b24ba06dbfb6996b8e488b54d", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "DWyvEIXGQqHXVcQPl3MXWzLPW8dhwizS3DZvkoOVujR_ihhiqmOccjLn3-w3kAxUQrSyJcxnQkbPJ-Xx1vwBLuUayqp6UWVeuIK6rIK0mQsqgOtHhW6rX_cvoGbU64PbqO7vLvpLj8URw_FfoEdqzktvTj9sVU8bkQEGLZ1Sp6g0MxKxx-RQoodLnXstH7fnguYHgyuIUZFnMiYTdFNxYGOlk_qmhPa5ulMhvvreJE3TuYDzrwN0CeM1KUuL1kfIoL4dslOmobqrVfz86WOwnifmPuH0AQpTTRrNgYWr-FQFHGWPoS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dKZEj3pLA/wTiqyFbmWO1cK1SDFQZ+zR64V2FDKmuqEXbSjne5\nAiXOK6GBgJn9Jl7YkQpW/IIiYv+QCZ3Hc/Lra1IrBaAJpcdkQi2F92UCgYEAtZw8\nI1Am13JRu6ONtwpIP9+91rY7/ixnxTiZ+t+OA+m1690z3ZO8soSM8wYOW6Z1b2Bo\n+d5W0jY//+4ufTLjI6BhS/7L6gGU91tRExYhPdq3Dw9hO3BzIeRyd2SyU9ZinV7E\nhGqTeq7+zEFQZ8O83Qn96G8v4w/eJKiunP6lq8kCgYBX3l74SGcpjwXoJQd1leP/\nkGJBi6o+RaHP2JbzFF59gNxbYrGc6gjU+n9pB5lNRLG8ShTosxOCzi/uNoFdIXon\noaR6kRLQBbUdxCFInnzEMMft0KIAMIqHryHosQaXN6y7BlkVhh/lWFQ/FFx33tb6\ntMZ1AkSdCCeG1HOBafQndQKBgErEcInFRMhsGzQZ6I0T4ZzSW1CbI+XHmE08uT/s\na4Y24JujLOgrG4OPSIwA0UZwKGbbFTzRiYLvrLeL8n2+xn5zV7s2wfKsBg0z/hPS\nh4r0kWrU1R3odK3eZDW9MiGL4HuTeWpeiir3ApVKynR9xDJoG61moRtk+/qxq3mc\n6M3pAoGAA9VJJvdw+MbUc1jlAlJsMJuXLnC+sfIGWOwJF8FyngXAZHbyXyYWlWlH\nl6lj21zwD9cg/KDf9nPhV7CuWnVLSHmbjsMlFQactRaKnd043H8GXw3ykgvjT7jw\n/0/qQDMC5JRN8apaIZjz7nvT3xnCf6cGFO+M+c6vJAhGZ2xxaBM=\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bc020100300d06092a864886f70d0101010500048204a6308204a2020100028201010087a58e0f307fe5cbd1e24b84fe4a504aeb7f6e62e482fbb2ff0662b6289594e369f5bc246bebbede1c06be16df402c60448e99152d6e8ab2eed1b4c2b36c3b7a0d2ba4f446e1e96d901f11e3a2e53acce88ef34ee36e77c6a2200876ef4750173d47c2a925704112233f32446d36d39ff0bfbb1d6369d5e188aacad1f56eca5c6380d40b8f8847a0e3145714618177682b24c29184d6b394c4f822ee3640eab510328914b2f6f4443758381dca079cc4df508f060e53dfb4a89b847fa42df73a6c60cf0b5e819296886e0d00f0823f24381830022bc07a9eb06c78e22c77ec124d95c69b5de527da2376364ea211508dc9f2f43b24ba06dbfb6996b8e488b54d0203010001028201000d6caf1085c642a1d755c40f9773175b32cf5bc761c22cd2dc366f928395ba347f8a1862aa639c7232e7dfec37900c5442b4b225cc674246cf27e5f1d6fc012ee51acaaa7a51655eb882baac82b4990b2a80eb47856eab5ff72fa066d4eb83dba8eeef2efa4b8fc511c3f15fa0476ace4b6f4e3f6c554f1b9101062d9d52a7a8343312b1c7e450a2874b9d7b2d1fb7e782e607832b885191673226137453716063a593faa684f6b9ba5321befade244dd3b980f3af037409e335294b8bd647c8a0be1db253a6a1baab55fcfce963b09e27e63ee1f4010a534d1acd8185abf854051c658fa12d1e4abbb4f6193fac4654461e8bc941d5fbfb12d5bedccf4836c102818100bf358cbe3a8fc1381f460a7c6140e99039d11411797e1961dbb0cd53dd921315fd21083a68f0b4bd4f745ae022b8dca801874a6448f7a4b03fc138aac856e658ed5c2b548315067ecd1eb85761432a6baa1176d28e77b90225ce2ba1818099fd265ed8910a56fc822262ff90099dc773f2eb6b522b05a009a5c764422d85f76502818100b59c3c235026d77251bba38db70a483fdfbdd6b63bfe2c67c53899fadf8e03e9b5ebdd33dd93bcb2848cf3060e5ba6756f6068f9de56d2363fffee2e7d32e323a0614bfecbea0194f75b511316213ddab70f0f613b707321e4727764b253d6629d5ec4846a937aaefecc415067c3bcdd09fde86f2fe30fde24a8ae9cfea5abc902818057de5ef84867298f05e825077595e3ff9062418baa3e45a1cfd896f3145e7d80dc5b62b19cea08d4fa7f6907994d44b1bc4a14e8b31382ce2fee36815d217a27a1a47a9112d005b51dc421489e7cc430c7edd0a200308a87af21e8b1069737acbb065915861fe558543f145c77ded6fab4c67502449d082786d4738169f427750281804ac47089c544c86c1b3419e88d13e19cd25b509b23e5c7984d3cb93fec6b8636e09ba32ce82b1b838f488c00d146702866db153cd18982efacb78bf27dbec67e7357bb36c1f2ac060d33fe13d2878af4916ad4d51de874adde6435bd32218be07b93796a5e8a2af702954aca747dc432681bad66a11b64fbfab1ab799ce8cde902818003d54926f770f8c6d47358e502526c309b972e70beb1f20658ec0917c1729e05c06476f25f261695694797a963db5cf00fd720fca0dff673e157b0ae5a754b48799b8ec32515069cb5168a9ddd38dc7f065f0df2920be34fb8f0ff4fea403302e4944df1aa5a2198f3ee7bd3df19c27fa70614ef8cf9ceaf240846676c716813", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 51, + "comment" : "edge case for Montgomery reduction over Z/nZ (32 bit)", + "msg" : "5d72b875a66301022bc2cb5128ec54abf1ca18e0b5b73c3fd566890796eb7172a45abcc4d806d69ae9d85ff45b717f922c", + "ct" : "181f37c923f2f1ddc6ad1de954439dabd8915ae9a3afd379ee5ffbebf877ecc26f83df5e945b0832d267fae35bbad4772c9f50be51490ddb7e61083da7b3b007a89e0fb996fca9de05c1d071d29fcfec33e8814ebada7fd8bf8f4c8fb92ad020923342a0232a2e7416d2d6343ff9c5a562faaac8a49aca35a3e2cbf3f6c04efd56f524e9afe4dc96a72c146b452307c9360c0187147ea2fcc2bd7a8fdfe05282944530482e678bcd506ac491b34da46fbb15ad573929c257dd190e1a84a5d26c30e8ae8501597883292f56cc0863a0186731d88ade418c87fb977cbf224b259fbd5ea2521ffb33c845f2b591bcc68294e0882c1742dcb4d5f23eb7d89ab28570", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "00946fb7567dabe46f1b354513d82533161f2e6b6139c7b756b8753fafff9451833b4e13e4879581140ab68f8fe82c6c8922f0c858c375dbef49858594e9c7dcb5526982daae7c321def8fd728b4ecff65888424380503b51788c445903514e1ad0a8b04e297554b6dc68c99c83e085ed027d5bf1bdc89d8c0e280cab881263a0b400121075ef95908352a39cb197a9dc2ebae42cbb8cdc9983bad45fb339c4de8773c561fc89a434b14ae46c44b0dbd758903d5c6cc33cff978edcca3154dc1c0f05526cb6c1cd9f8f5f448d5c324f26aaac05581667f82909f4c3bffeac47a6edec13ef22af955f4d9d6097deccd56ef24bfad55755c7a2930e2b6eed747b539", + "e" : "010001", + "keysize" : 2048, + "n" : "00c89ec880ede20b8666ee0fdd856abc5316d77a5d6e5b1637dafafc3cb0458681d6169215d53f4dd1087345d1597795420b0332115b974b83390dcbb444b33d52581374c58ae567c5fa2e4df2d2ae03134fcd62765f1ce9283a842acee79543a92fa1a49190db4d2618a82efdd036b87764851eea113db934e2afd538e6af050d232910903c1389ce620004556ae5e3830168ef791ff39a0ed0ef09347f3536edd89afb9caf98c31f36c2e6111c534cd5611b99b8db1ec4aabaae878a5406153ac91836285f028990573d0de94a527d2a077f1689c208b31e6f17a8a9448aaf2e7e3c68c96eb685b8e7adc92d0621cc0049c8e3cd5c1d3fc2ef631e714f4523c5", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "lG-3Vn2r5G8bNUUT2CUzFh8ua2E5x7dWuHU_r_-UUYM7ThPkh5WBFAq2j4_oLGyJIvDIWMN12-9JhYWU6cfctVJpgtqufDId74_XKLTs_2WIhCQ4BQO1F4jERZA1FOGtCosE4pdVS23GjJnIPghe0CfVvxvcidjA4oDKuIEmOgtAASEHXvlZCDUqOcsZep3C665Cy7jNyZg7rUX7M5xN6Hc8Vh_ImkNLFK5GxEsNvXWJA9XGzDPP-XjtzKMVTcHA8FUmy2wc2fj19EjVwyTyaqrAVYFmf4KQn0w7_-rEem7ewT7yKvlV9NnWCX3szVbvJL-tVXVceikw4rbu10e1OQ", + "dp" : "RVU5yCQjMSGHsnpSNkvINf38g8J3LtN8A31rL7VYqM-TH9zOv9132ZNkX7wy1e6P7LFK0BY6OXphk9EuZ5oGCUtOfaUO0ivPpstGSQnpVo-4ey-lRTYd2pQnZNw1B-vvtqPvHI_Mn6JubKABAGi-Evr6IZkwDmjV8JBz_nFnpns", + "dq" : "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7kd8dKoAZ19PkmGh1il8FYA0z25PN0PTkQHGF6+X76ydjx7a\ne7geu4Au9lIdfNRN1FEHu9ZGOwo4ekY6btYkElfjAoGARVU5yCQjMSGHsnpSNkvI\nNf38g8J3LtN8A31rL7VYqM+TH9zOv9132ZNkX7wy1e6P7LFK0BY6OXphk9EuZ5oG\nCUtOfaUO0ivPpstGSQnpVo+4ey+lRTYd2pQnZNw1B+vvtqPvHI/Mn6JubKABAGi+\nEvr6IZkwDmjV8JBz/nFnpnsCgYBXZZACg0muJ7RvXoxA32GbEV16rdAtKilnbW+o\n+PBqGzE0/j6QulupSQ3QbV3CihmcSx5xhOzBqIbxuiOXvD54fOclCUgDlGLU0A4d\ndrSJkPS17r2IPKqN/45LrU2+KFu7MKgHdJ0HdAdXCTq8O7FpEXxzbwoVZpHdf2Y7\nPgh5mwKBgFAi8M9AkTo44G59c5FnYLIahCieRLQLZs9hWhVfP0Lbotw23K7YX5Mv\n0uSHmanoAEaPZpPl2gX8Y/rbz10aGhAph8RLfKNek0RWMn7Eyv0RY3HmMYt1YOK4\nlBjXCEQOmzYJu/a13ACD/MetMBUk8UpuwdaiAxnKlY3EWnGF/mYM\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100c89ec880ede20b8666ee0fdd856abc5316d77a5d6e5b1637dafafc3cb0458681d6169215d53f4dd1087345d1597795420b0332115b974b83390dcbb444b33d52581374c58ae567c5fa2e4df2d2ae03134fcd62765f1ce9283a842acee79543a92fa1a49190db4d2618a82efdd036b87764851eea113db934e2afd538e6af050d232910903c1389ce620004556ae5e3830168ef791ff39a0ed0ef09347f3536edd89afb9caf98c31f36c2e6111c534cd5611b99b8db1ec4aabaae878a5406153ac91836285f028990573d0de94a527d2a077f1689c208b31e6f17a8a9448aaf2e7e3c68c96eb685b8e7adc92d0621cc0049c8e3cd5c1d3fc2ef631e714f4523c502030100010282010100946fb7567dabe46f1b354513d82533161f2e6b6139c7b756b8753fafff9451833b4e13e4879581140ab68f8fe82c6c8922f0c858c375dbef49858594e9c7dcb5526982daae7c321def8fd728b4ecff65888424380503b51788c445903514e1ad0a8b04e297554b6dc68c99c83e085ed027d5bf1bdc89d8c0e280cab881263a0b400121075ef95908352a39cb197a9dc2ebae42cbb8cdc9983bad45fb339c4de8773c561fc89a434b14ae46c44b0dbd758903d5c6cc33cff978edcca3154dc1c0f05526cb6c1cd9f8f5f448d5c324f26aaac05581667f82909f4c3bffeac47a6edec13ef22af955f4d9d6097deccd56ef24bfad55755c7a2930e2b6eed747b53902818100f4ba7494ef91c4f85bf016c98142f27f9fa129cdfd9045a3f723ed4394f4aeab1b6388b01bbe87f68f01e78c53cdff2bb60ef7830a7115961f9ac798c4587c5b83d9cb0549852fa27fb0522004aa5eaeadf5efc39eecb9b47f5f4d5bc1ca6efcd2ac9f02499dbd5614251869c9575a6039facbcdab5d42880cfe5def805a563702818100d1dc41ff09641115835f68fbbedd2d7c817b80bacb960808cb5744fdd1f56df4580eed655b51eaa134c566725be6bfa0e98facfa18208d9204f471eb5d0dee477c74aa00675f4f9261a1d6297c158034cf6e4f3743d39101c617af97efac9d8f1eda7bb81ebb802ef6521d7cd44dd45107bbd6463b0a387a463a6ed6241257e3028180455539c82423312187b27a52364bc835fdfc83c2772ed37c037d6b2fb558a8cf931fdccebfdd77d993645fbc32d5ee8fecb14ad0163a397a6193d12e679a06094b4e7da50ed22bcfa6cb464909e9568fb87b2fa545361dda942764dc3507ebefb6a3ef1c8fcc9fa26e6ca0010068be12fafa2199300e68d5f09073fe7167a67b028180576590028349ae27b46f5e8c40df619b115d7aadd02d2a29676d6fa8f8f06a1b3134fe3e90ba5ba9490dd06d5dc28a199c4b1e7184ecc1a886f1ba2397bc3e787ce7250948039462d4d00e1d76b48990f4b5eebd883caa8dff8e4bad4dbe285bbb30a807749d07740757093abc3bb169117c736f0a156691dd7f663b3e08799b0281805022f0cf40913a38e06e7d73916760b21a84289e44b40b66cf615a155f3f42dba2dc36dcaed85f932fd2e48799a9e800468f6693e5da05fc63fadbcf5d1a1a102987c44b7ca35e934456327ec4cafd116371e6318b7560e2b89418d708440e9b3609bbf6b5dc0083fcc7ad301524f14a6ec1d6a20319ca958dc45a7185fe660c", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 52, + "comment" : "edge case for Montgomery reduction over Z/nZ (64 bit)", + "msg" : "7259cfb45f3651d59b996115be31006e82243cb1317d23418d64a047b984f4f8345ea0b8b193b532c2769b8fa0d4aba9642446eed61b037b87f045f2992738640f3fe81236d5dc36a384d0d408c4b3273a6dad21526815c29955224ea85d3ea7e77e45738dd27411c57f7b33878dd5472cb9f19fee68fd8daf7e40e6e210135d02f1bc5a6660c23418b6499cb1749336c7074df3452a88fdb723f591a70781", + "ct" : "b3b6ce381b69a43046647e000c1ab2bb9456c7022dd1ea19a2761d85963e56f7337d04529bc975c34880552ca51497ced06bdbd8c54bf4ba83540185273b55c81b86c0a337df5fe8ebb4b43db0ac105a78f8de8240c2b3a0fb7b8f7e7fc8a70a462618387edb8a77195f8a43ba2ef1ad3f1216598cf1b4f02f2bcdd2fbe9885cdeb74754ffba96d978e68045b1754e35ba8c54183106fb2c9f5685adb5f14d239e8c8e19b39c142b0f01e3934ae1b7315b0db5986c7d9b39bbe960faa32337342b3d02ca5148f308fcaa718001e39d0c0bfcedf9e91e2d12919bcd739c431e37ddd20abf4a35644246da2951983f1d6fa32ac259f222501c4c8640b43279bb03", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "47748bd2f2cb67a3d76d5224fc9bd486287feac925c6d78e96cab6d1525b59e6d8d6637cda5d4390802349fea73e2a4e5fea8ccead58e910cc2f8101c78566918934e6135280cb7a04dc2902fd055b6706a31a576e618f720890686f8033f8d1b1f4128f06e0c981247646ca6d73d2c68fdf0cda36d0f1741b274c952989e80e2094ccb4e04952c44da59a4f194882d897c5f62c2f29af9737c3b9f1a24d625926f1f55b0e39e918dc35237676e063933bee2c33483a4cba1755c0d176b3a0ba9e5a245506c51c074d5c9819685ed6640b73de173fd892bccd7f772d44d4c050ccb833c74ba421ebfb7f6991d57a8a4d20ea0b846d9453f5e7cc22c335100e61", + "e" : "010001", + "keysize" : 2048, + "n" : "00aab3022dc93a3b87213fe5e4b3fe4b27dae14af117f1ca900681c28fd3eca157df46d43a6eb0f167426b6819fd8b4bd52ba94c6fb307b16851ac071a99839325ca5917201fd71268c6ee28312d5f770dff62a497ff7c97a6ca841b1908730c5080280e3678d2859b89728716d3bbd84eb531f7b0281e1654a93165ff5911d689a238b339ac3737673ed050cbfc08b4f64f76b0596612c9883ed21f1e43bf8600466c7683ae3039044c3162b8919389108b2d51760e366dc257559b9d63bde45a2b541be9f24993b209acff5b3a24217fd337449d69075e1bec7a65ed4faef02fdc33af4df506720177c134cbc486803d5c20c3d9688985707aa5b8007882f731", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "R3SL0vLLZ6PXbVIk_JvUhih_6sklxteOlsq20VJbWebY1mN82l1DkIAjSf6nPipOX-qMzq1Y6RDML4EBx4VmkYk05hNSgMt6BNwpAv0FW2cGoxpXbmGPcgiQaG-AM_jRsfQSjwbgyYEkdkbKbXPSxo_fDNo20PF0GydMlSmJ6A4glMy04ElSxE2lmk8ZSILYl8X2LC8pr5c3w7nxok1iWSbx9VsOOekY3DUjdnbgY5M77iwzSDpMuhdVwNF2s6C6nlokVQbFHAdNXJgZaF7WZAtz3hc_2JK8zX93LUTUwFDMuDPHS6Qh6_t_aZHVeopNIOoLhG2UU_XnzCLDNRAOYQ", + "dp" : "StpCHcJ6LuMX8XmuPwDU6k0XzlB8lm8bIV-GguXuXntz_STRep9SsmgawhFaVS-BbSs-l39_wPKtma7WqXxsJJAs5wlJNUmCet1-QVPt4RqofkawcdbE3iqoNthzqoTPW2DpIpOESg09NnovtzYm1n2wgpPxhbEZVMPFZEUjZ0U", + "dq" : "s1liRuHF5KaP0z0PlPdimaOPM4ia1xYdWl3Bv2uKfBDVpa0kmRMG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\nNmwQ4VhX1jGQ9+c3XOq69Ww1Qu1/OanfL3E1kc0CgYBK2kIdwnou4xfxea4/ANTq\nTRfOUHyWbxshX4aC5e5ee3P9JNF6n1KyaBrCEVpVL4FtKz6Xf3/A8q2ZrtapfGwk\nkCznCUk1SYJ63X5BU+3hGqh+RrBx1sTeKqg22HOqhM9bYOkik4RKDT02ei+3NibW\nfbCCk/GFsRlUw8VkRSNnRQKBgQCzWWJG4cXkpo/TPQ+U92KZo48ziJrXFh1aXcG/\na4p8ENWlrSSZEwaKEhdP+NBf25ZR2PivBsbRA7Wz2ko9zvPMiQSsMoAxt2d0DlRV\nng+cJq2sLdLuofhurwO2olq5g+rzu7NqzlPs8pvqO4/3/S7CZliwOWZu7K+RdZma\n86P+kQKBgQC5CRUTxqkaA3CuJtPr5MtUENJ9QIYhPhAw3ODn4/Q1+6HyK3HwJkm0\nJczNY001o9Sbqslvl4WuOaIdjNiKJqpVMBLoQ5lH3D27TQIVuawkr8mjuv96cCZ0\nAT8gAGQNtjEG/UAM0+IwuYmZr55/ag0D1f7gucni5CLv85aKHNB64A==\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204be020100300d06092a864886f70d0101010500048204a8308204a40201000282010100aab3022dc93a3b87213fe5e4b3fe4b27dae14af117f1ca900681c28fd3eca157df46d43a6eb0f167426b6819fd8b4bd52ba94c6fb307b16851ac071a99839325ca5917201fd71268c6ee28312d5f770dff62a497ff7c97a6ca841b1908730c5080280e3678d2859b89728716d3bbd84eb531f7b0281e1654a93165ff5911d689a238b339ac3737673ed050cbfc08b4f64f76b0596612c9883ed21f1e43bf8600466c7683ae3039044c3162b8919389108b2d51760e366dc257559b9d63bde45a2b541be9f24993b209acff5b3a24217fd337449d69075e1bec7a65ed4faef02fdc33af4df506720177c134cbc486803d5c20c3d9688985707aa5b8007882f73102030100010282010047748bd2f2cb67a3d76d5224fc9bd486287feac925c6d78e96cab6d1525b59e6d8d6637cda5d4390802349fea73e2a4e5fea8ccead58e910cc2f8101c78566918934e6135280cb7a04dc2902fd055b6706a31a576e618f720890686f8033f8d1b1f4128f06e0c981247646ca6d73d2c68fdf0cda36d0f1741b274c952989e80e2094ccb4e04952c44da59a4f194882d897c5f62c2f29af9737c3b9f1a24d625926f1f55b0e39e918dc35237676e063933bee2c33483a4cba1755c0d176b3a0ba9e5a245506c51c074d5c9819685ed6640b73de173fd892bccd7f772d44d4c050ccb833c74ba421ebfb7f6991d57a8a4d20ea0b846d9453f5e7cc22c335100e6102818100f099d87fed03d2501dca1b17868c7f8e51ea523e7d2aeca56410b90d73eb1cc359511ba4a315ace0953a46099f6d78ce9389f8fa6381fee687fbd644d5bcff65ab10e0acf8bcc5d37b5c3c810cfc3bd2916ed1d766b583ef787a4314d6237d177e872e9cfb0d23f7671121906586427a79cdc14d551604a224cd63bb2d0226f502818100b59fd9a569e3f497eb16d1fb6b5ad688326a53abd0b83f1e9e8efe2336131cd3a7ab94618eb4ba8282abf0cf78e7f2ec4a4d4a1958a5cad8436f915bb1cebbcd0993e2ea01f2743566822136546ba2fc5a239579e6ec94dd7ce677de0482500ce0e70b366c10e15857d63190f7e7375ceabaf56c3542ed7f39a9df2f713591cd0281804ada421dc27a2ee317f179ae3f00d4ea4d17ce507c966f1b215f8682e5ee5e7b73fd24d17a9f52b2681ac2115a552f816d2b3e977f7fc0f2ad99aed6a97c6c24902ce709493549827add7e4153ede11aa87e46b071d6c4de2aa836d873aa84cf5b60e92293844a0d3d367a2fb73626d67db08293f185b11954c3c5644523674502818100b3596246e1c5e4a68fd33d0f94f76299a38f33889ad7161d5a5dc1bf6b8a7c10d5a5ad249913068a12174ff8d05fdb9651d8f8af06c6d103b5b3da4a3dcef3cc8904ac328031b767740e54559e0f9c26adac2dd2eea1f86eaf03b6a25ab983eaf3bbb36ace53ecf29bea3b8ff7fd2ec26658b039666eecaf9175999af3a3fe9102818100b9091513c6a91a0370ae26d3ebe4cb5410d27d4086213e1030dce0e7e3f435fba1f22b71f02649b425cccd634d35a3d49baac96f9785ae39a21d8cd88a26aa553012e8439947dc3dbb4d0215b9ac24afc9a3baff7a702674013f2000640db63106fd400cd3e230b98999af9e7f6a0d03d5fee0b9c9e2e422eff3968a1cd07ae0", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 53, + "comment" : "edge case for Montgomery reduction over Z/nZ (64 bit)", + "msg" : "224bcda382d96b12ef56ee0fc56b67431b6490aa2f0e8f6528424c32d6611c4c0b9753a167a633e6a74465ca068ff40f802b43726a65f1251e2a075a2cffb1510249dbbda0f1877fc014310bf4c428295d5c1fa3fcca34441d4e84b1834f40079ca09ce1a52915dcf9d5472b9aec1a862d619c310cf9680fe7cbc03bfeb9cde565ca4666625ee2cd6725327c942dbb5b836f0cef24b2e646c91924543a07b6c5925ea8820b909e2040e2d50b7edf9fe5f241", + "ct" : "97e090014478c58f681840c5170ee90584f734f154ed9b4850df6c20ac5470fa8b44c4f985ffcb52024917c51bd12a6773caa1d1d29c6b5fbd42963dfda4473cc573188ea41b3e254de9f9dd3472e00e4f22b0246fd3452f25fc607f16ac4f07d8cea65722606642b4f3ade0115ebc1cb56f3a5c600efd07e2d7e5b90977aa6cd5fcdda7bcd8123b15f71bd8f07b8440b540067de6677efe57a25eeb5d90dd4c6262e1a3b15a6a93d0e901e205420e2169bc4e1e4f55bb36432c50b92c22798c3c5c703461b99bc06ba22ec5c0fb17db74fa4faaf889f95718ae0c1d1b83e5e6421dd1327682e25c04061cfd30a7b9b4d470d736dd0c11788afa830598d8a06b", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "57f0bea7b8fcf80aa46ee59c74354b96693d2c728c185f90047e2a6937ca8b7e6952646c407125d2b88a7a0b110c4626735c961f9cea5d600daabf5259d5550110acd4660aff59eb2e89a9443d2416852094f968a536407f1f203e9c63dbef5d5f7cd08ade6ecf5902dabc3c63e6247f8993369225c3064f11a8e2cd80938859112602ccc080995e63a96a537c001433fbda0e03d466b9e4fa3a32345c4b45699861793946ccaf84b0bb43c560f376ec422d5246c94d2867b66c1798877af3cb1cc85eea36cec5c8146a8669bceee23e292e538e907c89fe9e231accd4b728b31b81a4bb8bd3d66ec21d1a30294290d7837b2718967a74920bbf2727e62b3111", + "e" : "010001", + "keysize" : 2048, + "n" : "00a333f78948a0c44e8e6a58c8bafc3e4fface7889db0cccb8bd82deb8b2a616f18d0860d713b6aed9d7b3ee3c6c53f830c8ae66122528d47315075433641c1e60927a425642fe40983cd014bf22fcbc41dfea61f6ae953b1ece7ba7e1fa1daff2e291c4a40ebe1e02b67280a7417338f2a206b3098e927e4c0f13ff2d2887e2fc0ead80050d10f424c6993f32ebd6c7a96c6c820e463db1b1b58980d9f092d708e779f30a786a3b144eaf513e737eee7a699e6443aa729e8e3bae605a5ef0f391401dd33ed1e78dcf0739f3e92601ce26b0363d590ec29a75f5fa876b987deb0753119e733f4da571a62be1a2b8430d9092b15d5be7b60a4676a5dbe95eb763d7", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "V_C-p7j8-AqkbuWcdDVLlmk9LHKMGF-QBH4qaTfKi35pUmRsQHEl0riKegsRDEYmc1yWH5zqXWANqr9SWdVVARCs1GYK_1nrLompRD0kFoUglPlopTZAfx8gPpxj2-9dX3zQit5uz1kC2rw8Y-Ykf4mTNpIlwwZPEajizYCTiFkRJgLMwICZXmOpalN8ABQz-9oOA9RmueT6OjI0XEtFaZhheTlGzK-EsLtDxWDzduxCLVJGyU0oZ7ZsF5iHevPLHMhe6jbOxcgUaoZpvO7iPikuU46QfIn-niMazNS3KLMbgaS7i9PWbsIdGjApQpDXg3snGJZ6dJILvycn5isxEQ", + "dp" : "A1NgBIO9i1QvNfyD67TQ5tjr7T4gjeePGp2o9r6pGWlY1DQoQzoOPew4KNkxeCJbrULC67VFDsrDAARTPZvJVr3RFcrpYADCFZJJofITzbXB9BdK3DCjBwGOKXKZxaa8IPNL2VEXNo7ATo2L-I85xlte2826ZUfbI3DwtCqc9mE", + "dq" : "R7QAW6xKQQw3vL3Rv-0gYg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pWgvwT4xhKuafqn0UaSRXHtI+\n5kyq2iauuh2oMFovlFzQbqAzX8UM1X9JnvK4FfUCgYADU2AEg72LVC81/IPrtNDm\n2OvtPiCN548anaj2vqkZaVjUNChDOg497Dgo2TF4IlutQsLrtUUOysMABFM9m8lW\nvdEVyulgAMIVkkmh8hPNtcH0F0rcMKMHAY4pcpnFprwg80vZURc2jsBOjYv4jznG\nW17bzbplR9sjcPC0Kpz2YQJ/R7QAW6xKQQw3vL3Rv+0gYg9og4O3IjXJxD0oE5WC\n8hlFrSIECT3+S55/zE+aVU8GzpNKOxvI4Eb/5Iw97qj503jR1rUMANGh9b7DmBbc\n+WhKsB++DccKR+FNXvcLm/jgW4+px8yrmkjAjlBzGX5eKbBHqMXKSr/VA2U47MMl\njQKBgH6+diqNzfkBpcDe1A2vNxMQjtOG5RfmkA8sugRukdNN+Bvs67JTOfi/SVQ3\nLQODsSmeiZrgiOm8BcoaR4pZB4OfXETECverhhQa+SdUwNzIxL7YeezVjTo+Yw7T\na5+DD6oiqj5C4IYX5M7wU63Zz/Rl+LYprIyiZDwRR9R86PtK\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204ba020100300d06092a864886f70d0101010500048204a4308204a00201000282010100a333f78948a0c44e8e6a58c8bafc3e4fface7889db0cccb8bd82deb8b2a616f18d0860d713b6aed9d7b3ee3c6c53f830c8ae66122528d47315075433641c1e60927a425642fe40983cd014bf22fcbc41dfea61f6ae953b1ece7ba7e1fa1daff2e291c4a40ebe1e02b67280a7417338f2a206b3098e927e4c0f13ff2d2887e2fc0ead80050d10f424c6993f32ebd6c7a96c6c820e463db1b1b58980d9f092d708e779f30a786a3b144eaf513e737eee7a699e6443aa729e8e3bae605a5ef0f391401dd33ed1e78dcf0739f3e92601ce26b0363d590ec29a75f5fa876b987deb0753119e733f4da571a62be1a2b8430d9092b15d5be7b60a4676a5dbe95eb763d702030100010282010057f0bea7b8fcf80aa46ee59c74354b96693d2c728c185f90047e2a6937ca8b7e6952646c407125d2b88a7a0b110c4626735c961f9cea5d600daabf5259d5550110acd4660aff59eb2e89a9443d2416852094f968a536407f1f203e9c63dbef5d5f7cd08ade6ecf5902dabc3c63e6247f8993369225c3064f11a8e2cd80938859112602ccc080995e63a96a537c001433fbda0e03d466b9e4fa3a32345c4b45699861793946ccaf84b0bb43c560f376ec422d5246c94d2867b66c1798877af3cb1cc85eea36cec5c8146a8669bceee23e292e538e907c89fe9e231accd4b728b31b81a4bb8bd3d66ec21d1a30294290d7837b2718967a74920bbf2727e62b311102818100d839bceca3100480a51f6c2ab91374bd6a5af65ce69c79251fafa3a88a1e7e96eb0f7d122118c102a825dbc5ab00f8d744aec6b8eff0c710b587f4a307e141a86ba374d31716e415eccaf8f2b8513740ee2f0bec91245f66c04beff09051660a142be2b20432b44ef31ff67b749f11abf932957b7aab3d0f0f42118d0869e71b02818100c1395917600ff8d375fd320152d9f0aa458032fdec304defc4c9e5e70c5d0c6c60677dd2a512f147b6b0483f0f35a80b172e12574e3076bc4be938f3d1ece3aaf9a7e92aceb6e1606a1ce5f785463c03695a0bf04f8c612ae69faa7d146924571ed23ee64caada26aeba1da8305a2f945cd06ea0335fc50cd57f499ef2b815f50281800353600483bd8b542f35fc83ebb4d0e6d8ebed3e208de78f1a9da8f6bea9196958d43428433a0e3dec3828d93178225bad42c2ebb5450ecac30004533d9bc956bdd115cae96000c2159249a1f213cdb5c1f4174adc30a307018e297299c5a6bc20f34bd95117368ec04e8d8bf88f39c65b5edbcdba6547db2370f0b42a9cf661027f47b4005bac4a410c37bcbdd1bfed20620f688383b72235c9c43d28139582f21945ad2204093dfe4b9e7fcc4f9a554f06ce934a3b1bc8e046ffe48c3deea8f9d378d1d6b50c00d1a1f5bec39816dcf9684ab01fbe0dc70a47e14d5ef70b9bf8e05b8fa9c7ccab9a48c08e5073197e5e29b047a8c5ca4abfd5036538ecc3258d0281807ebe762a8dcdf901a5c0ded40daf3713108ed386e517e6900f2cba046e91d34df81becebb25339f8bf4954372d0383b1299e899ae088e9bc05ca1a478a5907839f5c44c40af7ab86141af92754c0dcc8c4bed879ecd58d3a3e630ed36b9f830faa22aa3e42e08617e4cef053add9cff465f8b629ac8ca2643c1147d47ce8fb4a", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 54, + "comment" : "edge case for Montgomery reduction over Z/nZ (2048 bit)", + "msg" : "991d040b49f1338a65d2f996e4f1e651f075f143db4ed0a29ae936ecef91a85d4edebb806e50735522ef88f4bbf5ce47c12eeba0f768216b9dc304544db563e53bf41a26360440997d06ba6e46c2c7c02272e00852a95e5bce8f0223f6dd235c3c7bf8132ab4ce68ef53f82dac02f142abe7db2b5ca67d7ac3857423e5df927f2eceb0c003c087e55dcaa923181ce629e3464592711a86bf0d07c80c58416b74f35ac14b2d4747818eb8cb16b6d3b6de0a21f27d4f1271439aad21024d", + "ct" : "8c97556b822e64cc85ff36d1cd977620da4a72e765d12f742ec57732064cf19e2215b67aadf1d38a5ac23462372be206732038945001fd1991b3e3cbc10c81a073dd54e2da890f6c9d7b8e8154be1b3dc5e2c544ba8ce09687d62b707ef8dcbff88c6c33ccf72edc71d91b9e3ad51562a82c6414efe6cf7ed938bb22381e6846da3917fb2503725977ddd4750120a21a7bf6dca949b397a8e7824f2aee231fb0d16b00ed927f2fede4e7043f1ea18430b22a4767796085ea68d3ff29f5082972746d2f4e2f465534ad87088f03a8fb699f3bc840d47953bbd4cb3a29c00fccdebff359d651bfdb6fbbbebf1ecbcc748a06738ebd3f027b646920963eeb067c33", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "0089fb4ec55d28b21df04699e3f3bd8eaf3509e3ef2ab301632075cd6e61fa8ca6c14d00cbb19230f77e626b8e20fa994929e8010776db049ff2b639e15c0bddf17db3bd7b60803e6ed4cd7095114da560e7015075d24cfd2e262e6ddcc3bf3a69849b3b2223bb753d8cc0c8423df0587f845da6c07bff3e58e3f4614b3ee4caac10ca4feca4b2508c06aa55cc2431bf105edaabd5e70e7139dd6436ecf03f3a2af724fd2fc777ba63184dfd9be1e24604dc6fe52c405400e8cd47d7a7fccfa410f895f455a6e2d92b783dd5b92f15261208ff86d1cbfcd3428ba0f5b6d510c17730f6a2c53866f0c03ba03ded6a228f1c888d4bf35cca773683fecd28d81bdcc1", + "e" : "010001", + "keysize" : 2048, + "n" : "00ab1ae81a7c70a56c14361b6dc7c28d6821fd776d3432dc812aa8ecf1ebb7e09e2c22eccadfb83ebf0f3f8842f1fc3b942bc178457af5b7fecba5e311faedf61616220503959b56b10cea46e84d97cfa1a97fac412773df8aad7de99910b61f23e376a0343b2952ba9db09a8deadfaf0265a6672a7e8a6944ab2697b08f9cb036517f82a49d76853187d9bb8e821f4b8788cd0ad6864747556bb1ad049ff69fb4dee9f9d4fd7c3083847f8903cdafabfbef26b560ba76561e4342fc68fdd177d86b20eb9efa3bffbae8e006155b396954f6c626fa0a67294f5094f6be5b4038974aa6472df0148fbaa1a74a7c31a40723f63535bd6a06fc89b5a7b34aea6c0c87", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "iftOxV0osh3wRpnj872OrzUJ4-8qswFjIHXNbmH6jKbBTQDLsZIw935ia44g-plJKegBB3bbBJ_ytjnhXAvd8X2zvXtggD5u1M1wlRFNpWDnAVB10kz9LiYubdzDvzpphJs7IiO7dT2MwMhCPfBYf4RdpsB7_z5Y4_RhSz7kyqwQyk_spLJQjAaqVcwkMb8QXtqr1ecOcTndZDbs8D86Kvck_S_Hd7pjGE39m-HiRgTcb-UsQFQA6M1H16f8z6QQ-JX0Vabi2St4PdW5LxUmEgj_htHL_NNCi6D1ttUQwXcw9qLFOGbwwDugPe1qIo8ciI1L81zKdzaD_s0o2BvcwQ", + "dp" : "cVavFwazFEnSvQ85dQB3mAzS72Q2-cWAb7xnNgUnaecxqQaqpW2mLnRTdSZCcfpqx3qlXw6aogKUqUdUp7r6Z8cHU33H0l65teiOpqYEqgHqSMnlWlWogB48Z7sfugrKuLP47V4mOpEgTiZAL7HDltpENuk8RNEAomEHiLAliyE", + "dq" : "pApwF1TTrtaIZPKqm89zGDViXNl18-F11BqRcT_V5OCzgtcufim4lVqltZI7RjdLaJiYwGk9rZhnaZcl_TNcvC__0iiaujvsoEUC3GXBB05MSuR7zB999VLCPyeAIxAAX2WnNb3gCeYo7X-61rlzEIC2h-X252O-WkxeSUNOoqk", + "e" : "AQAB", + "kid" : "none", + "kty" : "RSA", + "n" : "qxroGnxwpWwUNhttx8KNaCH9d200MtyBKqjs8eu34J4sIuzK37g-vw8_iELx_DuUK8F4RXr1t_7LpeMR-u32FhYiBQOVm1axDOpG6E2Xz6Gpf6xBJ3Pfiq196ZkQth8j43agNDspUrqdsJqN6t-vAmWmZyp-imlEqyaXsI-csDZRf4KknXaFMYfZu46CH0uHiM0K1oZHR1Vrsa0En_aftN7p-dT9fDCDhH-JA82vq_vvJrVgunZWHkNC_Gj90XfYayDrnvo7_7ro4AYVWzlpVPbGJvoKZylPUJT2vltAOJdKpkct8BSPuqGnSnwxpAcj9jU1vWoG_Im1p7NK6mwMhw", + "p" : "37e19nPzEdFkFmf0jz4qaTwGcpHWQYLU0OVkHWUQMy-phad7eYiEV3xiFl-TIZvFWqOHPN2UFxwSKiEjgbtk42-3ayL0HJwW643cIAyrqgC-EPbXVlVMdFMPa6YP3I06rA4Dvf32Gvs57iGyavFMaiPUpVpAWemuktlqpdUV-BE", + "q" : "w8um3T3pTVlrkTMdqf-owbHVc9lfHjpX3VBi0nuapNqcHJ7mHvV-mzcV_Rcl13fd-6ebtVZRrcjbxgfxUxbawU3hPRQlPMWkCnOHYeS4_PT-t_-VZypAI5YbWVHsZI7eyFwViYaLfwzALiRBhtYaaqeduHtg8h5ZxNtbUKDxkxc", + "qi" : "p0EROiDeiHBo8txKkVMtntgLZQXqsLyuapsGsQSCQmiXg_Zb28lZYozyQRq28ToXMf3jxgrOslhZ5-HGk65OuRTSMhFoeEbOdG2vQ8x20aTOJKvgDOmakUAsI3Jd1AM_Kaqi4DlADguFqIlNJ1UXcx-95vgu6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zh2HkuPz0/rf/lWcqQCOWG1lR7GSO3shc\nFYmGi38MwC4kQYbWGmqnnbh7YPIeWcTbW1Cg8ZMXAoGAcVavFwazFEnSvQ85dQB3\nmAzS72Q2+cWAb7xnNgUnaecxqQaqpW2mLnRTdSZCcfpqx3qlXw6aogKUqUdUp7r6\nZ8cHU33H0l65teiOpqYEqgHqSMnlWlWogB48Z7sfugrKuLP47V4mOpEgTiZAL7HD\nltpENuk8RNEAomEHiLAliyECgYEApApwF1TTrtaIZPKqm89zGDViXNl18+F11BqR\ncT/V5OCzgtcufim4lVqltZI7RjdLaJiYwGk9rZhnaZcl/TNcvC//0iiaujvsoEUC\n3GXBB05MSuR7zB999VLCPyeAIxAAX2WnNb3gCeYo7X+61rlzEIC2h+X252O+Wkxe\nSUNOoqkCgYEAp0EROiDeiHBo8txKkVMtntgLZQXqsLyuapsGsQSCQmiXg/Zb28lZ\nYozyQRq28ToXMf3jxgrOslhZ5+HGk65OuRTSMhFoeEbOdG2vQ8x20aTOJKvgDOma\nkUAsI3Jd1AM/Kaqi4DlADguFqIlNJ1UXcx+95vgu6OYuUj1kkiy9Fyc=\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bf020100300d06092a864886f70d0101010500048204a9308204a50201000282010100ab1ae81a7c70a56c14361b6dc7c28d6821fd776d3432dc812aa8ecf1ebb7e09e2c22eccadfb83ebf0f3f8842f1fc3b942bc178457af5b7fecba5e311faedf61616220503959b56b10cea46e84d97cfa1a97fac412773df8aad7de99910b61f23e376a0343b2952ba9db09a8deadfaf0265a6672a7e8a6944ab2697b08f9cb036517f82a49d76853187d9bb8e821f4b8788cd0ad6864747556bb1ad049ff69fb4dee9f9d4fd7c3083847f8903cdafabfbef26b560ba76561e4342fc68fdd177d86b20eb9efa3bffbae8e006155b396954f6c626fa0a67294f5094f6be5b4038974aa6472df0148fbaa1a74a7c31a40723f63535bd6a06fc89b5a7b34aea6c0c870203010001028201010089fb4ec55d28b21df04699e3f3bd8eaf3509e3ef2ab301632075cd6e61fa8ca6c14d00cbb19230f77e626b8e20fa994929e8010776db049ff2b639e15c0bddf17db3bd7b60803e6ed4cd7095114da560e7015075d24cfd2e262e6ddcc3bf3a69849b3b2223bb753d8cc0c8423df0587f845da6c07bff3e58e3f4614b3ee4caac10ca4feca4b2508c06aa55cc2431bf105edaabd5e70e7139dd6436ecf03f3a2af724fd2fc777ba63184dfd9be1e24604dc6fe52c405400e8cd47d7a7fccfa410f895f455a6e2d92b783dd5b92f15261208ff86d1cbfcd3428ba0f5b6d510c17730f6a2c53866f0c03ba03ded6a228f1c888d4bf35cca773683fecd28d81bdcc102818100dfb7b5f673f311d1641667f48f3e2a693c067291d64182d4d0e5641d6510332fa985a77b798884577c62165f93219bc55aa3873cdd94171c122a212381bb64e36fb76b22f41c9c16eb8ddc200cabaa00be10f6d756554c74530f6ba60fdc8d3aac0e03bdfdf61afb39ee21b26af14c6a23d4a55a4059e9ae92d96aa5d515f81102818100c3cba6dd3de94d596b91331da9ffa8c1b1d573d95f1e3a57dd5062d27b9aa4da9c1c9ee61ef57e9b3715fd1725d777ddfba79bb55651adc8dbc607f15316dac14de13d14253cc5a40a738761e4b8fcf4feb7ff95672a4023961b5951ec648edec85c1589868b7f0cc02e244186d61a6aa79db87b60f21e59c4db5b50a0f193170281807156af1706b31449d2bd0f39750077980cd2ef6436f9c5806fbc6736052769e731a906aaa56da62e745375264271fa6ac77aa55f0e9aa20294a94754a7bafa67c707537dc7d25eb9b5e88ea6a604aa01ea48c9e55a55a8801e3c67bb1fba0acab8b3f8ed5e263a91204e26402fb1c396da4436e93c44d100a2610788b0258b2102818100a40a701754d3aed68864f2aa9bcf731835625cd975f3e175d41a91713fd5e4e0b382d72e7e29b8955aa5b5923b46374b689898c0693dad9867699725fd335cbc2fffd2289aba3beca04502dc65c1074e4c4ae47bcc1f7df552c23f27802310005f65a735bde009e628ed7fbad6b9731080b687e5f6e763be5a4c5e49434ea2a902818100a741113a20de887068f2dc4a91532d9ed80b6505eab0bcae6a9b06b1048242689783f65bdbc959628cf2411ab6f13a1731fde3c60aceb25859e7e1c693ae4eb914d23211687846ce746daf43cc76d1a4ce24abe00ce99a91402c23725dd4033f29aaa2e039400e0b85a8894d275517731fbde6f82ee8e62e523d64922cbd1727", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 55, + "comment" : "edge case for Montgomery reduction over Z/nZ (2048 bit)", + "msg" : "5b1d0e30c1973a87ed29cf3b7b4b48ae3d2e054698a86ebfbb43c5041ce7fd5146018abcb2bda195928b4820b6ce60df34c97c650c75b4dc274b35c7dd33f97839189fddd46c960f996423fb1c30a1c94c01c8ce575903d4c1af7b805443289d653b9cfcbc1482e84fe8c19cda33f9324b1aaf3e232699017d67d281450ed445265ff1aaa52e2a74b43097e590dbab20eca6b8bbd6df182b2e963e374f32f76b700661598ff707512e0f99849c73a49f7c068122952185855f254d3473246818894740b06c0f74b0711fffa7caacd403f886b4982f71a1d940d0b3118cdcb4135bec8d46b266cd2719873751a82b46f5a924", + "ct" : "0e3f66a0127d21df1128701a777a5338d5727bc8041c3b8c25bcaa5bfc83b0261150a5bf41658c08cc019e3ebeeabb729c3bde84ffd2023f63313b3d1ac00ab4637b36e855a0d8e368971b2ba99ad1eeb74f2db48fa9abb125ea9e7568c612c1ad48110d1008141ac34c98e8952347142470171ddb4dcd914a3dc0d0ca4f51a247758da924d5ea041c8789b26974349af3a9bfb83ecd9107414a5f17c3abe5250e6891ab465ffea8b0e2fc2b43a9c1231d8a8631ea6f4a2817edbc5e918258c7b3155396b7a1cbd19a09c9b2397945eb4b767238a8833e63e79b84e143be8a4dcedeaa51cb936c08f364b74817dd1cc6a98a2cb3223f2532f17530570e6e693e", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "29daf49c3ef3653765a42b7614903e73f0aa28b9db403bbe91f8e788d2bdc2c8a819ad72f0577c51926b923b0422f22d8989ba4c75eaa03927da30a800dae7c4deb3715caf33b869cbf4cac79b01c25a5f1d898e7321505cabdd7562fe035f032d705acf52d93fff7f2b574777b7ca4e9f65fd4f4c7c47983d21000130d94884f7393f042c7a85169b441ad7a18ad15367d7333a87f2d8653bf160850d32e4609160d57e89b11356abe7d51256651326906e11bb18354c22a88dcc7f8f10398d6ecd4596c731c307c6184c61f64ab5a3b49b7a1c4b24cb273393187d4aed24cf0fec79484f228eda3c56ca016229cc8777871c7184ce474df84d527031e3bb71", + "e" : "010001", + "keysize" : 2048, + "n" : "00a1c69ad4fe9b071ba4612057ee3835b0dfa96b60627848ef5b9b2b34c19816cddbadf3821c4cc487bdc4862b373a40a055dda27c87de08264a1732b3a0a00c132e72241db89f8c7e67bb415986feeef8b6fc3499d3e91a9a2ee562de2bf0bc854a8423fd10dba078c5482500874417875d0326ab8a0c8094e050282212e1291b41b241cf5c065d2f4995897d6270f02d6d0ff5b7f067b71cb76e72f0115c7fca37263a89ab155022c8a4ce19dd2e25ea9ac51d8464fd0f587c95f06fa1f9c01b0a20890dbfea12a60fc0aba9c4ebe81c17f49390021b1cc47f26b8b0352684cf8a544d9b2ae1962b7f3cb11d722710b0bfa550e57b7ca04e1b7ff16a035cdfb1", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "Kdr0nD7zZTdlpCt2FJA-c_CqKLnbQDu-kfjniNK9wsioGa1y8Fd8UZJrkjsEIvItiYm6THXqoDkn2jCoANrnxN6zcVyvM7hpy_TKx5sBwlpfHYmOcyFQXKvddWL-A18DLXBaz1LZP_9_K1dHd7fKTp9l_U9MfEeYPSEAATDZSIT3OT8ELHqFFptEGtehitFTZ9czOofy2GU78WCFDTLkYJFg1X6JsRNWq-fVElZlEyaQbhG7GDVMIqiNzH-PEDmNbs1FlscxwwfGGExh9kq1o7SbehxLJMsnM5MYfUrtJM8P7HlITyKO2jxWygFiKcyHd4cccYTOR034TVJwMeO7cQ", + "dp" : "oazGSj9R0XomvCvFMqeh3YVzRtlNWbzzBC__QXtFAiySO1RUTA0O9jDZqsM_22pLyVqv4NnNDQ8eb0CM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\n890ezYKcGB36sSxBoL9DzB7PWygnc8XaAFDfauY8bvwRUcy6weHt5QgtHg2Dq4Ei\nKG4sY4PznQe6D5v3wXNZHRpBat52LL7+p0xm3F8uXMXat4b/L/YTApU1B35qI+7q\nADXyknshBHNlG9YLOKbmKcAKgmNQtu+cAWMu2h8CgYEAoazGSj9R0XomvCvFMqeh\n3YVzRtlNWbzzBC//QXtFAiySO1RUTA0O9jDZqsM/22pLyVqv4NnNDQ8eb0CMsqRe\nVyBTCTjMslShlz/ASEqVOFeXmwmQIeU42NalmYwDj9V2XGizIqZbPMX0uzxoyZRM\nQVWJPEWsT3Kg2GVo6knehNUCgYAq7m2rd5MPJvtldRdyrQlN/1TProV2tgsM9epX\nfADR7Nv0iPUcywXqCOe/tjUVxhcCBk7LQQKMqFfQXPpVpBl1JkcmlNgV99RynfiB\n1pDWmDiaDr9oNhUYugbh5RqcUo6dDArEdXhKxeddbReYUttExIcdHVTE8uZSONP4\ndJkiHQKBgCO28TBnH+sHbjqgoN8i49zkCO7WG90s7zY6auOZNoF3NLbVYSz/8lEf\nP9V7WK0MG0vgVliMd8sqWRqNTuUeb+phj24xo/BIy6BRk+N/yPeuUYFPpPuWiHGt\nMyhHo784dN2+d6dGEXTZFU2glArkiG97broJcuMimWjqeLG3ybRY\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100a1c69ad4fe9b071ba4612057ee3835b0dfa96b60627848ef5b9b2b34c19816cddbadf3821c4cc487bdc4862b373a40a055dda27c87de08264a1732b3a0a00c132e72241db89f8c7e67bb415986feeef8b6fc3499d3e91a9a2ee562de2bf0bc854a8423fd10dba078c5482500874417875d0326ab8a0c8094e050282212e1291b41b241cf5c065d2f4995897d6270f02d6d0ff5b7f067b71cb76e72f0115c7fca37263a89ab155022c8a4ce19dd2e25ea9ac51d8464fd0f587c95f06fa1f9c01b0a20890dbfea12a60fc0aba9c4ebe81c17f49390021b1cc47f26b8b0352684cf8a544d9b2ae1962b7f3cb11d722710b0bfa550e57b7ca04e1b7ff16a035cdfb102030100010282010029daf49c3ef3653765a42b7614903e73f0aa28b9db403bbe91f8e788d2bdc2c8a819ad72f0577c51926b923b0422f22d8989ba4c75eaa03927da30a800dae7c4deb3715caf33b869cbf4cac79b01c25a5f1d898e7321505cabdd7562fe035f032d705acf52d93fff7f2b574777b7ca4e9f65fd4f4c7c47983d21000130d94884f7393f042c7a85169b441ad7a18ad15367d7333a87f2d8653bf160850d32e4609160d57e89b11356abe7d51256651326906e11bb18354c22a88dcc7f8f10398d6ecd4596c731c307c6184c61f64ab5a3b49b7a1c4b24cb273393187d4aed24cf0fec79484f228eda3c56ca016229cc8777871c7184ce474df84d527031e3bb7102818100dad1d8786696213386dbd73156d3391d5c0c5f70fb29a97801cad51c3c0cf893359391d1ebfb066f778e5f76da0b3d9bd810cc2d02b4d353b598443e1039c7a91e8f1206fd2142e6409cc8d0e8c70e0e872ac173bf5c0997363ed47a015a45ecc971fe22b5f65a2860dc87ffc723edb753688d424a2614b4721a2a91720aac2f02818100bd437af3dd1ecd829c181dfab12c41a0bf43cc1ecf5b282773c5da0050df6ae63c6efc1151ccbac1e1ede5082d1e0d83ab8122286e2c6383f39d07ba0f9bf7c173591d1a416ade762cbefea74c66dc5f2e5cc5dab786ff2ff613029535077e6a23eeea0035f2927b210473651bd60b38a6e629c00a826350b6ef9c01632eda1f02818100a1acc64a3f51d17a26bc2bc532a7a1dd857346d94d59bcf3042fff417b45022c923b54544c0d0ef630d9aac33fdb6a4bc95aafe0d9cd0d0f1e6f408cb2a45e5720530938ccb254a1973fc0484a953857979b099021e538d8d6a5998c038fd5765c68b322a65b3cc5f4bb3c68c9944c4155893c45ac4f72a0d86568ea49de84d50281802aee6dab77930f26fb65751772ad094dff54cfae8576b60b0cf5ea577c00d1ecdbf488f51ccb05ea08e7bfb63515c61702064ecb41028ca857d05cfa55a4197526472694d815f7d4729df881d690d698389a0ebf68361518ba06e1e51a9c528e9d0c0ac475784ac5e75d6d179852db44c4871d1d54c4f2e65238d3f87499221d02818023b6f130671feb076e3aa0a0df22e3dce408eed61bdd2cef363a6ae39936817734b6d5612cfff2511f3fd57b58ad0c1b4be056588c77cb2a591a8d4ee51e6fea618f6e31a3f048cba05193e37fc8f7ae51814fa4fb968871ad332847a3bf3874ddbe77a7461174d9154da0940ae4886f7b6eba0972e3229968ea78b1b7c9b458", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 56, + "comment" : "edge case for montgomery reduction with special primes", + "msg" : "63f6d1ccf5c03442d3b1b29b4e83e02242c26183fcbede9b6d7881a819d6cb48448da49ecc0ed0172713a17f24154f47461928aed551cb10cf0f7ffd47dd728edbf6c2060a340d95e980d466302439cac9aaaff9d54622ca0a4429aa891ed3cd210999ba4f442af8ecf63ba9c1cbc4b9cc4940f6854e75f789858bd429b1a398093b4dfa0018a98bba620e37f840c6a37edce04fdb739b2b7d0c9fe5a8eaaecf14d9e6e27f131742c1129769901f512bbe6b578ccc8a6f25a7cfc7fbcf743c318f2346b1cb4709", + "ct" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "00c66dbc49131572abb9ad8237026009eb164a40632e1c31ea7de4c0c00018a25143b64530bb65db40ba40ded24ff9709d3b29f231a105e14c9c2f8dcdeb5ce52c9514435f3e39cd89eeb3e9417f406dd8c79ac9a220deea36a8b1378f178746081ce687795b734b2ea3b795b7e524082181a751a6e4f8c987b776dc5b6350580d0549995201782675ce0e978709f579ce517d509b6d3e85c22231cb222bf932dd34a48fb9485262b14a1eba7fe4e11ea66d43077f482eb5cacd6a13c08f406e75501b2b6e691d61494fb56f5f70a4aa9f91070ae919d3c43807ca5bc8c6c526520858ff3cbaa25f11c7cc3a0f437dba2b3dbbcdec1ec1f8a5d5121d435e84c681", + "e" : "010001", + "keysize" : 2048, + "n" : "00cba072a38b85c7802967a8ebc88ce47f80f7a82fe75e8142ecea9ae87f585b7f7ebb3fe030d5894f6406e6223e73a3dce688db3339c8ea8e6fc63069ab51be6d337906e8a0f44734cd1965d689b5556f33bd7ee19c0405587cd73e0d97de4128f67866bef20974620f5a8086ec11c13b96faea171d98fdb9a57f7c7729f5c8a594635ec72013c33374a47176bc67ce9f6ec313a6b667e6fc22be8bd116b831455112e39e7c4e5848d9a5a60f42783150a191503b6be381cc2c2aee466aa270fc00b0512a83339c442fd833f8a2d1876be5b63248f5e586de3f8bcc07b01c0f2ea658a466c7c7bbf475ce0a441bb69f63e99eaf776a17049b6a49a543c085d001", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "xm28SRMVcqu5rYI3AmAJ6xZKQGMuHDHqfeTAwAAYolFDtkUwu2XbQLpA3tJP-XCdOynyMaEF4UycL43N61zlLJUUQ18-Oc2J7rPpQX9AbdjHmsmiIN7qNqixN48Xh0YIHOaHeVtzSy6jt5W35SQIIYGnUabk-MmHt3bcW2NQWA0FSZlSAXgmdc4Ol4cJ9XnOUX1Qm20-hcIiMcsiK_ky3TSkj7lIUmKxSh66f-ThHqZtQwd_SC61ys1qE8CPQG51UBsrbmkdYUlPtW9fcKSqn5EHCukZ08Q4B8pbyMbFJlIIWP88uqJfEcfMOg9DfborPbvN7B7B-KXVEh1DXoTGgQ", + "dp" : "nd1cfp-K8lJqSYUuanNYiTTdyTvX3p4MTgy-Q37yitxN80hzVXmn7k5bfR2elrjVz2uhFVOoBPTZjIn57xPrMMBkJILEkFNSQZEmG2mQihS9Qqyj1J06BEf_Audb1ayt33G4sbE1EqO1MJehfcYQcYsK269AyrhrUpHa8pb064E", + "dq" : "jVsbU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09ClIO0fxjr8Z08e39n9VjJFmdaRrZwZSW7\n3Nb7lOGqeW9wahMRuTnfGGd7fqjuy4mTRs+YnsItAoGBAJ3dXH6fivJSakmFLmpz\nWIk03ck7196eDE4MvkN+8orcTfNIc1V5p+5OW30dnpa41c9roRVTqAT02YyJ+e8T\n6zDAZCSCxJBTUkGRJhtpkIoUvUKso9SdOgRH/wLnW9Wsrd9xuLGxNRKjtTCXoX3G\nEHGLCtuvQMq4a1KR2vKW9OuBAoGBAI1bG1KIi4gsUpChGzsqyCOVeLeWi+BRd6E2\nCwxluVjribTEjDjB/G29+ML2iWaaGamGZ5AZEpQApbkmIFlDxgjZ1DpzPdm+TcoZ\nPdio2RvM02MBG+H1XK5EP7LitSzePLmgZS+W9v9GiZXdPfIK7O9Bm63aaboggZDj\nKyPUjzdVAoGABQKhLeCBh+bBwsjHDUdLkd9yT0L8MQ14+OpQQEJEV/xk+78m3dX0\noXK5VsdgToAixldB3NFBsv0MUp8erpSpVEuxb99URCbWIX68E6yG2Kba5699ZNbT\nMyZTrm/VRI8NrkMhAADip6gL69Qg2MhgnVd1n7p6iHfbRTnhq+CWdIM=\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bf020100300d06092a864886f70d0101010500048204a9308204a50201000282010100cba072a38b85c7802967a8ebc88ce47f80f7a82fe75e8142ecea9ae87f585b7f7ebb3fe030d5894f6406e6223e73a3dce688db3339c8ea8e6fc63069ab51be6d337906e8a0f44734cd1965d689b5556f33bd7ee19c0405587cd73e0d97de4128f67866bef20974620f5a8086ec11c13b96faea171d98fdb9a57f7c7729f5c8a594635ec72013c33374a47176bc67ce9f6ec313a6b667e6fc22be8bd116b831455112e39e7c4e5848d9a5a60f42783150a191503b6be381cc2c2aee466aa270fc00b0512a83339c442fd833f8a2d1876be5b63248f5e586de3f8bcc07b01c0f2ea658a466c7c7bbf475ce0a441bb69f63e99eaf776a17049b6a49a543c085d00102030100010282010100c66dbc49131572abb9ad8237026009eb164a40632e1c31ea7de4c0c00018a25143b64530bb65db40ba40ded24ff9709d3b29f231a105e14c9c2f8dcdeb5ce52c9514435f3e39cd89eeb3e9417f406dd8c79ac9a220deea36a8b1378f178746081ce687795b734b2ea3b795b7e524082181a751a6e4f8c987b776dc5b6350580d0549995201782675ce0e978709f579ce517d509b6d3e85c22231cb222bf932dd34a48fb9485262b14a1eba7fe4e11ea66d43077f482eb5cacd6a13c08f406e75501b2b6e691d61494fb56f5f70a4aa9f91070ae919d3c43807ca5bc8c6c526520858ff3cbaa25f11c7cc3a0f437dba2b3dbbcdec1ec1f8a5d5121d435e84c68102818100f0bd0f39bbd0d5492d57c6c43d32e9ad5a036b787a27350e8f1cdb4eb568b52cf16a4ec3c09a010021fd04b9721c59db11bc6dcd3a81012003d21501ac9781d6b472f8cc34b96c49525e0538b4f7bad64c62fd5ebe9fd336b828183f1648dde68786e9256b8c82262b94f2f47ff31f66e826bc4ba7847067c2fc44a6228beda502818100d8891a2d2d104310741cf585903fafaa4ca0fdccb15360f40dfce6e9bd44b6ea22250d70758e85414a569d0b29686e2635a66e45360aeec1a1627f1d4957bf1ddd1f1f70eb7ff3374f429483b47f18ebf19d3c7b7f67f558c916675a46b6706525bbdcd6fb94e1aa796f706a1311b939df18677b7ea8eecb899346cf989ec22d028181009ddd5c7e9f8af2526a49852e6a73588934ddc93bd7de9e0c4e0cbe437ef28adc4df348735579a7ee4e5b7d1d9e96b8d5cf6ba11553a804f4d98c89f9ef13eb30c0642482c49053524191261b69908a14bd42aca3d49d3a0447ff02e75bd5acaddf71b8b1b13512a3b53097a17dc610718b0adbaf40cab86b5291daf296f4eb81028181008d5b1b52888b882c5290a11b3b2ac8239578b7968be05177a1360b0c65b958eb89b4c48c38c1fc6dbdf8c2f689669a19a986679019129400a5b926205943c608d9d43a733dd9be4dca193dd8a8d91bccd363011be1f55cae443fb2e2b52cde3cb9a0652f96f6ff468995dd3df20aecef419badda69ba208190e32b23d48f37550281800502a12de08187e6c1c2c8c70d474b91df724f42fc310d78f8ea5040424457fc64fbbf26ddd5f4a172b956c7604e8022c65741dcd141b2fd0c529f1eae94a9544bb16fdf544426d6217ebc13ac86d8a6dae7af7d64d6d3332653ae6fd5448f0dae43210000e2a7a80bebd420d8c8609d57759fba7a8877db4539e1abe0967483", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 57, + "comment" : "edge case for montgomery reduction with special primes", + "msg" : "ca095311d2c3cba494ca686bf451a3ee1ff4ecff1fe7738001c9d8f494e2375efbf0b03e832bcbd1d8d1a319d262c844fc1aedaaae7c06bc654e4af0412265aa0dd1cf46652460d43b14436ba8cc7c72870fcb92554e1c2c468fdcc2e31769437b57d47a348c6af331ac9e0132d41607ee95300330537fbd74e25e661ddc9989d201155f388a93cf8ffa7d44b33a4c1baf7a1b056ca80eef22a14d1f1c4460d6136ae6601fb19afed2b78f333047e8bdaace0a6c61b056c23a360829e632d1e847f9f57aac7322e27d6fd1a77c941743605405c037ebcc8ad0b68b034f954af5fb47943f5580abc20d59b6d419", + "ct" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "008740774b9bb24693c567f6d0d7a307bc3f46c19a6e21389c1d2dc0559d3beac99559669771eb26a3ef602d8b4bc8b3fc77373fe04f7d55479e6b9d7e693ffe0268d2e7c014d739b3b31cc7c3426d583a646c838658eff7db25167d0b96128c678210f4efcbf5404bf63bbc62c26fd91e69cb84feeb5e0af28de83c3e55db4d764c988fa11e96e9031c080568c8856e8bf82dfce9e452e8aa2cba07ec08210f1d69fb70a126ed13f2797d91425ab46c0dc917c629e36f91b44789b9080086c1119c5e281face72aa09bb4bcb33e9da4223ce935386529b1c7b7e628fc007fb1f1850e390968ad1fa9a49fe4f81c4fd09babae98bbbab06ad00910081a493f9f01", + "e" : "010001", + "keysize" : 2048, + "n" : "00970c802f8bc69e2e7e9f5c38834600446ef0d5f037311c6b143ed35258f9523bdc9b8bd753b68e842e7399769d9d428b8ce68f0ab97427205896b66b4d26b45c99b3dc5d0268ce20e33270121f50ebe23bd24c8e378b31fc30fd079f1918fc54d9e57229db62eb454ca45eba505bc4166f80d24784e58b14bac6b3435c4fc6eae8a14d67a06eda445ec46e9826d3f75da0a63f4a295c8478cccc9d19177d74f57a5ee66d9a1004bddf546eea046a9c9eb78e3b1bae5fe7f8240703bca97d7224c7f2f9ad549d87f5a9b64957ab85e92ca22cd6543f36595412bf535f258b2233dae92da91cffa8a0a2215bfbbef75d078cc516e388db733da5cd656f93b0eb59", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "h0B3S5uyRpPFZ_bQ16MHvD9GwZpuITicHS3AVZ076smVWWaXcesmo-9gLYtLyLP8dzc_4E99VUeea51-aT_-AmjS58AU1zmzsxzHw0JtWDpkbIOGWO_32yUWfQuWEoxnghD078v1QEv2O7xiwm_ZHmnLhP7rXgryjeg8PlXbTXZMmI-hHpbpAxwIBWjIhW6L-C386eRS6KosugfsCCEPHWn7cKEm7RPyeX2RQlq0bA3JF8Yp42-RtEeJuQgAhsERnF4oH6znKqCbtLyzPp2kIjzpNThlKbHHt-Yo_AB_sfGFDjkJaK0fqaSf5PgcT9Cbq66Yu7qwatAJEAgaST-fAQ", + "dp" : "P-pAtwl2qnlxz6fBcu742HsKT1NUF5vyi7X9dvZ51czH6ejcjWO9xui1GyhZw-oyJr7wo_QX0-LZTzQDLAhqg14T6H6I1WTEF2-qxn-sY0vAOaGUr0o89837PNfcTaYAZoTZdJHA8Z0Ncf0lWAFfQPYVNtq3IonGvdkaY4AwXGE", + "dq" : "XUQMfJu4S_SDjleHoGNfCu5QjlFY4e0s06A9uubCQuNmSK5DUgdw1G0MpSkXLA7yaqtHCdgIFqT2sXFQGTyDKUwtMsGQPRpQQfDjYy3fbodZEVn3uljXFtXRUYxpfUatbvMVUPss4b46y3PHMqqkaJogoZnSEz6Z8U2B-Rn0p5k", + "e" : "AQAB", + "kid" : "none", + "kty" : "RSA", + "n" : "lwyAL4vGni5-n1w4g0YARG7w1fA3MRxrFD7TUlj5Ujvcm4vXU7aOhC5zmXadnUKLjOaPCrl0JyBYlrZrTSa0XJmz3F0CaM4g4zJwEh9Q6-I70kyON4sx_DD9B58ZGPxU2eVyKdti60VMpF66UFvEFm-A0keE5YsUusazQ1xPxurooU1noG7aRF7Ebpgm0_ddoKY_SilchHjMzJ0ZF3109Xpe5m2aEAS931Ru6gRqnJ63jjsbrl_n-CQHA7ypfXIkx_L5rVSdh_WptklXq4XpLKIs1lQ_NllUEr9TXyWLIjPa6S2pHP-ooKIhW_u-910HjMUW44jbcz2lzWVvk7DrWQ", + "p" : "xnltXbSAFxi2QHoWhXUcXXJhuOoyFVMgqVbBMPFxFvgf0BKEBipfGxFJAf6tSjjRITA1aAWskh_FODBzefwTmWOKa58GqI0ctriFgL1CpBHZa254XNpXC03sKmUamEHdlPUSGk_nx_wCj1VNDO1Mh_eh7rO3I6LoL0GEHP9OkmE", + "q" : "wtQnqZJ8RbmCzT8I6wdyARJldxONfp4L-AtvVaiE6-6c2ZRfBBxSYY7-jrKnukRAzXrLsjZgfOuJqy-sqNEPN3US6f-_O3cvqfi3RYIMjZzrXo6YN46fOrORUG4FHzJT6cbVgxOCWGWcer7hm6ou4Wm4qgG1_6FSiVOLCozWa_k", + "qi" : "PcwCh8A0P4_LNcii-ItgXmUL4k1C2NZalSQaUYOOtjtOds4V_rU4vNLbDpzE-F_Z7OBBS5FiAk7C0G6EcvZ-l3RfxpSSygScvUFmgi2BAkTKKLJFGrKdLPJINjaHcOu3vVkRJctItTB8WQ_ycHgzeLF0Aq9L3TVoQKpsUdhMM2I" + }, + "privateKeyPem" : "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAlwyAL4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mv5AoGAP+pAtwl2qnlxz6fBcu74\n2HsKT1NUF5vyi7X9dvZ51czH6ejcjWO9xui1GyhZw+oyJr7wo/QX0+LZTzQDLAhq\ng14T6H6I1WTEF2+qxn+sY0vAOaGUr0o89837PNfcTaYAZoTZdJHA8Z0Ncf0lWAFf\nQPYVNtq3IonGvdkaY4AwXGECgYBdRAx8m7hL9IOOV4egY18K7lCOUVjh7SzToD26\n5sJC42ZIrkNSB3DUbQylKRcsDvJqq0cJ2AgWpPaxcVAZPIMpTC0ywZA9GlBB8ONj\nLd9uh1kRWfe6WNcW1dFRjGl9Rq1u8xVQ+yzhvjrLc8cyqqRomiChmdITPpnxTYH5\nGfSnmQKBgD3MAofAND+PyzXIoviLYF5lC+JNQtjWWpUkGlGDjrY7TnbOFf61OLzS\n2w6cxPhf2ezgQUuRYgJOwtBuhHL2fpd0X8aUksoEnL1BZoItgQJEyiiyRRqynSzy\nSDY2h3Drt71ZESXLSLUwfFkP8nB4M3ixdAKvS901aECqbFHYTDNi\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100970c802f8bc69e2e7e9f5c38834600446ef0d5f037311c6b143ed35258f9523bdc9b8bd753b68e842e7399769d9d428b8ce68f0ab97427205896b66b4d26b45c99b3dc5d0268ce20e33270121f50ebe23bd24c8e378b31fc30fd079f1918fc54d9e57229db62eb454ca45eba505bc4166f80d24784e58b14bac6b3435c4fc6eae8a14d67a06eda445ec46e9826d3f75da0a63f4a295c8478cccc9d19177d74f57a5ee66d9a1004bddf546eea046a9c9eb78e3b1bae5fe7f8240703bca97d7224c7f2f9ad549d87f5a9b64957ab85e92ca22cd6543f36595412bf535f258b2233dae92da91cffa8a0a2215bfbbef75d078cc516e388db733da5cd656f93b0eb59020301000102820101008740774b9bb24693c567f6d0d7a307bc3f46c19a6e21389c1d2dc0559d3beac99559669771eb26a3ef602d8b4bc8b3fc77373fe04f7d55479e6b9d7e693ffe0268d2e7c014d739b3b31cc7c3426d583a646c838658eff7db25167d0b96128c678210f4efcbf5404bf63bbc62c26fd91e69cb84feeb5e0af28de83c3e55db4d764c988fa11e96e9031c080568c8856e8bf82dfce9e452e8aa2cba07ec08210f1d69fb70a126ed13f2797d91425ab46c0dc917c629e36f91b44789b9080086c1119c5e281face72aa09bb4bcb33e9da4223ce935386529b1c7b7e628fc007fb1f1850e390968ad1fa9a49fe4f81c4fd09babae98bbbab06ad00910081a493f9f0102818100c6796d5db4801718b6407a1685751c5d7261b8ea32155320a956c130f17116f81fd01284062a5f1b114901fead4a38d12130356805ac921fc538307379fc1399638a6b9f06a88d1cb6b88580bd42a411d96b6e785cda570b4dec2a651a9841dd94f5121a4fe7c7fc028f554d0ced4c87f7a1eeb3b723a2e82f41841cff4e926102818100c2d427a9927c45b982cd3f08eb077201126577138d7e9e0bf80b6f55a884ebee9cd9945f041c52618efe8eb2a7ba4440cd7acbb236607ceb89ab2faca8d10f377512e9ffbf3b772fa9f8b745820c8d9ceb5e8e98378e9f3ab391506e051f3253e9c6d583138258659c7abee19baa2ee169b8aa01b5ffa15289538b0a8cd66bf90281803fea40b70976aa7971cfa7c172eef8d87b0a4f5354179bf28bb5fd76f679d5ccc7e9e8dc8d63bdc6e8b51b2859c3ea3226bef0a3f417d3e2d94f34032c086a835e13e87e88d564c4176faac67fac634bc039a194af4a3cf7cdfb3cd7dc4da6006684d97491c0f19d0d71fd2558015f40f61536dab72289c6bdd91a6380305c610281805d440c7c9bb84bf4838e5787a0635f0aee508e5158e1ed2cd3a03dbae6c242e36648ae43520770d46d0ca529172c0ef26aab4709d80816a4f6b17150193c83294c2d32c1903d1a5041f0e3632ddf6e87591159f7ba58d716d5d1518c697d46ad6ef31550fb2ce1be3acb73c732aaa4689a20a199d2133e99f14d81f919f4a7990281803dcc0287c0343f8fcb35c8a2f88b605e650be24d42d8d65a95241a51838eb63b4e76ce15feb538bcd2db0e9cc4f85fd9ece0414b9162024ec2d06e8472f67e97745fc69492ca049cbd4166822d810244ca28b2451ab29d2cf24836368770ebb7bd591125cb48b5307c590ff270783378b17402af4bdd356840aa6c51d84c3362", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 58, + "comment" : "edge case for montgomery reduction with special primes", + "msg" : "575b819ff5b00428d51e8ce5df4a02d588ce49f9540cb6f27a53f0f27b2741d2ba97d9192fb67c90f564a48965", + "ct" : "970c802f8bc69e2e7e9f5c38834600446ef0d5f037311c6b143ed35258f9523bdc9b8bd753b68e842e7399769d9d428b8ce68f0ab97427205896b66b4d26b45c99b3dc5d0268ce20e33270121f50ebe23bd24c8e378b31fc30fd079f1918fc54d9e57229db62eb454ca45eba505bc4166f80d24784e58b14bac6b3435c4fc6ea68a14d67a06eda445ec46e9826d3f75da0a63f4a295c8478cccc9d19177d74f57a5ee66d9a1004bddf546eea046a9c9eb78e3b1bae5fe7f8240703bca97d7224c7f2f9ad549d87f5a9b64957ab85e92ca22cd6543f36595412bf535f258b2233dae92da91cffa8a0a2215bfbbef75d078cc516e388db733da5cd656f93b0eb58", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "009c6d3201df14218c0c4475d2422c84dde9291d4b952efeb59036522d51959338621ffc9692f53203e839ebfacc0bff499b83d40669134ded0a5f317b1897c74c05c615fdc8b2373049a6e64770b576b2d89fc3514f0e368581593acd8b91a976a8526cfe8ffd8f4b3c7c10278e46ca46b5942fb3442f63882c0e65a57364e8694c29ff9381d733988b6b20f43fc652b00bb3c49ab0444db21490bed548e51b47edd773a8559ad59bc0b0eacecc055208b1f5814ef39c2e259c172b8f446a2fcdb8f2beea080c4f2dec942f813c74c443d8c7636378120f765e9085bc27750b94de249a19da1e210c0fc79b711491a1f255bf0f0ea753f01f5586591b40fe1b21", + "e" : "010001", + "keysize" : 2048, + "n" : "00b5b356e62591aa12b607c9541e081020a8e48752f9e1bc50989494ad5c5a22079a00b607d8f5ba364475515ca5c9c204b8f294c0a42fa3265f9a3337f3331cc52db473dd4644f9ccbdbf3742f3dde513b3d6df9cea6e94e2e2295147ce03685d42515c2e1a869529d41a51c06cd0c608932adc5b5ce790b4e8f9c72a34d0e5b216c01253c22ebe6eb71917812ec899df666b94e0a2290e75197063ea55e3390e2a7ddcf9c47e2543030f69195a3379d4739090dfcd07295bfc9a8e2891ee9ef286623cb9963c056d934749fd2bcd73e47b816595d54bc2635fea68098f7807687996c1826023459bb4211ff1e98ac140823a36b70345b6c4c6bfdf7aadc5d34f", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "nG0yAd8UIYwMRHXSQiyE3ekpHUuVLv61kDZSLVGVkzhiH_yWkvUyA-g56_rMC_9Jm4PUBmkTTe0KXzF7GJfHTAXGFf3IsjcwSabmR3C1drLYn8NRTw42hYFZOs2Lkal2qFJs_o_9j0s8fBAnjkbKRrWUL7NEL2OILA5lpXNk6GlMKf-TgdczmItrIPQ_xlKwC7PEmrBETbIUkL7VSOUbR-3Xc6hVmtWbwLDqzswFUgix9YFO85wuJZwXK49Eai_NuPK-6ggMTy3slC-BPHTEQ9jHY2N4Eg92XpCFvCd1C5TeJJoZ2h4hDA_Hm3EUkaHyVb8PDqdT8B9VhlkbQP4bIQ", + "dp" : "JS7cpR-JurIROmYAoirYOE08bGk4NHHRH8L5LPD97TQFpNwNX6ifXHGvA88kYK37bz3tsPRDiqLuhIXNqMwqZ8ovnN9br4p802_11EdXXL9pEPL3260VZs-hEiRgI9KOkpLH_Eu1glOn3mXHxTnfrJuwNqBR_qBm7Yj291LvwoE", + "dq" : "eXrXUZtfIHzXsZLqqcMYNYcRxkXjgBDusVPWWdfk9y6zipAb4BkMjRCChmqYjcLkU9woeYCYPY0MV9rtKUkXXj7whDQQ5l5WK7UFLnjfanqKF8nIJ6nSb_LN71Q4t7opRUCwx0TK1L5XsYyh8XmAL_BeK4Pb9UZcuqd8jVfTzl8", + "e" : "AQAB", + "kid" : "none", + "kty" : "RSA", + "n" : "tbNW5iWRqhK2B8lUHggQIKjkh1L54bxQmJSUrVxaIgeaALYH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1hxHGReOAEO6xU9ZZ\n1+T3LrOKkBvgGQyNEIKGapiNwuRT3Ch5gJg9jQxX2u0pSRdePvCENBDmXlYrtQUu\neN9qeooXycgnqdJv8s3vVDi3uilFQLDHRMrUvlexjKHxeYAv8F4rg9v1Rly6p3yN\nV9POXwKBgQCI5RV6qnDje2Vvd8JmmGz8Lb37P3LyufauHCgUycgIXFOQc1obQHZC\nOvB6fARiBR/9DEcFHhO0LGn2eRDSlfL67n7P2vAerUCozONhroiCAQGjcX5w5CSm\n5L6p7NobfS/FiXfoTED3r8gGAWo+yAajB3565PMe800J0/mRQ+iUsg==\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204be020100300d06092a864886f70d0101010500048204a8308204a40201000282010100b5b356e62591aa12b607c9541e081020a8e48752f9e1bc50989494ad5c5a22079a00b607d8f5ba364475515ca5c9c204b8f294c0a42fa3265f9a3337f3331cc52db473dd4644f9ccbdbf3742f3dde513b3d6df9cea6e94e2e2295147ce03685d42515c2e1a869529d41a51c06cd0c608932adc5b5ce790b4e8f9c72a34d0e5b216c01253c22ebe6eb71917812ec899df666b94e0a2290e75197063ea55e3390e2a7ddcf9c47e2543030f69195a3379d4739090dfcd07295bfc9a8e2891ee9ef286623cb9963c056d934749fd2bcd73e47b816595d54bc2635fea68098f7807687996c1826023459bb4211ff1e98ac140823a36b70345b6c4c6bfdf7aadc5d34f020301000102820101009c6d3201df14218c0c4475d2422c84dde9291d4b952efeb59036522d51959338621ffc9692f53203e839ebfacc0bff499b83d40669134ded0a5f317b1897c74c05c615fdc8b2373049a6e64770b576b2d89fc3514f0e368581593acd8b91a976a8526cfe8ffd8f4b3c7c10278e46ca46b5942fb3442f63882c0e65a57364e8694c29ff9381d733988b6b20f43fc652b00bb3c49ab0444db21490bed548e51b47edd773a8559ad59bc0b0eacecc055208b1f5814ef39c2e259c172b8f446a2fcdb8f2beea080c4f2dec942f813c74c443d8c7636378120f765e9085bc27750b94de249a19da1e210c0fc79b711491a1f255bf0f0ea753f01f5586591b40fe1b2102818100f445d8afa1f24d7e26811bff63736f8dff4cd25d52432ebe8d58b5e31bfe4fb41d6125a03939a97f1a5dc12215588aad9b3c7b8eba85697b348a7a6912ef0afb6566362bbdde146fa0404a039f668bc5d897d0991d12b5942527aabced875b6aadb65d96fc2550181359a70fadecd40745833dce8a571b092f6b7bcc853621b102818100be6c781cf766ccb1ca7c9ee8600b928c2d6dd362993f8ddbadf111e876e0e52c381ea344c1e310f7bf17c1d221bd896258f267160e4707565426214db5980594878eb7bb9983b57f6419f15cdb5d6a7959cc09eb46adb988bdffa22898a9104fd7675a0a29648512f4206e0a7bbe7e412a4e17d4cad3f56837091cc706eb84ff028180252edca51f89bab2113a6600a22ad8384d3c6c69383471d11fc2f92cf0fded3405a4dc0d5fa89f5c71af03cf2460adfb6f3dedb0f4438aa2ee8485cda8cc2a67ca2f9cdf5baf8a7cd36ff5d447575cbf6910f2f7dbad1566cfa112246023d28e9292c7fc4bb58253a7de65c7c539dfac9bb036a051fea066ed88f6f752efc281028180797ad7519b5f207cd7b192eaa9c318358711c645e38010eeb153d659d7e4f72eb38a901be0190c8d1082866a988dc2e453dc287980983d8d0c57daed2949175e3ef0843410e65e562bb5052e78df6a7a8a17c9c827a9d26ff2cdef5438b7ba294540b0c744cad4be57b18ca1f179802ff05e2b83dbf5465cbaa77c8d57d3ce5f0281810088e5157aaa70e37b656f77c266986cfc2dbdfb3f72f2b9f6ae1c2814c9c8085c5390735a1b4076423af07a7c0462051ffd0c47051e13b42c69f67910d295f2faee7ecfdaf01ead40a8cce361ae88820101a3717e70e424a6e4bea9ecda1b7d2fc58977e84c40f7afc806016a3ec806a3077e7ae4f31ef34d09d3f99143e894b2", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 59, + "comment" : "edge case for montgomery reduction with special primes", + "msg" : "1f7926bf036e2dc744b3591cdc9575b7f1e6cab9a3766de85b56b9e975f13046b41ca9df17fbf93ef4f260f8bd263182dd4a4fd87edd9716d63b99e9ad30212e9f506c345838e34b3d784d1785bebd59c52e24f7748361c670c29999f4766f84702f3997550989ec36ced0eca73bfe167c8b1913abc69f537d7171dc84b268198681228c71e6a6b9d402de2302e4704392a4e946ac0c6a6e29184659ee", + "ct" : "b5b356e62591aa12b607c9541e081020a8e48752f9e1bc50989494ad5c5a22079a00b607d8f5ba364475515ca5c9c204b8f294c0a42fa3265f9a3337f3331cc52db473dd4644f9ccbdbf3742f3dde513b3d6df9cea6e94e2e2295147ce03685d42515c2e1a869529d41a51c06cd0c608932adc5b5ce790b4e8f9c72a34d0e5b215c01253c22ebe6eb71917812ec899df666b94e0a2290e75197063ea55e3390e2a7ddcf9c47e2543030f69195a3379d4739090dfcd07295bfc9a8e2891ee9ef286623cb9963c056d934749fd2bcd73e47b816595d54bc2635fea68098f7807687996c1826023459bb4211ff1e98ac140823a36b70345b6c4c6bfdf7aadc5d350", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "4ca464a8d7a4a4fb039f6e6f6014056ac573d105961fd212e2f4533a4d34bbe22cdc632daa904b059d5fca4cd262f289d1a4117273acfe4d19c167c8c46a1c683884c44e7ace3786cb33ebceed7684f74640d0dcc3d237f4fe4931761fa4acb2c7583a0dd5f8cd0bf0e0e620c58ca07e393118d23bdba383eeaa0acfa4795f7d9ea26c83305a6fc8a808058414cc0cea5f9cc97fd394cab0756c55823b86adfde6c46a6dfbf52da24a3323bd86cf35916450d9b4ba03be365f6ba3ff91fb6a4c235a229d49a572d23afa2e3268b164a94810741f40dcaf3a628563368f567eb624018d4a110c981ab6d2da5fd7f3c30b0cbe22120ac63c0a73e09affae95ef91", + "e" : "010001", + "keysize" : 2048, + "n" : "00e1553db85d0a89d51fbc963fb8be566b0b8c72e8174e7f9f969c0d892fd259ae5aa44c0cf97702372724c7edadbee4cd581890f67824dd65fe7d67ac12e9db1da108eed274352d4597bab6e3624421769d2d634d203f878abf1a7de27f650e3ef551cbffc5469b4d23e608a1ed57a36c0dba443ba2957f58a0aad0530c20b515295b1f4e3ae9df2ccc69d025bc23283039d1e42f015b24ae919aab8e812f03a6f3cd3013cbf00d35edb489ccec7e68105cd6ffb2b85623c1238a6ceb04b73c7e2df0402376d71ac3e03278eb2a7a5895f81b7f3dec62e9fd95efe22ec152d0c673d7004d244e87bdc787ba632fee75d805e29229e111fc083b0484b0480ba63f", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "TKRkqNekpPsDn25vYBQFasVz0QWWH9IS4vRTOk00u-Is3GMtqpBLBZ1fykzSYvKJ0aQRcnOs_k0ZwWfIxGocaDiExE56zjeGyzPrzu12hPdGQNDcw9I39P5JMXYfpKyyx1g6DdX4zQvw4OYgxYygfjkxGNI726OD7qoKz6R5X32eomyDMFpvyKgIBYQUzAzqX5zJf9OUyrB1bFWCO4at_ebEam379S2iSjMjvYbPNZFkUNm0ugO-Nl9ro_-R-2pMI1oinUmlctI6-i4yaLFkqUgQdB9A3K86YoVjNo9WfrYkAY1KEQyYGrbS2l_X88MLDL4iEgrGPApz4Jr_rpXvkQ", + "dp" : "jI2OWaxGC5z7lCyU6NbTwqfxPCO53M0fQ-rky2-DgAwB2URwORxkEE06PuCvkSJxa0_AMOt4_ii73J7JggyoYjWMxKHYxgDIcih_4Qj5xjxdqZaiYPLY5fWzA13WbaQ4FHC5xM-1vYIpDtz7wPpMz3ztKVm_4UMw_YYpWyQpqmE", + "dq" : "dyB0_nQuai2DhwHgxI1t9WCBfpB0AmW-k3zE4F_neaLxBOTrGo1m5p6RF7R4Tz7QloUGHYzNG5MMe_Ct6Uzbtb9R4vay6Crr2O6DKxioyU_fBoaFGTW9CP5sW8O4Fn3wfm9_ER_VdQlRWMnV7_gXsBKGde0Q1lhBNOw-HCiTiv8", + "e" : "AQAB", + "kid" : "none", + "kty" : "RSA", + "n" : "4VU9uF0KidUfvJY_uL5WawuMcugXTn-flpwNiS_SWa5apEwM-XcCNyckx-2tvuTNWBiQ9ngk3WX-fWesEunbHaEI7tJ0NS1Fl7q242JEIXadLWNNID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v1Hi9rLoKuvY7oMr\nGKjJT98GhoUZNb0I/mxbw7gWffB+b38RH9V1CVFYydXv+BewEoZ17RDWWEE07D4c\nKJOK/wKBgQCpVxGa6RgQyeLpLYzv4K7tin3GXXd9VZSNbAl5S30JapF4lzDShjcN\ntqdh8Ejhu5opSwf4plK5Or3KOIxWHCrLseZe+TyKIw/yy95eaQrXoEq8yoDSUycu\nNoe5nRcWDDGrc8ZSToFQBKt4q4+tFtCJlSv1WImy911HMRKCPkI3zg==\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204be020100300d06092a864886f70d0101010500048204a8308204a40201000282010100e1553db85d0a89d51fbc963fb8be566b0b8c72e8174e7f9f969c0d892fd259ae5aa44c0cf97702372724c7edadbee4cd581890f67824dd65fe7d67ac12e9db1da108eed274352d4597bab6e3624421769d2d634d203f878abf1a7de27f650e3ef551cbffc5469b4d23e608a1ed57a36c0dba443ba2957f58a0aad0530c20b515295b1f4e3ae9df2ccc69d025bc23283039d1e42f015b24ae919aab8e812f03a6f3cd3013cbf00d35edb489ccec7e68105cd6ffb2b85623c1238a6ceb04b73c7e2df0402376d71ac3e03278eb2a7a5895f81b7f3dec62e9fd95efe22ec152d0c673d7004d244e87bdc787ba632fee75d805e29229e111fc083b0484b0480ba63f0203010001028201004ca464a8d7a4a4fb039f6e6f6014056ac573d105961fd212e2f4533a4d34bbe22cdc632daa904b059d5fca4cd262f289d1a4117273acfe4d19c167c8c46a1c683884c44e7ace3786cb33ebceed7684f74640d0dcc3d237f4fe4931761fa4acb2c7583a0dd5f8cd0bf0e0e620c58ca07e393118d23bdba383eeaa0acfa4795f7d9ea26c83305a6fc8a808058414cc0cea5f9cc97fd394cab0756c55823b86adfde6c46a6dfbf52da24a3323bd86cf35916450d9b4ba03be365f6ba3ff91fb6a4c235a229d49a572d23afa2e3268b164a94810741f40dcaf3a628563368f567eb624018d4a110c981ab6d2da5fd7f3c30b0cbe22120ac63c0a73e09affae95ef9102818100f95c944ccde828d364543764b0f05ea6044bc2d3c5918dd1b6b8bc3623f95810a5406215fe4202cdf924978a908c47c2390ea20f375f10ba3dbe43d8dd40dafc301dad1b10a8b7f17ea97f7f7009dcf2bfb3a1b8cf7f5569b064a21dba9c959ec2b71c2cc057e91a21702bfba954f2ca269e8cd030c0f4f4803ad0becfc58e0902818100e754e7875edcb5332189ff31b9c2b6b93579e5e7e1fbc013da4f8b1a32c68d5d6774c6e3b1dfc5e55b22f2b30fb12a70692560cd40c2fa6d087afbc617c36a582e3ce5d7a506f45b443bc6170b0d11c711045f92c49ec3b5899a1d3c191bfb97bfbc8051caefd7935d5abcf161a5af7d5d9d971edb0c07f9f88fe72eff2fa407028181008c8d8e59ac460b9cfb942c94e8d6d3c2a7f13c23b9dccd1f43eae4cb6f83800c01d94470391c64104d3a3ee0af9122716b4fc030eb78fe28bbdc9ec9820ca862358cc4a1d8c600c872287fe108f9c63c5da996a260f2d8e5f5b3035dd66da4381470b9c4cfb5bd82290edcfbc0fa4ccf7ced2959bfe14330fd86295b2429aa61028180772074fe742e6a2d838701e0c48d6df560817e90740265be937cc4e05fe779a2f104e4eb1a8d66e69e9117b4784f3ed09685061d8ccd1b930c7bf0ade94cdbb5bf51e2f6b2e82aebd8ee832b18a8c94fdf0686851935bd08fe6c5bc3b8167df07e6f7f111fd575095158c9d5eff817b0128675ed10d6584134ec3e1c28938aff02818100a957119ae91810c9e2e92d8cefe0aeed8a7dc65d777d55948d6c09794b7d096a91789730d286370db6a761f048e1bb9a294b07f8a652b93abdca388c561c2acbb1e65ef93c8a230ff2cbde5e690ad7a04abcca80d253272e3687b99d17160c31ab73c6524e815004ab78ab8fad16d089952bf55889b2f75d473112823e4237ce", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 60, + "comment" : "edge case for montgomery reduction with special primes", + "msg" : "d59187caba5dbdbc43e6523e1163ee57187cf0999abd64e0de5d238118677b17855f588352f2208b2a92b1c296ddfa9e2bc2b271404034ef96b04122d55d3509f1f9f75658c13172caef5c1ead5d33245c1c1ead84ebfd6f7bf321c0c513c1a2e248ba9805fd3d59d84146032887ae0b0da75d65846aff104366c1e3501d09f3edacc6ce9e41f60f489bd7b0afeecc080110daf9372e18a2e26bf870d640d27cbbc92855a2ca16bbc08c7e0845cd10c964", + "ct" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "373140d3efe66677aaee9dbdbcbcb28c1099e659a27fceb2f5e5b3e74cb769208f9f01ebec99ab473b3f223efdb5a8fae049c5eb98cdd95e540b8a94ea3e3f359774e9a388233272f15f74315a537753343fe0fb25e4a483fd7d83a3d4e589634cb943e5fc0c71e38be042781fd66a6ebc688307e223f5499e60dbf8faa0f78e89f6bcee6d7955cdc6a8ca8d88fa6f082538571fbd8fef7bb7bdc86590c833b7aa1564fa7f20e099aaf6774810a71bd72ce1e5dfdbf53ccc169530c51e0913b1a9079da6dba0c9452449739196266449270f84812ff7b14d8fcf436e9f7371f58955150f06eee56e1e15594ebfe7143f27b52f6e9a4124904052b82475681981", + "e" : "010001", + "keysize" : 2048, + "n" : "009c674c8eb6b1119cadf24265cc7751bbb162a63083dfa58726df27b77b10bf030210affd810d785284374647cb89e5e78d04e7f07d24bdaf8aaf9c4aed1e176613d77f99d3e86dc97878c2eada2f6ac55c73aa7211606291736a0ba33ebeb48cbc89ee36e18d963e6250c3f9b1a29f4cd7668761cf72bfcdeb31ea58bcff31ab2d09a3502e1063e77a19cf0ef31c14a386536abb62306c41b386d4d7559b486f14c66f81cd9268b25987450b1b64209a9bfbbad7a2d5b6ccada0f5ee97687de9976980c33a4e7cd4cd1fb2f2b2fc59fcf68843f3cba885fefe4c244f8f19602947688dc697bae5f53734178b2c82497f83c60331542a5dd557010ecc3847acf9", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "NzFA0-_mZneq7p29vLyyjBCZ5lmif86y9eWz50y3aSCPnwHr7JmrRzs_Ij79taj64EnF65jN2V5UC4qU6j4_NZd06aOIIzJy8V90MVpTd1M0P-D7JeSkg_19g6PU5YljTLlD5fwMceOL4EJ4H9ZqbrxogwfiI_VJnmDb-Pqg946J9rzubXlVzcaoyo2I-m8IJThXH72P73u3vchlkMgzt6oVZPp_IOCZqvZ3SBCnG9cs4eXf2_U8zBaVMMUeCROxqQedptugyUUkSXORliZkSScPhIEv97FNj89Dbp9zcfWJVRUPBu7lbh4VWU6_5xQ_J7UvbppBJJBAUrgkdWgZgQ", + "dp" : "N4gmbA4VBoXplpiNVR1iXH0Qgz1b2csBzwM3BRBBVAWpsS8jq42GfAjpZbWuKfaSofMctVk_KVYPbtLCv9sEtY20cPMGR0aMQbOsmUXcWv1R6o4zQwX-2lkRYUBKLDSHLKwaQdELpJjpOiPGUFq0hKbqn0tcr1jnA6LigHz622E", + "dq" : "O3tnXjNSIGVKH7tLwoXNaxsWPjlxBCJ0GMABWaJnh2I9uMc9-SnqDr3mgXekCGtBWaQ7HRgdZ1zRiC3_NXvoRcT4wn3TKAhEL8Teg5w6WvVgcyy5czOBjyT_wTjazz6y7EsYw5DfmXnOEgO3Oc49_2wHdg3R4b4GyzT5203l2OE", + "e" : "AQAB", + "kid" : "none", + "kty" : "RSA", + "n" : "nGdMjraxEZyt8kJlzHdRu7FipjCD36WHJt8nt3sQvwMCEK_9gQ14UoQ3RkfLieXnjQTn8H0kva-Kr5xK7R4XZhPXf5nT6G3JeHjC6tovasVcc6pyEWBikXNqC6M-vrSMvInuNuGNlj5iUMP5saKfTNdmh2HPcr_N6zHqWLz_MastCaNQLhBj53oZzw7zHBSjhlNqu2IwbEGzhtTXVZtIbxTGb4HNkmiyWYdFCxtkIJqb-7rXotW2zK2g9e6XaH3pl2mAwzpOfNTNH7L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uIlD8rkACGJwRoZ1H2exwyGTPRb31Kof0j9\naNIbyKZzhusYiLnnFL3r5CnSfkVcgYsGVS004viRNmRqz61oy6p+3IeDBjScZiaI\nXfdw6sFKZzEq8wN6YKmFbb/+BUWyQRv7whxFuRwHZEJSfWf26tXG\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bd020100300d06092a864886f70d0101010500048204a7308204a302010002820101009c674c8eb6b1119cadf24265cc7751bbb162a63083dfa58726df27b77b10bf030210affd810d785284374647cb89e5e78d04e7f07d24bdaf8aaf9c4aed1e176613d77f99d3e86dc97878c2eada2f6ac55c73aa7211606291736a0ba33ebeb48cbc89ee36e18d963e6250c3f9b1a29f4cd7668761cf72bfcdeb31ea58bcff31ab2d09a3502e1063e77a19cf0ef31c14a386536abb62306c41b386d4d7559b486f14c66f81cd9268b25987450b1b64209a9bfbbad7a2d5b6ccada0f5ee97687de9976980c33a4e7cd4cd1fb2f2b2fc59fcf68843f3cba885fefe4c244f8f19602947688dc697bae5f53734178b2c82497f83c60331542a5dd557010ecc3847acf9020301000102820100373140d3efe66677aaee9dbdbcbcb28c1099e659a27fceb2f5e5b3e74cb769208f9f01ebec99ab473b3f223efdb5a8fae049c5eb98cdd95e540b8a94ea3e3f359774e9a388233272f15f74315a537753343fe0fb25e4a483fd7d83a3d4e589634cb943e5fc0c71e38be042781fd66a6ebc688307e223f5499e60dbf8faa0f78e89f6bcee6d7955cdc6a8ca8d88fa6f082538571fbd8fef7bb7bdc86590c833b7aa1564fa7f20e099aaf6774810a71bd72ce1e5dfdbf53ccc169530c51e0913b1a9079da6dba0c9452449739196266449270f84812ff7b14d8fcf436e9f7371f58955150f06eee56e1e15594ebfe7143f27b52f6e9a4124904052b8247568198102818100d4a180a199b63e0657e4c03928e70b55d7defae203566eda84c584ffede87dfb0f5bba31d0fe6a46b4e0eddbcd80291c2fb550d5500e65aa198f32efb4d2e61a7acb82f41536931b9581bd4e96f7d10040bb240b06c77dd24a7b0a041e943b66248b2448adf068e297a5bc66f6dc986e0375888e16c659b75173fa115793b7e902818100bc4de42bf505e84cb3385505a2fa55ee0d0691f6bda9ed283a9daacb4b13631f6601cae8ee1e107ac4c8521646fb37cad6654fad88c60bf2c137d06882b8d18caa6f2379089add3474f20e01129914992ea06050540d04b5050e723830f86d0b898f22faa746bcd21ddfb8e2e8cb7de19ad52a55070b0dd4eea8fb47988932910281803788266c0e150685e996988d551d625c7d10833d5bd9cb01cf03370510415405a9b12f23ab8d867c08e965b5ae29f692a1f31cb5593f29560f6ed2c2bfdb04b58db470f30647468c41b3ac9945dc5afd51ea8e334305feda591161404a2c34872cac1a41d10ba498e93a23c6505ab484a6ea9f4b5caf58e703a2e2807cfadb610281803b7b675e335220654a1fbb4bc285cd6b1b163e397104227418c00159a26787623db8c73df929ea0ebde68177a4086b4159a43b1d181d675cd1882dff357be845c4f8c27dd32808442fc4de839c3a5af560732cb97333818f24ffc138dacf3eb2ec4b18c390df9979ce1203b739ce3dff6c07760dd1e1be06cb34f9db4de5d8e102818100a08e8c751bf67cb72e99179e91f17ae2250fcae4002189c11a19d47d9ec70c864cf45bdf52a87f48fd68d21bc8a67386eb1888b9e714bdebe429d27e455c818b06552d34e2f89136646acfad68cbaa7edc878306349c6626885df770eac14a67312af3037a60a9856dbffe0545b2411bfbc21c45b91c076442527d67f6ead5c6", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 61, + "comment" : "edge case for montgomery reduction with special primes", + "msg" : "69fc21cfdfdaf947da0c6ca5c9d78967fac976579659c93a8991e93d12120b10bc6342cc128912af3093696afb4937dacb30bca328b5aea273a2d512c5b98fdc050c213b87d23ce11957b08d74d3ac5a89234d9022f1a132e0b4d6afc411082569ede3f1d71d94886159d7eb8eb8", + "ct" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "350b5d22a0c60b1a67fbbb8d0a4b5e0fc27f2806afef5dfd8f7a71cfb2d6261c246f929ba023ab12ac5a28755755fcd3a3284ef32846c50a4db51bbdfdce016191a16aa4471ea9dedf8056b9f857b409cae629e6d4f211740fb83613c6199df5215a5d3559c8158ea6a5af791db02a7e3be5daaac6e47aec493872a845da9ba04de538780d63335340548b81a8c27222ba259013a330a8bf5a9284f785a794e89fd973220e98086f1c43771b89f4e21daff4a12e4cb866fe3963c556716397865d4c08fc39ec3db1048745dce726c9cdae9c984cea3dbc79124038226f45c7b128922673db23d2f0f0a70b20e054664c617a64d0c7de7ae987fd9f2af15ae4e1", + "e" : "010001", + "keysize" : 2048, + "n" : "00cf0ccf73f02736be83c4a6a2039ac3a36d7d1883db608b4055c00ae37f672d420f1eefead15d06b6c639d462ad3297b4213cede8a129570447d5f09dfbf985d54af8599e431247fd759acaf1ce51da4553f343fcb0649b5ee2c294cfe9c2a571757cab5fb4d2a513bba3064b471a134f1bb87fd786fcb42c18d565c54693cc5541e4d26fce244f2210c1454da32d7a061ccaa8faab3f1c8d5cc922a099b3fe75b081213cb917d210e2ac2a24ab56a08400e0cdb18a1c8c71a37f546faf83cdc261fd82c2e47a6879124072b90b7519e53823d4dcf422459103abb2966f9564e55a05c21fc3b43658952f9627422459cdd3214f3ae257558ded08783b17cec529", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "NQtdIqDGCxpn-7uNCkteD8J_KAav7139j3pxz7LWJhwkb5KboCOrEqxaKHVXVfzToyhO8yhGxQpNtRu9_c4BYZGhaqRHHqne34BWufhXtAnK5inm1PIRdA-4NhPGGZ31IVpdNVnIFY6mpa95HbAqfjvl2qrG5HrsSThyqEXam6BN5Th4DWMzU0BUi4GownIiuiWQE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yc2unJhM6j28eRJAOCJvRcexKJImc9sj0vDwpwsg4FRmTGF6ZNDH3nrph/2f\nKvFa5OECgYEA8/jB0j5hsCE6Mj3f6i3xK3i4wG7WNu7StDbh98EOb5FrrUpnhxpB\nEolGeqyax3E5PLEBm5iPNFxSCHpOK0sgbmT/5g3d0nAvHp/KT3vPn2w74wrbhI+7\nFCa4NmkU677DJ5n2UFIlUDSshbsW9DFoR98tNcXEoAnEC7Vs+2a0dGUCgYEA2UIN\nqyoK4b+dsJsUP4mhO028bekA6KX/paVRjYOM+JzHT8ihRH/Kw00w0V0HzQ6Afw0b\nmc13dBkX+4WY69c0BbJda8pMFan10H5gUi/eTig64l1cmwwkOlgJfwDPmu+cUqI2\ngosGnlhN56vMdnytQ9g467K0RyA+FJFbUX4Wl3UCgYBr+M9uiIUbOdlTmuaZ8TMm\nlgrNvz+2mANQFmnzB9Gntqf8zUz8EbZyyaYTbIgjdAxsu7mGbwIRnjn/3oDx0BHO\nSYym98QP+e4gk38pphXA7FmkpY15IVMeG/Syv9auboJX6F+GNJSm5mjj1mTWNXd9\nN1v+zEO0wB2vQN+2c0GxsQKBgQC3to1MYb7V6mxzvI9AsybtuOxPnKoyELy+2668\nlbMNP7Wil6sW+2EACTPwtlQ0Z8Dsrq7aPc53FAkdnXkUZOQOtSceUPBJmXDNny/g\nD65SNN6mMABw87FmzK8rAAqNn3R2w8iIVvt/xngKIVJCF2eEaUCovnKHepJEXi30\nGUUNSQKBgFxuj8ne6zr+3ByyssN3ycKlaDen4VFSpYf5MmVbhG4UUmsTUVo6eOKu\nNCDhUIzUlKSmBw6DsfroJJwB0uQfkmrNnJgFacr2sL/1WXFf7/dwUQlyOSxLuIrH\nLRpa8Jq+LVtWiZc1fqIHPaOL7osuB490ZRLKCbrhd/ImwXJOUWra\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100cf0ccf73f02736be83c4a6a2039ac3a36d7d1883db608b4055c00ae37f672d420f1eefead15d06b6c639d462ad3297b4213cede8a129570447d5f09dfbf985d54af8599e431247fd759acaf1ce51da4553f343fcb0649b5ee2c294cfe9c2a571757cab5fb4d2a513bba3064b471a134f1bb87fd786fcb42c18d565c54693cc5541e4d26fce244f2210c1454da32d7a061ccaa8faab3f1c8d5cc922a099b3fe75b081213cb917d210e2ac2a24ab56a08400e0cdb18a1c8c71a37f546faf83cdc261fd82c2e47a6879124072b90b7519e53823d4dcf422459103abb2966f9564e55a05c21fc3b43658952f9627422459cdd3214f3ae257558ded08783b17cec529020301000102820100350b5d22a0c60b1a67fbbb8d0a4b5e0fc27f2806afef5dfd8f7a71cfb2d6261c246f929ba023ab12ac5a28755755fcd3a3284ef32846c50a4db51bbdfdce016191a16aa4471ea9dedf8056b9f857b409cae629e6d4f211740fb83613c6199df5215a5d3559c8158ea6a5af791db02a7e3be5daaac6e47aec493872a845da9ba04de538780d63335340548b81a8c27222ba259013a330a8bf5a9284f785a794e89fd973220e98086f1c43771b89f4e21daff4a12e4cb866fe3963c556716397865d4c08fc39ec3db1048745dce726c9cdae9c984cea3dbc79124038226f45c7b128922673db23d2f0f0a70b20e054664c617a64d0c7de7ae987fd9f2af15ae4e102818100f3f8c1d23e61b0213a323ddfea2df12b78b8c06ed636eed2b436e1f7c10e6f916bad4a67871a411289467aac9ac771393cb1019b988f345c52087a4e2b4b206e64ffe60dddd2702f1e9fca4f7bcf9f6c3be30adb848fbb1426b8366914ebbec32799f65052255034ac85bb16f4316847df2d35c5c4a009c40bb56cfb66b4746502818100d9420dab2a0ae1bf9db09b143f89a13b4dbc6de900e8a5ffa5a5518d838cf89cc74fc8a1447fcac34d30d15d07cd0e807f0d1b99cd77741917fb8598ebd73405b25d6bca4c15a9f5d07e60522fde4e283ae25d5c9b0c243a58097f00cf9aef9c52a236828b069e584de7abcc767cad43d838ebb2b447203e14915b517e1697750281806bf8cf6e88851b39d9539ae699f13326960acdbf3fb69803501669f307d1a7b6a7fccd4cfc11b672c9a6136c8823740c6cbbb9866f02119e39ffde80f1d011ce498ca6f7c40ff9ee20937f29a615c0ec59a4a58d7921531e1bf4b2bfd6ae6e8257e85f863494a6e668e3d664d635777d375bfecc43b4c01daf40dfb67341b1b102818100b7b68d4c61bed5ea6c73bc8f40b326edb8ec4f9caa3210bcbedbaebc95b30d3fb5a297ab16fb61000933f0b6543467c0ecaeaeda3dce7714091d9d791464e40eb5271e50f0499970cd9f2fe00fae5234dea6300070f3b166ccaf2b000a8d9f7476c3c88856fb7fc6780a2152421767846940a8be72877a92445e2df419450d490281805c6e8fc9deeb3afedc1cb2b2c377c9c2a56837a7e15152a587f932655b846e14526b13515a3a78e2ae3420e1508cd494a4a6070e83b1fae8249c01d2e41f926acd9c980569caf6b0bff559715feff770510972392c4bb88ac72d1a5af09abe2d5b568997357ea2073da38bee8b2e078f746512ca09bae177f226c1724e516ada", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 62, + "comment" : "edge case for montgomery reduction with special primes", + "msg" : "8923733a345f80b10575ce05c18cb8543de89cbf37886f51c6b9369ecc01b880587e9c41f1848b2539a6919752d07429f3b012e9ac62e5d192cb980489ec54ee54a432a1f6adc583477b404d816e499666b4c91d2fc4e7d1844631997afdd05f190c433a6bffe334de4476284e8e6b30f4fd6da692", + "ct" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "629c1d04ddcfadb36eda7b394ee5bf6619937f5af340c2ba4bea8adef205714d20a131571883d923cdf5099381d107d30c66fd24d836bc30191b99ba7116033247b0ecc7cec457e94230a5a4f726e2747c02812c84d4ec50e615125063eeacaf1a35332656e3751f90c554dcddef27cc2175da418d756eba2163a076ae438c626142cef8c105959a9aa157299e884f48d6aa6171e0d0c6176377e1475728e06e013bba7fdf9438938b1ac2df23141834c81788325e3fec96cd5c72709a697ee644eaf389911ff6e91bcbe459cb1759720fe0d48159a3d31d7ddba78cc282861eec0c7f1014118e8d2d74fba5eddd5eec3c1f894b00e4390ea3016939daefdb95", + "e" : "010001", + "keysize" : 2048, + "n" : "00bf00ce8851532bb7cb0574acfa4f8992e37ececd04364f3d920a4bbf8b17523d967854dd28291c9adb51760356f24b8694995cad1f91fdd3c738b307b36f27f95d185fc331f5d614a4238f3f2157c1ae3a91bf6c5ac632259f2eff08f7bcffbfa6351bffaeb91ceedca6779b5c82e07b4ea2791196ced821793332ea313dfaa64064eb5e8f71de0ad1cdf680fec6a5617fcf970cc4eeac5ff017009400944997e8c36b1ab87a08545b027480815b78fd04ee3bd8daa31460246e9e258b31243ddae72fa770ac0fff907a6e99622b7b936529137a5b96b43562037459e5dff9abb3bfa7b4fb9d57a9345d86a72ea636fda36ee36eb913677c494bab01042b982d", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "YpwdBN3PrbNu2ns5TuW_ZhmTf1rzQMK6S-qK3vIFcU0goTFXGIPZI831CZOB0QfTDGb9JNg2vDAZG5m6cRYDMkew7MfOxFfpQjClpPcm4nR8AoEshNTsUOYVElBj7qyvGjUzJlbjdR-QxVTc3e8nzCF12kGNdW66IWOgdq5DjGJhQs74wQWVmpqhVymeiE9I1qphceDQxhdjd-FHVyjgbgE7un_flDiTixrC3yMUGDTIF4gyXj_sls1ccnCaaX7mROrziZEf9ukby-RZyxdZcg_g1IFZo9MdfdunjMKChh7sDH8QFBGOjS10-6Xt3V7sPB-JSwDkOQ6jAWk52u_blQ", + "dp" : "DVuM9Pp_rW5ew7dXFPVuRU7kuJhIhjYlPzZSkjArkZxOqnOr8yWJWJ3zTZYZY3PkRcdRkCSkGgWfTMiBO2JYJRPt7nXjL5qMylZPpwMHIJmXTTe35yblEgdiQO7j_zufWbThQF4wRAEkZ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T3+o+8tjzeGh236VjoabCmRMDJ/FEvOKqpIRazfMUnx//toHbEexqABOzQ7kVRqf\np2YtJ+RJYBFPPkL/XeFa46fRgXd5IIHdFE0lDJsCgYANW4z0+n+tbl7Dt1cU9W5F\nTuS4mEiGNiU/NlKSMCuRnE6qc6vzJYlYnfNNlhljc+RFx1GQJKQaBZ9MyIE7Ylgl\nE+3udeMvmozKVk+nAwcgmZdNN7fnJuUSB2JA7uP/O59ZtOFAXjBEASRmgbYMbcXs\ngD3IU16X8JeY7VzHP4IYqQKBgCJSfGpzCu741R8thEH2vwL7snQGWeC8k3kiNldg\nY4SWsMVG+rVMyJQszkTRdRib5VMpgRIkNmwpyBLBpNeZDbCuGBSbjJYqIliTZvzK\nH6VIqZCLAClNYTLLx4mvq9b0tGqLLFY+aofLXnDX58MnGtARa1liJ8rSJ/9Vaw4e\nA7r7AoGACmzqHgTDJZdZe9GNtfXHgac+zqozCDDgMetTXGzgjvPbS8N+Wzgv40NC\num8kLc9jLRiWA8+kHYGhC3+UpKwdnmLUDOzcNCyV7z3q3fFHsXVnPO8v2pA1gJqU\nxS6rtSw0jhP7kQJbi2485yGAmm3snMUQpSngv/jPjOTqeLUHMyY=\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bc020100300d06092a864886f70d0101010500048204a6308204a20201000282010100bf00ce8851532bb7cb0574acfa4f8992e37ececd04364f3d920a4bbf8b17523d967854dd28291c9adb51760356f24b8694995cad1f91fdd3c738b307b36f27f95d185fc331f5d614a4238f3f2157c1ae3a91bf6c5ac632259f2eff08f7bcffbfa6351bffaeb91ceedca6779b5c82e07b4ea2791196ced821793332ea313dfaa64064eb5e8f71de0ad1cdf680fec6a5617fcf970cc4eeac5ff017009400944997e8c36b1ab87a08545b027480815b78fd04ee3bd8daa31460246e9e258b31243ddae72fa770ac0fff907a6e99622b7b936529137a5b96b43562037459e5dff9abb3bfa7b4fb9d57a9345d86a72ea636fda36ee36eb913677c494bab01042b982d020301000102820100629c1d04ddcfadb36eda7b394ee5bf6619937f5af340c2ba4bea8adef205714d20a131571883d923cdf5099381d107d30c66fd24d836bc30191b99ba7116033247b0ecc7cec457e94230a5a4f726e2747c02812c84d4ec50e615125063eeacaf1a35332656e3751f90c554dcddef27cc2175da418d756eba2163a076ae438c626142cef8c105959a9aa157299e884f48d6aa6171e0d0c6176377e1475728e06e013bba7fdf9438938b1ac2df23141834c81788325e3fec96cd5c72709a697ee644eaf389911ff6e91bcbe459cb1759720fe0d48159a3d31d7ddba78cc282861eec0c7f1014118e8d2d74fba5eddd5eec3c1f894b00e4390ea3016939daefdb9502818100f487bed27b53cd84bbc984a233cf087da6e714181b5a016435751d7f7b1ebba10e7fbcf43028f022d8858b660a687e683c52e7139b9ea72ab6a95160abe03772fda4116f62808d9d61c25be94f1924f31f17abb34321c49232137912f1d9a4f0a633b292fb2ec7c0878e060be161b4a6571e12f5e95a9d490c15009d9ffd26d702818100c7f652730125870f9750bc5430f39e8bbf66b2d8ec4b3f33dba050b06349f62c68808773e923cb7f508c9677855691d43d0e004f7fa8fbcb63cde1a1db7e958e869b0a644c0c9fc512f38aaa92116b37cc527c7ffeda076c47b1a8004ecd0ee4551a9fa7662d27e44960114f3e42ff5de15ae3a7d18177792081dd144d250c9b0281800d5b8cf4fa7fad6e5ec3b75714f56e454ee4b898488636253f365292302b919c4eaa73abf32589589df34d96196373e445c7519024a41a059f4cc8813b62582513edee75e32f9a8cca564fa703072099974d37b7e726e512076240eee3ff3b9f59b4e1405e304401246681b60c6dc5ec803dc8535e97f09798ed5cc73f8218a902818022527c6a730aeef8d51f2d8441f6bf02fbb2740659e0bc937922365760638496b0c546fab54cc8942cce44d175189be55329811224366c29c812c1a4d7990db0ae18149b8c962a22589366fcca1fa548a9908b00294d6132cbc789afabd6f4b46a8b2c563e6a87cb5e70d7e7c3271ad0116b596227cad227ff556b0e1e03bafb0281800a6cea1e04c32597597bd18db5f5c781a73eceaa330830e031eb535c6ce08ef3db4bc37e5b382fe34342ba6f242dcf632d189603cfa41d81a10b7f94a4ac1d9e62d40cecdc342c95ef3deaddf147b175673cef2fda9035809a94c52eabb52c348e13fb91025b8b6e3ce721809a6dec9cc510a529e0bff8cf8ce4ea78b5073326", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 63, + "comment" : "edge case for montgomery reduction with special primes", + "msg" : "4947c8c3306ed0cc1841318746a17078557b686f0dc45c6289e02ef4c595b5d0c2c92d7cab1e93ce0e1470a2a5e116e4a49de188c149bcebebfe669ba256d64fadab70fd7e36734eaf10b90f7b4a5004c04ada14a0ef75c0f25a3094010d2b43d5c023", + "ct" : "bf00ce8851532bb7cb0574acfa4f8992e37ececd04364f3d920a4bbf8b17523d967854dd28291c9adb51760356f24b8694995cad1f91fdd3c738b307b36f27f95d185fc331f5d614a4238f3f2157c1ae3a91bf6c5ac632259f2eff08f7bcffbfa6351bffaeb91ceedca6779b5c82e07b4ea2791196ced821793332ea313dfaa5c064eb5e8f71de0ad1cdf680fec6a5617fcf970cc4eeac5ff017009400944997e8c36b1ab87a08545b027480815b78fd04ee3bd8daa31460246e9e258b31243ddae72fa770ac0fff907a6e99622b7b936529137a5b96b43562037459e5dff9abb3bfa7b4fb9d57a9345d86a72ea636fda36ee36eb913677c494bab01042b982c", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "00877c32fdfb22d2dc7734329699ff43fc901b7ca0a7a25575eb58c88a1e3838df3b679af332f97074dbaa1bc4606e513efdfbade07435e113fd956eedb2d24c105c9167376028cca63892d00c31dda66e1dcd627483a472fc8b905413b9014e21a52c90d1c7c0c4b2f7dfa2cfb583c7a5e4603f548f98720a99cc11d03b2c6abec41d4ab1a6e4f73f394ef46213fcade3131ef85b004fca291fa2ebd0d9ffe3e8cf5071a524f863df26369c22b38eacecdc784dd65e20d356a6e20de033c481ebe1c5cd42366ac83c26caf73875e628875c925de9c3939bd7f912bfded876393b1f6a314447a96bbc4cfe3c01443a2a9de7121023ee025194f5a20cb768591a01", + "e" : "010001", + "keysize" : 2048, + "n" : "00cc890f82986e18c35e18a2ea354bd2c7e88dca9f0e1981497b31342b893992a49f36380fbe9829995e9aec1b3ec88dfbcbfb11bd2a00140f8f6647c5e3bdda527799ef0571f45427f10d2463ee096fda48c41085d3a90bf7072d06fb7a3d2286cd10255a82a52452ea3e61e2d8e35eff9f6b831b48f09b522df104f48ac58f76cd241b9fddc042e7683774117808681693536600e1cd3035dcf6ec30a6bdf659b15e0417c3bfc4c9a591f2f858081df1243477d41812a6ac74bc4fbb6485b18aaf6a00c32593751a527723b4802d318038698de9063818044cca1b035b8800193fed71d3c38ed3296fddb336552b68d380d1214b13a1c86e6f687bd37e5fd22b", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "h3wy_fsi0tx3NDKWmf9D_JAbfKCnolV161jIih44ON87Z5rzMvlwdNuqG8RgblE-_fut4HQ14RP9lW7tstJMEFyRZzdgKMymOJLQDDHdpm4dzWJ0g6Ry_IuQVBO5AU4hpSyQ0cfAxLL336LPtYPHpeRgP1SPmHIKmcwR0Dssar7EHUqxpuT3PzlO9GIT_K3jEx74WwBPyikfouvQ2f_j6M9QcaUk-GPfJjacIrOOrOzceE3WXiDTVqbiDeAzxIHr4cXNQjZqyDwmyvc4deYoh1ySXenDk5vX-RK_3th2OTsfajFER6lrvEz-PAFEOiqd5xIQI-4CUZT1ogy3aFkaAQ", + "dp" : "zJfbJDiy0Aglw3ofv-z3pHqUxcQVrUMH1DPd4FAX_0GEp3FtzVUd_MEQluCGr01z_31yzniArgt6endYEedMc72Ieiy5whXE_iE5WhNCDQAir4mhYMcZszg0eD-6U2k8cYLhyO6mgrGbr1UItt6vedVIq7rHwjrPO9TcPhrLfcE", + "dq" : "VLvgi7VeoSQvwmx5wCMI0IB6xY5FsoH90q5j2jDgT5wl8iuasYfZQvEx0rddCxOjtZeq2ZXfTloFv5BWAj0BS1-qNTo8Zv4ndUsvNQiiagoqa1iuziPYznJjSDpmAJRh08cBDUw9_sOcTHrCMOSh_UWfOU9tJhOZyqz0TNJguKM", + "e" : "AQAB", + "kid" : "none", + "kty" : "RSA", + "n" : "zIkPgphuGMNeGKLqNUvSx-iNyp8OGYFJezE0K4k5kqSfNjgPvpgpmV6a7Bs-yI37y_sRvSoAFA-PZkfF473aUneZ7wVx9FQn8Q0kY-4Jb9pIxBCF06kL9wctBvt6PSKGzRAlWoKlJFLqPmHi2ONe_59rgxtI8JtSLfEE9IrFj3bNJBuf3cBC52g3dBF4CGgWk1NmAOHNMDXc9uwwpr32WbFeBBfDv8TJpZHy-FgIHfEkNHfUGBKmrHS8T7tkhbGKr2oAwyWTdRpSdyO0gC0xgDhpjekGOBgETMobA1uIABk_7XHTw47TKW_dszZVK2jTgNEhSxOhyG5vaHvTfl_SKw", + "p" : "6pCSOtGhbY9XBL39NKfwWZQREsOR9la3UPbJyh2RY5frzDP0jDAKnQAQccrwDTP4DPCuPv2JnGRD5s25IU2d-yCeCIFj513XWC02Od912c8RPrQrxh9-kOvZphnetBx21XKPMTTUVkFC4Wb0YxPxp0kvI9IH_C2PoVzHoB8kIUE", + "q" : "3zn69A08uvKu0tD2nGeyu7GefIG8kDBpGEcdHkBsrI7Zlp6L3IC-clAhdtaOofYBbsr007TOJOp2diMl_RaANF5cW3e6SIi519T9ha8W4gzJIri9K7tJ9jcyNt3JOQY64nbS-0o4Et50BHodkln9h34jKZIPRCRYW7J6_cYe7Gs", + "qi" : "T4wdYeBZyZIOaFRK3H4Cj48FkztPSc7BYUmZ0SBFAZi-8mvd4Qmb_8Uxa67zMcKz2FTkKi8YhYc1ZBlSEEhHy7znQsimuSOBQ69LJ8uMpO-TH1UJ8ryodTl-36vdImPghnMD29-_rGg6EMQtdhhPMgxGmrD2gKg3l2hLYQJrk98" + }, + "privateKeyPem" : "-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAzIkPgphuGMNeGKLqNUvSx+iNyp8OGYFJezE0K4k5kqSfNjgP\nvpgpmV6a7Bs+yI37y/sRvSoAFA+PZkfF473a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ghq9Nc/99cs54gK4Lenp3WBHn\nTHO9iHosucIVxP4hOVoTQg0AIq+JoWDHGbM4NHg/ulNpPHGC4cjupoKxm69VCLbe\nr3nVSKu6x8I6zzvU3D4ay33BAoGAVLvgi7VeoSQvwmx5wCMI0IB6xY5FsoH90q5j\n2jDgT5wl8iuasYfZQvEx0rddCxOjtZeq2ZXfTloFv5BWAj0BS1+qNTo8Zv4ndUsv\nNQiiagoqa1iuziPYznJjSDpmAJRh08cBDUw9/sOcTHrCMOSh/UWfOU9tJhOZyqz0\nTNJguKMCgYBPjB1h4FnJkg5oVErcfgKPjwWTO09JzsFhSZnRIEUBmL7ya93hCZv/\nxTFrrvMxwrPYVOQqLxiFhzVkGVIQSEfLvOdCyKa5I4FDr0sny4yk75MfVQnyvKh1\nOX7fq90iY+CGcwPb37+saDoQxC12GE8yDEaasPaAqDeXaEthAmuT3w==\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204be020100300d06092a864886f70d0101010500048204a8308204a40201000282010100cc890f82986e18c35e18a2ea354bd2c7e88dca9f0e1981497b31342b893992a49f36380fbe9829995e9aec1b3ec88dfbcbfb11bd2a00140f8f6647c5e3bdda527799ef0571f45427f10d2463ee096fda48c41085d3a90bf7072d06fb7a3d2286cd10255a82a52452ea3e61e2d8e35eff9f6b831b48f09b522df104f48ac58f76cd241b9fddc042e7683774117808681693536600e1cd3035dcf6ec30a6bdf659b15e0417c3bfc4c9a591f2f858081df1243477d41812a6ac74bc4fbb6485b18aaf6a00c32593751a527723b4802d318038698de9063818044cca1b035b8800193fed71d3c38ed3296fddb336552b68d380d1214b13a1c86e6f687bd37e5fd22b02030100010282010100877c32fdfb22d2dc7734329699ff43fc901b7ca0a7a25575eb58c88a1e3838df3b679af332f97074dbaa1bc4606e513efdfbade07435e113fd956eedb2d24c105c9167376028cca63892d00c31dda66e1dcd627483a472fc8b905413b9014e21a52c90d1c7c0c4b2f7dfa2cfb583c7a5e4603f548f98720a99cc11d03b2c6abec41d4ab1a6e4f73f394ef46213fcade3131ef85b004fca291fa2ebd0d9ffe3e8cf5071a524f863df26369c22b38eacecdc784dd65e20d356a6e20de033c481ebe1c5cd42366ac83c26caf73875e628875c925de9c3939bd7f912bfded876393b1f6a314447a96bbc4cfe3c01443a2a9de7121023ee025194f5a20cb768591a0102818100ea90923ad1a16d8f5704bdfd34a7f059941112c391f656b750f6c9ca1d916397ebcc33f48c300a9d001071caf00d33f80cf0ae3efd899c6443e6cdb9214d9dfb209e088163e75dd7582d3639df75d9cf113eb42bc61f7e90ebd9a619deb41c76d5728f3134d4564142e166f46313f1a7492f23d207fc2d8fa15cc7a01f24214102818100df39faf40d3cbaf2aed2d0f69c67b2bbb19e7c81bc90306918471d1e406cac8ed9969e8bdc80be72502176d68ea1f6016ecaf4d3b4ce24ea76762325fd1680345e5c5b77ba4888b9d7d4fd85af16e20cc922b8bd2bbb49f6373236ddc939063ae276d2fb4a3812de74047a1d9259fd877e2329920f4424585bb27afdc61eec6b02818100cc97db2438b2d00825c37a1fbfecf7a47a94c5c415ad4307d433dde05017ff4184a7716dcd551dfcc11096e086af4d73ff7d72ce7880ae0b7a7a775811e74c73bd887a2cb9c215c4fe21395a13420d0022af89a160c719b33834783fba53693c7182e1c8eea682b19baf5508b6deaf79d548abbac7c23acf3bd4dc3e1acb7dc102818054bbe08bb55ea1242fc26c79c02308d0807ac58e45b281fdd2ae63da30e04f9c25f22b9ab187d942f131d2b75d0b13a3b597aad995df4e5a05bf9056023d014b5faa353a3c66fe27754b2f3508a26a0a2a6b58aece23d8ce7263483a66009461d3c7010d4c3dfec39c4c7ac230e4a1fd459f394f6d261399caacf44cd260b8a30281804f8c1d61e059c9920e68544adc7e028f8f05933b4f49cec1614999d120450198bef26bdde1099bffc5316baef331c2b3d854e42a2f18858735641952104847cbbce742c8a6b9238143af4b27cb8ca4ef931f5509f2bca875397edfabdd2263e0867303dbdfbfac683a10c42d76184f320c469ab0f680a83797684b61026b93df", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 64, + "comment" : "edge case for montgomery reduction with special primes", + "msg" : "841ee52c94cac3dda367429494b2a07274e19f7f9567bceae1a940df892b8e44c7c86bdcc6ea7232774ee2195b19bfe932a88c12401c06fe0b865583d989ed3236fdb18264499a36b6ae6ba1bfc68b8220a0e3fa2f8221bb3e72e267115469c8648b5ec81d04393f8357daea9b849b95d2707a3b13e4e27a5be8e75e803f41b081c7accae863211f5357a4c81c", + "ct" : "cc890f82986e18c35e18a2ea354bd2c7e88dca9f0e1981497b31342b893992a49f36380fbe9829995e9aec1b3ec88dfbcbfb11bd2a00140f8f6647c5e3bdda527799ef0571f45427f10d2463ee096fda48c41085d3a90bf7072d06fb7a3d2286cd10255a82a52452ea3e61e2d8e35eff9f6b831b48f09b522df104f48ac58f76cc241b9fddc042e7683774117808681693536600e1cd3035dcf6ec30a6bdf659b15e0417c3bfc4c9a591f2f858081df1243477d41812a6ac74bc4fbb6485b18aaf6a00c32593751a527723b4802d318038698de9063818044cca1b035b8800193fed71d3c38ed3296fddb336552b68d380d1214b13a1c86e6f687bd37e5fd22c", + "result" : "valid", + "flags" : [] + } + ] + }, + { + "d" : "355d71fce2f312b7c53d7911d7fbdcd976ddb3d5809691d3031e2d4656b7b48545bd7b265aca5f9779e2c332e70d592904b9e0caf2a8c8aa87b9dd8d88ac9ec370a637399688c62bf63ae41d87e493820cfe30144b7f8f7f6cb3c88b00a907be37190398927353a005a1a821edc644ecbd9ebe67c2993d9575d88c45ead2251e270a28bf017051d8a4248d76172b65c51728c23b56a8eb3e8c24dfc35b05675314f4a6e808411ec2564969d7e1a23b10277937f3e4cb06a338691d26677927f6a67e5334bccabd309fabc851b5c55999c160300ee10511656561fa98c0ec5b2dec78491319862664bed347bef461b5fa7c5e53859bc36c440a47f39a63203d01", + "e" : "010001", + "keysize" : 2048, + "n" : "00b519563f7b707c6e9b89342aa5314536c521dd78877a3307b372f617622cb06c84626ca4e09e92cb869acaa07b04e18ae51a2935eb0d4cd29ddb96e5fea661c6f038859e31a96bcebefa32cd77dcbb2817c20774ce6badb1795c8b1e73a555921e6cf2726663576d9075af06dd89795bdf10b3f1973cdfbe81fd0f09d9b7aca821e3f403bbf517982d39f1a3411814a24f72d02f96a545cd0e0297ed88f3603cecc340adb01e2b35f9b7d8c2e4fa04e22122e5931cec5a12a3e0b93ca623a7d1a337c2bf6faf6ac17c0480a2b7e922dd99ee44297c5c085f044a92865429696387768e1ac55b0acd5bf312fe10279d3e7277f11c46ebf161feba67aeb49b103f", + "privateKeyJwk" : { + "alg" : "RSA1_5", + "d" : "NV1x_OLzErfFPXkR1_vc2Xbds9WAlpHTAx4tRla3tIVFvXsmWspfl3niwzLnDVkpBLngyvKoyKqHud2NiKyew3CmNzmWiMYr9jrkHYfkk4IM_jAUS3-Pf2yzyIsAqQe-NxkDmJJzU6AFoagh7cZE7L2evmfCmT2VddiMRerSJR4nCii_AXBR2KQkjXYXK2XFFyjCO1ao6z6MJN_DWwVnUxT0pugIQR7CVklp1-GiOxAneTfz5MsGozhpHSZneSf2pn5TNLzKvTCfq8hRtcVZmcFgMA7hBRFlZWH6mMDsWy3seEkTGYYmZL7TR770YbX6fF5ThZvDbEQKR_OaYyA9AQ", + "dp" : "y3ZqNpp8pU-Uiofxw5GRIyP31oYS4zZhV0u6AqAv4oqw4ckfrgmq4Rk126gXORIaG1bo3rIggGAxqwEmxlFHMh7DdrHPx6XTsXPBMbLLMAgnC5KtsG4V2DC14Jl5Fl7cuTqgZpoWtljLEP-Owirxl6LOXaWczrwkDjuxxqj7KrE", + "dq" : "Uaf0h5K9pngSfcR21M87u3re911AcgQF-KED0JOvXgYbEO-EHdSixSyVKCoLbnySRyEyLarcjyXo0xh8MQVp1U9yJeJzT0jRu7Onq347KxPmBeLsZfVOKeCB1diDBwlZnjiuD3KeNwFlqoF9uwl_8QzqMBP-gYp1bbzJoPQFvk8", + "e" : "AQAB", + "kid" : "none", + "kty" : "RSA", + "n" : "tRlWP3twfG6biTQqpTFFNsUh3XiHejMHs3L2F2IssGyEYmyk4J6Sy4aayqB7BOGK5RopNesNTNKd25bl_qZhxvA4hZ4xqWvOvvoyzXfcuygXwgd0zmutsXlcix5zpVWSHmzycmZjV22Qda8G3Yl5W98Qs_GXPN--gf0PCdm3rKgh4_QDu_UXmC058aNBGBSiT3LQL5alRc0OApftiPNgPOzDQK2wHis1-bfYwuT6BOIhIuWTHOxaEqPguTymI6fRozfCv2-vasF8BICit-ki3ZnuRCl8XAhfBEqShlQpaWOHdo4axVsKzVvzEv4QJ50-cnfxHEbr8WH-umeutJsQPw", + "p" : "6c_-nztwLQPufCVwPxMUsmR5Y94toW8seWbT68GP6pKfKMt6VfV22cOlolEwh6Q510yuA3qWWjGDK4cYjTznGiAA9UuYOVbI5oJ-hU0htMN-s5SPaAGJUxmxz1HgINu3iDvxUWTxSZaW_tqI6wttdYd97sM9ojkOmXbWmKbZsMk", + "q" : "xkjF-UIsASeSjnqc_ps0UYXVPgbYu7NSAcrnvfos63prMby4j0YXyZX-srceyPThhU_BdjnJcLzfN_xGZUMFppC45qa-pybot-pA7biGUy15RKKtJ2PL5hLMFw18qV-5C6kKgGGQJS3KyUo-ebpF5KveA5F2nB51CDT1zQDjhMc", + "qi" : "YBHpC8vcl-wdDUOZL4gw1L2lkimX7shDqe0U-A-D0KCvrTzDIBCMrgLkAQQDsxZQwmr0MVY_CCGFjF2gCVqYE8RcEbvypDv8NuvQNs1FSPQGqTMjWl6nGqvinKU2xdijf9ExC0Pw4bzsE7uh1qmWjHGL-XT1tzzL2AjRJIyPXK4" + }, + "privateKeyPem" : "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAtRlWP3twfG6biTQqpTFFNsUh3XiHejMHs3L2F2IssGyEYmyk\n4J6Sy4aayqB7BOGK5RopNesNTNKd25bl/qZhxvA4hZ4xqWvOvvoyzXfcuygXwgd0\nzmutsXlcix5zpVWSHmzycmZjV22Qda8G3Yl5W98Qs/GXPN++gf0PCdm3rKgh4/QD\nu/UXmC058a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zzu7et73XUByBAX4oQPQ\nk69eBhsQ74Qd1KLFLJUoKgtufJJHITItqtyPJejTGHwxBWnVT3Il4nNPSNG7s6er\nfjsrE+YF4uxl9U4p4IHV2IMHCVmeOK4Pcp43AWWqgX27CX/xDOowE/6BinVtvMmg\n9AW+TwKBgGAR6QvL3JfsHQ1DmS+IMNS9pZIpl+7IQ6ntFPgPg9Cgr608wyAQjK4C\n5AEEA7MWUMJq9DFWPwghhYxdoAlamBPEXBG78qQ7/Dbr0DbNRUj0BqkzI1pepxqr\n4pylNsXYo3/RMQtD8OG87BO7odaploxxi/l09bc8y9gI0SSMj1yu\n-----END RSA PRIVATE KEY-----", + "privateKeyPkcs8" : "308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100b519563f7b707c6e9b89342aa5314536c521dd78877a3307b372f617622cb06c84626ca4e09e92cb869acaa07b04e18ae51a2935eb0d4cd29ddb96e5fea661c6f038859e31a96bcebefa32cd77dcbb2817c20774ce6badb1795c8b1e73a555921e6cf2726663576d9075af06dd89795bdf10b3f1973cdfbe81fd0f09d9b7aca821e3f403bbf517982d39f1a3411814a24f72d02f96a545cd0e0297ed88f3603cecc340adb01e2b35f9b7d8c2e4fa04e22122e5931cec5a12a3e0b93ca623a7d1a337c2bf6faf6ac17c0480a2b7e922dd99ee44297c5c085f044a92865429696387768e1ac55b0acd5bf312fe10279d3e7277f11c46ebf161feba67aeb49b103f020301000102820100355d71fce2f312b7c53d7911d7fbdcd976ddb3d5809691d3031e2d4656b7b48545bd7b265aca5f9779e2c332e70d592904b9e0caf2a8c8aa87b9dd8d88ac9ec370a637399688c62bf63ae41d87e493820cfe30144b7f8f7f6cb3c88b00a907be37190398927353a005a1a821edc644ecbd9ebe67c2993d9575d88c45ead2251e270a28bf017051d8a4248d76172b65c51728c23b56a8eb3e8c24dfc35b05675314f4a6e808411ec2564969d7e1a23b10277937f3e4cb06a338691d26677927f6a67e5334bccabd309fabc851b5c55999c160300ee10511656561fa98c0ec5b2dec78491319862664bed347bef461b5fa7c5e53859bc36c440a47f39a63203d0102818100e9cffe9f3b702d03ee7c25703f1314b2647963de2da16f2c7966d3ebc18fea929f28cb7a55f576d9c3a5a2513087a439d74cae037a965a31832b87188d3ce71a2000f54b983956c8e6827e854d21b4c37eb3948f6801895319b1cf51e020dbb7883bf15164f1499696feda88eb0b6d75877deec33da2390e9976d698a6d9b0c902818100c648c5f9422c0127928e7a9cfe9b345185d53e06d8bbb35201cae7bdfa2ceb7a6b31bcb88f4617c995feb2b71ec8f4e1854fc17639c970bcdf37fc46654305a690b8e6a6bea726e8b7ea40edb886532d7944a2ad2763cbe612cc170d7ca95fb90ba90a806190252dcac94a3e79ba45e4abde0391769c1e750834f5cd00e384c702818100cb766a369a7ca54f948a87f1c391912323f7d68612e33661574bba02a02fe28ab0e1c91fae09aae11935dba81739121a1b56e8deb220806031ab0126c65147321ec376b1cfc7a5d3b173c131b2cb3008270b92adb06e15d830b5e09979165edcb93aa0669a16b658cb10ff8ec22af197a2ce5da59ccebc240e3bb1c6a8fb2ab102818051a7f48792bda678127dc476d4cf3bbb7adef75d40720405f8a103d093af5e061b10ef841dd4a2c52c95282a0b6e7c924721322daadc8f25e8d3187c310569d54f7225e2734f48d1bbb3a7ab7e3b2b13e605e2ec65f54e29e081d5d8830709599e38ae0f729e370165aa817dbb097ff10cea3013fe818a756dbcc9a0f405be4f0281806011e90bcbdc97ec1d0d43992f8830d4bda5922997eec843a9ed14f80f83d0a0afad3cc320108cae02e4010403b31650c26af431563f0821858c5da0095a9813c45c11bbf2a43bfc36ebd036cd4548f406a933235a5ea71aabe29ca536c5d8a37fd1310b43f0e1bcec13bba1d6a9968c718bf974f5b73ccbd808d1248c8f5cae", + "type" : "RsaesPkcs1Decrypt", + "tests" : [ + { + "tcId" : 65, + "comment" : "edge case for montgomery reduction with special primes", + "msg" : "a3b94a63d4937de4bf024bce52957cd9af5efb3b0defef908d5f2ce35941b10168128951a1c5093dcdcebaa0622fdfc1e481daac4ce5675ed6690cec5f8ef20305185ed5b61db798e7a13626831fa9", + "ct" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "result" : "valid", + "flags" : [] + } + ] + } + ] +} |