From d6e6d7e94aeae5fc002611544ea903f7a839029f Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 9 Sep 2013 18:14:05 -0700 Subject: Aded the 3DES vectors. Refs #51. --- .../primitives/vectors/NIST/3DES/MMT/TCBCIMMT2.rsp | 209 +++++++++++++++++++++ 1 file changed, 209 insertions(+) create mode 100644 tests/primitives/vectors/NIST/3DES/MMT/TCBCIMMT2.rsp (limited to 'tests/primitives/vectors/NIST/3DES/MMT/TCBCIMMT2.rsp') diff --git a/tests/primitives/vectors/NIST/3DES/MMT/TCBCIMMT2.rsp b/tests/primitives/vectors/NIST/3DES/MMT/TCBCIMMT2.rsp new file mode 100644 index 00000000..ad264553 --- /dev/null +++ b/tests/primitives/vectors/NIST/3DES/MMT/TCBCIMMT2.rsp @@ -0,0 +1,209 @@ +# CAVS 11.1 +# Config Info for : "tdes_values" +# TDES Multi block Message Test for CBCI +# State : Encrypt and Decrypt +# Thu Apr 21 10:37:58 AM + +[ENCRYPT] + +COUNT = 0 +KEY1 = a4a8f47c4f91cb8f +KEY2 = 0b7504a2d357fe20 +KEY3 = a4a8f47c4f91cb8f +IV1 = 6144b78070aff48b +IV2 = b69a0cd5c60549e0 +IV3 = 0bef622b1b5a9f35 +PLAINTEXT = e9b56ddfe62feecffc73c59fd167d2fb70b6a38fe118a070 +CIPHERTEXT = 32bdf5c7e9679d773b5296a42dcf2a5b610c41febd32d217 + +COUNT = 1 +KEY1 = e957c1d94aae7f8f +KEY2 = 612fa77f64e38532 +KEY3 = e957c1d94aae7f8f +IV1 = cd7d5774cea1b157 +IV2 = 22d2acca23f706ac +IV3 = 7828021f794c5c01 +PLAINTEXT = 93f72387d005e9a665b5cd5b649f9a960dd5a89d9f6754af6e2dade736c07064afca37a76180ed3cba6c859d5e70eb53 +CIPHERTEXT = 6781d1cca8dec9f9b843510fd792bd25fd349716ba8abad3864dc99a67c9fbc33fa42c679f5e6e086dacda6ad56e48f6 + +COUNT = 2 +KEY1 = 5101ba26463237bc +KEY2 = d6101c029d9740ab +KEY3 = 5101ba26463237bc +IV1 = 6a220662a683df1d +IV2 = bf775bb7fbd93472 +IV3 = 14ccb10d512e89c7 +PLAINTEXT = b8dc38b7b3c33bc96e026bb478bfe378e68a8ab4e99b410ca65b61cd412764d43b50e2acff66c0f6b7b6a40e6411abeb2ecf5f47f814e300385271bf060f07d773e95c701bd719e4 +CIPHERTEXT = 55a9eaa8aeb38a94c2f2c5c978a026d8dae3ed4390c7f0aa47cdd79b4f8d015cc103a71a49758f8f3da8ec1b8ab54c9b879cbb44ff926075a72b0899b99b935a0e67073f2c023a14 + +COUNT = 3 +KEY1 = ce13ea680b3b134c +KEY2 = b013feb610a86168 +KEY3 = ce13ea680b3b134c +IV1 = 234723e31abeec44 +IV2 = 789c793870144199 +IV3 = cdf1ce8dc56996ee +PLAINTEXT = 9d6cf99859e9b21bfeaf818c53f806199c8f35f3183dfe5cce842d028a908f8b226b5671fd70be10d602f1fdbe7e289a606d14e789ff7c9be8b52774125dfccbc843686b7da600a31369689ae60b73e30bd98b51da62540da92c8ce5dba536e7 +CIPHERTEXT = bbea886d0fce6e05669e02c3c07c86e9256071797bf61ef02195f402f02a141cc1d8337edbed2c52ad462b7bc6f4ad57759b45a5e437702084d9077543e272b0acdab0a6017da033f638923f5400f7b5e897b884a50e6abb37ec322c31b5814e + +COUNT = 4 +KEY1 = feb334c8ef4c7525 +KEY2 = 04ec7c649b204a0e +KEY3 = feb334c8ef4c7525 +IV1 = 70a6a14c2ae0f778 +IV2 = c5fbf6a180364ccd +IV3 = 1b514bf6d58ba222 +PLAINTEXT = 21c5f18f02b79a59975faf38e00c509c233c1688e1bca7dd081188db6a1733e56ee86a8405ffcaafe09ea34ae16c07eccf6321e54de9c8800d3d54854115b1025286b24bd523a740bb6931cec75b55b94669d098fa96aa2157da0ea6f2c559e0366671ec586b58938e8901ce7c1f6289ef16caa8ce0b7548 +CIPHERTEXT = 2e7789667b93137ad8786eaf625f37b278b8cde54ff64c6e571fd6fedf5a6618a362cb86fd97dfc1c74871e3717a836095f68e9c3a30ceec0390a61de89bc60de550011d3e71ce61ef522c878aeac0e80d593211e3433a4353ee6cee9a9512f165e5af745619a9d485f2074e17500c392a32e894ae89a73c + +COUNT = 5 +KEY1 = 85d010d61907d39d +KEY2 = 4a1698929b51b616 +KEY3 = 85d010d61907d39d +IV1 = d339163dc2b8f6cd +IV2 = 288e6b93180e4c22 +IV3 = 7de3c0e86d63a177 +PLAINTEXT = 8f0bc9ee95cc51307c5252bc72e287a842ee2e9326977441dd702e85fe85c9648c9c8477cabadc9151e948a25f3927db7205f7131677c76afb4eef2c4adffef8395af421de4fb2544071ae7bb499ebe2670e299837035919c7615329d2c7cb03bfcf81b37694b9c17371eb0f180bbb0448912bea314210956930c3463d4418cf468394f73d8fda1f0f71672634957f8b +CIPHERTEXT = 14910336e5c9292f05f65fac4d13788a1716b1225ee4a6c036830335e01b3a4840677d6ae2da0d06fe8894fa15e3cafad05f334d9e3db5f59d81a027bdb0c2f863711e6562cc1d9468f657dd3ec11f17067d9073b5cd9fa06ca89b1ada540317c738485ef640138c6b982670f2eea4a37e0030f7dc6911bf6db44944232bc555995fc8c59db37548bb5a0741c32c2c84 + +COUNT = 6 +KEY1 = 945e5892dfc2b043 +KEY2 = b62c6b869e40151f +KEY3 = 945e5892dfc2b043 +IV1 = 46d864a8145286d4 +IV2 = 9c2db9fd69a7dc29 +IV3 = f1830f52befd317e +PLAINTEXT = 7ec61272743bf1614726446a6c38ced166f6ca76eb5430044286346cef130f92922b03450d3a9975e5bd2ea0eb55ad8e1b199e3ec4316020e9a1b285e762795359b7bdfd39bef4b2484583d5afe082aee638bf5fd5a606193901a08f4ab41aab9b13488041ef888137674bf00102d29990fb36bf66dcab57fa4e05745e307c031fe6acb86df4e0487bcb8fd929e227b6e1090a48befbd642f432ea1b6cff26c1aed9f18c04f68170 +CIPHERTEXT = 2191b841bc0f8c8e730385700d936a0466716a474dec0e77a1dec2fd914ef235b82e9f231d4d55ea8ee5aa469b5ba1725c6398f3f7775757f149d8fcddc67023dbc1bd580705a366d98b0bd005c9c275465d960baf8330f4d88e95f02254fb8ce45e14a4c54497df6a21d8a7a9ba023f200b643a5d98aa6ec8ba4aaa4d4b79ecf7beac0c8e37b26b3e50131fb35bb2f64aff3bd8abbefd04377bebf617b6667e2624514ea70241a6 + +COUNT = 7 +KEY1 = 193bc2d06b3825d3 +KEY2 = 3e5b6849fd9b8998 +KEY3 = 193bc2d06b3825d3 +IV1 = bc83ed5f23fdb1bf +IV2 = 11d942b479530714 +IV3 = 672e9809cea85c69 +PLAINTEXT = b7117523f7926c072f8020b11c32da58edb2cb77ff70f120eb373f93c25ff80f97455ce83ef886da5435959d7f960ab9f706719c467844ea4cd90c148542c92c8f7394f8e67d8345f3becd7d45122e7c1e488da031d3dd1faac2419e6ff373ffa583667a77882aef1203117af4101049676067aa48e984680ddc255807d8be2fe35d1a9677834481bceca8bc16f776c6dc3647e31423036d7e0e026bd55a716551e9f87670d599a2f661dc6a322f299e84b375731ce721d504401efe61e15648 +CIPHERTEXT = 82cc192a0214c9affbd714483d1b9a94924259569c7b23e1e6e238fb03f942be0f4f10ae287af5fa009bdd6b1b5587082da6b30f5ea9f1e20935b87339aec3b9a832d996b8c85738462a2435f14756cde3d8e9ebe84b74c65a93d32fe68d014d1eb9a2705e0bb29c9472d8406b4d85e9cc8b7ae9170081dadb0684d95a8df5c857f940d02f3bf0ebfc21a41d57e3ecf6ec39b4ff4aa1961dce10d88209f0392c03fbcb2f920aefc679a3f93890a6d5f00f8f792e756b445b2f5404d8debaf998 + +COUNT = 8 +KEY1 = 4c9db63b6731a4b6 +KEY2 = 49fde9fd6d85abdf +KEY3 = 4c9db63b6731a4b6 +IV1 = dd59d9f096d1cc49 +IV2 = 32af2f45ec27219e +IV3 = 8804849b417c76f3 +PLAINTEXT = 1932e833b9e16f25967a54a3d0ecdbb6e21873dfd5338ba1b46ba6403fcdb2c9e3669552eaa80a83f010ab5596064e1a7a0595be66fbc14cc7f3c7b361f1a6cb421df793f424c6bdf7dca06c6e27ed3c19198183835d6dd67dd41bcfca809a0e1ca1367e401d4cd995255c6fc2166023a89d5cb6961f3748bc58c91be342359b5b38799b345b43e2b13507e6f99c4ed710d951df060ac6a96ec5fa2012fe2079e52be87339a554dd3252c8597b816061371585873be6c3017a64d564c07e02b0a4c2ad8db8c527d402c5c751b08d3dc8079923359d7bd558 +CIPHERTEXT = 97f3154fbd9beb4a74b9cc3e75fb5bcf238fb66d68bcd73b1c31c825b3b5e9355bbaae76fea13a04865cedc02d02c88c5499deb526323b0478d18696eb058d30bdaae049c4472d8f8529cd1faa0a85ba85fe3d31b06af133c2fa1ae63d05f3ea48f8d11b911a33fef23bb9e9fd2899aa2f4546e4892872b3a069ef39b3a0abbe0db6928a3dfda5854b894bd15b10f73e18dca229ec6aa14d709017dd0fb6f2ecd377d2016952b0bb4c39a214157351cc0cb7ad64dbe0d8af9007a80498335d7b64faf3a19ecea9912c8fb98c76bebcbacc9ecae880c07d14 + +COUNT = 9 +KEY1 = 26a28c25150b0104 +KEY2 = f29e45bfb592f15e +KEY3 = 26a28c25150b0104 +IV1 = 1376296ac5ca2aaf +IV2 = 68cb7ec01b1f8004 +IV3 = be20d4157074d559 +PLAINTEXT = 72cd12f336edb73803edc330094d8a6de34e1366784d1e6f205065e809df23b4d815d3ed93f63ad5be03a710c40c7a119946e3d39e9decc9c54bba17f5aa0f02b04614a5f33756e65dae0ea994cda544e5bc77322af9d80bf1ef54b3dacb3bd2418b5e851d57135428157f63413814ec0ed858ece508e81ded64bd2580e9af0dd40a37f4dbff7905676182a692f4cef25dc40d6a977326e701d17dd4afad7299b1eb2a5af3d791e262b99fda50aadb3f1aa51e1308e19a52745e1a272fbe8b602057bc202e8662d361465f67430144ba8da6144efffb4b4490351e88c7c60549697677ac54b5f4c1ab2f49b633a2104a +CIPHERTEXT = cfa53833e1fc6f72025be1021b2fc2cedb1c4849148e9223a5600d68d8a4afdbc537ae696d07f9d542577932a5b3a9c283d9c1150a540e27cfa8b226f2a05828cf7e2fe278952e7470cac80058de31919b0c53f362d42ba578830cedb4bcdbf57820e790ead15ff4a7a43993527497ae8f9dcb2d8dbe15608423fdb1a1cb304d46d3049cd2c497305262c5ea77d7ae500eaef187879ec366d93e1cf5386ea191056085ad9d40831e3de76c5ddc0c26a735730178ba2e7bd58d92e5623eec8752194ce458b4ae7bb76fff7632f10559b8d44d55b4f8f9e790b6ab5e3e2261bf6869fb27694075d9de18fdb14d13af2e49 + +[DECRYPT] + +COUNT = 0 +KEY1 = e09b46e0ad261658 +KEY2 = 6b6e4ce3b9d55e1c +KEY3 = e09b46e0ad261658 +IV1 = a88ac812178d0aa9 +IV2 = fde01d676ce25ffe +IV3 = 533572bcc237b553 +CIPHERTEXT = ad7ac4474f73805d68568a661b0e323c6fd2e46c484ab882 +PLAINTEXT = 3598dafe432a8c30448cf829dc15c5cd40959e866c882689 + +COUNT = 1 +KEY1 = da46bc23c4cd987f +KEY2 = f175da0bc17f9494 +KEY3 = da46bc23c4cd987f +IV1 = 69f0c20a256a8b47 +IV2 = bf46175f7abfe09c +IV3 = 149b6cb4d01535f1 +CIPHERTEXT = 9fe3a2efd860ed0ad6b540595246c27849abf7eafea9e5af42607519f3c51ddbc353bc633afec56aff69a0c953584d8e +PLAINTEXT = b62ba17e1f6cb7e2b09b34e21bc94f61008e8b91d47cc403dfde042123683c094244378934ef9ae7ef00a510eb36d431 + +COUNT = 2 +KEY1 = 231cb92f26a8917a +KEY2 = f2ea85613ef4ce85 +KEY3 = 231cb92f26a8917a +IV1 = 9a5bd6df4c9b5dba +IV2 = efb12c34a1f0b30f +IV3 = 45068189f7460864 +CIPHERTEXT = e44f76bbf0b7e0dbb91f9ffb7e9b037d2e328f297a9bab162f4499cec399aaad2d82b28afa2db99a9e0ff3900825f30979801b289500577dbb600b2c9272494be4ac488bb0e4111b +PLAINTEXT = 89cabd7a7cc2765c89780ad66ea06ff92358f16913d98da231ff234116938783226dce7e08d9487ecb4627ae5fa78d301450eebef53586a78e6ad601c2c5b441e1b901e151b5fb25 + +COUNT = 3 +KEY1 = 51cbc873b98fc2f7 +KEY2 = 6def7c3eab89f167 +KEY3 = 51cbc873b98fc2f7 +IV1 = 3195f1eeb9473e27 +IV2 = 86eb47440e9c937c +IV3 = dc409c9963f1e8d1 +CIPHERTEXT = e1c3bd636574359343c5bdd05384f50367867243c64ac89ddcd9e8152ff0ade89561b114a5b7651a6b1961036071f8a198cd10173e05309c3e9edb7b41ee1d5ede8163cd0ebc90f2e1c04c9f70919f921378c0f7d4a5272e2319e9cfcbc345eb +PLAINTEXT = aaeaae4d37d4efc4b8438078457ebd104a05840b9b77592c2f0e9c92c0493ec1d924650fb1a4871cab17b982a0b02f66a8a7d00d8c8224417522c8c070dfbcef0c4850bea95a16ed2ad36c50ca852ded5188c9203612c825e4beca40cffb1106 + +COUNT = 4 +KEY1 = ae31320d85f745e6 +KEY2 = 2004b019572643ba +KEY3 = ae31320d85f745e6 +IV1 = 797383ce2c45924f +IV2 = cec8d923819ae7a4 +IV3 = 241e2e78d6f03cf9 +CIPHERTEXT = e460e421ffd571f650b790880781a14925453c039943720fa9ba56c794febd3d76cb412e6bd98c31f7b0d334a6bea029efa7d5fd5edceecaf36f864dc5261c9aeace180e9bd10986940b31cebada435d00746b3f8b7e8f5215dad5b58fc0657e0a1070abd7e6715ced6fb23f8cfc124b205507b16850df0f +PLAINTEXT = 311300da2771953c33fb98b8485c4b844852b3799fd66c5a869dfe4b538080af98b01353fb070d4c583ab2cd820007c31ab3b7698bb8f605aaec80dc4591da562af2813983f8617f0fcc180b399b998e8d7326c86b951620dd52cd3ba839fd465ed3d60ed20d3e89916c0604a84188d6c7edf471707c8a62 + +COUNT = 5 +KEY1 = a4a44f01cbf44c76 +KEY2 = 260db5625d8f072f +KEY3 = a4a44f01cbf44c76 +IV1 = 6634b88f55d6cab8 +IV2 = bb8a0de4ab2c200d +IV3 = 10df633a00817562 +CIPHERTEXT = 2cbfec28de69f3491d0d268df4d814198ba4394a5764d03e8ec3e997de08bb7b5e3d3bdfc590ee06daf9fb442b1d84080273361a95a51f207d39c067697064e0146eb069749c7a4e354bdf10659a8f6571996c7f50ae5491fe383a902c737c37369c704d5555402a164af9780a15de37bf5f0203f048169af9097f998dd8ac86ab0da613ce82e8a1653f720482571986 +PLAINTEXT = 5202f4ded1404c53d8ff475a43667427a351cf3652bbcae7a03b94740fa068fd185ca8b2821f3cb0172d3852ddf5a41ba2ebc5215025136652b57be7439a7ae97c34dfbfea06338da51f1c26b3cc6c41095e32390df63d9e00c2c453f05ff7c377e91a68e66b802f1189135279ca887d221491d8822f628e128979b74e97018a35dfe739b8a00b672b908f04931e02da + +COUNT = 6 +KEY1 = c8b6c11adc8f37f2 +KEY2 = f7705176a768a132 +KEY3 = c8b6c11adc8f37f2 +IV1 = 29531482d4fe4c6f +IV2 = 7ea869d82a53a1c4 +IV3 = d3fdbf2d7fa8f719 +CIPHERTEXT = 0deab5dfb4691a47ef9b21a2d6434cf3a9b76e546fee6ea2dcdb487778f95458fe28cb3002b787fdd7c20acab0bec2dd05528c31396876277985c978e755476ef88bb1541ae88c2b9b98259ec6c5d3384f677cd5f1595a5655b2ff99365297a9c3bb6e314423b23701c779065f81056c4d9d4726dee9a399370bf3c3ac17ce7026610ab1c8907f8ad2f40eebc51ae3e1c89df60e4a3ed857e937acdc92cd732dea258ebbed587d8c +PLAINTEXT = 183c3196d8b3497a3df1c4e7f9e036c9cfa05c60224e04cb8cae67fd8b6bf1802d1d7c70c42ae36371be198ac690bdd80995ae81a19eb98a007aaa5b4acb8b039f15e8b67ca76d33eb7209877046f2fa5375779c64e20b86d2a8114118b769df4def85ea8dbc91d51dd4b3299faf36c626fd18fe3deb8342c2b5072a8075567102c026eb1eb45d08c7dc8adbe2f99c1575eb370eeba31da069882c549ccaab7309de606760fe2e2e + +COUNT = 7 +KEY1 = 3dec988f31790457 +KEY2 = 64852a510df2df75 +KEY3 = 3dec988f31790457 +IV1 = a4b3c24c3cafbfca +IV2 = fa0917a19205151f +IV3 = 4f5e6cf6e75a6a74 +CIPHERTEXT = d55f94aab84f389f748981230d922d0ad402c4cd32387bdda14c5937fb459839f78c4eb4f0a14d42e90d47dacf9836a1fdbbfa0306584403aea9b4cf39773e98e98cd2a0c26a3c95903d491d2b0f2bb2fa3b1eb0b6244cac7026ee08d6cdb5c4b2456897b312ce3f7001ce15aa5fd5e4d16878fbca025b81f0ac510959b1c4665aa158c14d01cbe9914220e9d3f0fce08c2c500dcb5c382a352123fb4a8a3526ea87e94517a0fb3afce685c22e2a684e336eed0e4199ac4e476fad0532bfceab +PLAINTEXT = 6dd3f010e49ab2049ddb783b0bf7fa5d0828f7b386c2e6ec6a823307325d5f29180989367234f4a775243fd6321d6f733250655b4541aec01cc65e008d15ee05f2d597db62ea00d0ddecf596402f3119582bb3dde43e71a916fb6c0c7135bcf98065766f40fa8a8347898347ca85778cea6324a5b3344ca4e2701e80edab2c453858b036365c32c9b436e66f177d5c0d5d21868f400dc5a98f466387d4571cc176dadc11a870b2162e814cfb3babe612213039d1a6b68cb470eda2329efafb18 + +COUNT = 8 +KEY1 = ec0edc044316e5c7 +KEY2 = e39eef620b70d6ce +KEY3 = ec0edc044316e5c7 +IV1 = e8d743c5a2cf2fcc +IV2 = 3e2c991af8248521 +IV3 = 9381ee704d79da76 +CIPHERTEXT = c711c5a019c6e6bd857a2436bd2369e09363a57b171613e50027bd8e4ea7422c2d20d7b01b268c784d30d1c64fa63871ec3b7cda4d7dc32265aa209a8cc65c7b69eaf6d816df68d07fecac080bebff597fa2e5c51f516db01688b64c173bb25645182a005018022ee155bfe4391b46ff1541e624d4ba99f7db67878d392fcc2387527b1012fae3f83d141143205d96cd75c08adfb5dfd05f7ef09c4338ca334bf83ff2f0a4ad929859d0aa0b09da752a69c6d6df0ae99950c5cafc585d336e37608896884e589774fd3293263cba6e7eb7fbd40a1bff7d32 +PLAINTEXT = f55fda364da046be32600bf6757f9407584be87c057b06070ffc9a100d9be48a2f4839a50a26accbce2b148252db5871bbcdccc0c313c6082181e82802762c1c9ceb3c5c16c8990384c4b452da09dcee7581fc4033b4cf14901a9576aa6ed94286ed376dd72c1b651d7e0c379dbc15afce9cf36931130c44c9d2ad721398b19edad83b7e248881e2c7b20d140d9f17ccdc31d355a4b95a57936855a2447aeb7860f53fb0a3e3725541c52b096ae18b4f29f2e5fdc44b319d26222d29fc4c30e4154717d77375eb2d375c91e9265070a0f39ef22382cfcf0a + +COUNT = 9 +KEY1 = 0b649737e98a2ca7 +KEY2 = 20b391f4b6d3cdae +KEY3 = 0b649737e98a2ca7 +IV1 = 1856b73313e5cee9 +IV2 = 6dac0c88693b243e +IV3 = c30161ddbe907993 +CIPHERTEXT = a685209693f18b922dbe9561396b54129b21dbbb253ab118ad01827662b815cf60e07e3781b4957676f7a6f717ef6ae1f8b236833da073f5af314efc0ff1b02faac871582d7fc91dbb8007e03ddd85e3f994dbb0671253b83ff59d3ad716c466acc761c33e590fce22e21ee4523c8c61c751300a4a9639a887d6d7f6633138bd8f64b63e5d4b4fd0d3a455caff1566a389719f588f370d0eac5b64f95a49f47c7b28d892325b716cf74e135ceb6ffdf1687a8f64ddfab732d90dad0b6567e0eb9799308764935deab668bf60be5238938cf668f4dde91f5c347218f32c92e4520c4124e49cfbfb92377bc39f22c7ffd0 +PLAINTEXT = 60c7b635f8a93cc7071b36fdd5794c33d7fbfcbefb0ac0d3111f670f7927cdf972edbd1d080aa2910a6b8bdd1de2ea5bf87e583220f1641c46aba0b76b0080e2a83492dbe577282fa1a076935bf722cd20fedc4d1a5ea7d8521e229912ccb764e3545d62140ece5115962e5d8ac764f5a9df4281cc2770346666b1ed728c40ab964b18186cb7b2bf4585ea2ecbd9b7b19d158f48bccec4ccd56962a57934f411753346018035e8ac38e2b8130e21885f0bd0327d58ebbe8084e715c82778d19bcbf6a49df8fa1bd1cf1a9873707f3d806d7b005fbe65f6615d389f3b354b437863e6d1c7358bc2923b5a0f1eea488768 -- cgit v1.2.3