diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-30 09:01:38 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-30 09:01:38 -0500 |
commit | 2b758679b3cc2ba936734b34e0865905b4340c5a (patch) | |
tree | cfde231bb4d89534d22648a323c03583c9cf3103 /tests/hazmat/primitives/vectors/ciphers/3DES/MMT | |
parent | d5e9c8ddf0e644a740945a29cfa486ba25426300 (diff) | |
download | cryptography-2b758679b3cc2ba936734b34e0865905b4340c5a.tar.gz cryptography-2b758679b3cc2ba936734b34e0865905b4340c5a.tar.bz2 cryptography-2b758679b3cc2ba936734b34e0865905b4340c5a.zip |
restructure vectors into ciphers/hashes/hmac
Diffstat (limited to 'tests/hazmat/primitives/vectors/ciphers/3DES/MMT')
33 files changed, 6120 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCIMMT1.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCIMMT1.rsp new file mode 100644 index 00000000..4066f702 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCIMMT1.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:39:08 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 587cba6bbf861531
+KEY2 = 587cba6bbf861531
+KEY3 = 587cba6bbf861531
+IV1 = a115a17404ea65a1
+IV2 = f66af6c95a3fbaf6
+IV3 = 4bc04c1eaf95104b
+PLAINTEXT = edeb14e09655e67dc9dd2479ee5e129b05e5577d8d080184
+CIPHERTEXT = 775ab3b59dbc85aedb5730657dd4726690ba47ac736001ff
+
+COUNT = 1
+KEY1 = fd5e6738b3621a0b
+KEY2 = fd5e6738b3621a0b
+KEY3 = fd5e6738b3621a0b
+IV1 = 87a07be759d32176
+IV2 = dcf5d13caf2876cb
+IV3 = 324b2692047dcc20
+PLAINTEXT = b54d920b74a7f4cbbb7eb1189205386b192ec5e878ceed9c18fc780314b96ecdead774e1771359a32285ed72573a1275
+CIPHERTEXT = e1e9f9a480eb995a23bca869f0de6915313312fec011e6bba82ea7b0fb2f2163a2dd2282cc130ef6cb8eea628cc7ef45
+
+COUNT = 2
+KEY1 = d67a8a153bab2316
+KEY2 = d67a8a153bab2316
+KEY3 = d67a8a153bab2316
+IV1 = e40cc4fd6080fbea
+IV2 = 39621a52b5d6513f
+IV3 = 8eb76fa80b2ba694
+PLAINTEXT = ac94056888f9284b41ed2dd2241870fe0297e8f734f14fa1db4d836f6ce22d7c6daea0d8796b041f8abfb35178b3e3ddbc6686ff7a036e4cbff0b58c07485cc7028c32a39795f7ed
+CIPHERTEXT = 4dd45a460785716e1d41e6a15e6bf56124e0a59718468d6f5b8a6d6a95659e462a338980d1b94811ec2b8ac0b85ee08d1736120cc7e26568ee6eac1a870f29c4f226c6fe2b1cc83d
+
+COUNT = 3
+KEY1 = 431967fee3a2c816
+KEY2 = 431967fee3a2c816
+KEY3 = 431967fee3a2c816
+IV1 = b628c30b1aa39507
+IV2 = 0b7e18606ff8ea5c
+IV3 = 60d36db5c54e3fb1
+PLAINTEXT = 627114699f8b8de3bcd4136f0576f7a304e3b4a3a4692f4c96063db2f47d66cd24a9e96f0012ff7933be644fe64a14899d3952ec5b8bef980d91c982250192258646d375a0193015dc55edc93a07b12e38c58aa9f742329d991f91e1ed038271
+CIPHERTEXT = 8ba33cebfa51474e4e7d64542daf4f564ef936f78a8c4afec1edbf073954c42cd293f20c48c4ceb1442e41b654e9b505b799b6244a0a2b646c35e83b37c4e7cee156546e97cbc4966e7ad50fd8a35f174b16a36d0ae7e829ed64462e57672af1
+
+COUNT = 4
+KEY1 = 54ef021334456be9
+KEY2 = 54ef021334456be9
+KEY3 = 54ef021334456be9
+IV1 = 576f403311837f46
+IV2 = acc4958866d8d49b
+IV3 = 0219eaddbc2e29f0
+PLAINTEXT = 55fc832b6b37a0ad9ac0fafaddbcf57d3e1d8bd13c73d9346f05dd396f217ebdf1b0cc1b330d8aa49b18ea499b86979bd77bf8f68a5ab4f825dc71383a5fe2359981008db9ee97705976055366633ee92009144f799eb687bd4c76277885cf529597a6e8c380d0fa1d03d58109fbf34f60f06645d0e8e7c7
+CIPHERTEXT = 2ccb9207f6f728add9ab43485b129d5f46412800f2e9f8dcf29cefabe0ff0c11409dd315b4b78ba7321bdccb6d07d17c19d4762e5f8bb24c5c42c8545f64a44a9ab5ddf5da4be512fce9e410c8a51cdd5e6e0e26ffc742a1295a59d8e6dd370092e97a302b2ebd2e2967770950529e888027894d6c249776
+
+COUNT = 5
+KEY1 = 5402688c0719d96d
+KEY2 = 5402688c0719d96d
+KEY3 = 5402688c0719d96d
+IV1 = 593fab43524fcd1f
+IV2 = ae950098a7a52274
+IV3 = 03ea55edfcfa77c9
+PLAINTEXT = bf317ca3458ddd63a3d9040f7a06abcd67078dbc20901ad7bf1e701d5d3787efe3f3abb91dbb30d4105161ab8e10b91d07765623a2dfaab38c9374e49003ee52e95048c4540d560c6946862f2ac114c6dd8381a4179641b91a0ab436603a57f278513c0d110cb7d355c15be378a024909039f687a73e46b20e8a175df563299839fc6ddc7d3ebbf17cc8c70e9d355243
+CIPHERTEXT = 9484237670279cde2a091f7b58a2babc979d9a47c93c7a842468268791259e23c8d7ba42e4750397b4d609880d4f9eb7c636d40c28687b6d12f3df067a056be8730e8cae46ca29b00c66b69a254a3679262d99f95073ea719c26142112142959a4d062ca27de5ac49e8e74730b0fbd7d0facd6e58c973439673871681ad19fb4243a3061265c9e41efddbf5e7d1d53ad
+
+COUNT = 6
+KEY1 = 26b6ecc43b9d100d
+KEY2 = 26b6ecc43b9d100d
+KEY3 = 26b6ecc43b9d100d
+IV1 = 22acaa8d41425391
+IV2 = 7801ffe29697a8e6
+IV3 = cd575537ebecfe3b
+PLAINTEXT = 355d7d879a7c76d929818d616d5d40b184473cd122ae80d7d972c0b89753075e70aaa1fb9d57389cc5fa3d017c668aac0a5245386d5207eca1063d901e91cf7fa34d00fe32be96cc5bc43afbbe1421fdcce8ec02cdf6cd82279fec15dd6a098b56b062396099d79174474cf63c504fce5272fad84b821bbff4a693f0dbc4fca9113a8f532fd0441297ea3a9afc035a4425563861edde39ce8f81fbc92089f1025d534ef5a74b2578
+CIPHERTEXT = 620415a5cfeb6cfe2f16ec56dfea57ee82dfa9bd175c1b61ea505bf634bf5d490ded3e42ffa7ef4c3459340ed80e977aa4b61c5978c2ab3c14ae5b8de2280c36640a1867f9e2b090116e4d1283746cc5b87978a133f1636729aead0e1a2f4532b00c2568589d490385bc099236ccee713c647c004368443556540607188df5ea8200ab388f355d346dc9b24be5cb0e5119fa84adadbf0710be703c251b07169c7dff023c53957484
+
+COUNT = 7
+KEY1 = 85ab4f97cee0b58a
+KEY2 = 85ab4f97cee0b58a
+KEY3 = 85ab4f97cee0b58a
+IV1 = ebf6dad0fb8438e0
+IV2 = 414c302650d98e35
+IV3 = 96a1857ba62ee38a
+PLAINTEXT = d5eb98b51f105fffa68714d0a9660980297377b7422e708cbc1116eede160b43827a28506fc07259e2fa49896e44e3940691f99a59aac04f5e731b592f700ff91a8977eef50af996b3ee3857355d4b3d62736fe47a43f899a71c8ebcd60b9568c4a0ed575cf5dcff40ed4801a6ba2ac465a23f5d4f0201b3c293d5e07aec86daa948f2524a8a03dcb27ee1516862667136a5d3cd80eec1e5d5605a8dc41dc895f108eea868d05675302a6b0d245de98cfe0491fcb50f2176090c838a5ba545e2
+CIPHERTEXT = da2c841e23d3377e2241d49b55e99149240ff710c28b72e8943b3a314ecd8d77890c71e891c4178886c1e335979f2759f0f7769f633734831c34799d1507aa53e5eeda66cc0f87a339248ee5626b789e0ffcddfa0effa991f7e1f41582412b2a2c122b536e210e781d9e3a4fbc5a63e2b4d91baa1f503341d530771039452477ea60a7cfe049923803ea75fc24a20c188c67b051c66954d5351363455fa1d8a348d71a4386e6d53340f4dfa9d771afc9e4168eac3b215a5b27bc1513637c86d5
+
+COUNT = 8
+KEY1 = df02c1b932c479d5
+KEY2 = df02c1b932c479d5
+KEY3 = df02c1b932c479d5
+IV1 = 5bd53172a45eac02
+IV2 = b12a86c7f9b40157
+IV3 = 067fdc1d4f0956ac
+PLAINTEXT = 6bc806b7188e90cdfbb1fc44a1df56cd87ed2b8bd1bfe31a3e6951d05c938942f822f20ad9159cc8aeacd36744d0f4a2fcaf7fc67da76eb9a665c53bc64e6b6c101d388e49ce4f0dc4bcaebc90060362f036c1750b257425e519529d8e3112859a0301cbd08352a32727b5ccee482c154acc1a21e5029d67e5cd1e7c1b0527957d1a7448d7fa4c92bd35121ec45f17c4f2b7b251720593868cc95463d59151a5a3abba8dc4fce6e37030ea3b7b146b77cf3fb08d1af8fb8ac4541ad7249f39bbf3fdfa220151c89d265e68a97c2dd034cbae3d5d45a1807c
+CIPHERTEXT = 2a6f956861bfa0fd08f57131197db1bb9886ce6f4f169ebbad23aefb507650692a3d2a928cf773e98012ff8c31b04a3eebc0d9e25e80e36af9f244113a4ec2e73b6a301923437c97c34a6c0b13a8ba9ce59f7cc4aae4b4670c9a42c7c636145146c52b5b681ddb102ec09ab8d8feb33eada2a53a2bc7e1fdba0a4820a65053c4627ff89a93996a44b7839f2fcf876629b46f92c06fd8cbe336358b75bbff0d8e58f570fe41b5090e356e1ff441ce2d14ce5e7764297ed5482f55190d1d2b8f712d0a84af2688d660682547be790787be345f25fc957cddab
+
+COUNT = 9
+KEY1 = dc1ffbef3102fd2c
+KEY2 = dc1ffbef3102fd2c
+KEY3 = dc1ffbef3102fd2c
+IV1 = c6576a8c0917c7dd
+IV2 = 1bacbfe15e6d1d32
+IV3 = 71021536b3c27287
+PLAINTEXT = b8891894146ec5be48fcd59acc6016d07f8ff821e97cef3fc38e19e2b95121186e6c63dcc1d351eb4f3d15d338d9784d273c02cc8c9e62562c471193dc443324895ebe357c4ddd56dc2897867520ac91b76ebf9d028abaff219e6f53143a7bcb124970c7ce4433a6faa5a2dc099f7a453a0c78bad2a7bfe1a87b7a49e79bc2b61014c2b93e201984ae9c7ffd7ebcac11b5fe764b845c39a5ccc67b9edfcfd08c8ba7fc345549589802f577105ce1089c322cfe79a113eff29267ba79843e6df68cea665f9927b889fd98d03e2975588fb87e5b6bb033aa7104467f035d51619c19c5476394220000a76ed2ae6fe06291
+CIPHERTEXT = 2f9f993ce2273eb55135b272b327989f30b2f0b44d86e4b93252f76ff87345108a7d12440c156ba92e7bbea1923387e002184c63c4e2acdb654e0c7668adebdbf813a9db01210143dfaebaf3b376dbb0d0737c71bf08d56a304809c1ee097990238394cd01b4706d035544fe43363026360e46bd6984a57cf2652d43bf87b8ec3339cccb8fb0c5904f806914de0d74c1875349b5e89a4fe0fa19f04213b3d7dc01e5d576298522c5837962d06a77311382f7a952f2fa64545f2b5f7be69f0ebb80f9aeb4eebc1834534ef3570fd385ff9e7608f7a144874eefff379f7e97f8c001b8a2e1d7364acfc2ecf9a89a7abd68
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 2a08854fe52f5157
+KEY2 = 2a08854fe52f5157
+KEY3 = 2a08854fe52f5157
+IV1 = a72e14241b70b930
+IV2 = fc83697970c60e85
+IV3 = 51d8becec61b63da
+CIPHERTEXT = 8137d6617d23b2321a5928caa50487cd7e10dba3c03db728
+PLAINTEXT = 0261a6d27a0a7658fa479e862c922e83d4b8c9822383a084
+
+COUNT = 1
+KEY1 = 2f2fb602259bd6b3
+KEY2 = 2f2fb602259bd6b3
+KEY3 = 2f2fb602259bd6b3
+IV1 = f3e598184177b48c
+IV2 = 493aed6d96cd09e1
+IV3 = 9e9042c2ec225f36
+CIPHERTEXT = 48a7d59eb7bbb5e56567ce8417ecaed782bc4f030e2efa41d975657affd31f15190a2d0d0314f646e3135c21668b2c4e
+PLAINTEXT = 1c3ed569e8493e968ccab5efe5ae50f8a7a2e417ebc6f65dc7beb96a00549546d0f5a9e986718f0de464426ec2ce1ce1
+
+COUNT = 2
+KEY1 = cd0d49d3e93b756d
+KEY2 = cd0d49d3e93b756d
+KEY3 = cd0d49d3e93b756d
+IV1 = d46e0ed6b1f84bcb
+IV2 = 29c3642c074da120
+IV3 = 7f18b9815ca2f675
+CIPHERTEXT = fef1ff1252995d38670651eae415d68ab4d44c48598c6f4383ff86f0e1eedcc037de74fdb11cf9f577fff45b816d42eaada0c44b0e2a5839873708e3991382927aecc88b67d82937
+PLAINTEXT = a14c7d0d512dae613ac94055bf45229534ccc81ae243f1c499090cf126c8a2af52a9a9c35e3eae9ec1149a7573fa2000d7d8e69968c696c039ab0bd9e647243442cb6504ffa1b906
+
+COUNT = 3
+KEY1 = 3276bfa2f854dc68
+KEY2 = 3276bfa2f854dc68
+KEY3 = 3276bfa2f854dc68
+IV1 = 19058b4a8a05d6cc
+IV2 = 6e5ae09fdf5b2c21
+IV3 = c3b035f534b08176
+CIPHERTEXT = d1e349b83c2a1f7295c790856a5fbd5c056954c29c8f605cc85766773802ad05a7b5dde10bd6cc5b10b994f0c47ce959942fa9c87738b56e69f600401ba5e5fbe982be650c2fb2d61158cef8899757cb03955fec37739716846864e99dab35ea
+PLAINTEXT = f609273fcf3b902833c3805d481e9f1a93eb2e540e919cbc75743740cb8d4dadf483b958bc777006aa955da9874c99e8ea9225c88b8a19bb95ce2e4a41943d0b8fa9a714dba219b541583ef58b95cd28775ad279943782d7e033a68547397a0e
+
+COUNT = 4
+KEY1 = 01f894e664bcba64
+KEY2 = 01f894e664bcba64
+KEY3 = 01f894e664bcba64
+IV1 = aca379b4fab39a9e
+IV2 = 01f8cf0a5008eff3
+IV3 = 574e245fa55e4548
+CIPHERTEXT = da5b17d7ae1785f07ba05193bf957367cd07872db8d1ceae722776f235721bb3225b8d112926d4882842711e571ee7e1e33e7a90d98d379946f534439d2d192d58d2dff7e2bad83fb585f0cfbf7432140b7f8ed39da1d9179e77156eb909f354c4e896f0a3799afe6990550dc1405cea8df2495cccb5bc11
+PLAINTEXT = db0cbbd88139deef679e1814b99c95124dbfd1b4b5505354d5ca15310c78acbffc4da1ba13b9e48efa78b8fc334f81fab70ffb87f24ea3b947a1f82d48520af19c5f5d72cffc1b3729c410a97ad9fb4e8fc1e9bbd6927523320c730622ee6645f02e0221e71f6e208da24398bc27083157f7a3f0890f4ea2
+
+COUNT = 5
+KEY1 = f2671a07989864c8
+KEY2 = f2671a07989864c8
+KEY3 = f2671a07989864c8
+IV1 = b1850098e6315da0
+IV2 = 06da55ee3b86b2f5
+IV3 = 5c2fab4390dc084a
+CIPHERTEXT = 0651c51bf50475f5e9e2ed9e01a2d5aad3911be053e2f337f7451cfe18bc655a9caa71f5d22db7f59daecc2bd5b7e58dea0498e7cadce2cd05a26ed42fa714028742a182d523d69c99e4b3e561e1f5b37b4addd4cc763380007a8b8be4fbc7df0f40dd2ac88bdad424aa27346fc90b03cd8a72112158ed362ef8f98cfd6084db7ecdad557110cc848728b280c5163265
+PLAINTEXT = 064f4fd7832add1141ef6223e2dd60f511e7a119982559562758d251dd1c2e865b05cd33c5fe5fd330357d41557c56ba2177f02655347a1ff02538e17fec22b4db4bab176ae77afa576ffad1ed045f0c9e0a257fee34d1af3b195d02f7ec7021da61ad22d6af3f4a86848debf463ac752a4f456058b9652541dd48703c55a8c38d389e7b78ba48f91caa31f417d2ad29
+
+COUNT = 6
+KEY1 = 9b0ba8f1e90d233e
+KEY2 = 9b0ba8f1e90d233e
+KEY3 = 9b0ba8f1e90d233e
+IV1 = 75abf83a25bd9bfc
+IV2 = cb014d8f7b12f151
+IV3 = 2056a2e4d06846a6
+CIPHERTEXT = bd5c2b2b8d32156c130998080cf6875cf2df3d212ae079ee7fee6dfecfba113404d8bd5c4621f7b470568aabc006d8e8d2b1708ecf2de3bfe249d45febb14f1a78115ca8f17dd34f121171aa9ed42caa52e2c4da18cb9be77e36c65f66ca64b9ff4e2e96f40e5046e381788e102a2ca85bbc608c6f81486e3dfc6b88a9cef91982d65eaeb89c17a0c9f0c4de7dce7fecd3856d2c3b18925d05e5ea611a84b543eaf21278a5efcf65
+PLAINTEXT = e8db810b079dea1a3a0fcbf04486538123d885ca5ed1f61aa02445bd77dc8cdecdb8b74e504d3252a3cd7f7b6c996b535300b43b229ea684865c33e04757ec5115bc74763f14946ddc4d872c4ae5e817b2395e3a091b79c0094fdb02539ebf7297ed567ea409305747ed78782b82768c4eeb0e381c27b0d3114ea97f8a85dca510304c29ce2f87230068e768a3ebfd4e1ec9a6f61cbb2e237f17ddc345e605591d0a483368786396
+
+COUNT = 7
+KEY1 = aed67354c4a131fd
+KEY2 = aed67354c4a131fd
+KEY3 = aed67354c4a131fd
+IV1 = e343f59ddf1769b8
+IV2 = 38994af3346cbf0d
+IV3 = 8deea04889c21462
+CIPHERTEXT = 16468e9a7ea8d8aead17d904de2fc9c81832f9d55c62ab3323ae27dd08910bc8c138e32253e3f9d7868d6f5a97cf8aa22e0251738fa457de14fcd50bdb01fb36bc7988f87e5e99c84a85bec15f8253a608c60e23cb0ad455e4f1d18df2e8c751ef51a6a465e25e88df47f1c09e0fccda8ec5576d795dcba079d344ebb30e1722420a65af7236f01e2f1b2ee0bd3f9c48a94955daff65e3c5bdea55ae883b91af9eebeca00c24f89521499da722da6cf83f982ff1c6eac5ce97802d5dd836e002
+PLAINTEXT = f2bbe60449e10a02cb5ddaa52a67b5e351443e6a6b64faee8a3a92787233cb8c30e2fd5b09bac48c0d4aa354375ab7304da51f6a299330c3a7fd80d6b4b2ca63b8daa408b7f6212c4d020baa0f22312367846c55a46cf63663dda4b9b3081c2dc887f7c05ff2de3c8032d185e7343d66ca977800831f511a6a3f86681244914c41a87c81986f17d876d4090df190378be96f9fcaeaa2a7d11d2bfa4bf62251dfaced977775ef431e72908ee1a6d78ae5cec84ef60fddc4f658d8835bd22cb0ff
+
+COUNT = 8
+KEY1 = ba3d94260e2a4cb9
+KEY2 = ba3d94260e2a4cb9
+KEY3 = ba3d94260e2a4cb9
+IV1 = 171dd932ad16ffcc
+IV2 = 6c732e88026c5521
+IV3 = c1c883dd57c1aa76
+CIPHERTEXT = 52aaa2eee327e34ab349029806daf702306867a7a03bc8351d8ac7ba50eee6b783166a77a8bd749e9dd96e05ae15a8c55c8243925c894f4be32530ce214f46110bb9cd6f5ebe013fe19986abead608c023071fc18eb875c1c7a52a708a2a773674fa927e0e14d25507f31433c1055d18105fc1db3eaf83bf52727d489167c24d4643834dbfa62f07984ede443c8bf0f8a8f2f1897256c06f0af4f1fd41ee6f7e07fb6684795c607d1b12ae87614e098675297973349576f779934d389fa7c6f3418904cb441eace018a64aa43a37f0eafe6a20408b54eb7f
+PLAINTEXT = 72fcb615b8941a07773aa5e321de0ed27e5b03c2297190d8fa7057194c73a04928eb5e37894a947420d3ba6bdfd8eee818dfd86ede8e7b980f0a81e7b2276f6d60f3da21b6d4d70fa70c07ebcd6553db679b581a3f7ab51ac7400d677f79414e6ef41cdc88ff4a7f62be880f75a15c81d98b2f1560406bdd02d445c1752ea23ede988fb61afd83b6ae9fd9b272e7fd4aa4cb47e5181f9464c1d4b7ef8cc5e216c858cd17312e51c0091fef2c0945fe99f1b13ab81fb54315dc9aa6aface8235ae6f24a35c06bc8bab0d4926e3bee067276db71a3231586e5
+
+COUNT = 9
+KEY1 = 79a7c71af7026467
+KEY2 = 79a7c71af7026467
+KEY3 = 79a7c71af7026467
+IV1 = c9552ca5f2d20e35
+IV2 = 1eaa81fb4827638a
+IV3 = 73ffd7509d7cb8df
+CIPHERTEXT = 52fdc7f20a6bf92e1e0fac78595728495b3429b9eb1fd8a28f5afa03597868a2031fbff63f0d584348597b07bdfbcf95af8f1500f956163acf7eda7d9aa31bea0395f9714e5cf0f0ea79069f466f49abe6827821b5bf010e9d3c2be555a195207ae7df2ae260a77d2df8b7079cba7cd32796bbe5c9617f661f1d5601317bbc8c909ed8eba1226631385df50968e452559a514414dd4479897da8c19ad7387a766b414b7a33a916563430276b52f6b278683e7c769871d8c0e066d577eee0b6253658a2a041fd9d3248fab7f601f78385b9e2cbd2a3ef825370ddfa621f7c58e2176c44257327e50d9d410c721eefafc4
+PLAINTEXT = ab54f022d590cc6265d1c5823dea3eea649ace18cf5141732784c05d40f8b60143e6ee48db623f6ce0e15b4d3ee63b30bd20c995ff4ed5e9829f627a259f8d7869364dbf460e42b964fe61b63eace797f1c7f7f98ebb414c2657a6f574bc0111c5b619957125de94e71c4a1bebff711ebae4155f2a7f5900a6c6e0b38c2dede9595a23ee727f431368adff545acbed0f88a5338ae33a52df1f09b08bf52c23115d158fad7e48fdcead0f473a7f34eab7d4eb4522104240d88f9b9abb9ac6f170b474f89891cc59087db7be37c57b6064c3ae881a6c263690d5187497b28f8b3a99acf3c4490c9057634267893168e454
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCIMMT2.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCIMMT2.rsp new file mode 100644 index 00000000..ad264553 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/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
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCIMMT3.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCIMMT3.rsp new file mode 100644 index 00000000..94e84fa8 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCIMMT3.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:36:47 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = d0230d1c3eda264f
+KEY2 = e0946d3e1f231f4c
+KEY3 = fbfb1c7a7fd3aec4
+IV1 = ec40273d4b1fda76
+IV2 = 41957c92a0752fcb
+IV3 = 96ead1e7f5ca8520
+PLAINTEXT = 69583de887b72f22e3bf041fc0f53932ab02e9dfb0129e55
+CIPHERTEXT = 44ae31a69a5593a125d39b40e8230e72ad66d8a18ee8e250
+
+COUNT = 1
+KEY1 = 378f7c0dc704ef6e
+KEY2 = b56e67f70bf47626
+KEY3 = 79757ce3effb6eb6
+IV1 = 4598a51fc0e2de73
+IV2 = 9aedfa75163833c8
+IV3 = f0434fca6b8d891d
+PLAINTEXT = b4b606037457b66ef7bb074c33cdc18c62ad16ef58b2902414b0473195765714ef9b91aa9d7b71d1197c50c9aa96dbe1
+CIPHERTEXT = 8bbe060759921639987e7e666669cb02d5e4739fb90321ed795cfb0cbd8c6d722fa571c3f818816b778e79307cb725cc
+
+COUNT = 2
+KEY1 = 02d0d99257dfbfea
+KEY2 = ef46c2f2e531d67a
+KEY3 = d93d730d45853b2a
+IV1 = 9961bc47c22ad6d8
+IV2 = eeb7119d17802c2d
+IV3 = 440c66f26cd58182
+PLAINTEXT = c944be3fe2b47d1b47de339540f911ab2706e588cda599f8192cfc1ef2fac6695f09d6c4edc3bd0d521780c94fcb9a16db1441e07d64ea58fa830fa230e130ce422b180af51c6116
+CIPHERTEXT = 2d6c9977284ce3934c032478c9e71e2ecfff9e10ccec2ef697a4fd0af25fb4519e0bc815c5b5eaef1a5096344e1e2f6d21d1162341a8a22ec444a9a992978168af1d8385cb9f4e66
+
+COUNT = 3
+KEY1 = e06defdfdfe65e38
+KEY2 = d62c04a15bb968b0
+KEY3 = 5bce97bc0b4caefd
+IV1 = f8e60793106a5c34
+IV2 = 4e3b5ce865bfb189
+IV3 = a390b23dbb1506de
+PLAINTEXT = cc43797268d2e23a49c58cf81e5cc397b480e4d26c5f6ff6ed575ee91615b56b36fe5b9c80cd28beb97e3f3d346c9eec00b6f39260e6b1a57bd5645555c942cdfee102b50ab3f1fb403342d397d7a5fc5ef81c45ba7c0a5155b28d97557d0eac
+CIPHERTEXT = b5813b4ab4796ab7beb99cc39583d050999e4911fd5d44d6a3e812af40db5fb4ad28b22764a14019636c39ee693182372af9082ecae5fb40a1d8cbaa09f96f280dde4342672d59c058d91f48085a2748ca24e15ea2a2c33396b69ac0eb887ae9
+
+COUNT = 4
+KEY1 = c22664207af16d0e
+KEY2 = a11c7a10b6401a4f
+KEY3 = c45862a7a77ae5a4
+IV1 = b0c7b835fe57e269
+IV2 = 061d0d8b53ad37be
+IV3 = 5b7262e0a9028d13
+PLAINTEXT = 339a9389b6f41d65f7f314e394101fdd9584a3f59fad941f6ab28b60756a19d5f97a5cf61bbecf1c65eb66417772db07faa742fcd622e41da5654a9967c098d777721db9be112723262c1cb7512ec6e38c85ef1efe042e6e2586002e84d51a0e95cafe5b05b5cd8120fe5cce8b0d89783168d0e27f1b191b
+CIPHERTEXT = b58b88206449c47b5a271b0f7bea9187a6bf24d6b6ba11a67bd5af65fc2f9dd2ebfd8222030f4bb8e03cf51b8fe6e3f12ec5434e64538953507945309fbd737c2cbb1f3445b0b97afbf15caa58f378979d76bff2b51a2101bd278a94e0a001863a728ae544fe3f10190cb4b48077a809fe2445e67d9ed944
+
+COUNT = 5
+KEY1 = 2f388f98fb454afe
+KEY2 = 2c586b641a806d34
+KEY3 = 757ca137587ce3dc
+IV1 = 2b1be5e82f151f01
+IV2 = 80713b3d846a7456
+IV3 = d5c69092d9bfc9ab
+PLAINTEXT = 3e3ad34f33ed43a38838c0514ebafd92e5227c2c12f2494e5183e8bb6d498c2a4d598aed11280cd25e960a47f52b76c18ba0b75ed5a159c9e2d1035ead0fa98ef3f8028542ac3d0b53d5f0a899e6510c1aa1a8ad7edc04b265842d10fee2dbf3d61d255fed013c170ffe59be6174f43c3b2e3763352cb2d385a5501a884c8a209ed3dac33bad73be3b192fcf765cc919
+CIPHERTEXT = ead3f970d66d2f3926acdfb30c5ec5e306f4b69a93415fdf915fb26db12c116d447c7a6e251c42d360eb3c26a89b933095b05ab2a727b8f9a79f193c0e18003815d9f7072762a4579cae3de1554bcefb5f324ea12cea2b4a5d1f0782913b17015416fbec1f17d5a9c8df90e0fbf4360f7e9eb0f8a53a7a53ad45fd19b24229c3fb2bb446fba23558aa0a4279d2d8fce0
+
+COUNT = 6
+KEY1 = 1cb320750e31e3a8
+KEY2 = fdb37994682f0e04
+KEY3 = 703e208f40a4b3c2
+IV1 = 2b9874a14b6e92af
+IV2 = 80edc9f6a0c3e804
+IV3 = d6431f4bf6193d59
+PLAINTEXT = b4a0b12f14fd6ad7e28347323e6405147f29567c78ed3f68fbc9bfee9c8fb189b7bbf3b1b5a6c8ae8afd7bad827246143eb17113f996be7b119d05d4c29a1caa34aaf927b8691be74e6526076cd3cd7ffa81f4b2a10c16444553e52cd02b310a32550bbaa6ad2a2936a38e6781ef62febc812783f7b70f6aa1d3a71e4facb952b9a4719105d9be1d49a0fbf64b2fcf398b9952ab830071962d0593d4c6847d29d27f72d660579f6a
+CIPHERTEXT = 7d01711b6a663b8075dcb7f56a28e8c53ab0ad2a657e248553534fdaa83961656dc580884c8a7c058bd84fee9be8a45bbb96d74c5e9b5e22fe478445b78b3390b26bedc58c1537749a5c1a91e936300856592c6e6e20c91fa52ef3efa0a655a2809371d0bc5d42da7040e2bbccd3903ee61a0fa813076ce74a79bf4e2cc94583c85485fbbc12532f562be8f5d823f06e0d3be685d39a19279a83f59dcf17622595415442a62d10f0
+
+COUNT = 7
+KEY1 = a80752f185a41fdc
+KEY2 = 521f9de37c67bcea
+KEY3 = 5bf80176d9104c25
+IV1 = 3e6a236d9e91198b
+IV2 = 93bf78c2f3e66ee0
+IV3 = e914ce18493bc435
+PLAINTEXT = 082a03ed3ae61b0131a72636cf58b2f6a5d77430b6a930aa7decd999328cfa6f4aba54f43d9ac8988b3c780701ce2aff3810ed5e6008fe803bf6ecc76c8afb7bf255c6d5f07e2956afb65e5de56d66f93846abfcfec9e3514759378f1d65a5cd0ae2a3b9dbf805e4a4fb2060049e308daa63f7301856a7c5a7fb0217cc85c00d994831c7877123e972f50637e5c74e63984e19223716128565c69587015214e3a871b9287b524c0e228a580b1152892209ef59fce271eb3989a03708453468f5
+CIPHERTEXT = e675063de6bb813f3d3dc27c245351f8505899d7b285454a67391ad421f47dfb4d9589eb1d9c881e65be7caf4be6f81be84553787d654dd6469013c2cc06b3126ffc21086ced4c5847ae52c3fb44a4d009433944f3368ca00238601811674b510e25427e721f6ad5b7aecaeaf52f526ba3e59f1b9437486d4395c4c39fc805d95c991ff56e5d82e9485554eb5c1a13c0c392435d6fe5e2cf7b6767adb70fac0719c5ab4c7c443b84179d6a5c89a824c46d6e12c99e78fa608f80f22919a9ab37
+
+COUNT = 8
+KEY1 = 753254c42f3401e6
+KEY2 = fdad9813523b761f
+KEY3 = 97074640dc523e07
+IV1 = 01921324a0d33450
+IV2 = 56e76879f62889a5
+IV3 = ac3cbdcf4b7ddefa
+PLAINTEXT = 1c745524cf37b93528cd5293d0c9bc7dde7b56e25664eb73efec92fd1a58d2f63ff60a564a9a10a8664e19600846d96f3012eb15ec1772f61d4001717df1b82de13db0f4bc589ac5e54fa2249af69ab5c42254097c194fb8cf4796b0be33e6cc89b10fa92e589cb52c36b6888cc3467822145a671151cae08d691b63e504a3fcc0baee1aa682619fc36d1d34e89427dfd34ec5d7b0a72b97e00e5631f84e39e50dc017f22fbe30ac335a9fcfb65083135e3a5d006303b9044e9e11c301f8eeaef82b50d7cef4500303670401fce1a33b4b3fe98b314dbd50
+CIPHERTEXT = a06f0c94b45e213b58d3fbccb42ff6674a5f7f105ece3e8c6f68ca27ae7251913ad27ba559cc954005fccd4b1ab7b276ac1f94c11f681cd815c02ec05abcc602ae7695b29b90b5f58021675df5fcd501a28f06b603dc96f80c63a619f62c2285f9850169bb6b24536e7c8257bbc200e48932112f1db7ff63ce29feb1cbbcf0c2afb84f7b8372308696548c343d92ed48907af1ea8f51e584092ee4607ea88b6d7a02c56f175e12d76e0732bb91dfff0396715e5c95527ecd8052278f2df46602f251ebdb2153599dace36e1e3c7228f6326935642d72da32
+
+COUNT = 9
+KEY1 = 5ee361f776e5c4d5
+KEY2 = 43ce2076f7a408b9
+KEY3 = 2a7c7f37c813a838
+IV1 = b86c2916ce5dfedf
+IV2 = 0dc17e6c23b35434
+IV3 = 6316d3c17908a989
+PLAINTEXT = abeb17ba896899867012bb048c362390dea5ef218bb7a6717a906e5f1da280918f73da5de0a133eaad233492f3d1e58b242766c77b46df188d3bb99822840f4842d05ff793078666e28aeba9ffbcfad0cec1d4c79b86447bae01f63e1fbae36dec8a105049a2784137d0461158fe48a702fca1ea927fbee203698b19bf4ae648b427542fab7bf2c5d57caf91a79fb958e85e35f809393394b4fbe1f1a73efe20c331925e6099dd38e4168df394a8342aaa71f8b9a7bd8ddaea3f608e829d153f413034a311051fe38b2748fdc620a0676dbd53f51512b2fccdbe70b8f67012eb55aaa1c766c5a20ef3364878e60fe755
+CIPHERTEXT = b9b6e189ba06536f27712cdef16b9f42e632d179bd85b0a14709907e8546866464856780c8c75239315adb7fd88c7a7a8b012a330189cff705fb3e47990e251739cc5c1c7a2ac5d2d8a72d8ff89c1c9a153eb63f4105fbf5bc0748e87030d9426e6cf8202982143951753275b33d297234816fc7542852e14feb44ccad62951a86c064afaa6a447bca88a7e718f1eecfc54b985b57b56639608ea796ac0e38cf09ebf9482fe64f85bc399c940f4fc6d40b83a17925cb544af7458dca287605ca159e74d59ef2b88e2cc523c9afd564dbfe31da0d4fdeb97bdf8a724a5097985e55a39509fdc8b042ea66ef61a72d344e
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 02bf7013ab5d0e08
+KEY2 = 5179a268b69d6bb5
+KEY3 = 040d5e1cf7a78fdc
+IV1 = 5a8dde1ff2272933
+IV2 = afe33375477c7e88
+IV3 = 053888ca9cd1d3dd
+CIPHERTEXT = d1950ffc136422857396d4d88582f317347073f9acf36dbf
+PLAINTEXT = 98612ad1ddbaab53d48e3132622351aa722a45e4f9b18885
+
+COUNT = 1
+KEY1 = 25970b07046b8ae0
+KEY2 = 9ec2c71604c84916
+KEY3 = 6115617ca26e3d6b
+IV1 = 53785e9c3dbbd0d3
+IV2 = a8cdb3f193112628
+IV3 = fe230946e8667b7d
+CIPHERTEXT = 97bfae1bd78ce0f92433848a3acf5370c8a68ebf210c4a0134840c7ebe2995babe4cff3e2a5f099be011b0addfbbff1d
+PLAINTEXT = bf24cab076aec98a24c11b7d9fc2b9eb442cbec416c9d714b72f2070daf32abc19fbb2e7c3956ff33bab146811274608
+
+COUNT = 2
+KEY1 = 9bd9679e43a110c7
+KEY2 = f7b30815bf8f25fd
+KEY3 = 549de3ef94eff4df
+IV1 = f74e827172b60010
+IV2 = 4ca3d7c6c80b5565
+IV3 = a1f92d1c1d60aaba
+CIPHERTEXT = 58ad05a3c88f08e07b7597b0d642dc23fa9ea952eb91bc95f25241f63f5998e5d3bb592d9db79526e38c5f2ce48e8b51bc79b64f870587c1c9bb33920e0647b5cd8da21692c0c0d1
+PLAINTEXT = 007e1ed207a4419bf9105369ddeb7fcdf99f43b4370838651a2220796d5d1e94f1cffe6b5f828d30a29e8d5e3b20e2c6b0643ba108bf500131aa0909f735bb7491285b7dee60a91e
+
+COUNT = 3
+KEY1 = 627f8f9b73e3e36e
+KEY2 = 34ce8a297fe3b3c2
+KEY3 = 615231ad685807b6
+IV1 = 00c93ee4977c0244
+IV2 = 561e9439ecd15799
+IV3 = ab73e98f4226acee
+CIPHERTEXT = 196332719c96a4334ed91288b8a1ecac752d3e0b936036b13dd0e102971b35abea7a54d801980fa8d3a4a9dd62a4ded9e20d24c61e9131141839bd28efb3895206eda00063e3dd3255b5ad2e5afc16753f5ef9f589609480147c4a7dfa74a7de
+PLAINTEXT = d6aac7fddd4265b4ab1068cd88b2a2e534ee9b296db82af24b3b64841a91cfe8d6ec18f7495e6abf6932ec63619033496cd2ab3c7598473c12f67ddacb58b4184b4719495c0f3166446dc3571fa8050188d2040e974fa5baefa4fc81bf724d0a
+
+COUNT = 4
+KEY1 = e02a373bec139810
+KEY2 = 10e391912694e683
+KEY3 = 4af4c88c679e16f2
+IV1 = 0194075eb648b23e
+IV2 = 56e95cb40b9e0793
+IV3 = ac3eb20960f35ce8
+CIPHERTEXT = a7f33c09173dcc4cb475322b2635f520ccee0c540021466e9cd1e9a9bc38992ac6b97c90a8169ccc61e38d33c33a4fd177b175014189873b8528a62c0bc96e0cff73212c3c2701ceca5efd3aa4b3900ebfdce7d649de42dc2e819c42e1028e4d590971045adac3faf5cfcb685206807ead57a8fb9f893dfc
+PLAINTEXT = e43995b8822f71931a8fe4473907afd46a56aafeac7d948dba897c83e759d1beb23f19b5e826e3c541ee10f9e4093261ca0743b5af5802ac1f60feeae54c51582927fc76310d45ba39bfdbdb7e3c214f4255833c2dc3ad3f1d73213a259327778409fd498958ba4879c10851a70c89bf97416968af3273b2
+
+COUNT = 5
+KEY1 = 08c7765eb0c4d37c
+KEY2 = 3e37e6015bc1e94c
+KEY3 = 91f47526e9cd8957
+IV1 = 4be64f5b9249c367
+IV2 = a13ba4b0e79f18bc
+IV3 = f690fa063cf46e11
+CIPHERTEXT = 4c80c8b845729d7976bd617acee4a1df70cfb18063b5faeb8b4094acd8ec18ccbdb1af97e4e16fa22053e80da3c1f906716fe98e140db28091dfa0cf9c1b1b0f0893c1378193b9a57d0d436270f393a83fe5dfa1f80cb772c04695780d83b5d1156f261f8651228877329b029e4316cdc479bc40777aaec9ffbc9a3093eb8c1bcc8c06d759e15255f50c177396762b7d
+PLAINTEXT = bb530582c9a8d334958de004669b2d74e707d57090586dcde350f1279f90e0f38df2c7165ccdbc1b2b6dc8a7b73bb7f5fdaeeea3d2a084ee1b9fe6b9c31e03152d48702de22c62b5ed6d79d5ad0f53c2fc06ee0cc2a472025d76b53255acaafcb31b41b8cbe173acea0240119abcaf05b0b0055c7a48fce94f01c89343a091964a3a02d9e161e2d68217ae3cb657aea6
+
+COUNT = 6
+KEY1 = 3efdc229c4b5fd91
+KEY2 = 98cb3138e92c571c
+KEY3 = b3ea436eb926e9ad
+IV1 = 97eeff3e1cdef73f
+IV2 = ed44549372344c94
+IV3 = 4299a9e8c789a1e9
+CIPHERTEXT = 888c1a4d0fed54cc4f30c124a64b4e22ff8ddeaaf73290f43e3541f53f65531a03bbac3c52eb01d11c39545f188ebb37abcb645f0b5dd6d0a41279e1bb2a590451b227b04a0d819eced47238f0e03d4f8da4560c77c0b229d3d44060c092b8243a1893903d7c5a9d2da8249775685bd26fc1be998485ac6794249f5a97c5f7e48595f9c4745f1734005e7164f04f9d2817c9a3ed77d14cf2adaa9db589ea9eabfcd3603337df3dcd
+PLAINTEXT = 776d71671219f49cb968a4903ec1141e60a76bbfc3496548e3251d584c248cecd78cbe4908b1c1e3296db7b150768193355d07f44e06873a720f54462cecbb65eb531632bbca5d5ae7c22369ea7a04c536ab5a46102576b93a5212c15f6644bab26eee30cacb97de60b7b3078378de028a2e29efbfcd30176958b1d481a47a718a1324d48f7deccc787ec45e9982c19b0a4003ebcdb1b423e47680e1618ed86b9aa7d5928d2df53b
+
+COUNT = 7
+KEY1 = e5bc922f75022094
+KEY2 = d0318952ecdfbc38
+KEY3 = 2cad8a89b9d6e340
+IV1 = d89927f941a08ba3
+IV2 = 2dee7d4e96f5e0f8
+IV3 = 8343d2a3ec4b364d
+CIPHERTEXT = c6a4aa2d947aa503fdc2876cd159c8d2639774e23c2f7e8f1156565af328bdd1c647d956f4c584226344ea8aa45b53806d3c3d5c4994aedd8eb3c86a8fed9e9e144046040737301f700db5aea416f32db85bd99f3c847e8b26fcb7450d4fe86e98d71abe35974e010e671160395251e22e3c6f337fc795a3c3784a71d316444a3a537d0de6af89d124982629cbd615a7b626289e78259d2c4c70aa784b0a5939e2fe96788245869699e91b90c26be68238632c6a91663b2fa92cfee2dcf2d043
+PLAINTEXT = eaaf4b9f85b608d496af19f541ae3bb4f86520f85adfd0f9948f449a2871d7c5ec45d4e6dfcd0647d4e0a4ec368475222b30f08ecc8657a657c798b01460dc98148738e8eb6c805dad668b7854bf2ada85374566e5f001afaf5f52dabab1ebb0de4a5325e32455ba28d9197d0d939f74ef2393dba4b3e297fe5821038d828c46a0ccfae13e62d39b1357abc4b00d8287f15d3f360c504289a3f4c633546017e05814d3b763eca4c5647cd944cd839f1ba5e5c2fe561d4bb76949628b6c19a762
+
+COUNT = 8
+KEY1 = 8a51fe6491d9cb08
+KEY2 = 67d6106d1cf13db0
+KEY3 = 0d04f701efefc137
+IV1 = a3baa2ce51a257b0
+IV2 = f90ff823a6f7ad05
+IV3 = 4e654d78fc4d025a
+CIPHERTEXT = b0976ef81ba2ad5bd40ee191f69b9d763a30f8531973d60e3196699dea73f7c059dcddf0652cd4922822737198f0f56b668e3d6b26541797b1c8c1cac7b5aa44f97d79a0c6af510705dc53a483a76557ec1c32aeef4372119df46c3c12ecb9f358214af08853ad2132e48b10ffe976a39581e105bb6670e4bec173dd1343ad343d7159c9f23f6f4779e1239f56deaeb529665258d4e59878dcd8dd9312e00c717214ad114b9c1fe3a07c2138cead98f670728c9080e97335bfe0b24856eb6111bdb34eb2dc91455c705c8fc2b17fb9ce324e9793089a8784
+PLAINTEXT = 9ea6514adf4dcee6a45e0e134aec2a8ed0bf18d2b8d6155d4de2da16053674836a0ed11b4bc51a6c31cd0b8114a38c67d31f6e87a44ed68f020ad66dfd7a8d6d18f5d19a514e8e2ce5e367bf3d6455387e3517c3f32b40a6f87e04ec3bccdec3e1ba4c8a0dfffe9f3eddf123fb57464b4442b21842dfc024d62a6951d7cd17b92d646650df58f8010c3e18a214c5f7b66e18c60943635eccbf38d0add9e933e1a2847ca9cf30ee37978c611ac5d4db2c1086f49860a0de0fafdabada26495972ff2dbc266b2f6c9c1801d6e862b57a0a11e4decb4da6be8c
+
+COUNT = 9
+KEY1 = 83d5fd1f1685ec94
+KEY2 = 9bd0d0d5e5da375b
+KEY3 = 2991d9f18a0bd608
+IV1 = dfbd22adca63388e
+IV2 = 351278031fb88de3
+IV3 = 8a67cd58750de338
+CIPHERTEXT = b09574de7d3e8e939399eb7545ba1d5e55708ca115d2be42cd1ad6665db75b08239d3bee1fe010db5581a1077388acccb452e3a2042d344d65224d55911260b7e10523da6dbe1cc475931b8e007b0815c269def343d8f8ae3ea78c2e47287575b174358aaf013ab6b97660f332bdb8a2475a887c1afc92cb205299dac72022aa5d9278e62dd0f219ebd2781f527644da0bd0e626d1c18b0ed3cb7e405923efbeab08f4d72f54cd56d1516cf9a7cd3524d57102d7af4e6ade1eb9434745596519647eb143fcb452d3349943687beb11ea6fe5e378fdccb7a2cac5eed9d2e90b23509bb814dd190af9db52055614f86393
+PLAINTEXT = 576b0dd7601963b38c2fd56f714a180680f20bc4bef4be119df56b4e269a3c0e629608130970822ff42eaa935b6a2aa0a942e5d15f9a4e909daf18e1ddf4e9bf1d892a2574ee17838f706946acbd55ed8c554ba4310b08de1cc09f89cae3b77515e395149974ff6710a62bb2605a109dc96d2d0bd2d33b3f6a0c13d11ad442dd9acfb4974393718e83563389e92679eb3874dce9d4e4481954f9ea5e94cf38829e8f95c0165732f57b59419d4add46aba49d7fb915dad458073aa3fa3e47eb67f5c6cc49d5a2237fde0e3fbdfc8803a7169638cef5682b6baa80890a972aa64a1430f2e3b382fa6d90559658924b7525
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCMMT1.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCMMT1.rsp new file mode 100644 index 00000000..d56756a8 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCMMT1.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CBC
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:35:36 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = a4e319510bef76ea
+KEY2 = a4e319510bef76ea
+KEY3 = a4e319510bef76ea
+IV = 679fdbee166c2e0a
+PLAINTEXT = 36926e3a2720ea9f
+CIPHERTEXT = c108c0e25ee81ea3
+
+COUNT = 1
+KEY1 = 0ee5c897b6ea0151
+KEY2 = 0ee5c897b6ea0151
+KEY3 = 0ee5c897b6ea0151
+IV = 44c06173cdbfd9ed
+PLAINTEXT = 7112bdc489da7a91590469ba37a51e19
+CIPHERTEXT = e994a70016fe7b49fa3200fd0f377a55
+
+COUNT = 2
+KEY1 = 989dd9341aec9efd
+KEY2 = 989dd9341aec9efd
+KEY3 = 989dd9341aec9efd
+IV = 1dad342c0fb3c9b1
+PLAINTEXT = aafe7854d34e6730899599c879dcc28ea0397361b2a19d01
+CIPHERTEXT = 69ceb8567acbac1b47d91802a235c4e9e4d0af894c533759
+
+COUNT = 3
+KEY1 = 926b2562cbe0a47f
+KEY2 = 926b2562cbe0a47f
+KEY3 = 926b2562cbe0a47f
+IV = 8117fa8f84394f9d
+PLAINTEXT = cd6cea0ebf83203c009a8d1936ccb4b190a3c400622e62ac0f54a8f32c676ee1
+CIPHERTEXT = 574e2f3231b991ecfc53fe846fa2a0ac092a52e0125b2fe52cf7fb68e3fa41a9
+
+COUNT = 4
+KEY1 = b3f4cb6d51b6fea8
+KEY2 = b3f4cb6d51b6fea8
+KEY3 = b3f4cb6d51b6fea8
+IV = 588936a36e8ba91c
+PLAINTEXT = ed2ebfbd9e9d2a94148ab44168bbddd8b0fd0ab723baceb87ece67aba6978c038e4b66cf5b8fdcec
+CIPHERTEXT = b2a0bab958ea358c02444ca1b625cbcc402855f0686acf3cf50e868efd15bc3ca12f12b14d836b31
+
+COUNT = 5
+KEY1 = f1c8f44cd9e56bc7
+KEY2 = f1c8f44cd9e56bc7
+KEY3 = f1c8f44cd9e56bc7
+IV = 60499de8e63e6ea9
+PLAINTEXT = caaded648dd5637e0b37ed0d1822306fa890d20a9ca9e7eadb89acaba543789a2426ef17443f793ec51ef3c68fdda428
+CIPHERTEXT = 388c5fb05d2cd3782bb2bcc7078b953db089c9a32a523cc15dd536b446ebf5a3d8cec16c16b2ad7246d3b3611fbeec57
+
+COUNT = 6
+KEY1 = da3843f1f17645f4
+KEY2 = da3843f1f17645f4
+KEY3 = da3843f1f17645f4
+IV = 3f5d63639bfda861
+PLAINTEXT = b4c18d000de6ce6b897f1e6bf6315df6c4bd13ff67d8f9edfd37bb4c31e9fcc25fe99a45f9f4348c2998eac3b78e64832e4916013acfc286
+CIPHERTEXT = 10b7a23eec4462dbe4da4df24204455d06526e86aae6c119c1c616c6623c2bb2688902da93d4fd61512a95496e4760a19e56689562de17cb
+
+COUNT = 7
+KEY1 = 0b16579b38d58fe0
+KEY2 = 0b16579b38d58fe0
+KEY3 = 0b16579b38d58fe0
+IV = 37cb5322ef8b9bf4
+PLAINTEXT = 6982a79d7bcc8becdb0afc5b8a46ab656ce635c0a982a8d754f3447a4bac7ed45e4e4b9eb3769a9368d922247b945f6ce7bdd766103ea25e61e329a534b12e89
+CIPHERTEXT = 82ca17e77ad6769c343f6f6def630afe9fa081fb03735256fd24f1052f4d45b34bb7925a1b3dfc2cc797483d7390e5a33ad4987d787f60f826f3d5e6361c91b5
+
+COUNT = 8
+KEY1 = f2758f57e501197c
+KEY2 = f2758f57e501197c
+KEY3 = f2758f57e501197c
+IV = f9d98781b42568cf
+PLAINTEXT = ad6d490fa16feb72dadd90f14ee87a58ecd2ad298048f58ed7f32a91234ab38fa0aa49ea78a8fdffe5a67d5895a493225259eee1e28225622c7bf9f19d0cdbcdca85aed9570dcd94
+CIPHERTEXT = 6acf86ca0b0037df41d59006ce50dc68ac7c1a11218ec27c3b4a75d1d93009a076a6dd650c231e502a6c3dac460454b13d0ca8b4bb070139417797725853b1e05d72741d3a13d65d
+
+COUNT = 9
+KEY1 = a4a161ad161cb0c2
+KEY2 = a4a161ad161cb0c2
+KEY3 = a4a161ad161cb0c2
+IV = a4512edd2b9fd66c
+PLAINTEXT = c8edf6a0bfc287f8d55e55e548982c15dabd7361d184545d43431e2d9062e79a30107565af365fdaf5a96fa9cba44bf29b75549f7776cff65d3f436eba1a21c22cb8aa458c220e752cf1d1d25dc273f1
+CIPHERTEXT = 904395b6063433ee9a83976bc52c75267bc8b4971f2b99472341e70d10f98134bc05478feee78ff126407fa1b403c62af166dc1a71b2cee7cbcaf7fa4d76134701a9baa54f733d61d2e7f16982f69720
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 4f83761f07573e29
+KEY2 = 4f83761f07573e29
+KEY3 = 4f83761f07573e29
+IV = d4bd41ab78226680
+CIPHERTEXT = 7653ebc9ad3dca9a
+PLAINTEXT = 365a567322238511
+
+COUNT = 1
+KEY1 = 7085c485e65216a2
+KEY2 = 7085c485e65216a2
+KEY3 = 7085c485e65216a2
+IV = 74a07037b28142a0
+CIPHERTEXT = 62bf4d24c8518ad0dd05cf1bea54c2e9
+PLAINTEXT = af604453f76be116664bc2ddbd030011
+
+COUNT = 2
+KEY1 = 257f0eb61f73bf31
+KEY2 = 257f0eb61f73bf31
+KEY3 = 257f0eb61f73bf31
+IV = 9acddea0a912f9cb
+CIPHERTEXT = 3519d2af6de17321589ff1b8990390bc2f9eeb663d97de37
+PLAINTEXT = b73715b0fcd6460324d7474af14d2393602fe2847dd45c79
+
+COUNT = 3
+KEY1 = 9451e540915bfd91
+KEY2 = 9451e540915bfd91
+KEY3 = 9451e540915bfd91
+IV = 74d1ba74953678af
+CIPHERTEXT = 837a434cb8cbbbe332e1319bffdf4c4c24045cd791d4ed6753729df70c512a15
+PLAINTEXT = 239ae0d844a47ab1706106fa7bc9e8986b1f6046b9a4e2b6951a8ef5d55111e1
+
+COUNT = 4
+KEY1 = 408aba6d43eaa1e0
+KEY2 = 408aba6d43eaa1e0
+KEY3 = 408aba6d43eaa1e0
+IV = e1037be6df369c96
+CIPHERTEXT = 5386d9ce1112245f48ee470d396c1ed63b92670ca56ec84deea814b6135eca54392bdedb9489bc9b
+PLAINTEXT = feb3858388151e835c8fcf2dba96046a6301ed8d9d118efa9fd658f848c81e8c719a9eab54bfc9ae
+
+COUNT = 5
+KEY1 = 9ec4c1377cdaa83d
+KEY2 = 9ec4c1377cdaa83d
+KEY3 = 9ec4c1377cdaa83d
+IV = f455a7bf008b33d6
+CIPHERTEXT = a13290f24afb2c7fc17756652165a3793671e0e1e1059b83be63e6bd05f15757aed353b6d9bf8c526c0dc96afe0ee6f6
+PLAINTEXT = 5a566870c0342c68ca935ca61bd725d3f86f5e2f4f64072b348c036297830189114e305dee3f6da445673a7aa268695d
+
+COUNT = 6
+KEY1 = df152f1f43e508f1
+KEY2 = df152f1f43e508f1
+KEY3 = df152f1f43e508f1
+IV = fe69e85b9eb1d28d
+CIPHERTEXT = 7180d83233797aec67f111657d6da4dfbce7cfcfd716003ec2f0e76fc36e27c2cc8f52d8089f14f8b4b9aeb1308ba6c15659bd360a4422d3
+PLAINTEXT = 68267e519e3072823d934c993882af50598f61dcaec4c0b2805e175e2f26658903087de244a676627eeb292e9153798f7a32be39589e8f5e
+
+COUNT = 7
+KEY1 = a4512fdc2a9ed66d
+KEY2 = a4512fdc2a9ed66d
+KEY3 = a4512fdc2a9ed66d
+IV = c8edf6a0bfc287f8
+CIPHERTEXT = 68e63a07b22e33ebdd6897c867a87a788fc5a4ad140e803c403935bc259c125027a02fc1ba7251d06dfb0fca2813335cb1f163a975e6019a864c4f75e0b9d7b2
+PLAINTEXT = 9c4fb1d5dd27a0fd0a147bec6e4c2db2204f927751c784d012916949146628e52130ea23f939d4897e7954ad71cb44701f95e0825447bd403145ba1ce77ad4a0
+
+COUNT = 8
+KEY1 = ec7afe584f52c75b
+KEY2 = ec7afe584f52c75b
+KEY3 = ec7afe584f52c75b
+IV = b86d23306bc11da6
+CIPHERTEXT = a6257f5bbda8dfc2337ff10c19c76ae7ed55e1651155dfb77c303538b0b492adec6f54caa25b9ff92bc1ac58ba5764008fab2e8d6dc505db4d08cd0d545ae7d4038503eeaedc35ec
+PLAINTEXT = 66b133fe924d63a1554e1ee0b7d8a8fad485b8908dd0d3a1f0673f50864e8af072b77fec6e930aed3fbb28ec04fd8e7cbb6a704c76cc36a97a01865caf69050956a9c16e90f14081
+
+COUNT = 9
+KEY1 = 520751fb585492ea
+KEY2 = 520751fb585492ea
+KEY3 = 520751fb585492ea
+IV = d836996ab87f421e
+CIPHERTEXT = 27f1c5df3dd0fef115604672c9e326d7c996396121e28df3ffd64d216fd59d896a8cc6660f27936230c5fbac1029ff4b6bb2d6b2b78d4894aa2958f9fceb25926e2412490b40251dae40ad2dc46a2812
+PLAINTEXT = 608f859ee8d0eea14fc584caf163ad562d6efcb5094fb37d0ef564fefdbfe533a0dbeb2c134f2f57a436ea854c7fe6bed6bfe9d55eb85055d23cb324a554dfe9b7828e06fdda8aade68cd4d0a681088c
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCMMT2.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCMMT2.rsp new file mode 100644 index 00000000..23b29385 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCMMT2.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CBC
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:35:12 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 34a41a8c293176c1
+KEY2 = b30732ecfe38ae8a
+KEY3 = 34a41a8c293176c1
+IV = f55b4855228bd0b4
+PLAINTEXT = 7dd880d2a9ab411c
+CIPHERTEXT = c91892948b6cadb4
+
+COUNT = 1
+KEY1 = 70a88fa1dfb9942f
+KEY2 = a77f40157ffef2ad
+KEY3 = 70a88fa1dfb9942f
+IV = ece08ce2fdc6ce80
+PLAINTEXT = bc225304d5a3a5c9918fc5006cbc40cc
+CIPHERTEXT = 27f67dc87af7ddb4b68f63fa7c2d454a
+
+COUNT = 2
+KEY1 = e091790be55be0bc
+KEY2 = 0780153861a84adc
+KEY3 = e091790be55be0bc
+IV = fd7d430f86fbbffe
+PLAINTEXT = 03c7fffd7f36499c703dedc9df4de4a92dd4382e576d6ae9
+CIPHERTEXT = 053aeba85dd3a23bfbe8440a432f9578f312be60fb9f0035
+
+COUNT = 3
+KEY1 = 857feacd16157c58
+KEY2 = e5347a70e56e578a
+KEY3 = 857feacd16157c58
+IV = 002dcb6d46ef0969
+PLAINTEXT = 1f13701c7f0d7385307507a18e89843ebd295bd5e239ef109347a6898c6d3fd5
+CIPHERTEXT = a0e4edde34f05bd8397ce279e49853e9387ba04be562f5fa19c3289c3f5a3391
+
+COUNT = 4
+KEY1 = a173545b265875ba
+KEY2 = 852331fbb95b49a8
+KEY3 = a173545b265875ba
+IV = ab385756391d364c
+PLAINTEXT = d08894c565608d9ae51dda63b85b3b33b1703bb5e4f1abcbb8794e743da5d6f3bf630f2e9b6d5b54
+CIPHERTEXT = 370b47acf89ac6bdbb13c9a7336787dc41e1ad8beead32281d0609fb54968404bdf2894892590658
+
+COUNT = 5
+KEY1 = 26376bcb2f23df10
+KEY2 = 83cd684fe00ed3c7
+KEY3 = 26376bcb2f23df10
+IV = 33acfb0f3d240ea6
+PLAINTEXT = 903a1911da1e6877f23c1985a9b61786ef438e0ce1240885035ad60fc916b18e5d71a1fb9c5d1eff61db75c0076f6efb
+CIPHERTEXT = 7a4f7510f6ec0b93e2495d21a8355684d303a770ebda2e0e51ff33d72b20cb73e58e2e3de2ef6b2e12c504c0f181ba63
+
+COUNT = 6
+KEY1 = 3e1f98135d027cec
+KEY2 = 752f67765408a791
+KEY3 = 3e1f98135d027cec
+IV = 11f5f2304b28f68b
+PLAINTEXT = 7c022f5af24f7925d323d4d0e20a2ce49272c5e764b22c806f4b6ddc406d864fe5bd1c3f45556d3eb30c8676c2f8b54a5a32423a0bd95a07
+CIPHERTEXT = 2bb4b131fa4ae0b4f0378a2cdb68556af6eee837613016d7ea936f3931f25f8b3ae351d5e9d00be665676e2400408b5db9892d95421e7f1a
+
+COUNT = 7
+KEY1 = 13b9d549cd136ec7
+KEY2 = bf9e9810ef2cdcbf
+KEY3 = 13b9d549cd136ec7
+IV = a82c1b1057badcc8
+PLAINTEXT = 1fff1563bc1645b55cb23ea34a0049dfc06607150614b621dedcb07f20433402a2d869c95ac4a070c7a3da838c928a385f899c5d21ecb58f4e5cbdad98d39b8c
+CIPHERTEXT = 75f804d4a2c542a31703e23df26cc38861a0729090e6eae5672c1db8c0b09fba9b125bbca7d6c7d330b3859e6725c6d26de21c4e3af7f5ea94df3cde2349ce37
+
+COUNT = 8
+KEY1 = 20320dfdad579bb5
+KEY2 = 7c6e4acd769dbadf
+KEY3 = 20320dfdad579bb5
+IV = 879201b5857ccdea
+PLAINTEXT = 0431283cc8bb4dc7750a9d5c68578486932091632a12d0a79f2c54e3d122130881fff727050f317a40fcd1a8d13793458b99fc98254ba6a233e3d95b55cf5a3faff78809999ea4bf
+CIPHERTEXT = 85d17840eb2af5fc727027336bfd71a2b31bd14a1d9eb64f8a08bfc4f56eaa9ca7654a5ae698287869cc27324813730de4f1384e0b8cfbc472ff5470e3c5e4bd8ceb23dc2d91988c
+
+COUNT = 9
+KEY1 = 23abb073a2df34cb
+KEY2 = 3d1fdce6b092582c
+KEY3 = 23abb073a2df34cb
+IV = 7d7fbf19e8562d32
+PLAINTEXT = 31e718fd95e6d7ca4f94763191add2674ab07c909d88c486916c16d60a048a0cf8cdb631cebec791362cd0c202eb61e166b65c1f65d0047c8aec57d3d84b9e17032442dce148e1191b06a12c284cc41e
+CIPHERTEXT = c9a3f75ab6a7cd08a7fd53ca540aafe731d257ee1c379fadcc4cc1a06e7c12bddbeb7562c436d1da849ed072629e82a97b56d9becc25ff4f16f21c5f2a01911604f0b5c49df96cb641faee662ca8aa68
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 4ff47fda89209bda
+KEY2 = 8c85f7fe80192007
+KEY3 = 4ff47fda89209bda
+IV = d5bc4891dabe48b9
+CIPHERTEXT = 7e154b28c353adef
+PLAINTEXT = 712b961ea9a1d0af
+
+COUNT = 1
+KEY1 = 464092cdbf736d38
+KEY2 = fb1fe6a12a94ae0e
+KEY3 = 464092cdbf736d38
+IV = 5423455f00023b01
+CIPHERTEXT = 3f6050b74ed64416bc23d53b0469ed7a
+PLAINTEXT = 9cbe7d1b5cdd1864c3095ba810575960
+
+COUNT = 2
+KEY1 = 94ec51d65bf85491
+KEY2 = 0261c20d10dca1c7
+KEY3 = 94ec51d65bf85491
+IV = 28fb4de3b00d564d
+CIPHERTEXT = c962a7dda0d6a3206cf01d979505675ba118c9a6b34e23e4
+PLAINTEXT = c48c01bfa6458440ce5995d7999f846e2cf57e66df629a49
+
+COUNT = 3
+KEY1 = 5ef8b5c4fd92ce0d
+KEY2 = c85b130d68618652
+KEY3 = 5ef8b5c4fd92ce0d
+IV = 33f64776b2116edd
+CIPHERTEXT = 88a909ca55fe1aabb902c0eca47408703e71f44828a0d88105ae05403afaa512
+PLAINTEXT = dec866a615b15e530f9b2080dabf419dc8f5776856b81377664a73f3ce07c349
+
+COUNT = 4
+KEY1 = 457fa8d5b5985223
+KEY2 = 45cbef57c8ead323
+KEY3 = 457fa8d5b5985223
+IV = 3a6f5488f19e0fc2
+CIPHERTEXT = 5e3687fa9e28dbb870cbe5087cfb9a588343ed1d375b457550ef2e0adca24e3ad6539c76fb9fcce8
+PLAINTEXT = 1c36c6a2ecb83d865e9c10f8294a338ca3394498756e925a826a8aa4be5b21116fbc3536d263437c
+
+COUNT = 5
+KEY1 = 0b5d027367709298
+KEY2 = ef920875f880547a
+KEY3 = 0b5d027367709298
+IV = c8eb0366a94d090a
+CIPHERTEXT = da6b8b231fd1f743d1c34c04979a911bdf59c855d3d87edb8822a1b4791b928b35667bb35485e368af427f58d14e4b62
+PLAINTEXT = 18cb7e51de8e909f284da683749c97a48da5a2c93421f5824d103fe3dfa8cd636cff12cb3dfdf596356fdd297f991393
+
+COUNT = 6
+KEY1 = 9ed52fa267a77ab6
+KEY2 = 32ecbf733ed51583
+KEY3 = 9ed52fa267a77ab6
+IV = 2c0d2bc48f1e8f0f
+CIPHERTEXT = f193bdc21c03d9629c9fefaa64a410f5b7524f9cd5fd80b2d96140f1e23636f3710498a61239f0fa3f7920dc8135a368d87f175a5d1cf8c6
+PLAINTEXT = ec08f3ef4bd6fb380f2816038ce98fba7f29c5d84c363103b0b1069cfac24c404e95722f8cd3688a4813a2513eb5170b9980a097beca7bdb
+
+COUNT = 7
+KEY1 = 9102ef52e3769b83
+KEY2 = 62fb1f614397d6da
+KEY3 = 9102ef52e3769b83
+IV = e134c524c2ecd2a4
+CIPHERTEXT = 7441cff6028b55729dcaa98d4df7a8398abb2d77a13c93cb5a3775edd84fb8c2c0a4cc8a9ea82e5b842e32cef4c4fff8ff43db9cafa4a99ea315afbbf94c9d78
+PLAINTEXT = 695a64404b1384170b63fce574a3c21798b0eceb35e891f4ce87e0e393b1924dac319721971e1b6314bbff6149a2d20691cbc0d490f5c1248cc177c2a82586a5
+
+COUNT = 8
+KEY1 = 5715855bd61c0b37
+KEY2 = 83fdb96d4ab3a8ae
+KEY3 = 5715855bd61c0b37
+IV = c127aaf3d080494e
+CIPHERTEXT = a671c5dcd0fa5dc158fbcb62f6e218b39e5e87fa49157829f8968c6bf68e0afd5e3e823fde2cb00bba19a24514341db36a8d3e0f60cc5d5bc0233675bf814beb82098410e0c21950
+PLAINTEXT = 293f13e707ba7fefab80d8c1d821b6820f5803bfd094726f1d7f199319e5d3926d7e8576443d3eb769f77d1bd8cc9e656d6cacebf580950b1c0276de9f617f16cbefbb44d6f73df2
+
+COUNT = 9
+KEY1 = 9eec31d3d38ae63e
+KEY2 = a49d6e7fb602b592
+KEY3 = 9eec31d3d38ae63e
+IV = 4adacd3d81a84c43
+CIPHERTEXT = f9a5491096a8f532fd49ceb29b5345cf05153d6cdeb61108fcc9d9f0c621e9b3e0e79bd70be94fca4635af1b39e738ead43ff69e34f78ed6c6d382a1ae79b1f16a831d4db2d3f1c7a326c32e1dec1684
+PLAINTEXT = 5d5035230ebb32332b526b1e1c8482c620e5f868d118c20ec13c6614b05990b993b176cfb96ac81668e8d67111ca6ba5f1656195d6f4e9bdd7f758107751d5305537c44d1b49bf8cd1bba37b22e6da77
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCMMT3.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCMMT3.rsp new file mode 100644 index 00000000..c9ce860c --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCBCMMT3.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CBC
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:34:48 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = b5cb1504802326c7
+KEY2 = 3df186e3e352a20d
+KEY3 = e643b0d63ee30e37
+IV = 43f791134c5647ba
+PLAINTEXT = dcc153cef81d6f24
+CIPHERTEXT = 92538bd8af18d3ba
+
+COUNT = 1
+KEY1 = a49d7564199e97cb
+KEY2 = 529d2c9d97bf2f98
+KEY3 = d35edf57ba1f7358
+IV = c2e999cb6249023c
+PLAINTEXT = c689aee38a301bb316da75db36f110b5
+CIPHERTEXT = e9afaba5ec75ea1bbe65506655bb4ecb
+
+COUNT = 2
+KEY1 = 1a5d4c0825072a15
+KEY2 = a8ad9dfdaeda8c04
+KEY3 = 8adffb85bc4fced0
+IV = 7fcfa736f7548b6f
+PLAINTEXT = 983c3edacd939406010e1bc6ff9e12320ac5008117fa8f84
+CIPHERTEXT = d84fa24f38cf451ca2c9adc960120bd8ff9871584fe31cee
+
+COUNT = 3
+KEY1 = d98aadc76d4a3716
+KEY2 = 158c32866efbb9ce
+KEY3 = 834af2297379a49d
+IV = 3c5220327c502b44
+PLAINTEXT = 6174079dda53ca723ebf00a66837f8d5ce648c08acaa5ee45ffe62210ef79d3e
+CIPHERTEXT = f5bd4d600bed77bec78409e3530ebda1d815506ed53103015b87e371ae000958
+
+COUNT = 4
+KEY1 = ef6d3e54266d978f
+KEY2 = fb0b8ce6689d803e
+KEY3 = 2cd34cc802fd0252
+IV = 38bae5bce06d0ad9
+PLAINTEXT = c4f228b537223cd01c0debb5d9d4e12ba71656618d119b2f8f0af29d23efa3a9e43c4c458a1b79a0
+CIPHERTEXT = 9e3289fb18379f55aa4e45a7e0e6df160b33b75f8627ad0954f8fdcb78cee55a4664caeda1000fe5
+
+COUNT = 5
+KEY1 = 625bc19b19df83ab
+KEY2 = fb2f5bec9d4f2062
+KEY3 = 017525a75bc26e70
+IV = bd0cff364ff69a91
+PLAINTEXT = 8152d2ab876c3c8201403a5a406d3feaf27319dbea6ad01e24f4d18203704b86de70da6bbb6d638e5aba3ff576b79b28
+CIPHERTEXT = 706fe7a973fac40e25b2b4499ce527078944c70e976d017b6af86a3a7a6b52943a72ba18a58000d2b61fdc3bfef2bc4a
+
+COUNT = 6
+KEY1 = b6383176046e6880
+KEY2 = a1023bf45768b5bf
+KEY3 = 5119022fe054bfe5
+IV = ec13ca541c43401e
+PLAINTEXT = cd5a886e9af011346c4dba36a424f96a78a1ddf28aaa4188bf65451f4efaffc7179a6dd237c0ae35d9b672314e5cb032612597f7e462c6f3
+CIPHERTEXT = b030f976f46277ee211c4a324d5c87555d1084513a1223d3b84416b52bbc28f4b77f3a9d8d0d91dc37d3dbe8af8be98f74674b02f9a38527
+
+COUNT = 7
+KEY1 = 3d8cf273d343b9ae
+KEY2 = dccddacb91ad8620
+KEY3 = 6737adc86b4a49a7
+IV = bb3a9a0c71c62ef0
+PLAINTEXT = 1fde3991c32ce220b5b6666a9234f2fd7bd24b921829fd9cdc6eb4218be9eac9faa9c2351777349128086b6d58776bc86ff2f76ee1b3b2850a318462b8983fa1
+CIPHERTEXT = 422ce705a46bb52ad928dab6c863166d617c6fc24003633120d91918314bbf464cea7345c3c35f2042f2d6929735d74d7728f22fea618a0b9cf5b1281acb13fb
+
+COUNT = 8
+KEY1 = fbceb5cb646b925b
+KEY2 = e0b92f7f6b493d5e
+KEY3 = 5b16e9159732732a
+IV = 2e17b3c7025ae86b
+PLAINTEXT = 4c309bc8e1e464fdd2a2b8978645d668d455f7526bd8d7b6716a722f6a900b815c4a73cc30e788065c1dfca7bf5958a6cc5440a5ebe7f8691c20278cde95db764ff8ce8994ece89c
+CIPHERTEXT = c02129bdf4bbbd75e71605a00b12c80db6b4e05308e916615011f09147ed915dd1bc67f27f9e027e4e13df36b55464a31c11b4d1fe3d855d89df492e1a7201b995c1ba16a8dbabee
+
+COUNT = 9
+KEY1 = 9b162a0df8ad9b61
+KEY2 = c88676e3d5864345
+KEY3 = 70b902f12a2046e0
+IV = ebd6fefe029ad54b
+PLAINTEXT = f4c1c918e77355c8156f0fd778da52bff121ae5f2f44eaf4d2754946d0e10d1f18ce3a0176e69c18b7d20b6e0d0bee5eb5edfe4bd60e4d92adcd86bce72e76f94ee5cbcaa8b01cfddcea2ade575e66ac
+CIPHERTEXT = 1ff3c8709f403a8eff291aedf50c010df5c5ff64a8b205f1fce68564798897a390db16ee0d053856b75898009731da290fcc119dad987277aacef694872e880c4bb41471063fae05c89f25e4bd0cad6a
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 5eb6040d46082c7a
+KEY2 = a7d06dfd08dfeac8
+KEY3 = c18364c1548c3ba1
+IV = 41746c7e442d3681
+CIPHERTEXT = c53a7b0ec40600fe
+PLAINTEXT = d4f00eb455de1034
+
+COUNT = 1
+KEY1 = 5b1cce7c0dc1ec49
+KEY2 = 130dfb4af45785ab
+KEY3 = 9179e567f2c7d549
+IV = 3982bc02c3727d45
+CIPHERTEXT = 6006f10adef52991fcc777a1238bbb65
+PLAINTEXT = edae09288e9e3bc05746d872b48e3b29
+
+COUNT = 2
+KEY1 = 254acb647907adba
+KEY2 = 1ad5ef7a43e383cd
+KEY3 = cd588975759e5292
+IV = 5857f24bed725646
+CIPHERTEXT = d4342af5c33adcd67c3e89e64241bbd8131e78ec38c8715c
+PLAINTEXT = 64cc69a4f2b9877dad558bd7b5e6a78268e4978bb39845a1
+
+COUNT = 3
+KEY1 = 86838c6815c25b97
+KEY2 = 5bdc10f4b95145e6
+KEY3 = 49fdefdcf4754ab9
+IV = 4b1992ad38b4d6dd
+CIPHERTEXT = cb78b6deaca11379094341f5c2cfb977bba8259482341f0a32323cae974e49a6
+PLAINTEXT = f5f94e406cec1b85e9a7c076b95456b6a439921591abbfc381d0bbf363ff5c04
+
+COUNT = 4
+KEY1 = 34e68f58ecc71f4a
+KEY2 = d504e0b6e085a7c7
+KEY3 = 1c9bd38610737949
+IV = dfee6ce5d36b2c3d
+CIPHERTEXT = 374ec363fa84e7e7e2ae011427b79d5852923557452c52827c9ff4eb92a83457075b28954015070f
+PLAINTEXT = fb5c4ad0525832b2d3594981b920c65c1029ddfa054d271c5a99a853f4b6de5d6da41d8bdc2c7ede
+
+COUNT = 5
+KEY1 = dccbe0ad199b26fb
+KEY2 = d0f89d86c2d62aab
+KEY3 = cb4f4c23dcdf7651
+IV = 73c925a55dc15ce2
+CIPHERTEXT = 1b566c871114932f03bb68917bbd66cd646872c46fba6187b676bb0ea077be2e0445a6c591e62c386df74d1f1cfb4c3e
+PLAINTEXT = 007c436de5bd97850e51339a257c9796a9e53100de00959deebae4c27c62f512defadca7c9a4bbf2243f3f409c11d281
+
+COUNT = 6
+KEY1 = 0145d5831570572a
+KEY2 = 988a70ae92bcaeba
+KEY3 = e9d937feb945adba
+IV = 528fac8461ccf9d4
+CIPHERTEXT = 188607517e89a4d042b5f59ed6498d16f3a5a1a425b7b2da89b76cc0d514cf6c9aae8cd3c645b2df6d3189c2c954be897f4ec1f423ef6c85
+PLAINTEXT = 9e8c6589d776b75ee82c067f318ffb6cc12a8aeffb8f0c28d699f1e2f17489411cd1ec9c7f279928221943001c435302d81fad63d038346d
+
+COUNT = 7
+KEY1 = 1675e5a42697d02f
+KEY2 = 9e8308948a07e015
+KEY3 = 3107fbae16bfda37
+IV = 328c1857e19ec9d9
+CIPHERTEXT = a653dc3e12d737bc33e9e160a0d6c203234ca3dc626bee3cbf1fb57c7caef634238d1eae2578cb9bc1c1d60427e99183de6d4db263e220e41344e5134a8c831a
+PLAINTEXT = 4d0713639589f9b75d0ef038a4b3ad5cd8a6cb59a8a0bd055ad7c8424d5a35433092bf95b3898af93538a0085b6a788093b9ff5ee0453adf5e1bf5ac3c8e43e7
+
+COUNT = 8
+KEY1 = fbfb1c7a7fd3aec4
+KEY2 = ec40263d4a1fda76
+KEY3 = 68583de986b62f23
+IV = 27506620edc6eb1f
+CIPHERTEXT = 25becd4074e3679353fc3812460d7e0c35f3f9556c5307e0e6d10e90cb821a4c37a3c7523d8b62cd2cde4ba910049da67cd911ab87a6205e155168f158d0513e96e3f0172c032cd7
+PLAINTEXT = 40df8b31407fe232f86cb87642567c4232d94866817260d10236680f1ab970e4dbac12693fcc68efd939fdc37404b3f5c32c3a0342b26389eaadb5c90a55bb8c7e28e1d616bb1ce4
+
+COUNT = 9
+KEY1 = 524a01b30ddf377a
+KEY2 = fdbc077962580738
+KEY3 = 3b9bb952a86849f4
+IV = 69f4af59fe96e79d
+CIPHERTEXT = 889d82d2961d440ea1089dec8713884f32cf5a06ca159a4b29a812909016267c98df65306bd95ece33d3b53cd3797625d678a841a4e226d7fcd3aa809e552b2d4881696be4e7c6e60030572c7e023bb4
+PLAINTEXT = d56fa31c1db2978fa11c1dae70252a168b8193f1e0438e723aaf446dad2f5e490a4b53d7bd08e308e030187428ca5f554cb6dbd46f4b68677f4496098d23412c0f8863379e9f8330813836b8d48c987e
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB1MMT1.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB1MMT1.rsp new file mode 100644 index 00000000..dd006dac --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB1MMT1.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFB1
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:40:33 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 5b409e7c67c44a0d
+KEY2 = 5b409e7c67c44a0d
+KEY3 = 5b409e7c67c44a0d
+IV = 4dac2b87d7ea180b
+PLAINTEXT = 1
+CIPHERTEXT = 1
+
+COUNT = 1
+KEY1 = 7c3efbb00bf7e5f8
+KEY2 = 7c3efbb00bf7e5f8
+KEY3 = 7c3efbb00bf7e5f8
+IV = f91752d1f31f9243
+PLAINTEXT = 11
+CIPHERTEXT = 11
+
+COUNT = 2
+KEY1 = 8af8f8d3a1469b7f
+KEY2 = 8af8f8d3a1469b7f
+KEY3 = 8af8f8d3a1469b7f
+IV = 84c19c85cd9e1feb
+PLAINTEXT = 010
+CIPHERTEXT = 101
+
+COUNT = 3
+KEY1 = 1a576d861015922f
+KEY2 = 1a576d861015922f
+KEY3 = 1a576d861015922f
+IV = cb78b6d8d2f4d219
+PLAINTEXT = 0010
+CIPHERTEXT = 0100
+
+COUNT = 4
+KEY1 = 7c7cc7fe4af20e6b
+KEY2 = 7c7cc7fe4af20e6b
+KEY3 = 7c7cc7fe4af20e6b
+IV = 38a9785cabfcba1e
+PLAINTEXT = 10000
+CIPHERTEXT = 01011
+
+COUNT = 5
+KEY1 = 1992838f073b7a1a
+KEY2 = 1992838f073b7a1a
+KEY3 = 1992838f073b7a1a
+IV = 1a1c9465333464ec
+PLAINTEXT = 101110
+CIPHERTEXT = 100010
+
+COUNT = 6
+KEY1 = e661928f9b685404
+KEY2 = e661928f9b685404
+KEY3 = e661928f9b685404
+IV = 2ce2c10e9b093345
+PLAINTEXT = 0000010
+CIPHERTEXT = 1100110
+
+COUNT = 7
+KEY1 = 4c61e501eaec58ad
+KEY2 = 4c61e501eaec58ad
+KEY3 = 4c61e501eaec58ad
+IV = 66a6bb702a5fc6f0
+PLAINTEXT = 01000011
+CIPHERTEXT = 00001101
+
+COUNT = 8
+KEY1 = 3d58bae61661294a
+KEY2 = 3d58bae61661294a
+KEY3 = 3d58bae61661294a
+IV = d05a3dc19820d57a
+PLAINTEXT = 101101111
+CIPHERTEXT = 000000110
+
+COUNT = 9
+KEY1 = e96d1a8c32f76b01
+KEY2 = e96d1a8c32f76b01
+KEY3 = e96d1a8c32f76b01
+IV = ed7df873ecb6e522
+PLAINTEXT = 1111101010
+CIPHERTEXT = 0110000000
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = d043efd39b616b1a
+KEY2 = d043efd39b616b1a
+KEY3 = d043efd39b616b1a
+IV = cb7aa912e7695008
+CIPHERTEXT = 1
+PLAINTEXT = 0
+
+COUNT = 1
+KEY1 = 07798654647c52a8
+KEY2 = 07798654647c52a8
+KEY3 = 07798654647c52a8
+IV = 3421ab4c1f3729ce
+CIPHERTEXT = 10
+PLAINTEXT = 11
+
+COUNT = 2
+KEY1 = 5b34d3ad7aa758d0
+KEY2 = 5b34d3ad7aa758d0
+KEY3 = 5b34d3ad7aa758d0
+IV = 85bda9576c8424bb
+CIPHERTEXT = 100
+PLAINTEXT = 111
+
+COUNT = 3
+KEY1 = 7cdf6154bf9ed902
+KEY2 = 7cdf6154bf9ed902
+KEY3 = 7cdf6154bf9ed902
+IV = 4ddd75c5baa04e19
+CIPHERTEXT = 0011
+PLAINTEXT = 0111
+
+COUNT = 4
+KEY1 = fec2a22ffd6b043e
+KEY2 = fec2a22ffd6b043e
+KEY3 = fec2a22ffd6b043e
+IV = a981ee75653654fc
+CIPHERTEXT = 10011
+PLAINTEXT = 00100
+
+COUNT = 5
+KEY1 = 344f082f756780c7
+KEY2 = 344f082f756780c7
+KEY3 = 344f082f756780c7
+IV = c56bc545cc0ef4ad
+CIPHERTEXT = 110010
+PLAINTEXT = 110000
+
+COUNT = 6
+KEY1 = 92e5bc07238338c4
+KEY2 = 92e5bc07238338c4
+KEY3 = 92e5bc07238338c4
+IV = 9a3ded4768267714
+CIPHERTEXT = 1110101
+PLAINTEXT = 1100111
+
+COUNT = 7
+KEY1 = 7f37201358a12f4a
+KEY2 = 7f37201358a12f4a
+KEY3 = 7f37201358a12f4a
+IV = 23a5ca0a2c50bbab
+CIPHERTEXT = 00101111
+PLAINTEXT = 10111100
+
+COUNT = 8
+KEY1 = 89e3e3f20d8c8a4f
+KEY2 = 89e3e3f20d8c8a4f
+KEY3 = 89e3e3f20d8c8a4f
+IV = fec7955c5e84006e
+CIPHERTEXT = 011011110
+PLAINTEXT = 001110011
+
+COUNT = 9
+KEY1 = aed96b6e61044fc4
+KEY2 = aed96b6e61044fc4
+KEY3 = aed96b6e61044fc4
+IV = dc82943ec9008663
+CIPHERTEXT = 0110111001
+PLAINTEXT = 0110111000
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB1MMT2.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB1MMT2.rsp new file mode 100644 index 00000000..552d4996 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB1MMT2.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFB1
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:40:05 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = a2c816209d0b0b62
+KEY2 = f4ef2ce39e3e8ffb
+KEY3 = a2c816209d0b0b62
+IV = 15c904c1ea3e05da
+PLAINTEXT = 0
+CIPHERTEXT = 1
+
+COUNT = 1
+KEY1 = 0bdf7998d307c1c2
+KEY2 = e5eae351b95438dc
+KEY3 = 0bdf7998d307c1c2
+IV = f6b116daa918a70f
+PLAINTEXT = 10
+CIPHERTEXT = 00
+
+COUNT = 2
+KEY1 = 7f459764a408e3fd
+KEY2 = 68fd89f4b0ec9d4a
+KEY3 = 7f459764a408e3fd
+IV = 5b13fcc1e359d675
+PLAINTEXT = 100
+CIPHERTEXT = 001
+
+COUNT = 3
+KEY1 = 31374acd8062b01f
+KEY2 = c107c73b75fb0480
+KEY3 = 31374acd8062b01f
+IV = be8695e182477136
+PLAINTEXT = 0000
+CIPHERTEXT = 1111
+
+COUNT = 4
+KEY1 = 6d5e8ce56b9d6eb0
+KEY2 = 8920ad404c86b5c1
+KEY3 = 6d5e8ce56b9d6eb0
+IV = 3d58bbe71661284a
+PLAINTEXT = 10011
+CIPHERTEXT = 10011
+
+COUNT = 5
+KEY1 = a21651dac7d0074f
+KEY2 = 751379f80ef8dfb0
+KEY3 = a21651dac7d0074f
+IV = b388a919457b1d16
+PLAINTEXT = 111101
+CIPHERTEXT = 101110
+
+COUNT = 6
+KEY1 = 43d9a8758f3420b5
+KEY2 = ea19b69d1ac15b15
+KEY3 = 43d9a8758f3420b5
+IV = 1c12c1afe4798f77
+PLAINTEXT = 0100010
+CIPHERTEXT = 1111111
+
+COUNT = 7
+KEY1 = fb6e13918f23e68c
+KEY2 = c4c2d0b6458fc70e
+KEY3 = fb6e13918f23e68c
+IV = 2dad84a831e74367
+PLAINTEXT = 01001110
+CIPHERTEXT = 01000001
+
+COUNT = 8
+KEY1 = d5807076d68a5bd5
+KEY2 = 2ffe64dfdf49bf6b
+KEY3 = d5807076d68a5bd5
+IV = cb6842923ae7a025
+PLAINTEXT = 010001101
+CIPHERTEXT = 111110000
+
+COUNT = 9
+KEY1 = 2f2fbce3ab8a768a
+KEY2 = 5ea889d698049791
+KEY3 = 2f2fbce3ab8a768a
+IV = 5cb25c8ce8be6b05
+PLAINTEXT = 0000010011
+CIPHERTEXT = 1001000100
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 346ee50746fd26ba
+KEY2 = 40973b8579dfd6a4
+KEY3 = 346ee50746fd26ba
+IV = 9adc52ec1bcd6c1e
+CIPHERTEXT = 1
+PLAINTEXT = 1
+
+COUNT = 1
+KEY1 = 6ea1f8d680f2b9c1
+KEY2 = d66149f201257a26
+KEY3 = 6ea1f8d680f2b9c1
+IV = d8c684e2717d24fc
+CIPHERTEXT = 01
+PLAINTEXT = 11
+
+COUNT = 2
+KEY1 = ce926775da6d20ae
+KEY2 = ae2f38f2e992261f
+KEY3 = ce926775da6d20ae
+IV = 29c710776d3d250e
+CIPHERTEXT = 000
+PLAINTEXT = 001
+
+COUNT = 3
+KEY1 = 0dfd1c5e61eacb2a
+KEY2 = 32467367169ea758
+KEY3 = 0dfd1c5e61eacb2a
+IV = f8499522998ba5b9
+CIPHERTEXT = 0101
+PLAINTEXT = 1010
+
+COUNT = 4
+KEY1 = 62f1975dd0587f7f
+KEY2 = 8697e61cfd0b4608
+KEY3 = 62f1975dd0587f7f
+IV = e82b62e84124a5d7
+CIPHERTEXT = 00101
+PLAINTEXT = 01010
+
+COUNT = 5
+KEY1 = 4075679ebc3e97a7
+KEY2 = 5b768a516d7a1ffb
+KEY3 = 4075679ebc3e97a7
+IV = 47114890ddbd3629
+CIPHERTEXT = 101111
+PLAINTEXT = 101000
+
+COUNT = 6
+KEY1 = 20268ce5756264ef
+KEY2 = c29775c73b04ea57
+KEY3 = 20268ce5756264ef
+IV = f7ad298cd0ed4cb8
+CIPHERTEXT = 1000010
+PLAINTEXT = 0010001
+
+COUNT = 7
+KEY1 = 012ad9380b26cdda
+KEY2 = 2f9731daab3b382f
+KEY3 = 012ad9380b26cdda
+IV = e250b5a7e2aadae2
+CIPHERTEXT = 01011100
+PLAINTEXT = 10100111
+
+COUNT = 8
+KEY1 = c1d97038a7ba4c61
+KEY2 = 2949869ed9d3523b
+KEY3 = c1d97038a7ba4c61
+IV = 488ae51b97fcada8
+CIPHERTEXT = 100100001
+PLAINTEXT = 111000101
+
+COUNT = 9
+KEY1 = 1a2a0e97078ab976
+KEY2 = 97756894e98f209b
+KEY3 = 1a2a0e97078ab976
+IV = d46480f2b6cd5296
+CIPHERTEXT = 0100000011
+PLAINTEXT = 0100010110
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB1MMT3.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB1MMT3.rsp new file mode 100644 index 00000000..148b8d61 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB1MMT3.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFB1
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:39:37 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = c7df7a6810bff20e
+KEY2 = 1fc82a94920eb326
+KEY3 = a82f0e4592801957
+IV = 13781da4db40a89d
+PLAINTEXT = 1
+CIPHERTEXT = 1
+
+COUNT = 1
+KEY1 = 7c0eb07902f1f149
+KEY2 = 735e024c76d938ef
+KEY3 = ae83581686e99d29
+IV = 88e8ce3a0b0aa445
+PLAINTEXT = 00
+CIPHERTEXT = 11
+
+COUNT = 2
+KEY1 = 0b8f46c40ddca40e
+KEY2 = 6d8af79b5eb0cb79
+KEY3 = 31ab4ca2a1912a98
+IV = 6e110e57ed479683
+PLAINTEXT = 010
+CIPHERTEXT = 101
+
+COUNT = 3
+KEY1 = 6b8c348076f78520
+KEY2 = 98326443f4ea1fb9
+KEY3 = 370476fb859786ae
+IV = 5faf248b32159396
+PLAINTEXT = 1111
+CIPHERTEXT = 0001
+
+COUNT = 4
+KEY1 = 4aea3ba291c7dc5e
+KEY2 = 9e34c8f8da52454f
+KEY3 = 4325f4dc042080ec
+IV = e482b32c0e345278
+PLAINTEXT = 00011
+CIPHERTEXT = 01101
+
+COUNT = 5
+KEY1 = 91f27a0d4c68688f
+KEY2 = 52a8aebaa85ea7ba
+KEY3 = 253b5dfe68e91aa1
+IV = 76467091fe3934b0
+PLAINTEXT = 001001
+CIPHERTEXT = 011111
+
+COUNT = 6
+KEY1 = 0d5423f1527cfbb3
+KEY2 = 105e204f1c9b9b8f
+KEY3 = 5e585de634765d15
+IV = ec12d034a331e1f7
+PLAINTEXT = 0000010
+CIPHERTEXT = 0010010
+
+COUNT = 7
+KEY1 = 04b0b00e8076df3d
+KEY2 = 980de0f779643d0d
+KEY3 = 70764a495da14058
+IV = 8e85ab4ba49ba4ee
+PLAINTEXT = 01000011
+CIPHERTEXT = 11111101
+
+COUNT = 8
+KEY1 = 4398f1d39d615b8a
+KEY2 = 25cd408ce59ddae6
+KEY3 = 0e37f4803ecdf86d
+IV = 196238512485450c
+PLAINTEXT = 101001011
+CIPHERTEXT = 011001000
+
+COUNT = 9
+KEY1 = cd91b32f9198df26
+KEY2 = bc4329f7469e6885
+KEY3 = 7f40aef754cd2680
+IV = ec0262ce941350dc
+PLAINTEXT = 1110010111
+CIPHERTEXT = 1111111010
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 027fada4f251856e
+KEY2 = 7fa7379ba1a24c6d
+KEY3 = eaf13e1a61733bda
+IV = 66056291624353f8
+CIPHERTEXT = 0
+PLAINTEXT = 1
+
+COUNT = 1
+KEY1 = df645b0ea770436d
+KEY2 = 6d0d67da68ab166d
+KEY3 = 1f43c7204c4c2aa4
+IV = c81b538414f1dff2
+CIPHERTEXT = 01
+PLAINTEXT = 10
+
+COUNT = 2
+KEY1 = fd10269729013de5
+KEY2 = 01b6dc4a4c97349b
+KEY3 = 83577346851a1abf
+IV = 8f2d9eda2c1ad38c
+CIPHERTEXT = 011
+PLAINTEXT = 101
+
+COUNT = 3
+KEY1 = 08e55ef7943bb923
+KEY2 = 94e0ceb94a58df6d
+KEY3 = ae8645646113f780
+IV = 749f761d141d24d9
+CIPHERTEXT = 0111
+PLAINTEXT = 1101
+
+COUNT = 4
+KEY1 = dc61b38c492983f7
+KEY2 = f2a138f8cb086e4c
+KEY3 = a1f1d94f58266457
+IV = 8608f5bee17284f2
+CIPHERTEXT = 11010
+PLAINTEXT = 11101
+
+COUNT = 5
+KEY1 = 76d65b0bb637168c
+KEY2 = 5e20322c197ad080
+KEY3 = 892698894a04ceb9
+IV = 900dbc28ab41cf1e
+CIPHERTEXT = 110000
+PLAINTEXT = 001001
+
+COUNT = 6
+KEY1 = 08d0fd5d4954ea79
+KEY2 = fed01c67ab6e9b29
+KEY3 = f49b0dbffee919ef
+IV = b6a846fe4b7286a3
+CIPHERTEXT = 0010011
+PLAINTEXT = 1111000
+
+COUNT = 7
+KEY1 = b0d62c864abf971c
+KEY2 = 76f251733891fe04
+KEY3 = 5d51c81cd6ae83a7
+IV = 1bf4d81226576972
+CIPHERTEXT = 00000001
+PLAINTEXT = 00101101
+
+COUNT = 8
+KEY1 = 2cfeb092bac73b83
+KEY2 = 3e7c451af783ec2f
+KEY3 = 9dadbcfd5b98baf7
+IV = 4ca0aa6fa1f7e246
+CIPHERTEXT = 000000100
+PLAINTEXT = 001011101
+
+COUNT = 9
+KEY1 = 07ce4ff4896e49cb
+KEY2 = 79a8b94f32cba1f4
+KEY3 = bcce34e610fd701c
+IV = 41c0ac20cf8f14a6
+CIPHERTEXT = 0001101111
+PLAINTEXT = 1111110100
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB64MMT1.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB64MMT1.rsp new file mode 100644 index 00000000..5a72e637 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB64MMT1.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFB64
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:43:09 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 612aba318ab929dc
+KEY2 = 612aba318ab929dc
+KEY3 = 612aba318ab929dc
+IV = e0c6b091c68e31c3
+PLAINTEXT = 79f20ca1e50223c4
+CIPHERTEXT = fe6415e2b6a79b96
+
+COUNT = 1
+KEY1 = 58fd38798fb92394
+KEY2 = 58fd38798fb92394
+KEY3 = 58fd38798fb92394
+IV = 9e34cfd86240e527
+PLAINTEXT = b1e3ae99a6048b81b4caa7222b98e7a3
+CIPHERTEXT = 5ba5cd42281010cfd4fc2367e6c57007
+
+COUNT = 2
+KEY1 = c1e00401048326ce
+KEY2 = c1e00401048326ce
+KEY3 = c1e00401048326ce
+IV = f9677ec057adcbbf
+PLAINTEXT = 5ba3ed1a2445582c3a5d3e343380ed19eb6650ecbe4cc26d
+CIPHERTEXT = f52f4f89164bdeed055847ba8502b8692684fc526509221d
+
+COUNT = 3
+KEY1 = 7ace37ba2962e3c7
+KEY2 = 7ace37ba2962e3c7
+KEY3 = 7ace37ba2962e3c7
+IV = 159aa7dd950fade0
+PLAINTEXT = 64a11fb4b5a0878b410f495dcca902dc91d54dc99c7b446875174431fe0cf1c8
+CIPHERTEXT = dded3b58d7540b12eaca3a2dcdf2ca2b3283fa147e85507ac8dfa3f7b261410a
+
+COUNT = 4
+KEY1 = fef8d9b5df9e5445
+KEY2 = fef8d9b5df9e5445
+KEY3 = fef8d9b5df9e5445
+IV = 19f51ddea0390452
+PLAINTEXT = 9151222d844df797d10433fe8760eabaee9356adb3aa1c774665d0e88146bcbb8ae8dd81fa922fdb
+CIPHERTEXT = 5598eda59f67d4f4dafd2448fd169b8c34a85a7ff4cd3d74131786fb849b164e5981e871be495a6f
+
+COUNT = 5
+KEY1 = 86d0cd04c476f75d
+KEY2 = 86d0cd04c476f75d
+KEY3 = 86d0cd04c476f75d
+IV = 43c841ef07043073
+PLAINTEXT = b348f07078fa158eb4c37e47ee20841df6b216d4c891b96eb3e2cc5abbac11e93be76901cfd6df157097e854e1f9e921
+CIPHERTEXT = 9d6e21395291656700c86f0b0a58caaf0fc1dcc03f02552a8f0f90482a99423015680538f8e77e18ba75c9fd0ffb91d6
+
+COUNT = 6
+KEY1 = 626b2c0129fd15c4
+KEY2 = 626b2c0129fd15c4
+KEY3 = 626b2c0129fd15c4
+IV = 9ec2ccfd67652a4f
+PLAINTEXT = 69d7c0dbb88520bf43848891e785f826b8a23306ae41126f9b3c1d9d603f5c4961716b703656cd55a4f482c9cb34dcaaa08c8eaa9edb0651
+CIPHERTEXT = fb94ac307bfbef4f278797e1981b381abc5d337adcf3ba3b3b5c95d8fc3ab556dcdd8893355a1890b84b6e4caf9f8f916e5b2f4169288656
+
+COUNT = 7
+KEY1 = 3840fd7f49b01643
+KEY2 = 3840fd7f49b01643
+KEY3 = 3840fd7f49b01643
+IV = 31f39915cbd90d8e
+PLAINTEXT = 9c80592cc9213f669d666a30999c8acf08b457648f8ccb5904718efe83e1b274bf95a0cb97bf5267ea90c3a8abfda4ca38c35109e7a80309e20447763681afe7
+CIPHERTEXT = fb395c5e3ca8b3cb9039971599ca3d24bda26e93e4a9011af6371a7687de0a19fcb75ca6007043f131433387e7d394d1ed25d1b225319b5e5ae03d73b0cc226e
+
+COUNT = 8
+KEY1 = 10027349801a2c4f
+KEY2 = 10027349801a2c4f
+KEY3 = 10027349801a2c4f
+IV = 35db06602ee649ad
+PLAINTEXT = b06817f44d62f53b1864060218a9a9fac90b675b142184297daad4b69f2ed068d5e2e9bc3bcd1d8bd529c78c0d0cbb1b63479238608e43d3cbdaf447200c0f243ed3973160cfbdb1
+CIPHERTEXT = 30463360de9a823aebb1771e3dbe4f0d5fea5769ed81cb5dd726cefad7ec6bf43c49b24a3063d7018d2b3955a8669f086fd6927b830055d2853632e724402646b86f818d8012e14d
+
+COUNT = 9
+KEY1 = 8ca1e580a1d62945
+KEY2 = 8ca1e580a1d62945
+KEY3 = 8ca1e580a1d62945
+IV = ce264522ce323f1c
+PLAINTEXT = da5f04258742e0473fff34e5d336f5b27d49cb45c4b315129f9b2d99dda8edddc4187218f90c1fada026e55ec356c2bff8f188ea3e04e07529e78ea13f15f7d4a13ae04aee8e78076462991048f84bda
+CIPHERTEXT = 80a623eb8bee1ef83567797dfa8833f7669891670ce52ab35c9bb9a674d4513280f28cafcad4cc94831f2ea89e473bac43b7202d653bbe0cc0b8034ead85dde1966e276a3c6cbce98fefaa54b6ad59fc
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 3161b58375760de9
+KEY2 = 3161b58375760de9
+KEY3 = 3161b58375760de9
+IV = 6a8d2e9b145ba3e9
+CIPHERTEXT = 927105e5dfd33c64
+PLAINTEXT = 23fc4ef6b4ecdc42
+
+COUNT = 1
+KEY1 = 5e4ae0b5611f0889
+KEY2 = 5e4ae0b5611f0889
+KEY3 = 5e4ae0b5611f0889
+IV = 37ff908e335acc32
+CIPHERTEXT = e1b73565cce51e97b201a5b190205a99
+PLAINTEXT = 06eb44d97dda6066ec389e438cf25916
+
+COUNT = 2
+KEY1 = 9bbc6b5437588679
+KEY2 = 9bbc6b5437588679
+KEY3 = 9bbc6b5437588679
+IV = 8bc4ba675d776941
+CIPHERTEXT = 0d8c0ebd7c858d4037d173686780e4e1e1abe1b05faab30c
+PLAINTEXT = 2f1fa3e716f6adfa3b1ddc9eb4c6002beb468af60185a10d
+
+COUNT = 3
+KEY1 = fd19ba67617658b3
+KEY2 = fd19ba67617658b3
+KEY3 = fd19ba67617658b3
+IV = 6cd67b0e3ea385de
+CIPHERTEXT = bfe050babbade5467989504bd76afa9f21fb365cd84d2236b2c9ce0be16aa1bc
+PLAINTEXT = beabd36024cfac10b671c6e2d517159b0814f1f56a41f8f65f28c1fc879d01c0
+
+COUNT = 4
+KEY1 = 37452f9e766b4cd9
+KEY2 = 37452f9e766b4cd9
+KEY3 = 37452f9e766b4cd9
+IV = 24fe8bc4eea5ce95
+CIPHERTEXT = 94f04305bc1251c01f6cfdd2ed3d161a92128c208b44ddb478c2d1d2731067c9a1900f9c060119a9
+PLAINTEXT = 5017dbeba0063115aa5a29b8d43ffca04fe8a07844d18672176bb25560b0bc60c8ff69aac3fed50b
+
+COUNT = 5
+KEY1 = d301383b5de926b0
+KEY2 = d301383b5de926b0
+KEY3 = d301383b5de926b0
+IV = 393482479bac8158
+CIPHERTEXT = e5da7bcb3225479b65e826c7c072fa3bd811a4e13c2bca59578ad7f098f843d0d00c1474db43a55f8252a60ea0bb642b
+PLAINTEXT = 51ab205a2653bfbd0c5591cb070a864ea99e8c650aac1be8df2f91bcb43aee4ca1898c6ac3765de8e8331b5b61e3ef17
+
+COUNT = 6
+KEY1 = 51673de90b1abad3
+KEY2 = 51673de90b1abad3
+KEY3 = 51673de90b1abad3
+IV = 673f4092c8122214
+CIPHERTEXT = 885cca2fa4497ee45210ef7a1679da8ca8a7e2ffed3f274325cd1bd56663910949831706e33e8612f79ed71069423846f6485f6423701fc2
+PLAINTEXT = 078260440943d76f6de4ab597ac5887115591417cb019b5d40ef871b71a865e690f4fe7bdbfa2342a145c750bae90cb37a1dcd36bc25e021
+
+COUNT = 7
+KEY1 = 31137acd265e525b
+KEY2 = 31137acd265e525b
+KEY3 = 31137acd265e525b
+IV = 866797ff91677121
+CIPHERTEXT = 59b0b304afc76930857ae82b706373f8fb2b1d33e2f3979781f246c48b5f983fff9199bb5865c19705e010a718155e374249ec4dff563e2f0e4d2d25245f3880
+PLAINTEXT = 5923ca71d48db2fa5b165df6dac2917a265355e43709ca601cc4ce78b3edf2e6357ecdc69ac22c45bea30e2e0ff394fae76f8ce3ab2926f66461827905b5808e
+
+COUNT = 8
+KEY1 = 91ba9dfe313e19b5
+KEY2 = 91ba9dfe313e19b5
+KEY3 = 91ba9dfe313e19b5
+IV = cbc8e3cd102f4cf5
+CIPHERTEXT = 27f1bfffb5e25d18d0a031ac20c6c23804c407e2d61dcf5270d461c3ef205f5ab767f0b6b76a1dc8eebe7ce52d7b0c191f3861bf8836014ecadb0d76ad62246c5fd28482ba2c72fa
+PLAINTEXT = 4a176954b1013511acc94d0c091bf81d6983df7ae6d543ea4f59419c58a52d19277ef1c77101629f942514a4505714504942d6e122dafe177c740abae2f6b612909b53cb9adf5be3
+
+COUNT = 9
+KEY1 = 9bc40be57fabe3f7
+KEY2 = 9bc40be57fabe3f7
+KEY3 = 9bc40be57fabe3f7
+IV = ce6703a648f4a61e
+CIPHERTEXT = 0d6a32f25d496b0a09a0914f55b5a848f28587fb2159241c1c9a127eb1e648cd3063247f8754b008acea234d3b5cab5c613a695af8febdbcf3e4c5bbfdfb20015d7cf8a91d5b3f666b1d38023fe93a0b
+PLAINTEXT = ec870b8749859e8db207eef3f57b43472e2f6699d958a045acca99a80b89f287df207d7c4f9f254429b1e68102ce82aa6d608109d556a4d98b7c09f41f54ed5f1369b498eab4f86e15dc826a66f0467a
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB64MMT2.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB64MMT2.rsp new file mode 100644 index 00000000..b9206150 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB64MMT2.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFB64
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:42:43 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 195ba486c7bf6b9e
+KEY2 = 2943a71cc4e0ba54
+KEY3 = 195ba486c7bf6b9e
+IV = 695643ceea53105b
+PLAINTEXT = 2f12c67f03ddce74
+CIPHERTEXT = b09d950308d69ffd
+
+COUNT = 1
+KEY1 = fb7a9b894c04bc29
+KEY2 = e96154a2a8755bfd
+KEY3 = fb7a9b894c04bc29
+IV = 2d50d7a19766d426
+PLAINTEXT = 425c18b6992d6ca73c1f41677f0b9d34
+CIPHERTEXT = 9561aa74545927336e9ed5ac8451cd5c
+
+COUNT = 2
+KEY1 = ae73e5cb152c2ad6
+KEY2 = df92b6f2fda19b64
+KEY3 = ae73e5cb152c2ad6
+IV = 6d0d66db69ab176c
+PLAINTEXT = 1f42c7204c4d2aa5ec1fe3306d7a78bb2f4eeccee88b40f5
+CIPHERTEXT = eb9ca4e10c8188b016c75c6a5a5bf618cf8953d5acfd7f2c
+
+COUNT = 3
+KEY1 = e032cb044ada737c
+KEY2 = df04c1b358193776
+KEY3 = e032cb044ada737c
+IV = c1d38acf302bd342
+PLAINTEXT = 44543f1ae7d6b6fab5607bc356c999a0583a23aa7f34260c5cd5dc642157226d
+CIPHERTEXT = 7da0e2b0d9082392b82457de5d5e490cd89c51647b0ec23fb3f73a410924af52
+
+COUNT = 4
+KEY1 = 797583c8519751ef
+KEY2 = 4a5e3d7f8aa29837
+KEY3 = 797583c8519751ef
+IV = e641b6b7c7d1af10
+PLAINTEXT = b1b64acfee39514ff5d5aee9556a10a0d53317a5b9f8ba254085e666715c671217a70cd30b70061f
+CIPHERTEXT = bb775b78d68ce24baae01365da6cef78c8a56c095ac1624640f975e0e4cdd61050c6314dfd447ef3
+
+COUNT = 5
+KEY1 = 6d94c26b4cd0bfb5
+KEY2 = f894daab868a6416
+KEY3 = 6d94c26b4cd0bfb5
+IV = f7a1a294110c761b
+PLAINTEXT = b7cec366675b87169f137b24fab8ab7c7dc9e6be1ef9674c82e0b5a10befc7e412a96cbc7110ea67455ee506f2f6833b
+CIPHERTEXT = 22889fb679e6f31718912861a42742606b727125b3465e7566a1b77286a491be15a919496522973b6c57d6c9c82d09b3
+
+COUNT = 6
+KEY1 = 6716c8100ec402da
+KEY2 = d34f6b1023134364
+KEY3 = 6716c8100ec402da
+IV = b1966efef54feeba
+PLAINTEXT = ace1440439aec411a8defe44b2139ee39861fa3f6f5200dfbb2e6dda4079418515bc6f4efa89d8e8ebb97aa9f6f8e5304984ef4a8f31a917
+CIPHERTEXT = 1cf39d84418ff35d09aef38ffe2a10c36f3fe429b3ba70b5741f3480c91ac0a05000587df0dab6b98c1c81d8e34c1c90b623082c337fb37e
+
+COUNT = 7
+KEY1 = d5d9312f98e06ebf
+KEY2 = 6bc71383dcc7523e
+KEY3 = d5d9312f98e06ebf
+IV = ed0de3eba5b3c7ff
+PLAINTEXT = ea604ec12187b923503824a4cc0a219b602974ca919378362688bf37e83bf9cba7ce172f7d7db0b1571aa3c0b0b9fe45a0ac1e3616b21867616b58a4f60f88fe
+CIPHERTEXT = 52ea4fc886680c1212af2572edfe663b612aa129f4cb06c232e85171bbecae5c60c0bb325547f8a2adcaa7cb530a9f8ab001494c70b472780ce49566204fcc6d
+
+COUNT = 8
+KEY1 = 7ceae06df4910ec7
+KEY2 = 04ba3ef27ca2d973
+KEY3 = 7ceae06df4910ec7
+IV = 5f6e6be266948c0e
+PLAINTEXT = 6b4b76fdfc351d1f98a15a288312b3539a3d1c988c6bc92b46204146affab42896db8e5ee84b4c4127178ec0173e6e5fbb0e11807f8b7be1b710a8674839d81aa5ff2a70fe256cce
+CIPHERTEXT = 4e4655435f1c3593431bb7891eb7b2ba4511923d5dae5298b019ece47ea4ec04e29d2c44249e35c3ea075e1d9a1eefb12dbc292023e318673d79074772fd4fed0900553f623518d5
+
+COUNT = 9
+KEY1 = d934a1511a1c2557
+KEY2 = 2fb3253e52e6e045
+KEY3 = d934a1511a1c2557
+IV = 477f5e1dfe6d96ab
+PLAINTEXT = 39b5ff5469de90bb231cce559c20bbea089c4a740cef71dd75047f092a77b0175ffafee40cf83bd19e785dc7ec4319786c49b3e7a741142aea901d6e3f6c3b3d9b413bfc595360b8e7a6b322c01b9bd7
+CIPHERTEXT = 54f9fbd89233b76b20c18a3808945ac1f902c9378303cf5c2374ec6a2bae22a265abf2504cb8130a2125c0bcce3ceb27884b0aa82c6b3a770fb208d4cbdecf0fcfb3e18e50721310d004471daf520240
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 68385b2a5183a8f7
+KEY2 = a26783abb04ce0a4
+KEY3 = 68385b2a5183a8f7
+IV = 5176b0357cd52e25
+CIPHERTEXT = 14901fda22d35585
+PLAINTEXT = b264255f96304fc6
+
+COUNT = 1
+KEY1 = 080440aef1c1fdef
+KEY2 = 7ccdfeb5980bcbf8
+KEY3 = 080440aef1c1fdef
+IV = 1dce10f82ef0ebe6
+CIPHERTEXT = f026a14f98b798a715e752e077d96fe7
+PLAINTEXT = 0dcbfe9155e43df0868ced69766fa6da
+
+COUNT = 2
+KEY1 = d66149f201257a26
+KEY2 = d9c785e3707c25fd
+KEY3 = d66149f201257a26
+IV = 64a219ce5304a653
+CIPHERTEXT = 01200b63435c983f660c7cf75249fc0b9735483d0239aef2
+PLAINTEXT = cae199ac311e48d0fece666bd165b108406913a44d633755
+
+COUNT = 3
+KEY1 = bc9162b06e646473
+KEY2 = fe64fb0dc4867637
+KEY3 = bc9162b06e646473
+IV = 88c6f94e75bc22e9
+CIPHERTEXT = 73175e60858859cf60bf9c8bda89d2680406b0185d07caa945bbac4fb48b2664
+PLAINTEXT = 1a634ab19a6cd0ac7abd61f9d44b0ff3f3080c94f1c7edb6476503f8e84c78de
+
+COUNT = 4
+KEY1 = 1634203b493889f2
+KEY2 = 62b67a689ee975fd
+KEY3 = 1634203b493889f2
+IV = 982cca8e5bd921b3
+CIPHERTEXT = c71e40d7c7ca7ba813f31eab8a4a21c31663dcbfdf17d5d9bf27d783f72144642088ab9d642f9d50
+PLAINTEXT = 31c65e8e020de65730059f13a77caa6945d9d21eacd01f3113cca240bed70672075dc2c9985751db
+
+COUNT = 5
+KEY1 = 6d5404e6d30d57b3
+KEY2 = c88676dcfbda02e5
+KEY3 = 6d5404e6d30d57b3
+IV = d5ba4e773c5b29f1
+CIPHERTEXT = 83dae3878e1367b22b1fd5f01f823577d1d1562da4b9c0c98342ea35be55ad37147df95111eac7e69abb4e9dc67d7a0b
+PLAINTEXT = 98b317071a6ba65f6ce2475a02078faa49a04c2d5c8b261c8855259460b47764dc1b53f07564fafa6deddb03612baf6f
+
+COUNT = 6
+KEY1 = 0bbc9dc8d91c5d2f
+KEY2 = 02c704dc0725e975
+KEY3 = 0bbc9dc8d91c5d2f
+IV = 20979b8b3577e339
+CIPHERTEXT = 1c222f1bcd4562f1433db394d64a6fed5d4031015ae5b172719bdd491f3f2bf2a8502d8851546654d0775c900176ee70dabbe863a1cad596
+PLAINTEXT = d43cc5effd5231baefa15458c9ffa47b7e446218e10a4659386bd0923284a1f170005657ca7c87b6dc91a37be29aba5aff01812f4f2d9286
+
+COUNT = 7
+KEY1 = 2acdab2c074f2315
+KEY2 = c1134f380d891a7c
+KEY3 = 2acdab2c074f2315
+IV = 7c240546899dfb81
+CIPHERTEXT = fbe7bce133ece01bd35ce168434e8935c54951eeaaac307bc64db10b21614810ef9ce68ac399cb89ff7b9ced8fd5b571d7c7c0e8e96a86c6fc6e06e11a02c479
+PLAINTEXT = 983fa818c522b82de2f15c451216c5eb623268b494512aba9a28bf1d773191cf45de6ae11c92702fbccc5f88011d36ab9418fbf635db2e5dbeea8410589641d5
+
+COUNT = 8
+KEY1 = f2d53192b949c44a
+KEY2 = 13d31c4a8f89b68f
+KEY3 = f2d53192b949c44a
+IV = 3aa09ebff9a60371
+CIPHERTEXT = e4efd5801a6f340cc0e0fba75ef81a52806695d367b5d8b5ff744c901194278aba11881e1cd5c31c53d9f9f1aa8ded290f7a1232c525e9635937893cd7dc7ff03d69d92030417eea
+PLAINTEXT = 343e73ddbe970b17068b554a591e1e80bc340b468f9250bab2081d16c81850930bac3ddd98ddc50ecda8c0d7d26297c416971f7ac7d8767032dbbc3b1a695c2f5718bbc901608bce
+
+COUNT = 9
+KEY1 = 2fd00ee0ecb649ab
+KEY2 = d02fdaf207a75be9
+KEY3 = 2fd00ee0ecb649ab
+IV = 4480a2ea784f318b
+CIPHERTEXT = a702b05589f73f9f0a992d9cfe3a12d4de404d7c1b28f69bb2cb146b01e01002d8c36a31d475abade8e39b6c3d6bb3523c9cd50de93d3b3e7291aed907daf8ceed1c9be9ce23c3f654c77a2af66f1bbe
+PLAINTEXT = e2c4e2bf2da9256b50bd6983e2a901f424f5d22a632c947664d16e3c876eb88df4118bf2d7059c79560c9e793b24f4b12a01946c167cd16b9c3ab2462997ab229a20b7a60c5b897bae7eaed319e4af56
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB64MMT3.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB64MMT3.rsp new file mode 100644 index 00000000..a4df2c80 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB64MMT3.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFB64
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:42:17 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = cb37f85b32dfad76
+KEY2 = 8643cddae5a470d6
+KEY3 = f2cd94e3fbe508a4
+IV = 3def8dc845ee8345
+PLAINTEXT = ee04103555f9f28b
+CIPHERTEXT = 96ef9c65c761f30b
+
+COUNT = 1
+KEY1 = 19b55e5b26769d51
+KEY2 = 6143bc61f79d9464
+KEY3 = 52795e9d3dbad0d3
+IV = 97bfae1bd78ce0f9
+PLAINTEXT = 5f0fc5c6085d3f653ec52980a4af5b5b
+CIPHERTEXT = 744b45a196330899df78e8e778049f1d
+
+COUNT = 2
+KEY1 = 9e32daa42679a898
+KEY2 = c2627a2f4ac49758
+KEY3 = 85cb2a68c8c81920
+IV = cc20aa6c34214217
+PLAINTEXT = 6b7acd01c975d53f544b35b76103a7d00c63ad9091bd1a10
+CIPHERTEXT = 39be9a6d7702b3477bade6e1664d3d922ccb124204eff794
+
+COUNT = 3
+KEY1 = 2f9437c10ed61a67
+KEY2 = e9131507f8c1bc37
+KEY3 = 436898cece20a26b
+IV = 928cfa488780e47b
+PLAINTEXT = c3798b2a7de3c552c21c40b177c6249b2f78bc049f648544533785179f41dee8
+CIPHERTEXT = 3cc150ff3c0437d3a25bb0d5ee8ed6690f165a57c0a6342d4017342f01e4553e
+
+COUNT = 4
+KEY1 = a2a746158fab29e0
+KEY2 = 894676611f9d73ad
+KEY3 = 0b3832675710b015
+IV = 80ee89f42d88119b
+PLAINTEXT = 1c25224f090d9e80c5279fcb390b711f28c109666227e00a3a9202b839b8616414ce708ddcededc2
+CIPHERTEXT = 13a95d0c40c5a8410945d2b165141f9eda40703a2154ac33133052d6b9a7585b9da6557163137c79
+
+COUNT = 5
+KEY1 = ead6fef829ec94ec
+KEY2 = 58c2159ef8ad37d9
+KEY3 = a40b89ea61a1b5ec
+IV = 18e7a2accce2afc6
+PLAINTEXT = e03aab865ecd0a6319e5223b746f0076872835f00cfbd9f27c8acf62750b4b365f55922e4f3a01c32b18515b10ab19be
+CIPHERTEXT = 45e4dde2cb0f9631266c72f8a6350e2b20d062a4f09a3d90c3b892f432dcbe366a22a83db848896620cf1b846437ce87
+
+COUNT = 6
+KEY1 = 4380e0d66b432a92
+KEY2 = a791a89b072ce3ec
+KEY3 = 25b0520ea18c1307
+IV = b3c6746983764789
+PLAINTEXT = c44de28896db6e811177b59c33f6c8f3bfe09fed90730f612eebf6fe9f01b9ea80b2f0a954415f411b7f299b274a402d2b5420d69526bd09
+CIPHERTEXT = 7531d310d4666f9391cd948203cc968e1ef31e9f928de448a353ebb6b155733843257ac1159d679db102b3d3e2c83031935c7618a9744a62
+
+COUNT = 7
+KEY1 = 201910b3a10d1064
+KEY2 = 0e833420cb2fd692
+KEY3 = 9d4a1cc761fe4f86
+IV = cea8bb493ac86d47
+PLAINTEXT = cfbdd12bce827d792bd19a40b7cc16cb622919aa492c304bf0d2abcfcb50441604bb011c78095b8903389f83fdcd95c7048060f8fc36a536552feff38c815202
+CIPHERTEXT = b019eb527e9475e0a74b1d6fda8d71617dd7fe2d2d643fb421bc3508892305734c019e762780ee9c176cb39a33e40afa91b5877432fc101d9370b082cb2e0b23
+
+COUNT = 8
+KEY1 = ce86e07c1c8a4a13
+KEY2 = 8997a8310b194c01
+KEY3 = e998797a3d8046b9
+IV = 218146b7d41c97a1
+PLAINTEXT = f89bc10c236b9dd6f1bac27431ed8e1d4d96dd8d1ff67eab05c1e46a38201eed59fc0aee4d7ac5604bc265533305eb1922be73a74338ae3de850924ad97c508aeb0c8771d5b0b7cc
+CIPHERTEXT = c6c7e394d1cbf0f86644b26393fd282c46f077eb590ea0e6e2efa3af83dbc491bd3aa3016c7895f668b5e9be77f3a80360ba58a0d71d19df062559a22d7e6c4ed78ddc246d631d5a
+
+COUNT = 9
+KEY1 = 437cfb681a047015
+KEY2 = 2998b9739efd6eef
+KEY3 = bcf108d3a749f279
+IV = 1f20f134b600a849
+PLAINTEXT = ebb61c47a714907e81430b39128b8518c8b27a3e8814a50598f60cf0bd173ce2a088d68d76be4a2ce0e6e375107804c92e0fb1affa785080b208b16436334d7c6a5bcb61dce6c9cea793d899970ec8e8
+CIPHERTEXT = a6e6c86d90b3bf12abbe625a9b52849ad126733ea02a8c1be0a3fe9a67d00964e45920d5673f8d1254f9911b762d440c56341b1f45c7c355427daf428dbb919f4b0f654fea9f72059b070e77b20a9d69
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 97577910c8ce195d
+KEY2 = dcf491383deca162
+KEY3 = 1cd0022c68b62975
+IV = e49ea990b6e1fa90
+CIPHERTEXT = e183f8f98816ed59
+PLAINTEXT = 40e9d0a138f2819c
+
+COUNT = 1
+KEY1 = e9a7f2ad10d99b45
+KEY2 = d398bc5efb9d83d5
+KEY3 = b0c7bf1585468343
+IV = 9d5d84460d81ff69
+CIPHERTEXT = 6a7acdfbefc794e0da804097bb018b87
+PLAINTEXT = 160f5088d26edf8a0a8036f40eaa4c17
+
+COUNT = 2
+KEY1 = 855286fe859d01c8
+KEY2 = 40756798e3915449
+KEY3 = c175e3aef846453b
+IV = 239949f3f65d85e7
+CIPHERTEXT = 9f51be5c82ffed65e4a2e804980e473e2309c5b528f54f72
+PLAINTEXT = 5960f0a1b97fbcd66bec52223ca48759594500f1fae2f911
+
+COUNT = 3
+KEY1 = 8337919402401652
+KEY2 = 40451680519bc1c1
+KEY3 = cdfdda6dda1ce352
+IV = 33d665c431386a70
+CIPHERTEXT = 39c081717a7e07df7020d1afb766f2b5a5db1505d0501c05d08806c746351696
+PLAINTEXT = 929f5b2057a8cabe1adf2318193e60205dd0afabc6e60342f324685e91eccc77
+
+COUNT = 4
+KEY1 = 6198ceb6d3ba49fe
+KEY2 = a71025a1fbb0b0f2
+KEY3 = 86cdd9d089aebace
+IV = 4f4f39aee8dacd8b
+CIPHERTEXT = c0894442687fd2851559e1bf71689063b550fee21bb15f7295074f0ebfcf65be12ec0c185b488e07
+PLAINTEXT = 4ea0bd028dfae4886ad3c47058025a05d9935d12810631444dc5e39015a0d52fc8941b0bb52d0fd3
+
+COUNT = 5
+KEY1 = 07a4e5456e072c61
+KEY2 = 6826f891079dda4c
+KEY3 = 0e57d05813629d61
+IV = 9689bc684ae86c32
+CIPHERTEXT = f5ee26021650ef218fa4f44aa5ebc5227d86d3a530f5240d21e54bf68f6a98bf66898c335bf98f69372ae5e87387df0f
+PLAINTEXT = 1a106058cbf510bad999cbbb340b6d3a5359809f8012e892b38411a4162621bc3171c4c36af6f43c5a5596a9227bc1a6
+
+COUNT = 6
+KEY1 = 94ec51d0804a1531
+KEY2 = 685e1c6b9babc708
+KEY3 = 0289406e511961da
+IV = 4ec42ebd1e7dc5f2
+CIPHERTEXT = fd09471aeebce55fff28fe3b3c3e933462d9e4204193ef9564dd33a2f44fb9bcda3c55fb248a2a87aac06c4df1616af64f79cb19507517af
+PLAINTEXT = 2068523894fc752309be35f9f56b09f5ca62f5c46e42d5ddf487f5dfa2a86cfdae58dd60775c496414e601e852941953984687789bcb6269
+
+COUNT = 7
+KEY1 = 29a826d9ae1afe08
+KEY2 = 61857ae3735efd67
+KEY3 = 86838c6815c25b97
+IV = 5adc11f4b95144e7
+CIPHERTEXT = 48fceedcf4744ab8cde25ab9742cfb98ce774d4912ee63da20be3f9d1565fd891c2d4ede87f328081e2dbcc6b62ca98b069e6f25b756269cba50705ddeefac97
+PLAINTEXT = cebc2ccedb29b11b88cbf9339dd03745085adcb978d2e6a7bbc5f6768a3eb2c2405d25666648079f2f084694cc9f2bd6c4556075df0259a871f9908c699d812b
+
+COUNT = 8
+KEY1 = 32f834cb67ea0b92
+KEY2 = 0b67915186ef4a6d
+KEY3 = 1cecf894ec1313ec
+IV = e2ce3e807514acb7
+CIPHERTEXT = 735629aaead542e3f7c17d6ceb7dc850320f1e6accc6a1270220ea8d51ea9d7caba94034df394d1855b485b2fe9688f68b1ea3cbddf7e9c7bd17853acee84e6fbfa59c2ec5075a85
+PLAINTEXT = 5b72273039c90c74ebf364ab00df3673af6b3c28de5699c4359e37a1f32fcd5694de7ab8db15d9306fafc32f74136dc60e7efd37d757c6faf352e74cedc4f23bdae33a40ebf70b68
+
+COUNT = 9
+KEY1 = a4c2379e8916737c
+KEY2 = 16ba45bcc258d50e
+KEY3 = ab375d40766758e5
+IV = 724c9bc6efaa49ae
+CIPHERTEXT = 77b292eae52157a2eac7820c2cc57c7df843a27328bf45834aa4f592fe1fff48a02e34c227faec874d664bbef1e8c39eb998da25fb862e0dde51b6fcbcf54afbcbe56629fd5a2bb024eaa6f95a5c551c
+PLAINTEXT = 3686f3be0c34287c15aceb602cd17f60c2590df95c7171564858719053f11b42618eca7bfa42c077ee555a21b66c54a5d37139d62164a81187a0d69be250e7a30a012218c5e0fe33bcbdd7cb93118694
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB8MMT1.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB8MMT1.rsp new file mode 100644 index 00000000..f358649e --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB8MMT1.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFB8
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:41:51 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = e5ad25c864e5917a
+KEY2 = e5ad25c864e5917a
+KEY3 = e5ad25c864e5917a
+IV = 2d9c164222c9b24c
+PLAINTEXT = c5
+CIPHERTEXT = 35
+
+COUNT = 1
+KEY1 = 6d70fb4a7aba01cb
+KEY2 = 6d70fb4a7aba01cb
+KEY3 = 6d70fb4a7aba01cb
+IV = 2cb4642a45dadb4c
+PLAINTEXT = 480d
+CIPHERTEXT = faad
+
+COUNT = 2
+KEY1 = f175d52a388ff4ba
+KEY2 = f175d52a388ff4ba
+KEY3 = f175d52a388ff4ba
+IV = ff2dd14dcedeaa43
+PLAINTEXT = 8bd71b
+CIPHERTEXT = dd103f
+
+COUNT = 3
+KEY1 = 91700bc467c2dc3d
+KEY2 = 91700bc467c2dc3d
+KEY3 = 91700bc467c2dc3d
+IV = cb0a9b710203131e
+PLAINTEXT = ec412737
+CIPHERTEXT = 7356bc8d
+
+COUNT = 4
+KEY1 = 94ef4aea1fae32f8
+KEY2 = 94ef4aea1fae32f8
+KEY3 = 94ef4aea1fae32f8
+IV = 5ea1af340c009f84
+PLAINTEXT = e942652463
+CIPHERTEXT = 316242d44f
+
+COUNT = 5
+KEY1 = 6d4a32318352833e
+KEY2 = 6d4a32318352833e
+KEY3 = 6d4a32318352833e
+IV = f9d6944d795d2b40
+PLAINTEXT = bcf109cccd9c
+CIPHERTEXT = 3714ddf8ee40
+
+COUNT = 6
+KEY1 = 08fbb3cbf49402ba
+KEY2 = 08fbb3cbf49402ba
+KEY3 = 08fbb3cbf49402ba
+IV = b56b74c9aadb7af8
+PLAINTEXT = 20fa281abe982b
+CIPHERTEXT = cad68c8dd1fac4
+
+COUNT = 7
+KEY1 = daea0837c8b04907
+KEY2 = daea0837c8b04907
+KEY3 = daea0837c8b04907
+IV = c1342425a4d79dd9
+PLAINTEXT = 58883c83f67a4af5
+CIPHERTEXT = cde899a6497a3df7
+
+COUNT = 8
+KEY1 = 31d9a88ad06dc2f1
+KEY2 = 31d9a88ad06dc2f1
+KEY3 = 31d9a88ad06dc2f1
+IV = 0d0b8bd02564dd03
+PLAINTEXT = 0ade7894f8587f641a
+CIPHERTEXT = cb1347ba2ab6138bfc
+
+COUNT = 9
+KEY1 = cbe6cb6bce5173fb
+KEY2 = cbe6cb6bce5173fb
+KEY3 = cbe6cb6bce5173fb
+IV = 179f4f591aab2df7
+PLAINTEXT = 450ca7f4e01057ec201f
+CIPHERTEXT = 4cd41846cf2ff0946b88
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 38072562457c295e
+KEY2 = 38072562457c295e
+KEY3 = 38072562457c295e
+IV = e5da7bcb3225479b
+CIPHERTEXT = c0
+PLAINTEXT = 82
+
+COUNT = 1
+KEY1 = 15012f80e3e6d3ce
+KEY2 = 15012f80e3e6d3ce
+KEY3 = 15012f80e3e6d3ce
+IV = 6190fc0182007389
+CIPHERTEXT = da5d
+PLAINTEXT = 0761
+
+COUNT = 2
+KEY1 = 1661850bdab00285
+KEY2 = 1661850bdab00285
+KEY3 = 1661850bdab00285
+IV = 06758e41a1c67540
+CIPHERTEXT = d6e5b2
+PLAINTEXT = d6b048
+
+COUNT = 3
+KEY1 = 57b5df3e7ae5bf8c
+KEY2 = 57b5df3e7ae5bf8c
+KEY3 = 57b5df3e7ae5bf8c
+IV = fb446ae8ce6d4f5c
+CIPHERTEXT = 7eb1be98
+PLAINTEXT = 26855766
+
+COUNT = 4
+KEY1 = 02341a6b29d549f7
+KEY2 = 02341a6b29d549f7
+KEY3 = 02341a6b29d549f7
+IV = 7ee8ee3e93771396
+CIPHERTEXT = ad3fec2b4b
+PLAINTEXT = a7b66d532f
+
+COUNT = 5
+KEY1 = 5ebf98d0cb23c48a
+KEY2 = 5ebf98d0cb23c48a
+KEY3 = 5ebf98d0cb23c48a
+IV = d9f0f57ec72e62fe
+CIPHERTEXT = 13e9256538b7
+PLAINTEXT = 021cb151948e
+
+COUNT = 6
+KEY1 = 25792368464964da
+KEY2 = 25792368464964da
+KEY3 = 25792368464964da
+IV = ae1636bda0ff7937
+CIPHERTEXT = 1c13bbc981ddae
+PLAINTEXT = 85b27191c0ab83
+
+COUNT = 7
+KEY1 = aeb3a82f16df31b3
+KEY2 = aeb3a82f16df31b3
+KEY3 = aeb3a82f16df31b3
+IV = 7c61d67b2a34072d
+CIPHERTEXT = 423a43ca02e0eb4b
+PLAINTEXT = 0ab94d8209f8161a
+
+COUNT = 8
+KEY1 = 1345df32bcc23401
+KEY2 = 1345df32bcc23401
+KEY3 = 1345df32bcc23401
+IV = ec14c36eb9a65fe5
+CIPHERTEXT = c598280f84da2edfb0
+PLAINTEXT = 19dc2e2d1488c86c9d
+
+COUNT = 9
+KEY1 = 5dab89d0bf575431
+KEY2 = 5dab89d0bf575431
+KEY3 = 5dab89d0bf575431
+IV = c0b5a712faf84d16
+CIPHERTEXT = bf6b5ba5ab5dac80f147
+PLAINTEXT = bc35e2dddc1cb03d392e
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB8MMT2.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB8MMT2.rsp new file mode 100644 index 00000000..14f90316 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB8MMT2.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFB8
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:41:25 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 10974a0838972925
+KEY2 = c14592918ca26e52
+KEY3 = 10974a0838972925
+IV = 981a620eae5772d0
+PLAINTEXT = 29
+CIPHERTEXT = 63
+
+COUNT = 1
+KEY1 = 1c6e759de097e0f1
+KEY2 = 45ecc4435e38547f
+KEY3 = 1c6e759de097e0f1
+IV = 13d6c4c6132435a5
+PLAINTEXT = 1e07
+CIPHERTEXT = cc92
+
+COUNT = 2
+KEY1 = 4951c246dc9e024a
+KEY2 = 9d25a745a7b0314c
+KEY3 = 4951c246dc9e024a
+IV = 159f942b6e3a0837
+PLAINTEXT = 4d5bff
+CIPHERTEXT = 688c16
+
+COUNT = 3
+KEY1 = 731f3edcbfcdae54
+KEY2 = d9b3234926975752
+KEY3 = 731f3edcbfcdae54
+IV = cb959f7c6ac4397e
+PLAINTEXT = a8fad1d9
+CIPHERTEXT = f7faa536
+
+COUNT = 4
+KEY1 = 513bdffb0191e01a
+KEY2 = 323bf24fe0ad7094
+KEY3 = 513bdffb0191e01a
+IV = 3f71be1d5df4d531
+PLAINTEXT = dd0d936f83
+CIPHERTEXT = 485eaa5745
+
+COUNT = 5
+KEY1 = 04e6e3b5dabc8f68
+KEY2 = 9bc210cbe046c42f
+KEY3 = 04e6e3b5dabc8f68
+IV = d52963045e0b8973
+PLAINTEXT = e327ff39376a
+CIPHERTEXT = c0fead2ada9d
+
+COUNT = 6
+KEY1 = 37a2dca1373e7ab9
+KEY2 = b3793ba780020b3d
+KEY3 = 37a2dca1373e7ab9
+IV = ac22fca72b818b3a
+PLAINTEXT = dd3cea7250c005
+CIPHERTEXT = 86f6ff297bce85
+
+COUNT = 7
+KEY1 = 8ca88031613be5ea
+KEY2 = a20bd5a416cd7364
+KEY3 = 8ca88031613be5ea
+IV = 28f85aaf75451abe
+PLAINTEXT = d9e6679acc0369c9
+CIPHERTEXT = 433ee3de329fc22e
+
+COUNT = 8
+KEY1 = 8c9bfe192a49ae26
+KEY2 = e931fd9eda34a2dc
+KEY3 = 8c9bfe192a49ae26
+IV = 9518ba87755f70fb
+PLAINTEXT = 11e484ca3c0a6570a7
+CIPHERTEXT = 5edf587230f2dbe561
+
+COUNT = 9
+KEY1 = 46fee010313b8646
+KEY2 = 3b94d3ef0d861034
+KEY3 = 46fee010313b8646
+IV = 1e010e7780cc221d
+PLAINTEXT = 67cd38d16b9b8604bd2a
+CIPHERTEXT = 8474ca363c9da2122e06
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 156b57ba51bf9798
+KEY2 = 3d25c82fae107325
+KEY3 = 156b57ba51bf9798
+IV = cb37f85a32dfac76
+CIPHERTEXT = 86
+PLAINTEXT = ec
+
+COUNT = 1
+KEY1 = f2cd94e3fbe508a4
+KEY2 = 3def8cc845ef8345
+KEY3 = f2cd94e3fbe508a4
+IV = ee04103555f9f28b
+CIPHERTEXT = 19b4
+PLAINTEXT = e43b
+
+COUNT = 2
+KEY1 = b56b75c8abda7af8
+KEY2 = 20fb291abf982abf
+KEY3 = b56b75c8abda7af8
+IV = bcd5136924ee0803
+CIPHERTEXT = 1ef393
+PLAINTEXT = ae8dc1
+
+COUNT = 3
+KEY1 = 68d5c7c11a2001f7
+KEY2 = 31f78c432cf208bf
+KEY3 = 68d5c7c11a2001f7
+IV = f6f7bacc7417c98e
+CIPHERTEXT = 78274327
+PLAINTEXT = fec33a03
+
+COUNT = 4
+KEY1 = 19207aceabc2df0b
+KEY2 = c75770706db5a815
+KEY3 = 19207aceabc2df0b
+IV = c04b79f32a84a812
+CIPHERTEXT = de152e1968
+PLAINTEXT = fda13e42d2
+
+COUNT = 5
+KEY1 = 2ac4d970dce60d40
+KEY2 = 5764b9319e4626ea
+KEY3 = 2ac4d970dce60d40
+IV = fa5fa524a5561512
+CIPHERTEXT = 872d732bd709
+PLAINTEXT = 8b6362f6a594
+
+COUNT = 6
+KEY1 = 8fe05e38a1b6f467
+KEY2 = 91e6fbef3bc8f26d
+KEY3 = 8fe05e38a1b6f467
+IV = ffcd3012f896fe73
+CIPHERTEXT = 6ee1be3a82a3c0
+PLAINTEXT = 74235c7fd4a4fc
+
+COUNT = 7
+KEY1 = e5d3e602d55e6d2c
+KEY2 = f2ba2f624c6258c2
+KEY3 = e5d3e602d55e6d2c
+IV = 9f216e3e175b177e
+CIPHERTEXT = 1cd3fc46071b473d
+PLAINTEXT = 5325ad42dbc91668
+
+COUNT = 8
+KEY1 = 26201ce30b10b510
+KEY2 = 0402d61983683780
+KEY3 = 26201ce30b10b510
+IV = fff000182c479e97
+CIPHERTEXT = 457fa3ef53fd72ea68
+PLAINTEXT = 6b08a5d85f067e7c84
+
+COUNT = 9
+KEY1 = bad51a49addca8dc
+KEY2 = 8cb34c014f58d926
+KEY3 = bad51a49addca8dc
+IV = 67fc8ed538db3d24
+CIPHERTEXT = c9d3b57e853ce00afcc7
+PLAINTEXT = 40acb676285c5461633a
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB8MMT3.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB8MMT3.rsp new file mode 100644 index 00000000..b80a4366 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFB8MMT3.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFB8
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:40:59 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 2c01a4cdd03db973
+KEY2 = cbfb2cfe3e8afe45
+KEY3 = 13ad5b0b4561987c
+IV = d984d325e1463f0b
+PLAINTEXT = a6
+CIPHERTEXT = 7c
+
+COUNT = 1
+KEY1 = 0e86265407f71323
+KEY2 = 91c425087f29b36e
+KEY3 = c16768764a43b051
+IV = d7802ba95caac0f4
+PLAINTEXT = c2ad
+CIPHERTEXT = 02fc
+
+COUNT = 2
+KEY1 = 802089737f6449d3
+KEY2 = 92cdb9d3dcf18cdc
+KEY3 = 8c8997987cc70145
+IV = 4d5fecec27357b44
+PLAINTEXT = 086ac2
+CIPHERTEXT = 54c9f5
+
+COUNT = 3
+KEY1 = c18364c1548c3ba1
+KEY2 = 40756d7f452c3780
+KEY3 = c43b7a0ec40701fe
+IV = 5b1ccf7d0dc1ec49
+PLAINTEXT = 120cfb4b
+CIPHERTEXT = 2a97241b
+
+COUNT = 4
+KEY1 = f16758f28a8a5ed0
+KEY2 = b016ea04e9d5bcbf
+KEY3 = 0d0202c7d97a4349
+IV = 183cbbea099c4499
+PLAINTEXT = 3b96d1e931
+CIPHERTEXT = b60ad03c94
+
+COUNT = 5
+KEY1 = 4cfd587c162692e6
+KEY2 = fbf82567ba1ad05d
+KEY3 = 8f042f3ed568948a
+IV = 6589d1cc928f5e8b
+PLAINTEXT = 881b128cb276
+CIPHERTEXT = 47aef3253ab5
+
+COUNT = 6
+KEY1 = 94feb957087a0473
+KEY2 = 9e32d5bfc4dcc761
+KEY3 = b9a40ef8bc1a6ed5
+IV = 6c854f1fda154c62
+PLAINTEXT = 4f40c46277205a
+CIPHERTEXT = 7a915c6e7a6b48
+
+COUNT = 7
+KEY1 = 75aee589fee9f752
+KEY2 = a813d30e97459401
+KEY3 = a7fb1c8a2a316431
+IV = 0e55d73d75ff7e99
+PLAINTEXT = 9d4b1dc660ff4f87
+CIPHERTEXT = c0b46fbd560d6d1d
+
+COUNT = 8
+KEY1 = 3ec1ea0dc1830ead
+KEY2 = 4cb310ef4f799229
+KEY3 = d54a38f1f4580bce
+IV = bf8c3776a4460f14
+PLAINTEXT = 12205ce53f3d535436
+CIPHERTEXT = 2d0552e1678de8eb19
+
+COUNT = 9
+KEY1 = df97ab263768d6f4
+KEY2 = 61866e1c86d57a54
+KEY3 = 1301734c5dc86dae
+IV = d0ddad02a219226d
+PLAINTEXT = d5db2469ae56ecac5164
+CIPHERTEXT = 14a0743bf00ae9ec3c24
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 794332b0c1a1bc67
+KEY2 = 58e0fd3db6ce5edf
+KEY3 = 97b5261c3efdc8fd
+IV = 9e748d62b6b08d89
+CIPHERTEXT = 7c
+PLAINTEXT = f5
+
+COUNT = 1
+KEY1 = da2ac7b94373ae08
+KEY2 = f43e52f17adf299d
+KEY3 = 19a8d65d8ce98552
+IV = a0a985fba6f0e287
+CIPHERTEXT = eed6
+PLAINTEXT = 1f38
+
+COUNT = 2
+KEY1 = c44fd5c2ad51ec6e
+KEY2 = e96b207397944c38
+KEY3 = f43e58d002cdc876
+IV = 866990192fcb8fe8
+CIPHERTEXT = 52ee53
+PLAINTEXT = dbca97
+
+COUNT = 3
+KEY1 = d589fe61ad649468
+KEY2 = 925ea445ba402c5b
+KEY3 = 2c3d7ce6d56ea757
+IV = 191012482294edc9
+CIPHERTEXT = 91827345
+PLAINTEXT = 4f98b5f9
+
+COUNT = 4
+KEY1 = 85c1a26b2f3b0123
+KEY2 = 0b857308e3758f3b
+KEY3 = 04d929913bc4fe76
+IV = 5017091444f1a01d
+CIPHERTEXT = f4d52ab232
+PLAINTEXT = c98f8f2fb0
+
+COUNT = 5
+KEY1 = 3def8cc26b4043e6
+KEY2 = 54016892e0c719cb
+KEY3 = f43d5ebc3e16ea0e
+IV = 282d971ab9154bfc
+CIPHERTEXT = 501bf5621d1c
+PLAINTEXT = 7d20463809f2
+
+COUNT = 6
+KEY1 = b93bdfd9eaa7c8d0
+KEY2 = 8c2cea92e3459104
+KEY3 = 23e6898fa71323ae
+IV = 8938fb2f4a451f20
+CIPHERTEXT = 5a1ec997ab250a
+PLAINTEXT = fb86bebacdc49b
+
+COUNT = 7
+KEY1 = eac87ce6cda89e86
+KEY2 = 3be9f113abdc8640
+KEY3 = 7f1fda10982ce683
+IV = aaa0d1339b69da28
+CIPHERTEXT = 5cf220f5c41db440
+PLAINTEXT = 15b61b819a87e043
+
+COUNT = 8
+KEY1 = 6e801c048608572c
+KEY2 = f7377954c88670f1
+KEY3 = 43384f97c719aebc
+IV = 0cd3acc30b3a8c28
+CIPHERTEXT = 82ffaca76028259d96
+PLAINTEXT = 94132101971de7e090
+
+COUNT = 9
+KEY1 = 649d3267dc752c34
+KEY2 = 1f26d0b6cbf2402f
+KEY3 = cbe6cb6bce5173fb
+IV = 179f4f591aab2df7
+CIPHERTEXT = 450ca7f4e01057ec201f
+PLAINTEXT = 61b72b097b00a4824495
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP1MMT1.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP1MMT1.rsp new file mode 100644 index 00000000..0a7044ce --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP1MMT1.rsp @@ -0,0 +1,209 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFBP1
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:44:33 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 7ca194fea4f76e2f
+KEY2 = 7ca194fea4f76e2f
+KEY3 = 7ca194fea4f76e2f
+IV1 = 7349a8988e8f4d7e
+IV2 = c89efdede3e4a2d3
+IV3 = 1df453433939f828
+PLAINTEXT = 0
+CIPHERTEXT = 0
+
+COUNT = 1
+KEY1 = c7f4d61cf808df7f
+KEY2 = c7f4d61cf808df7f
+KEY3 = c7f4d61cf808df7f
+IV1 = ab177b8a1ae11417
+IV2 = 006cd0df7036696c
+IV3 = 55c22634c58bbec1
+PLAINTEXT = 10
+CIPHERTEXT = 10
+
+COUNT = 2
+KEY1 = dc91089115683b16
+KEY2 = dc91089115683b16
+KEY3 = dc91089115683b16
+IV1 = 84e07f3d282464b8
+IV2 = da35d4927d79ba0d
+IV3 = 2f8b29e7d2cf0f62
+PLAINTEXT = 110
+CIPHERTEXT = 101
+
+COUNT = 3
+KEY1 = 9d8ae0313d5d98c1
+KEY2 = 9d8ae0313d5d98c1
+KEY3 = 9d8ae0313d5d98c1
+IV1 = 06788175dd8eb2cf
+IV2 = 5bcdd6cb32e40824
+IV3 = b1232c2088395d79
+PLAINTEXT = 1011
+CIPHERTEXT = 0000
+
+COUNT = 4
+KEY1 = c2618315ae617991
+KEY2 = c2618315ae617991
+KEY3 = c2618315ae617991
+IV1 = 8d8d8ac8dee0fb74
+IV2 = e2e2e01e343650c9
+IV3 = 38383573898ba61e
+PLAINTEXT = 11010
+CIPHERTEXT = 01010
+
+COUNT = 5
+KEY1 = 2c0838942f0494df
+KEY2 = 2c0838942f0494df
+KEY3 = 2c0838942f0494df
+IV1 = 9b192421bc6478c9
+IV2 = f06e797711b9ce1e
+IV3 = 45c3cecc670f2373
+PLAINTEXT = 010000
+CIPHERTEXT = 011011
+
+COUNT = 6
+KEY1 = cb08a157649ef457
+KEY2 = cb08a157649ef457
+KEY3 = cb08a157649ef457
+IV1 = f006be973c3153da
+IV2 = 455c13ec9186a92f
+IV3 = 9ab16941e6dbfe84
+PLAINTEXT = 0101100
+CIPHERTEXT = 1110100
+
+COUNT = 7
+KEY1 = 547ff26d7531eca1
+KEY2 = 547ff26d7531eca1
+KEY3 = 547ff26d7531eca1
+IV1 = fee385e07e4308ac
+IV2 = 5438db35d3985e01
+IV3 = a98e308b28edb356
+PLAINTEXT = 10111011
+CIPHERTEXT = 11001010
+
+COUNT = 8
+KEY1 = 57868f1c3494a846
+KEY2 = 57868f1c3494a846
+KEY3 = 57868f1c3494a846
+IV1 = d6c3dc6112336385
+IV2 = 2c1931b66788b8da
+IV3 = 816e870bbcde0e2f
+PLAINTEXT = 100100110
+CIPHERTEXT = 010101110
+
+COUNT = 9
+KEY1 = 64d06ed320455d73
+KEY2 = 64d06ed320455d73
+KEY3 = 64d06ed320455d73
+IV1 = 955c5f7e1a0cd3da
+IV2 = eab1b4d36f62292f
+IV3 = 40070a28c4b77e84
+PLAINTEXT = 0100100011
+CIPHERTEXT = 0011010111
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 578594029731897f
+KEY2 = 578594029731897f
+KEY3 = 578594029731897f
+IV1 = db8974c1ddf31e49
+IV2 = 30deca173348739e
+IV3 = 86341f6c889dc8f3
+CIPHERTEXT = 0
+PLAINTEXT = 1
+
+COUNT = 1
+KEY1 = 54528f9de3b6700e
+KEY2 = 54528f9de3b6700e
+KEY3 = 54528f9de3b6700e
+IV1 = 5c1f7edff4f94d98
+IV2 = b174d4354a4ea2ed
+IV3 = 06ca298a9fa3f842
+CIPHERTEXT = 10
+PLAINTEXT = 01
+
+COUNT = 2
+KEY1 = e31f70516191860d
+KEY2 = e31f70516191860d
+KEY3 = e31f70516191860d
+IV1 = 51b66ebed045d686
+IV2 = a70bc414259b2bdb
+IV3 = fc6119697af08130
+CIPHERTEXT = 110
+PLAINTEXT = 101
+
+COUNT = 3
+KEY1 = 61b5c42054153175
+KEY2 = 61b5c42054153175
+KEY3 = 61b5c42054153175
+IV1 = a73e8290043b8caa
+IV2 = fc93d7e55990e1ff
+IV3 = 51e92d3aaee63754
+CIPHERTEXT = 1101
+PLAINTEXT = 0101
+
+COUNT = 4
+KEY1 = c72cba04c1738fd5
+KEY2 = c72cba04c1738fd5
+KEY3 = c72cba04c1738fd5
+IV1 = 06b35991e0c19fb3
+IV2 = 5c08aee73616f508
+IV3 = b15e043c8b6c4a5d
+CIPHERTEXT = 00110
+PLAINTEXT = 00011
+
+COUNT = 5
+KEY1 = 191adf1fea5e2364
+KEY2 = 191adf1fea5e2364
+KEY3 = 191adf1fea5e2364
+IV1 = f172e1f0231a76cd
+IV2 = 46c83745786fcc22
+IV3 = 9c1d8c9acdc52177
+CIPHERTEXT = 010001
+PLAINTEXT = 110101
+
+COUNT = 6
+KEY1 = 8c83f7045bc76267
+KEY2 = 8c83f7045bc76267
+KEY3 = 8c83f7045bc76267
+IV1 = 70b9fc0bc88566a7
+IV2 = c60f51611ddabbfc
+IV3 = 1b64a6b673301151
+CIPHERTEXT = 1011111
+PLAINTEXT = 0010011
+
+COUNT = 7
+KEY1 = ea85d30e9e0d9dce
+KEY2 = ea85d30e9e0d9dce
+KEY3 = ea85d30e9e0d9dce
+IV1 = 84213dc0a2e6cbba
+IV2 = d9769315f83c210f
+IV3 = 2ecbe86b4d917664
+CIPHERTEXT = 01001000
+PLAINTEXT = 10110000
+
+COUNT = 8
+KEY1 = bf51643b2902c208
+KEY2 = bf51643b2902c208
+KEY3 = bf51643b2902c208
+IV1 = 30ca2e59fd166f65
+IV2 = 861f83af526bc4ba
+IV3 = db74d904a7c11a0f
+CIPHERTEXT = 010011100
+PLAINTEXT = 111001111
+
+COUNT = 9
+KEY1 = a7257f5bbca8dfc2
+KEY2 = a7257f5bbca8dfc2
+KEY3 = a7257f5bbca8dfc2
+IV1 = b019de3fff493aad
+IV2 = 056f3395549e9002
+IV3 = 5ac488eaa9f3e557
+CIPHERTEXT = 1011010110
+PLAINTEXT = 0101000011
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP1MMT2.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP1MMT2.rsp new file mode 100644 index 00000000..d49eb8c4 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP1MMT2.rsp @@ -0,0 +1,209 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFBP1
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:44:06 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = e98323a7dc26fb20
+KEY2 = 01f2ae7fef2c4046
+KEY3 = e98323a7dc26fb20
+IV1 = cbaafa30520d26ef
+IV2 = 21004f85a7627c44
+IV3 = 7655a4dafcb7d199
+PLAINTEXT = 0
+CIPHERTEXT = 1
+
+COUNT = 1
+KEY1 = 7a7925644f45312c
+KEY2 = c104d5015e858692
+KEY3 = 7a7925644f45312c
+IV1 = 300be7fdefea368e
+IV2 = 85613d53453f8be3
+IV3 = dab692a89a94e138
+PLAINTEXT = 00
+CIPHERTEXT = 11
+
+COUNT = 2
+KEY1 = c7a1b6fe3461a8d3
+KEY2 = e6f86468f1496ea1
+KEY3 = c7a1b6fe3461a8d3
+IV1 = b08aede0e4af7797
+IV2 = 05e043363a04ccec
+IV3 = 5b35988b8f5a2241
+PLAINTEXT = 001
+CIPHERTEXT = 111
+
+COUNT = 3
+KEY1 = 80c2da6de5e5d992
+KEY2 = 6d4c2a4a20b6a107
+KEY3 = 80c2da6de5e5d992
+IV1 = f11433ee634748ec
+IV2 = 46698943b89c9e41
+IV3 = 9bbede990df1f396
+PLAINTEXT = 1001
+CIPHERTEXT = 1010
+
+COUNT = 4
+KEY1 = c8f491517f26439e
+KEY2 = 3dc8cb89fbc86434
+KEY3 = c8f491517f26439e
+IV1 = 8fe35272b62c7355
+IV2 = e538a7c80b81c8aa
+IV3 = 3a8dfd1d60d71dff
+PLAINTEXT = 00111
+CIPHERTEXT = 00000
+
+COUNT = 5
+KEY1 = 739dc8b55237832a
+KEY2 = e6521f4329aee0b0
+KEY3 = 739dc8b55237832a
+IV1 = 8389b79e04336f95
+IV2 = d8df0cf35988c4ea
+IV3 = 2e346248aede1a3f
+PLAINTEXT = 100100
+CIPHERTEXT = 001100
+
+COUNT = 6
+KEY1 = 797a624a648ae9d5
+KEY2 = 269125a468895223
+KEY3 = 797a624a648ae9d5
+IV1 = 55cc330d0093cac6
+IV2 = ab21886255e9201b
+IV3 = 0076ddb7ab3e7570
+PLAINTEXT = 1100000
+CIPHERTEXT = 1110010
+
+COUNT = 7
+KEY1 = 7a0180f23168d676
+KEY2 = 9d54f76213570734
+KEY3 = 7a0180f23168d676
+IV1 = a31a430f019744df
+IV2 = f86f986456ec9a34
+IV3 = 4dc4edb9ac41ef89
+PLAINTEXT = 01101100
+CIPHERTEXT = 10111011
+
+COUNT = 8
+KEY1 = 9dd08620085dba40
+KEY2 = b583c89157da45d0
+KEY3 = 9dd08620085dba40
+IV1 = 0f813b0d0778f92a
+IV2 = 64d690625cce4e7f
+IV3 = ba2be5b7b223a3d4
+PLAINTEXT = 000110010
+CIPHERTEXT = 100111001
+
+COUNT = 9
+KEY1 = c21054254ad33e15
+KEY2 = 1fe90d4613e6b694
+KEY3 = c21054254ad33e15
+IV1 = f617969d6d012c23
+IV2 = 4b6cebf2c2568178
+IV3 = a0c2414817abd6cd
+PLAINTEXT = 0001001010
+CIPHERTEXT = 1001000101
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 01c845c41f6ba21c
+KEY2 = 8623ec2c3e7aaec8
+KEY3 = 01c845c41f6ba21c
+IV1 = 3ee6b32c9397cd98
+IV2 = 943c0881e8ed22ed
+IV3 = e9915dd73e427842
+CIPHERTEXT = 0
+PLAINTEXT = 1
+
+COUNT = 1
+KEY1 = 85df85238ac146f1
+KEY2 = f46db0daabbac1f4
+KEY3 = 85df85238ac146f1
+IV1 = b6a846fe4b7286a3
+IV2 = 0bfd9c53a0c7dbf8
+IV3 = 6152f1a8f61d314d
+CIPHERTEXT = 00
+PLAINTEXT = 00
+
+COUNT = 2
+KEY1 = 54df9b86d3673849
+KEY2 = 89989b6445e08991
+KEY3 = 54df9b86d3673849
+IV1 = d915b8be11548010
+IV2 = 2e6b0e1366a9d565
+IV3 = 83c06368bbff2aba
+CIPHERTEXT = 001
+PLAINTEXT = 000
+
+COUNT = 3
+KEY1 = dc46bc29a17adadf
+KEY2 = 8a7680ad34b06d54
+KEY3 = dc46bc29a17adadf
+IV1 = 9260977fd0b5ab49
+IV2 = e7b5ecd5260b009e
+IV3 = 3d0b422a7b6055f3
+CIPHERTEXT = 1101
+PLAINTEXT = 1101
+
+COUNT = 4
+KEY1 = 07798654647c52a8
+KEY2 = 3420ab4c1f3729ce
+KEY3 = 07798654647c52a8
+IV1 = c56bc545cc0ef4ad
+IV2 = 1ac11a9b21644a02
+IV3 = 70166ff076b99f57
+CIPHERTEXT = 11001
+PLAINTEXT = 11010
+
+COUNT = 5
+KEY1 = 7c61d09ba2456754
+KEY2 = d57a890e61fde0b6
+KEY3 = 7c61d09ba2456754
+IV1 = 4a0a1d5bec4d222b
+IV2 = 9f5f72b141a27780
+IV3 = f4b4c80696f7ccd5
+CIPHERTEXT = 101100
+PLAINTEXT = 111001
+
+COUNT = 6
+KEY1 = 6785e57fb9640234
+KEY2 = 9b646ba8a8623729
+KEY3 = 6785e57fb9640234
+IV1 = b56d6edd6d915860
+IV2 = 0ac2c432c2e6adb5
+IV3 = 60181988183c030a
+CIPHERTEXT = 0000110
+PLAINTEXT = 0111001
+
+COUNT = 7
+KEY1 = 7a7a1f7feaa84ff4
+KEY2 = b94375a2496ea23e
+KEY3 = 7a7a1f7feaa84ff4
+IV1 = 5a4e19b516c9e0f8
+IV2 = afa36f0a6c1f364d
+IV3 = 04f8c45fc1748ba2
+CIPHERTEXT = 11010111
+PLAINTEXT = 00110101
+
+COUNT = 8
+KEY1 = ead9f713c451b3b3
+KEY2 = 5102b540e3975485
+KEY3 = ead9f713c451b3b3
+IV1 = cf4ebca3877f5e57
+IV2 = 24a411f8dcd4b3ac
+IV3 = 79f9674e322a0901
+CIPHERTEXT = 100001000
+PLAINTEXT = 110011001
+
+COUNT = 9
+KEY1 = 8fdc73eac88c9b10
+KEY2 = a431520b32b573d9
+KEY3 = 8fdc73eac88c9b10
+IV1 = e5c7192c0d923892
+IV2 = 3b1c6e8162e78de7
+IV3 = 9071c3d6b83ce33c
+CIPHERTEXT = 1111100111
+PLAINTEXT = 1001000001
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP1MMT3.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP1MMT3.rsp new file mode 100644 index 00000000..5a0e2493 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP1MMT3.rsp @@ -0,0 +1,209 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFBP1
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:43:37 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 754a57fe4f75ef2c
+KEY2 = a4629762b3cec7ae
+KEY3 = fec1aef4e6f48651
+IV1 = 1e0308911d3041e5
+IV2 = 73585de67285973a
+IV3 = c8adb33bc7daec8f
+PLAINTEXT = 0
+CIPHERTEXT = 0
+
+COUNT = 1
+KEY1 = fe0ee9b010ba833d
+KEY2 = 9b2a8ca74392680b
+KEY3 = 5e97263773708689
+IV1 = 2ca4f6bf5c0e09d2
+IV2 = 81fa4c14b1635f27
+IV3 = d74fa16a06b8b47c
+PLAINTEXT = 00
+CIPHERTEXT = 10
+
+COUNT = 2
+KEY1 = 80a104804f975737
+KEY2 = 8fece63738460d62
+KEY3 = 518031528c76a449
+IV1 = 686b9e82d29cfdcc
+IV2 = bdc0f3d827f25321
+IV3 = 1316492d7d47a876
+PLAINTEXT = 100
+CIPHERTEXT = 111
+
+COUNT = 3
+KEY1 = fd0e3468c7e640b5
+KEY2 = ab3b45abecf7d302
+KEY3 = 5740e34ae0a7e6ec
+IV1 = bbfadc88f704c7ee
+IV2 = 115031de4c5a1d43
+IV3 = 66a58733a1af7298
+PLAINTEXT = 1101
+CIPHERTEXT = 0110
+
+COUNT = 4
+KEY1 = 252061ae85f251f1
+KEY2 = 7351891aa283e564
+KEY3 = fb6e197016108664
+IV1 = 30877d9c6ddf8a74
+IV2 = 85dcd2f1c334dfc9
+IV3 = db322847188a351e
+PLAINTEXT = 10101
+CIPHERTEXT = 11100
+
+COUNT = 5
+KEY1 = 8f3e075eb349c4cd
+KEY2 = 4aa497b99e75fd3e
+KEY3 = 89321aa75ba445da
+IV1 = e3e83ad05a0b7866
+IV2 = 393d9025af60cdbb
+IV3 = 8e92e57b04b62310
+PLAINTEXT = 000110
+CIPHERTEXT = 001100
+
+COUNT = 6
+KEY1 = ecc2a2453ea2a87a
+KEY2 = cb75c2ab70dad6e9
+KEY3 = c7d5f4649d8398b3
+IV1 = c32b4b8ecc2e288b
+IV2 = 1880a0e421837de0
+IV3 = 6dd5f63976d8d335
+PLAINTEXT = 0000001
+CIPHERTEXT = 1101010
+
+COUNT = 7
+KEY1 = 643e8a45a4919e2c
+KEY2 = fd6bda8fd9790e1c
+KEY3 = 64f8e07351a2dcd5
+IV1 = e1a6cddf44b62d55
+IV2 = 36fc23349a0b82aa
+IV3 = 8c517889ef60d7ff
+PLAINTEXT = 00100101
+CIPHERTEXT = 11011100
+
+COUNT = 8
+KEY1 = 85e07f3d292564b9
+KEY2 = ecab4f7c94a4dfa1
+KEY3 = dcefb0b629fb087c
+IV1 = 3f9e1b068dd16e8a
+IV2 = 94f3705be326c3df
+IV3 = ea48c5b1387c1934
+PLAINTEXT = 000011000
+CIPHERTEXT = 001010001
+
+COUNT = 9
+KEY1 = b9407a8f85b9c7d6
+KEY2 = fd1320b6a1139d0d
+KEY3 = 94f7238cabb32a04
+IV1 = d111a59c9159776b
+IV2 = 2666faf1e6aeccc0
+IV3 = 7bbc50473c042215
+PLAINTEXT = 0101001100
+CIPHERTEXT = 0001101100
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 37a1e38c73869e51
+KEY2 = 523d86803889e3ef
+KEY3 = 4aa791d33dd91a04
+IV1 = 8270bb48458e6287
+IV2 = d7c6109d9ae3b7dc
+IV3 = 2d1b65f2f0390d31
+CIPHERTEXT = 0
+PLAINTEXT = 1
+
+COUNT = 1
+KEY1 = 100852d070ba0792
+KEY2 = ad1094267ffedc58
+KEY3 = 3e6ecbe9232c98a2
+IV1 = ec91532cafad13f2
+IV2 = 41e6a88205026947
+IV3 = 973bfdd75a57be9c
+CIPHERTEXT = 11
+PLAINTEXT = 01
+
+COUNT = 2
+KEY1 = b9e3d94cd5c2d9a7
+KEY2 = 46191c4c07254cfd
+KEY3 = 4019b3abe57504ce
+IV1 = 903a20f2620d0950
+IV2 = e58f7647b7625ea5
+IV3 = 3ae4cb9d0cb7b3fa
+CIPHERTEXT = 111
+PLAINTEXT = 100
+
+COUNT = 3
+KEY1 = 4a6bb9b63ba72c20
+KEY2 = 37579dfeabda9d94
+KEY3 = 2c8f9b0b73c41c61
+IV1 = 7a2cdee23bf4b22e
+IV2 = cf823437914a0783
+IV3 = 24d7898ce69f5cd8
+CIPHERTEXT = 1001
+PLAINTEXT = 1101
+
+COUNT = 4
+KEY1 = f1b3a458fe79bf08
+KEY2 = a883e994dc46b323
+KEY3 = 6b4983c4e6c19e31
+IV1 = dba95092d6dd81dd
+IV2 = 30fea5e82c32d732
+IV3 = 8653fb3d81882c87
+CIPHERTEXT = 11001
+PLAINTEXT = 10010
+
+COUNT = 5
+KEY1 = e519461a7020730e
+KEY2 = fe737638bf2f8a62
+KEY3 = a1dac8522608375d
+IV1 = 07cf4ff4886e48ca
+IV2 = 5d24a549ddc39e1f
+IV3 = b279fa9f3318f374
+CIPHERTEXT = 011001
+PLAINTEXT = 000111
+
+COUNT = 6
+KEY1 = 0db0d6d975ec0bcd
+KEY2 = a8973d683ea2feba
+KEY3 = 8fd0f1d39198644c
+IV1 = eb577b05f71fa350
+IV2 = 40acd05b4c74f8a5
+IV3 = 960225b0a1ca4dfa
+CIPHERTEXT = 0101111
+PLAINTEXT = 0000111
+
+COUNT = 7
+KEY1 = e31f70516191860d
+KEY2 = 51b66ebfd045d686
+KEY3 = dfa12c4923b68f76
+IV1 = 4e639367abd1fb5b
+IV2 = a3b8e8bd012750b0
+IV3 = f90e3e12567ca605
+CIPHERTEXT = 11010001
+PLAINTEXT = 00010001
+
+COUNT = 8
+KEY1 = bf7334405db3622c
+KEY2 = 046d073854dcda85
+KEY3 = e0462ca46e6d8086
+IV1 = 0f122680e5c899a9
+IV2 = 64677bd63b1deefe
+IV3 = b9bcd12b90734453
+CIPHERTEXT = 110001110
+PLAINTEXT = 001110100
+
+COUNT = 9
+KEY1 = 0d76f8dce9cb7c0e
+KEY2 = ecc29d64b9b507a1
+KEY3 = 5eb50beccef7cd54
+IV1 = 149025baaac1f55e
+IV2 = 69e57b1000174ab3
+IV3 = bf3ad065556ca008
+CIPHERTEXT = 0110110111
+PLAINTEXT = 0010110100
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP64MMT1.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP64MMT1.rsp new file mode 100644 index 00000000..96240f50 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP64MMT1.rsp @@ -0,0 +1,209 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFBP64
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:47:10 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = f44fc73713ea5891
+KEY2 = f44fc73713ea5891
+KEY3 = f44fc73713ea5891
+IV1 = 2afd022afae199d5
+IV2 = 805257805036ef2a
+IV3 = d5a7acd5a58c447f
+PLAINTEXT = b951efdaf7733929
+CIPHERTEXT = 06c43a04ed40c3bb
+
+COUNT = 1
+KEY1 = a76737feae7ca4ea
+KEY2 = a76737feae7ca4ea
+KEY3 = a76737feae7ca4ea
+IV1 = 7764534f346cbadc
+IV2 = ccb9a8a489c21031
+IV3 = 220efdf9df176586
+PLAINTEXT = a8587eda0f8516f93aa4133144bb7651
+CIPHERTEXT = 3c0c256abd90cc7ba8c1b00963854402
+
+COUNT = 2
+KEY1 = cbadec648cd5627f
+KEY2 = cbadec648cd5627f
+KEY3 = cbadec648cd5627f
+IV1 = 29c12a0ff6aeacf0
+IV2 = 7f167f654c040245
+IV3 = d46bd4baa159579a
+PLAINTEXT = 6e38d0915dc073360739dfa8cecdaaf80fb533d454a27e06
+CIPHERTEXT = 187ed98638ae3b8382e7cb26669a815ac01a60f43cc4fb6a
+
+COUNT = 3
+KEY1 = 4320409b94fb7fc2
+KEY2 = 4320409b94fb7fc2
+KEY3 = 4320409b94fb7fc2
+IV1 = 8b9a4ad2e1736d9e
+IV2 = e0efa02836c8c2f3
+IV3 = 3644f57d8c1e1848
+PLAINTEXT = f646eda13a41e4430124d1fb9d4daab8cacf44cc2b1769a8f8cf2ae7f102768f
+CIPHERTEXT = 720d0da9040bcb64e9a62c9b413eed99d4fadc586033d02af18ce033f2df1608
+
+COUNT = 4
+KEY1 = 518cfe237a949885
+KEY2 = 518cfe237a949885
+KEY3 = 518cfe237a949885
+IV1 = 2c5d57b3f3acc98b
+IV2 = 81b2ad0949021ee0
+IV3 = d708025e9e577435
+PLAINTEXT = 60373b42e7fd1e40395b3f67653db0149f10f54b2a1c08ab7b14a1a19bebb3ddcdea3a02710034a2
+CIPHERTEXT = 880ba73df0f8d935d28f383fde9294a8852007152d7afa8c8265607f8c1ddb76cda856388892365a
+
+COUNT = 5
+KEY1 = c8d99decd6799b86
+KEY2 = c8d99decd6799b86
+KEY3 = c8d99decd6799b86
+IV1 = db97e912295bd2fb
+IV2 = 30ed3e677eb12850
+IV3 = 864293bcd4067da5
+PLAINTEXT = 61146662050a1ea345805c5147940faa219892b299c58c822e2d15e35df21a1b1db60207ac52916a8dcb0d85d282a0e8
+CIPHERTEXT = 84edf7f3b3109e0ebed8d63a98b5c598a67618cae39a6f75d5cef6259f99994c41a7c9025924f155c3cc6cb5451c056b
+
+COUNT = 6
+KEY1 = a2ad2c7c043ba2fe
+KEY2 = a2ad2c7c043ba2fe
+KEY3 = a2ad2c7c043ba2fe
+IV1 = 6a3ef5e6c642e75b
+IV2 = bf944b3c1b983cb0
+IV3 = 14e9a09170ed9205
+PLAINTEXT = ac4f6071e34cc56cb5cba6eff9dc24a872bfc90b999f6ba19d7d53a3a96a9fc765f9e55abff4198feb4eb117a85906f1c639fe84e599e8eb
+CIPHERTEXT = 493c55f03be2189f260c7d729fea31e5952d2fc29f23f08f47012e8d395a628dd60a22ec8a247f5e9d018395a3715f0a935d2be5b041739b
+
+COUNT = 7
+KEY1 = 85e37951eada4320
+KEY2 = 85e37951eada4320
+KEY3 = 85e37951eada4320
+IV1 = 4de703a3db1d05ef
+IV2 = a33c58f930725b44
+IV3 = f891ae4e85c7b099
+PLAINTEXT = 406bd8b5e7655b134ee7ed5ac7cd88e458d581050ea57635941082710495b2defd28bdb0f636ef4ad2e367a6b49682f814b7978e13b7e5fb0b51c9746b10357a
+CIPHERTEXT = a5b915090d2ebf8abdb16f368d29d29c42412d29f60e9b08c38917ebf23b11d70c1ceee00af13fa48e133124c547f9fb5cc040f6700c3b7eaf8fdbfb1ec434f0
+
+COUNT = 8
+KEY1 = 67bfbca470f273d6
+KEY2 = 67bfbca470f273d6
+KEY3 = 67bfbca470f273d6
+IV1 = 2079ac0def661c5a
+IV2 = 75cf016344bb71af
+IV3 = cb2456b89a10c704
+PLAINTEXT = bdbad92d4d05434d10925a0723d6530d7fbcfc4485eaf225d945146374b737cdf5301c7738ea9f142af230a7dce4875bd6f594aead37b5d5d8192c5cbf2dd00e152f02146842e361
+CIPHERTEXT = 3105064dedb4f1341060c9af735e46000ac3f58a1f74d60e0b87ac2bf82d4d9466a3850be50551c9d6037b77f7050743a0e3f6c6753bdc3f27ca179efa978fdb2db3b2831c4f2cf0
+
+COUNT = 9
+KEY1 = 854ca1970e0d86ab
+KEY2 = 854ca1970e0d86ab
+KEY3 = 854ca1970e0d86ab
+IV1 = 5d7b2bec6927fd38
+IV2 = b2d08141be7d528d
+IV3 = 0825d69713d2a7e2
+PLAINTEXT = bdb8df13b0a12485cf1d64eb72f6d2f499fb90918149da5975c9822be7fa9c15bff17a74f39edb5d58505f3cb87b3ebb24ba3ae68b10d28c8c73b9e8898b8680fdb7ad4e0f51ae1e67338c374079813d
+CIPHERTEXT = 3712ff47ac14d8aeecad95b1e2e3352e9aaf4a5dafd85d5cad74251f4c09ec1522a5d8eda46f8be47006e76000b480808de1e217dff5e539e1869bd14138818521b43dd6a56d5ef3b3a075d90d417d11
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 9468e676d9eca876
+KEY2 = 9468e676d9eca876
+KEY3 = 9468e676d9eca876
+IV1 = 8089024a0603aa4f
+IV2 = d5de579f5b58ffa4
+IV3 = 2b33acf4b0ae54f9
+CIPHERTEXT = 84349e60c77adac3
+PLAINTEXT = 98ede6912df44446
+
+COUNT = 1
+KEY1 = 51c8d63e7cc78568
+KEY2 = 51c8d63e7cc78568
+KEY3 = 51c8d63e7cc78568
+IV1 = 7c733efbd7b6b60f
+IV2 = d1c894512d0c0b64
+IV3 = 271de9a6826160b9
+CIPHERTEXT = dd0c9955e51c2f82d620e3685d1c7656
+PLAINTEXT = 136f83ee65f36fb45890aae9018345ea
+
+COUNT = 2
+KEY1 = b9a21ac480523146
+KEY2 = b9a21ac480523146
+KEY3 = b9a21ac480523146
+IV1 = 7b090fdc0642110b
+IV2 = d05e65315b976660
+IV3 = 25b3ba86b0ecbbb5
+CIPHERTEXT = fcb66cc9a3f54b93510804dd597e30e8c4d1b7115254f15e
+PLAINTEXT = a81257345c358b0f1e1d8d4fecc1f84f2e52ce1cc3e0dbe2
+
+COUNT = 3
+KEY1 = d9a89d4a8c083e54
+KEY2 = d9a89d4a8c083e54
+KEY3 = d9a89d4a8c083e54
+IV1 = 0ef73016636db032
+IV2 = 644c856bb8c30587
+IV3 = b9a1dac10e185adc
+CIPHERTEXT = e192732582bf00858c65ffeb6bd0e50cd571a617071c1d8d5274ae53d7a32a06
+PLAINTEXT = b0e7c74b8a55b9db8c6c818613c3fc36acbda2801cf6765b03db4adefb6730a0
+
+COUNT = 4
+KEY1 = a80752f185a41fdc
+KEY2 = a80752f185a41fdc
+KEY3 = a80752f185a41fdc
+IV1 = 521f9de37c66bcea
+IV2 = a774f338d1bc123f
+IV3 = fcca488e27116794
+CIPHERTEXT = 5bf90077d9104c255d17b6a4e8a2d73c72511db377476d65b2de0d972999c208695b35c913d69b4f
+PLAINTEXT = 6b18f939df4434dba2ec4e5fda747a4eaabd5e2707ce4d023f4b5d06105a365134a92f6ce54b524e
+
+COUNT = 5
+KEY1 = 16f26e7cb901a202
+KEY2 = 16f26e7cb901a202
+KEY3 = 16f26e7cb901a202
+IV1 = a9253b8e43c744e2
+IV2 = fe7a90e3991c9a37
+IV3 = 53cfe638ee71ef8c
+CIPHERTEXT = 42cc2d3de0308bca8b81e02e77b4a31378dce657c5e63661fd86c3b16771c1bb7ecd0df6ade514305722f1241a37d54e
+PLAINTEXT = 8378ee38eceb0e9d32ccb8a8d66cef7921436eeb4a5a7ed8c38760db8c1f6197b244af17f7d612578faad762b9ef9bac
+
+COUNT = 6
+KEY1 = 3edfd3ab7fa434b3
+KEY2 = 3edfd3ab7fa434b3
+KEY3 = 3edfd3ab7fa434b3
+IV1 = 3c5fa14ab2436108
+IV2 = 91b4f6a00798b65d
+IV3 = e70a4bf55cee0bb2
+CIPHERTEXT = 1b4cdea316e99afab26c478d693a4b7de818e26664351089316bda2b91c2b538ca363f2c7bba2d332f7c848f336b0d3ba5f702cece170ea1
+PLAINTEXT = ae83930b758feecc0e82961fc51ce96bab080e5c37420710f95fa2019a681c0a02b7ac094ef06218bc46383c4cee1ad43aa0d113a6822641
+
+COUNT = 7
+KEY1 = ef910e6134cb7913
+KEY2 = ef910e6134cb7913
+KEY3 = ef910e6134cb7913
+IV1 = 69af0a673397c51e
+IV2 = bf045fbc88ed1a73
+IV3 = 1459b511de426fc8
+CIPHERTEXT = d8982edfa33d6cdcc3ddcd348c4a6edc35b25020e6690c8a11e9c20506185342c2c9d05b088432b6b48a4b2d4b14fc6bd6dca999f1deea3b1f608354603097d1
+PLAINTEXT = 6e3a64d93f9a97983fe94d016f69aea7cf31979d1ea08ebedc035a29188ed0f2efed1650d1f84b7c88025bfc7f295a88004dc0f7ad0ba6c84814ced30f3d53e0
+
+COUNT = 8
+KEY1 = 98d3c4081fa273e9
+KEY2 = 98d3c4081fa273e9
+KEY3 = 98d3c4081fa273e9
+IV1 = 1a0e19345fdd1060
+IV2 = 6f636e89b53265b5
+IV3 = c4b8c3df0a87bb0a
+CIPHERTEXT = 3145bf1ecdca64d1075e236a00703b7812bc0934accd7f1c5dc0d1dd2e4c717635ff3e9b67caf957aec0f8f63c1b1e221e800a4c14848f4ea06e644e5d3e1de592ef5a8007fa3f07
+PLAINTEXT = b493bae6659e82fcb16d9356f262e3343bd698eaa1ce9e143c1c7dfcc4563a35852be8a0aa50e20b1b2a45fcf97a56b3240c7a4cca0b6f629e661e8dcc5becd4f9baf74580b30c2a
+
+COUNT = 9
+KEY1 = 91164a0da76dc852
+KEY2 = 91164a0da76dc852
+KEY3 = 91164a0da76dc852
+IV1 = 8d48dff68bf2391b
+IV2 = e29e354be1478e70
+IV3 = 37f38aa1369ce3c5
+CIPHERTEXT = 861477dcf212fb1536b40c3bf61d12aa6db0b1010d2692d565dd67a6487329112c94a448d01036c02231d4295f4b4da37c94d32fc536b763c4a374636429ef0c56c6fd72b43d268de469a92fc0d2bf39
+PLAINTEXT = f8515285c1040e199051dce2fa1371f4a4d8ec6705b88820cc93f52c247642e3955ccfbba2115e64a1c8718505d250f197023089847324b4a8a803095d54be0a8e914dccb7fef126729eae2d06a01de9
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP64MMT2.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP64MMT2.rsp new file mode 100644 index 00000000..f6a6efdd --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP64MMT2.rsp @@ -0,0 +1,209 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFBP64
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:46:44 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = f8f283cbbf6ef21f
+KEY2 = 195d97ba0285a72f
+KEY3 = f8f283cbbf6ef21f
+IV1 = 1dbbaf5de30a1e3c
+IV2 = 731104b3385f7391
+IV3 = c8665a088db4c8e6
+PLAINTEXT = 5c15f0fbf9ce5463
+CIPHERTEXT = c6860ba3db398ff4
+
+COUNT = 1
+KEY1 = 34d913261970cbbf
+KEY2 = 23ec6810ba04ba92
+KEY3 = 34d913261970cbbf
+IV1 = 6470d57dad9893dc
+IV2 = b9c62ad302ede931
+IV3 = 0f1b802858433e86
+PLAINTEXT = 84242a1456bf68704431998448a11ad3
+CIPHERTEXT = b42debd3088495a0e17b0d4e4f691d8f
+
+COUNT = 2
+KEY1 = 195b9ea164208967
+KEY2 = 257c0ebcf8200191
+KEY3 = 195b9ea164208967
+IV1 = 34cf85421d46d28a
+IV2 = 8a24da97729c27df
+IV3 = df7a2fecc7f17d34
+PLAINTEXT = 5c8d994c9e984df39ff0733ae4194de95e51f3478f219c45
+CIPHERTEXT = c447d892adcc000699d33222f4c238a7174b2372323d9931
+
+COUNT = 3
+KEY1 = a21949f462342516
+KEY2 = 6d511998f8e3fd5d
+KEY3 = a21949f462342516
+IV1 = dccfcefaf2c68250
+IV2 = 32252450481bd7a5
+IV3 = 877a79a59d712cfa
+PLAINTEXT = bcb04569caeba93f7b83253e6935d41e3e9b3b672fa0e387c6374621e54df0a9
+CIPHERTEXT = 56d548511866fc8ba87dbdbede58fcf812da0bfd906c57f005359c002b618820
+
+COUNT = 4
+KEY1 = e91aefa2ab1673e3
+KEY2 = 19da209494f17902
+KEY3 = e91aefa2ab1673e3
+IV1 = 2662d48022373bdb
+IV2 = 7bb829d5778c9130
+IV3 = d10d7f2acce1e685
+PLAINTEXT = 2d4edd87f903b65f8d3691ac4b4f8d22e6c5931925d736e4e37dde5f5b9e26c8a28382d0758c25f1
+CIPHERTEXT = 9adde63829b20437ced3972f95ed0e1c6d80fb5c055f24d00b43283a15220b37c5a4153983b2f120
+
+COUNT = 5
+KEY1 = 3bfb5892585e3423
+KEY2 = 1cf1eac24c2c0e1a
+KEY3 = 3bfb5892585e3423
+IV1 = 3a499248a677f1b0
+IV2 = 8f9ee79dfbcd4705
+IV3 = e4f43cf351229c5a
+PLAINTEXT = fe15c838ff5c5c824c2c01945785cbffff18b0b104f499bebf61ba60100c1f3c976588e6274677a877d5877f1babff67
+CIPHERTEXT = 200119f69f0f7c7230d3de462d6a0006507d5d5fe8947511448fff96eb7424932f64dc6d4bc178b1ab3b989e623e4723
+
+COUNT = 6
+KEY1 = 4c6880b0ab4f1552
+KEY2 = 3b8a4af173f8f838
+KEY3 = 4c6880b0ab4f1552
+IV1 = 5f62e4eaa7b2b570
+IV2 = b4b83a3ffd080ac5
+IV3 = 0a0d8f95525d601a
+PLAINTEXT = 44b3e63b1fbb43026d2a28fcc58c01b22046b14d8e79e1a12829976b469f0ad7f20bb5469c6eaa4d0fb72901a32c7172b40cd675547314a7
+CIPHERTEXT = 826cda6029d581e0ff2482ca54504bc5ed13e2c2a3133058f16a8363e2a4d7f0d4f062355063b166b808cb0acbe39f9492e74b3830fdaef6
+
+COUNT = 7
+KEY1 = 85bcb03dce2004f2
+KEY2 = b607e63efd6773d3
+KEY3 = 85bcb03dce2004f2
+IV1 = 1b4aeb6fdb225d6b
+IV2 = 70a040c53077b2c0
+IV3 = c5f5961a85cd0815
+PLAINTEXT = 139becaa0ff148c18d7602f6040e81e62de15a9f72026960a44f21a1ec98205304030669a6ae88974597c05afcb9c738c4788649e93fc9f6bf689501915cbcc6
+CIPHERTEXT = 66904397c75df9532ee1c9fe42fd50a94ee4bfa743bbb7b747804487c1171e24467691fa1809c6d47ca1f4645407f375009430f4ca81336f860a7bc939dfddae
+
+COUNT = 8
+KEY1 = 2ab0bca8e6911ad6
+KEY2 = c8a25e8092a86b49
+KEY3 = 2ab0bca8e6911ad6
+IV1 = 6165924b8eeb16c0
+IV2 = b6bae7a0e4406c15
+IV3 = 0c103cf63995c16a
+PLAINTEXT = 2fdc96d9aa981f4788c57eb8d064805357024d31288defca29660eadfcb7fd752407fbf8690cb2c17dc004c1dfb7074100af4e1ba5696b2a8cb7b1ff52d73fd594ff3ac755395941
+CIPHERTEXT = b26fde67335bc9a59f87cb6814064b59952baacdf0bb489d24b691df5f06b68e57790d0c0aa6578f529baa3dfe81b61224675e47b60359490988d11eab7a7290455480d8a12613f5
+
+COUNT = 9
+KEY1 = 01f79bc7ecab5b3d
+KEY2 = 196232709d97a432
+KEY3 = 01f79bc7ecab5b3d
+IV1 = 8ca1e581a1d72944
+IV2 = e1f73ad6f72c7e99
+IV3 = 374c902c4c81d3ee
+PLAINTEXT = ce264522ce323f1c670ef17457949febaca86ab02910d3d3eb877bfc4d0c2c5d08801de59f7072b7fa3003da50295e324b730faf67a71fc49ceeda1b3c5ed5871e87303afc4819381ae8910b286173b8
+CIPHERTEXT = 582ed91ba2027ed993757a91fcd92ada34a3a42ca4dff9ba8ae5787b401055813b918854a7ea4f434ff0931ab06b4dccacf01aac67df482a8af669f86580ee92d9d272be712c30afd6deb775d56014c5
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 79dafda4b3e5f4cb
+KEY2 = d6c7c8aeea5ebfdc
+KEY3 = 79dafda4b3e5f4cb
+IV1 = cef302d028c62ca5
+IV2 = 244858257e1b81fa
+IV3 = 799dad7ad370d74f
+CIPHERTEXT = 5b6815ff20126a48
+PLAINTEXT = 5245586a8eac76ac
+
+COUNT = 1
+KEY1 = 02b98aa75820548a
+KEY2 = d080b543516df4b5
+KEY3 = 02b98aa75820548a
+IV1 = 9d4d16e0fe636e4e
+IV2 = f2a26c3653b8c3a3
+IV3 = 47f7c18ba90e18f8
+CIPHERTEXT = c6e65bea24b18af38d2f2cf9f3d3f7ae
+PLAINTEXT = 50e660248a8f51cfbacffd387be7a306
+
+COUNT = 2
+KEY1 = c77fe0139d132676
+KEY2 = 08981f5408d6dafd
+KEY3 = c77fe0139d132676
+IV1 = 0dfb2345c487ab62
+IV2 = 6350789b19dd00b7
+IV3 = b8a5cdf06f32560c
+CIPHERTEXT = 3b09d4c52cb58aae8d7db3eed7c2ba97e1d24603b069b074
+PLAINTEXT = 611067a4fb3146640d2057a0592e4bae5b50d9d77b58da4f
+
+COUNT = 3
+KEY1 = dfcd8f13da80c8a8
+KEY2 = 5725f4c7c1e9dcb0
+KEY3 = dfcd8f13da80c8a8
+IV1 = c28fdff80390cf8a
+IV2 = 17e5354d58e624df
+IV3 = 6d3a8aa2ae3b7a34
+CIPHERTEXT = 8d8d8ac8dee0fb741aa674e66def16c9a8d4e52289ad2a283c84165621c9a7be
+PLAINTEXT = 348dd2220dee7f9d39f6db326f6f2f7da0947f68f6c86131af8faf4ec802f80a
+
+COUNT = 4
+KEY1 = 20466e9dd0e9a8bc
+KEY2 = ad83a2c289b9d6e3
+KEY3 = 20466e9dd0e9a8bc
+IV1 = 64f539f8cd075dbd
+IV2 = ba4a8f4e225cb312
+IV3 = 0f9fe4a377b20867
+CIPHERTEXT = fc3f7ea0cfef3564011ca95392910a2d4ec191955a08b6750e34a39f0244e8b06c70703aa969b422
+PLAINTEXT = 7fe143675ea002579972ee02ce188cab9197621cedc009cf2c052b803a1e4034a13e826735946b18
+
+COUNT = 5
+KEY1 = f7cefe7f40e90e73
+KEY2 = 51d06b08da8f61d6
+KEY3 = f7cefe7f40e90e73
+IV1 = 49956d1e0a390603
+IV2 = 9eeac2735f8e5b58
+IV3 = f44017c8b4e3b0ad
+CIPHERTEXT = 52ef4dc03614a5a30a61a82233328bae2fa35544d5b84042dddb6279a28c8c832754735658fa0d1a93fa3e386733b4b4
+PLAINTEXT = 61cc565829c2c1dc11d04ff194c18e287862224192a19bbc1c47ea25a3c48f3853f1bbf849469a389abe54357709fde4
+
+COUNT = 6
+KEY1 = 4a0b1c5bec4c232a
+KEY2 = 8620f8f4290431da
+KEY3 = 4a0b1c5bec4c232a
+IV1 = b368cc474b91ba81
+IV2 = 08be219ca0e70fd6
+IV3 = 5e1376f1f63c652b
+CIPHERTEXT = a19524615b0b14de3da0e7f1a4c98dd6aebeb29cfd2c9d7db72a586bd16f11eb8ec2c02642b10a3d5c8665dea3777e15c01dd864fd28b515
+PLAINTEXT = 76c623ea33bd4dfa80ef7ea10225fe7f82a3a761ed59102dc1ccf70fc11177d0583273b7bba06ebc7735529c3922377b4a8a5e1f653a3071
+
+COUNT = 7
+KEY1 = adb989b02cd0c897
+KEY2 = 5894bfa1071ac119
+KEY3 = adb989b02cd0c897
+IV1 = accde94a76b79741
+IV2 = 02233e9fcc0cec96
+IV3 = 577893f5216241eb
+CIPHERTEXT = eea46ff4a503055c315187d40f26fdd621eafd2d54eb72ac80ac9c1f90815882e258a271f1da58e031b3400c3a2d4db129041e7e4376c8c6dc99d57878f18d51
+PLAINTEXT = d3ea879f55dedb05387c6c1d1e95322366388b9da977d74e373201ed98e25ae81075c48ba30aa5bc22dc09a283cfe78b61b5b3a7e58b6e54e0f783f0e000aa2a
+
+COUNT = 8
+KEY1 = 62a8f85167f73e38
+KEY2 = df54f2891f43522a
+KEY3 = 62a8f85167f73e38
+IV1 = 353da0afc7e4d2e5
+IV2 = 8a92f6051d3a283a
+IV3 = dfe84b5a728f7d8f
+CIPHERTEXT = 279da6bc9e7b88e6ef5bb0581d84592e629aa7ce21c33b261c090635e7005acd9da84797d1942457c74c6c71e4f1ccad641f79374b17c7ea9e1ef8cdd22051de8599740f6cb6e98f
+PLAINTEXT = 97b888849604247bd306e5c5fb0e73e9f479da9b12da6c4cb38e8573b782d9cb90df3deb6a736834879b4bad990fcebcbe58755e910e90047bb630e60b5600f00476422915b1ce88
+
+COUNT = 9
+KEY1 = 08a1b325404cf4cb
+KEY2 = 7916cee02f2943d6
+KEY3 = 08a1b325404cf4cb
+IV1 = b71df63b2d85a2cb
+IV2 = 0c734b9082daf820
+IV3 = 61c8a0e5d8304d75
+CIPHERTEXT = 9c834c6005e87cf520515767fc5d8b00d2362fc997cefaf0cd68b36d9e5be8e52b12e3cf2258dad58ed2667df4cd36089b3b059b2bf7c99c7a512e5fa2c64202570f7295775eb57ee3e4071c8e9619ab
+PLAINTEXT = e6ca2d52c8af8670cf7c816b6188ceb512ff941d72ce3ad43f6e5df8ec653a7cc058ee2409f3cfbd913ae00e1a672d8a8185e47073e8547379d1163369cb5260361261886e4945be4920415d8d626231
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP64MMT3.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP64MMT3.rsp new file mode 100644 index 00000000..e62eb0e2 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP64MMT3.rsp @@ -0,0 +1,209 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFBP64
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:46:18 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 34f25b29d9e61386
+KEY2 = 9def6ebfc77fe046
+KEY3 = a42a67c2343858e0
+IV1 = 950e26c3f246d7ed
+IV2 = ea637c19479c2d42
+IV3 = 3fb8d16e9cf18297
+PLAINTEXT = dec5fb497cbaee3b
+CIPHERTEXT = 8eb9b462be6803cd
+
+COUNT = 1
+KEY1 = 8902c4a28f648fba
+KEY2 = 4cab2a8cb398586b
+KEY3 = 8a58980e768f464f
+IV1 = a0b7fa4df258963a
+IV2 = f60d4fa347adeb8f
+IV3 = 4b62a4f89d0340e4
+PLAINTEXT = 322d771631a8dcab6f3c7619a8467ecf
+CIPHERTEXT = 68af8e8939c2a2043640ec2893b09d44
+
+COUNT = 2
+KEY1 = 2f3e2a4f94544904
+KEY2 = 9e3bae6151e0bf6d
+KEY3 = 29193d61f71f1c2a
+IV1 = 27cff0f3a6837c95
+IV2 = 7d254648fbd8d1ea
+IV3 = d27a9b9e512e273f
+PLAINTEXT = 955e5998b870f2a1616485d631ea548afe0d8c3b1b66b469
+CIPHERTEXT = 6a890979e971045271eb58fe4aca2621c1c09f80473da264
+
+COUNT = 3
+KEY1 = 16154568514f255e
+KEY2 = 838cabcd644c6bc4
+KEY3 = 029d9443b075ab73
+IV1 = 6f4fd3cc7f00617c
+IV2 = c4a52921d455b6d1
+IV3 = 19fa7e7729ab0c26
+PLAINTEXT = 707e2ad04c41199c5decc1eae34b0c0abb5a5beee1b5253c3350e1a077682767
+CIPHERTEXT = a8954782783392dab8127559caecf28796cca5c730555f3c94f32e5778ee101b
+
+COUNT = 4
+KEY1 = 793ba4c7eac883d3
+KEY2 = f783bfd6dad9f1ef
+KEY3 = 34e0ecc8a475c2cb
+IV1 = 91619779f5086aea
+IV2 = e6b6eccf4a5dc03f
+IV3 = 3c0c42249fb31594
+PLAINTEXT = 21b58429f399093e00c6beac5727b2cf2c2969adc214e0e58e9bcbe299b22154269fdae19554f817
+CIPHERTEXT = 7ea5059161c8c6856920f33ba6b277cbc4ae124a06b5acc8661a6246dc9408688be75d27ce992bc1
+
+COUNT = 5
+KEY1 = 269419d9a2518fb0
+KEY2 = 4649734fd567041c
+KEY3 = d657c1ef8fe623cb
+IV1 = 7d2aa6dcab9d9960
+IV2 = d27ffc3200f2eeb5
+IV3 = 27d551875648440a
+PLAINTEXT = d78cacc1939cf5b876d9cada710436119773858f22096161b7653b47eb5aedc3059f9d7005c8e495e6752ffa21ca66fa
+CIPHERTEXT = d006f356919fba26c50967cd95c9720b18954dad9dae60c38845cfd458f9e46da072b24401812198e4570ee3cc92db23
+
+COUNT = 6
+KEY1 = cb70200e752cf7ad
+KEY2 = 4f2c5de3cb9eab57
+KEY3 = 79621a49a415a20d
+IV1 = b188f4cc21f99a2f
+IV2 = 06de4a21774eef84
+IV3 = 5c339f76cca444d9
+PLAINTEXT = facacd5d132ed8ddf0bfed819f22b49e30f7d982c8a3bd5af1536c54343ed000ea2a24fc4f31aad0d8c5a117c7f272e0fce32a530ea82c98
+CIPHERTEXT = ffde39996056c50906597166006771d343a5eedc32403fcb8d17634a62c10e43d1e460741fd9dfaa17bcb5c650a84d96f3b5ff0ebf451bb8
+
+COUNT = 7
+KEY1 = 1cfe611a7340022c
+KEY2 = 19a2f7d59e46ad0e
+KEY3 = 2a6e040bce6b940d
+IV1 = a05759121c10ea6a
+IV2 = f5acae6771663fbf
+IV3 = 4b0203bcc6bb9514
+PLAINTEXT = 1934e24e57458decd7ef4bbe82cd5ccec8d9df92d9d3a26d18e73977cc8a4d8119a5375430f5cd3ac2b17cc0ba6e98b92b41ef868723a49513993b289794f058
+CIPHERTEXT = 15ea8b6d1f143d53e12c5f074ae3f8b8ff6041d429aee8e88eef4a4b82afb2b95b478dbe806b81997ab79d83079a53f47ad1f00b45cc1dc098a6cb6cefff6006
+
+COUNT = 8
+KEY1 = fbc7da29d9679b4f
+KEY2 = 6e493816e5ef6476
+KEY3 = 0198f4ad8f750e94
+IV1 = 93aae4ec1f504ce0
+IV2 = e9003a4174a5a235
+IV3 = 3e558f96c9faf78a
+PLAINTEXT = 4b2707ff841c8a90c3c88daf25a23c303dc5d3a764f49e8550db2383e9979e445779ad3560074db9f1440583fa3261427f94a284edf8b4d4aaf56026efb2c376daa7ffabbfa830c1
+CIPHERTEXT = f81ae641af3e83c01e4cf2bcba60725e7441b0fec202a0bf30c3010a4f43b20be3eb2edc97155284d1a10b0ab5ccf55b9e6314f0c8835056ed846d768185ce4f65ba722b95a6ab4f
+
+COUNT = 9
+KEY1 = 34ce85431c46d38a
+KEY2 = 5d8c984c9e984cf2
+KEY3 = c846b65880199be3
+IV1 = a6a7f6822a3e0dee
+IV2 = fbfd4bd77f936343
+IV3 = 5152a12cd4e8b898
+PLAINTEXT = a677ab444789d7df5dcfa5d0bb641b16336137c55998d7588985d6492c8178df36390848f35fbfe7049fe8efa5d54231317da632e76ae981eebc0447970c7220e3e9da294588ee5ba8b79317b4134201
+CIPHERTEXT = e206cc581e6d79c084056a066d0f574c3e38008a3c56c098703b5cd10c4c9adb12f06974db319c241e6a2da7957a7124b6d5664ca5f3c341021b16d041bb8e872b4d1a57b5b1d9573911b5f8a3a58049
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 49255e7c25d3c819
+KEY2 = 9267380e160707c8
+KEY3 = fd5b730852491fda
+IV1 = 2d291a47afdc974d
+IV2 = 827e6f9d0531eca2
+IV3 = d7d3c4f25a8741f7
+CIPHERTEXT = eafdba521077d0c5
+PLAINTEXT = b5f05e87b9a1ba61
+
+COUNT = 1
+KEY1 = b31f80dafdf719ea
+KEY2 = 13205404b64fb37a
+KEY3 = b9c8dcfef1cd0ef8
+IV1 = 402826fd31dcb882
+IV2 = 957d7c5287320dd7
+IV3 = ead2d1a7dc87632c
+CIPHERTEXT = d491dedce6a9ebef385254caa8420770
+PLAINTEXT = 4954bff4f8e984fc60290704f607aa99
+
+COUNT = 2
+KEY1 = a8cb869b6dfdb30b
+KEY2 = 7a8698b59bade5e0
+KEY3 = 08585bea2c7991c2
+IV1 = d6266af09b54ac0a
+IV2 = 2b7bc045f0aa015f
+IV3 = 80d1159b45ff56b4
+CIPHERTEXT = 85ec063bc1b37cb4051315fb37ab05483b1f6d0466bc758b
+PLAINTEXT = aceaa4fea30e12dc7f441c4b44de342b2825b261999d1069
+
+COUNT = 3
+KEY1 = 45c8f43d2a86b35b
+KEY2 = 3e34ece6bc5ec885
+KEY3 = 97b90d85b58c431a
+IV1 = 8369d5e6a9ad2ac8
+IV2 = d8bf2b3bff02801d
+IV3 = 2e1480915457d572
+CIPHERTEXT = c03b04a7b8ca35bfaf68104de36c627f1f86ec9adf50ae34b52665a3eb3852b5
+PLAINTEXT = 8354cc6ff3ffb8d83d76ff14b76c7ca81e1d6adba71c833779b8e2cf8e339eae
+
+COUNT = 4
+KEY1 = fdc4e6fb764c9e1f
+KEY2 = 16ce9e76854f02df
+KEY3 = d38657d9736d9292
+IV1 = 79f206c15d1383eb
+IV2 = cf475c16b268d940
+IV3 = 249cb16c07be2e95
+CIPHERTEXT = ea3d7fbcecd5190026526034b17cc8885014e0e29a67901a5c239e6a3968772093222d96af97bc64
+PLAINTEXT = 9fc580ab585d34ae15598eb0639368d75061e4417ad683b738140effaac654a710e1573b8393ae0e
+
+COUNT = 5
+KEY1 = fe3e38cd7a615825
+KEY2 = 29a43b8ad6f1a4b3
+KEY3 = 76c8e0d9e3e0c102
+IV1 = ad09bb85f2fbe44c
+IV2 = 025f10db485139a1
+IV3 = 57b466309da68ef6
+CIPHERTEXT = d0fa9c80e72ae84cb669666013c442443c104e981a205cf0c73bebe34dcc075fb15c6a3f30bee720c8890970faccf7c7
+PLAINTEXT = b1c2267d80627f90c2944c897060062f8bfff1731a1b6a30f7d0d5b202fede2934103c99ae9c11b3ef8ea8905d576feb
+
+COUNT = 6
+KEY1 = 455bdacba73b73a1
+KEY2 = da2038d54946b6d5
+KEY3 = 2ce3ba2f131a926d
+IV1 = da4d9ca5dac03065
+IV2 = 2fa2f1fb301585ba
+IV3 = 84f84750856adb0f
+CIPHERTEXT = cea7c22f9d644e8008496c023004dff89f0820892be15fb91dc4c498936bfab92320eee6c117d412e3006c8fe3dd8382a411bc9378ba90e9
+PLAINTEXT = 1b6793baa5ced152b4a78614dbd9e8f9b1d4d1fc928c74271b2dfdc70a6865a3ee5e4de492dc29445bcc5f50bab410ab80eb334016961acf
+
+COUNT = 7
+KEY1 = 92aed03bf87aa737
+KEY2 = 38dfaee08c310825
+KEY3 = 2cd052ae6798e38a
+IV1 = 3c807d1bab2dc49d
+IV2 = 91d5d271008319f2
+IV3 = e72b27c655d86f47
+CIPHERTEXT = fb76ae3f4e86a33243854c869ac5023e206aabbd781f96211b07a6d39ef6b35c34e22d7b739402745ba3c2aa94a30270f79afe1d50b3825e62370ad12cb828cf
+PLAINTEXT = 89f5996f49a90962ba90cf0036c630313da3dfd517ca3009924c9ba4fafcc0a884f84bf06b23e56595277ac5c39eba7e3c7d53b2178c2ff12ff5ce459842caed
+
+COUNT = 8
+KEY1 = 3b5801b59143c22a
+KEY2 = 3dabe0ea3da43e2f
+KEY3 = 9d3bb540d9ce5e45
+IV1 = 95d8f51d980128c0
+IV2 = eb2e4a72ed567e15
+IV3 = 40839fc842abd36a
+CIPHERTEXT = d914be9e994320e9a0b8656f51192c9e77d1c2e1dc58510c17b454faa5404e743bacbc555b4548ec26763fa2718f45dd1ac648249c7cb283e2c1e3315919de70498042b565ad7d09
+PLAINTEXT = db720ff338699c64c11b515c659a866feeea9d4f6c2d2cb30a29915595d509e99609ac8f9041c779241faebf6582b0374505fd5a2425776d771f329d064646d3a0ebc828073b801d
+
+COUNT = 9
+KEY1 = 64c4e9da626286d6
+KEY2 = 6ec4cebc3d92fbbc
+KEY3 = 19c2d98cfbcdf1da
+IV1 = 135a34071d1d8198
+IV2 = 68af895c7272d6ed
+IV3 = be04deb1c7c82c42
+CIPHERTEXT = 0ca35ba6a096b64013b3357e68c705295381aa089276f1008067267ee8c7881a1778fa7435d6fb62d5f6d84eca2f20d93cda59c4fc57f11115517865a4420cb1e93914119ddb31f586a7717e4a7fc62b
+PLAINTEXT = 08754d323aec86a38cc58c3839df9efba16680645f510cd2286ed93bc86cf5813f85143bffd298693b7bb7a774ead3b720d5c437a21a8df152ae05a87e42ff6d59c0864c38130a89cdbbdc50d4b6b8e3
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP8MMT1.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP8MMT1.rsp new file mode 100644 index 00000000..cc0e7560 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP8MMT1.rsp @@ -0,0 +1,209 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFBP8
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:45:52 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 49d52aa285fb6d07
+KEY2 = 49d52aa285fb6d07
+KEY3 = 49d52aa285fb6d07
+IV1 = 85fa7b8c0d1b3066
+IV2 = db4fd0e1627085bb
+IV3 = 30a52636b7c5db10
+PLAINTEXT = f4
+CIPHERTEXT = 00
+
+COUNT = 1
+KEY1 = a72586401f45c1fb
+KEY2 = a72586401f45c1fb
+KEY3 = a72586401f45c1fb
+IV1 = b8db3e9d155f1d01
+IV2 = 0e3093f26ab47256
+IV3 = 6385e947c009c7ab
+PLAINTEXT = 7136
+CIPHERTEXT = 7328
+
+COUNT = 2
+KEY1 = dc020b6b1043f4ef
+KEY2 = dc020b6b1043f4ef
+KEY3 = dc020b6b1043f4ef
+IV1 = cee87ad28f3715a9
+IV2 = 243dd027e48c6afe
+IV3 = 7993257d39e1c053
+PLAINTEXT = 9acede
+CIPHERTEXT = aef9fe
+
+COUNT = 3
+KEY1 = f71f314c2c64e9c8
+KEY2 = f71f314c2c64e9c8
+KEY3 = f71f314c2c64e9c8
+IV1 = 2f30af1dc1fff479
+IV2 = 84860473175549ce
+IV3 = d9db59c86caa9f23
+PLAINTEXT = ec2437b9
+CIPHERTEXT = 1c39cf53
+
+COUNT = 4
+KEY1 = d57f766213d57c6d
+KEY2 = d57f766213d57c6d
+KEY3 = d57f766213d57c6d
+IV1 = d1c36ce068937a7e
+IV2 = 2718c235bde8cfd3
+IV3 = 7c6e178b133e2528
+PLAINTEXT = c89ad77745
+CIPHERTEXT = 586ad99196
+
+COUNT = 5
+KEY1 = 0ed367fd6b0732a7
+KEY2 = 0ed367fd6b0732a7
+KEY3 = 0ed367fd6b0732a7
+IV1 = aeb4a248b5424f79
+IV2 = 0409f79e0a97a4ce
+IV3 = 595f4cf35fecfa23
+PLAINTEXT = 749f761d141d
+CIPHERTEXT = 292342301ca2
+
+COUNT = 6
+KEY1 = 7ca829cedc6b8afd
+KEY2 = 7ca829cedc6b8afd
+KEY3 = 7ca829cedc6b8afd
+IV1 = da6d7f5d35467532
+IV2 = 2fc2d4b28a9bca87
+IV3 = 85182a07dff11fdc
+PLAINTEXT = b692f22aeb173a
+CIPHERTEXT = 8eeb42b7d4aad7
+
+COUNT = 7
+KEY1 = 194a371cdcf29825
+KEY2 = 194a371cdcf29825
+KEY3 = 194a371cdcf29825
+IV1 = edad4990575abb09
+IV2 = 43029ee5acb0105e
+IV3 = 9857f43b020565b3
+PLAINTEXT = 392e9cdf241d073a
+CIPHERTEXT = 9a6d9cd118810ae7
+
+COUNT = 8
+KEY1 = 68703e16f49d9bab
+KEY2 = 68703e16f49d9bab
+KEY3 = 68703e16f49d9bab
+IV1 = 98060854eb604400
+IV2 = ed5b5daa40b59955
+IV3 = 42b0b2ff960aeeaa
+PLAINTEXT = ff0361b852daada074
+CIPHERTEXT = 66b942fe1d491b4bd1
+
+COUNT = 9
+KEY1 = f1a81676044cc4d3
+KEY2 = f1a81676044cc4d3
+KEY3 = f1a81676044cc4d3
+IV1 = e42219d1c0da4682
+IV2 = 39776f27162f9bd7
+IV3 = 8eccc47c6b84f12c
+PLAINTEXT = cf1f65a0ba3fa73721c5
+CIPHERTEXT = 33336ba3e738b7bb7d4f
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 51b5759e5834765e
+KEY2 = 51b5759e5834765e
+KEY3 = 51b5759e5834765e
+IV1 = 4d60e506c4999a0c
+IV2 = a2b63a5c19eeef61
+IV3 = f80b8fb16f4444b6
+CIPHERTEXT = 00
+PLAINTEXT = 0f
+
+COUNT = 1
+KEY1 = 373e54fdea6757cd
+KEY2 = 373e54fdea6757cd
+KEY3 = 373e54fdea6757cd
+IV1 = b38aa233e2df3cdd
+IV2 = 08dff78938349232
+IV3 = 5e354cde8d89e787
+CIPHERTEXT = 7ef5
+PLAINTEXT = 37ac
+
+COUNT = 2
+KEY1 = c7e07583ae2310d5
+KEY2 = c7e07583ae2310d5
+KEY3 = c7e07583ae2310d5
+IV1 = 150bbc5f02648ba3
+IV2 = 6a6111b457b9e0f8
+IV3 = bfb66709ad0f364d
+CIPHERTEXT = 8ded25
+PLAINTEXT = 3c2d03
+
+COUNT = 3
+KEY1 = 1a4ce5839ed93bd5
+KEY2 = 1a4ce5839ed93bd5
+KEY3 = 1a4ce5839ed93bd5
+IV1 = 6fdcd7d10c14477d
+IV2 = c5322d2661699cd2
+IV3 = 1a87827bb6bef227
+CIPHERTEXT = 9335e8f7
+PLAINTEXT = 696f35ba
+
+COUNT = 4
+KEY1 = 32fb2fe5024f295b
+KEY2 = 32fb2fe5024f295b
+KEY3 = 32fb2fe5024f295b
+IV1 = 07a1f8f1bb2e90aa
+IV2 = 5cf74e471083e5ff
+IV3 = b24ca39c65d93b54
+CIPHERTEXT = e569720ad5
+PLAINTEXT = 1ef74215ef
+
+COUNT = 5
+KEY1 = ef76130b76266d04
+KEY2 = ef76130b76266d04
+KEY3 = ef76130b76266d04
+IV1 = cbb67b4d63ad9d13
+IV2 = 210bd0a2b902f268
+IV3 = 766125f80e5847bd
+CIPHERTEXT = 8924a075874e
+PLAINTEXT = 95dfb4e4f17a
+
+COUNT = 6
+KEY1 = e532863daba719fd
+KEY2 = e532863daba719fd
+KEY3 = e532863daba719fd
+IV1 = 0cb5c32b27c5a681
+IV2 = 620b18807d1afbd6
+IV3 = b7606dd5d270512b
+CIPHERTEXT = 2a59b617f6feea
+PLAINTEXT = d13db74246eb9d
+
+COUNT = 7
+KEY1 = dfd95de9a24cfd45
+KEY2 = dfd95de9a24cfd45
+KEY3 = dfd95de9a24cfd45
+IV1 = ba112a711a15f0ee
+IV2 = 0f667fc66f6b4643
+IV3 = 64bbd51bc4c09b98
+CIPHERTEXT = 6e9772d20db56064
+PLAINTEXT = c3bcc9f0acdffe32
+
+COUNT = 8
+KEY1 = 7379fe948023c23e
+KEY2 = 7379fe948023c23e
+KEY3 = 7379fe948023c23e
+IV1 = 18769aeb6f6b13b6
+IV2 = 6dcbf040c4c0690b
+IV3 = c32145961a15be60
+CIPHERTEXT = 8f715091e1a4771d7a
+PLAINTEXT = 7a7d64f7a232584f55
+
+COUNT = 9
+KEY1 = c1342a042cc73eb3
+KEY2 = c1342a042cc73eb3
+KEY3 = c1342a042cc73eb3
+IV1 = c648f640985d548a
+IV2 = 1b9e4b95edb2a9df
+IV3 = 70f3a0eb4307ff34
+CIPHERTEXT = 0b38394db9ad934dcd71
+PLAINTEXT = abf09124e32f7e5f72ce
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP8MMT2.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP8MMT2.rsp new file mode 100644 index 00000000..2a99f218 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP8MMT2.rsp @@ -0,0 +1,209 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFBP8
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:45:26 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = ab68a1921cd36d5b
+KEY2 = f1458aec54d9bfad
+KEY3 = ab68a1921cd36d5b
+IV1 = df71db26dd647830
+IV2 = 34c7307c32b9cd85
+IV3 = 8a1c85d1880f22da
+PLAINTEXT = 26
+CIPHERTEXT = cb
+
+COUNT = 1
+KEY1 = b0265870d39e8f38
+KEY2 = 4c94295291576b23
+KEY3 = b0265870d39e8f38
+IV1 = e59ea996908f3cef
+IV2 = 3af3feebe5e49244
+IV3 = 904954413b39e799
+PLAINTEXT = 7b86
+CIPHERTEXT = 2b06
+
+COUNT = 2
+KEY1 = 1398f876d5290b32
+KEY2 = df76c875b68fd586
+KEY3 = 1398f876d5290b32
+IV1 = 129de6c4ad556688
+IV2 = 67f33c1a02aabbdd
+IV3 = bd48916f58001132
+PLAINTEXT = ca2c70
+CIPHERTEXT = 3e01f4
+
+COUNT = 3
+KEY1 = 6d0b73a72fe3dadc
+KEY2 = 2fc486df797af14f
+KEY3 = 6d0b73a72fe3dadc
+IV1 = 788dc4ea8b1df8de
+IV2 = cde31a3fe0734e33
+IV3 = 23386f9535c8a388
+PLAINTEXT = 579f8a71
+CIPHERTEXT = 2a635c36
+
+COUNT = 4
+KEY1 = e52319d0c1da4683
+KEY2 = ce1f64a1ba3ea737
+KEY3 = e52319d0c1da4683
+IV1 = fd2c1c00aa5c265b
+IV2 = 52817155ffb17bb0
+IV3 = a7d6c6ab5506d105
+PLAINTEXT = 00e62d62dd
+CIPHERTEXT = 9fe9bf4f1f
+
+COUNT = 5
+KEY1 = a445a7df9210bf70
+KEY2 = 0752bf3b6d15d51c
+KEY3 = a445a7df9210bf70
+IV1 = 0143da6f52bb79c2
+IV2 = 56992fc4a810cf17
+IV3 = abee8519fd66246c
+PLAINTEXT = 394f78b01d07
+CIPHERTEXT = d5b2411b102b
+
+COUNT = 6
+KEY1 = 51f4322f86516120
+KEY2 = b073981938aeadbc
+KEY3 = 51f4322f86516120
+IV1 = 6a7fb46940044e5d
+IV2 = bfd509be9559a3b2
+IV3 = 152a5f13eaaef907
+PLAINTEXT = e05a8e3eb9534f
+CIPHERTEXT = 3ea128aad60285
+
+COUNT = 7
+KEY1 = 6e100e57ec469783
+KEY2 = 02a8165ec2152397
+KEY3 = 6e100e57ec469783
+IV1 = c32a52742eca09c4
+IV2 = 187fa7c9841f5f19
+IV3 = 6dd4fd1ed974b46e
+PLAINTEXT = 23da0196e8304b10
+CIPHERTEXT = d56ad7f8fb00e44a
+
+COUNT = 8
+KEY1 = 32c7f758466d98f7
+KEY2 = fb2f5be6c2a1df02
+KEY3 = 32c7f758466d98f7
+IV1 = 67727e04e68f95b2
+IV2 = bcc7d35a3be4eb07
+IV3 = 121d28af913a405c
+PLAINTEXT = 9994ff996996e94f2e
+CIPHERTEXT = 92002c41ec7dd86dcb
+
+COUNT = 9
+KEY1 = 9d4c16e0fe626e4f
+KEY2 = c7e65bea25b08af2
+KEY3 = 9d4c16e0fe626e4f
+IV1 = f90004e3f56127e3
+IV2 = 4e555a394ab67d38
+IV3 = a3aaaf8ea00bd28d
+PLAINTEXT = d1356fc13e1c77b67a58
+CIPHERTEXT = 1a4c8aedc6646df52134
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 2afb08105d7f7a0d
+KEY2 = c1134f380d891a7c
+KEY3 = 2afb08105d7f7a0d
+IV1 = 7c240546899dfb81
+IV2 = d1795a9bdef350d6
+IV3 = 26ceaff13448a62b
+CIPHERTEXT = fb
+PLAINTEXT = 1d
+
+COUNT = 1
+KEY1 = 5734681332a25102
+KEY2 = 6de5f74013fbd96b
+KEY3 = 5734681332a25102
+IV1 = 70fbba89679a8c4a
+IV2 = c6510fdebcefe19f
+IV3 = 1ba66534124536f4
+CIPHERTEXT = 7c21
+PLAINTEXT = 2348
+
+COUNT = 2
+KEY1 = cda21aae3e1a8f0b
+KEY2 = 58153ba8fb9e8f1c
+KEY3 = cda21aae3e1a8f0b
+IV1 = 11e67de4d96d8437
+IV2 = 673bd33a2ec2d98c
+IV3 = bc91288f84182ee1
+CIPHERTEXT = cfb150
+PLAINTEXT = 6ec9bd
+
+COUNT = 3
+KEY1 = 8fd5dc1a91167f43
+KEY2 = 3d0d7c468afe4a25
+KEY3 = 8fd5dc1a91167f43
+IV1 = 4c70594c5ca6cb00
+IV2 = a1c5aea1b1fc2055
+IV3 = f71b03f7075175aa
+CIPHERTEXT = 12fc8ce0
+PLAINTEXT = 4b230a41
+
+COUNT = 4
+KEY1 = 5219bf6167732504
+KEY2 = 7fc41952fd29923b
+KEY3 = 5219bf6167732504
+IV1 = d2dc6f16b0262766
+IV2 = 2831c46c057b7cbb
+IV3 = 7d8719c15ad0d210
+CIPHERTEXT = d54e2c2430
+PLAINTEXT = 2a8715f7f1
+
+COUNT = 5
+KEY1 = 6da431d6379b912f
+KEY2 = 382601343e678cf2
+KEY3 = 6da431d6379b912f
+IV1 = c6044a686ac251d2
+IV2 = 1b599fbdc017a727
+IV3 = 70aef513156cfc7c
+CIPHERTEXT = 556c92d22a4a
+PLAINTEXT = 7a25ba4bb69b
+
+COUNT = 6
+KEY1 = 5798f7a1bcc29889
+KEY2 = 0b97da8f68a2807c
+KEY3 = 5798f7a1bcc29889
+IV1 = 3aab26bd92351b6e
+IV2 = 90007c12e78a70c3
+IV3 = e555d1683cdfc618
+CIPHERTEXT = a58a0de46c1ce6
+PLAINTEXT = 910d68573f3da4
+
+COUNT = 7
+KEY1 = d326aebc153746ea
+KEY2 = f238b63de0cd2a98
+KEY3 = d326aebc153746ea
+IV1 = a9c3a039d01b7a4b
+IV2 = ff18f58f2570cfa0
+IV3 = 546e4ae47ac624f5
+CIPHERTEXT = 3194f8d41be3205f
+PLAINTEXT = 043a40fd1a9d4b4d
+
+COUNT = 8
+KEY1 = b3ef31bc91524302
+KEY2 = 85a4a72025f176d3
+KEY3 = b3ef31bc91524302
+IV1 = a2913133faf019ae
+IV2 = f7e6868950456f03
+IV3 = 4d3bdbdea59ac458
+CIPHERTEXT = ff4fa739652b2b9f99
+PLAINTEXT = 293d1c6fbc31f3f8d1
+
+COUNT = 9
+KEY1 = 3e890725f8165e58
+KEY2 = f11532e98998078c
+KEY3 = 3e890725f8165e58
+IV1 = 4935cde335f15a34
+IV2 = 9e8b23388b46af89
+IV3 = f3e0788de09c04de
+CIPHERTEXT = 39f6b7f75cb157e47214
+PLAINTEXT = 0d84dbad4eab9fae986c
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP8MMT3.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP8MMT3.rsp new file mode 100644 index 00000000..5e4e5090 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TCFBP8MMT3.rsp @@ -0,0 +1,209 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for CFBP8
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:44:59 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = bf37620bba1c5780
+KEY2 = bf158c25fe7c1685
+KEY3 = 7fb3b6b3d6978331
+IV1 = a3c916209d0a0b62
+IV2 = f91e6b75f25f60b7
+IV3 = 4e73c0cb47b4b60c
+PLAINTEXT = f4
+CIPHERTEXT = ed
+
+COUNT = 1
+KEY1 = 15c804c1ea3e04da
+KEY2 = 64a11fb5b5a1868a
+KEY3 = 0bdf7998d307c1c2
+IV1 = e5ebe251b95538dc
+IV2 = 3b4137a70eaa8e31
+IV3 = 90968cfc63ffe386
+PLAINTEXT = f6b1
+CIPHERTEXT = 1608
+
+COUNT = 2
+KEY1 = f7e9409ba1c17502
+KEY2 = c80dd9571a49cdc4
+KEY3 = 52cd76da7a7564a7
+IV1 = f21bd47eaa99a46b
+IV2 = 477129d3ffeef9c0
+IV3 = 9cc67f2955444f15
+PLAINTEXT = 25dabc
+CIPHERTEXT = f17827
+
+COUNT = 3
+KEY1 = 20fb2ffb4686cb97
+KEY2 = 269804267c7aea07
+KEY3 = 32fe1a32dc7985b0
+IV1 = f05bd8d479eae7ad
+IV2 = 45b12e29cf403d02
+IV3 = 9b06837f24959257
+PLAINTEXT = 5d3c6d5d
+CIPHERTEXT = a8ff38db
+
+COUNT = 4
+KEY1 = 37452f9e766b4cd9
+KEY2 = 25fe8ac4efa4ce94
+KEY3 = 94f14304bc1351c1
+IV1 = 5adc17d44040e4c1
+IV2 = b0316d2995963a16
+IV3 = 0586c27eeaeb8f6b
+PLAINTEXT = b2bfdf994c
+CIPHERTEXT = 2e50030e2f
+
+COUNT = 5
+KEY1 = b0a4e349670b610d
+KEY2 = 57375b4c4916cef1
+KEY3 = fb5ea425a4571513
+IV1 = 872d732bd709c6c4
+IV2 = dc82c8812c5f1c19
+IV3 = 31d81dd681b4716e
+PLAINTEXT = ff81eb90e544
+CIPHERTEXT = 8a71924754f7
+
+COUNT = 6
+KEY1 = b3e949541ac2c8e5
+KEY2 = 9eb05e9d32f4da94
+KEY3 = 5d49e994e90ea862
+IV1 = a4bf4a4ad53ed6c7
+IV2 = fa149fa02a942c1c
+IV3 = 4f69f4f57fe98171
+PLAINTEXT = 94febe379069a5
+CIPHERTEXT = 1978fdefdb9bbf
+
+COUNT = 7
+KEY1 = 70b31c89b392cec2
+KEY2 = 07e0b67a109e380b
+KEY3 = b0797f7ad591e67c
+IV1 = b3774773453acdae
+IV2 = 08cc9cc89a902303
+IV3 = 5e21f21defe57858
+PLAINTEXT = bba6bd6557ae51e3
+CIPHERTEXT = 92cfc8b06e516b93
+
+COUNT = 8
+KEY1 = 451c1561cbdc2a64
+KEY2 = a15173a8a780704c
+KEY3 = 343e9bcb6449f1ad
+IV1 = 20dc465d8864a591
+IV2 = 76319bb2ddb9fae6
+IV3 = cb86f108330f503b
+PLAINTEXT = 37ec2ff3e975fe8966
+CIPHERTEXT = cb996a1c22e1384841
+
+COUNT = 9
+KEY1 = f8fb682c5b512adf
+KEY2 = 61542ac707ba267f
+KEY3 = f807dc8580641fef
+IV1 = 42aa585249e2096e
+IV2 = 97ffada79f375ec3
+IV3 = ed5502fcf48cb418
+PLAINTEXT = c39b6016133046aeaa8d
+CIPHERTEXT = 7c58985884d4e7f87946
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = d30bc7197c67df86
+KEY2 = 678f73688f3d3dc8
+KEY3 = fec2a80e8558a419
+IV1 = 1641a83207195e90
+IV2 = 6b96fd875c6eb3e5
+IV3 = c0ec52dcb1c4093a
+CIPHERTEXT = 8a
+PLAINTEXT = 7c
+
+COUNT = 1
+KEY1 = d95b628a8a940108
+KEY2 = f4d03d5e7f8086bc
+KEY3 = 2057dc07bab57c37
+IV1 = e817014ef73ed72e
+IV2 = 3d6c56a44c942c83
+IV3 = 92c1abf9a1e981d8
+CIPHERTEXT = 9221
+PLAINTEXT = e37f
+
+COUNT = 2
+KEY1 = 13205de53e3d5254
+KEY2 = 258997ba92ae198c
+KEY3 = f26df4a7259d5dd6
+IV1 = 24f5f7006b8b3587
+IV2 = 7a4b4c55c0e08adc
+IV3 = cfa0a1ab1635e031
+CIPHERTEXT = 61d0bb
+PLAINTEXT = 3ef941
+
+COUNT = 3
+KEY1 = fb76a758eceac1f8
+KEY2 = 92e6ba0249d6f864
+KEY3 = fe3e38cd7a615825
+IV1 = 29a53a8bd6f0a4b2
+IV2 = 7efa8fe12c45fa07
+IV3 = d44fe536819b4f5c
+CIPHERTEXT = 76c8e1d8
+PLAINTEXT = 9fbc5dcf
+
+COUNT = 4
+KEY1 = 80d92f40453e252a
+KEY2 = 8cdac28307a7f861
+KEY3 = 2301c2cb7ffde664
+IV1 = 90b8a3ea6e883b4b
+IV2 = e60df93fc3dd90a0
+IV3 = 3b634e951932e5f5
+CIPHERTEXT = 6d8ceace9a
+PLAINTEXT = 76259fce4c
+
+COUNT = 5
+KEY1 = 04ef7c5ec17308b0
+KEY2 = d6a4fba8b6ad1fb9
+KEY3 = fd4cf2f11a57e916
+IV1 = 754c5019edd90df4
+IV2 = caa1a56f432e6349
+IV3 = 1ff6fac49883b89e
+CIPHERTEXT = 9da036049db8
+PLAINTEXT = 8b481a44af0f
+
+COUNT = 6
+KEY1 = 4602ce5e0867e39e
+KEY2 = 294c7ad3159b91c8
+KEY3 = 3807255d6bcee9fe
+IV1 = 4bd8d429bef26fdb
+IV2 = a12e297f1447c530
+IV3 = f6837ed4699d1a85
+CIPHERTEXT = 9b69501120f1b1
+PLAINTEXT = 00ed94c4c55fb3
+
+COUNT = 7
+KEY1 = d9e66794f2542968
+KEY2 = b386aefea716fe4f
+KEY3 = 8f792a326ea86e29
+IV1 = a7cf6d03e28b2c28
+IV2 = fd24c25937e0817d
+IV3 = 527a17ae8d35d6d2
+CIPHERTEXT = 5d80183a4253588e
+PLAINTEXT = ed21591c90484939
+
+COUNT = 8
+KEY1 = 57ab1368b31a8af2
+KEY2 = 9d4f0815382aabdc
+KEY3 = b6629b2cf885c44a
+IV1 = 4b89a154f7c85427
+IV2 = a0def6aa4d1da97c
+IV3 = f6344bffa272fed1
+CIPHERTEXT = 240372313fe1891265
+PLAINTEXT = d30964d5d561ddac26
+
+COUNT = 9
+KEY1 = 430deac15bf2f2cd
+KEY2 = d00dfe200dbcf754
+KEY3 = 615b0b4ff75dfec2
+IV1 = 6e415e7558eb6c6b
+IV2 = c396b3caae40c1c0
+IV3 = 18ec092003961715
+CIPHERTEXT = 9124c54354715e3e57cf
+PLAINTEXT = 5d6dd1fc268801938ce5
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TECBMMT1.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TECBMMT1.rsp new file mode 100644 index 00000000..5662fa1f --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TECBMMT1.rsp @@ -0,0 +1,149 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for ECB
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:34:25 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = c44aef545b1331f2
+KEY2 = c44aef545b1331f2
+KEY3 = c44aef545b1331f2
+PLAINTEXT = 6c70fa4b7aba00ca
+CIPHERTEXT = 9413638a0b5401bd
+
+COUNT = 1
+KEY1 = 2cb5642a45dada4c
+KEY2 = 2cb5642a45dada4c
+KEY3 = 2cb5642a45dada4c
+PLAINTEXT = 480d56627ca33bfa1eba378155f435c6
+CIPHERTEXT = 4597967c130f100cb44f10687683a808
+
+COUNT = 2
+KEY1 = f175d52a388ff4ba
+KEY2 = f175d52a388ff4ba
+KEY3 = f175d52a388ff4ba
+PLAINTEXT = ff2dd14dcedeaa43b12a26ee8f2d82eaa8fa158426df831c
+CIPHERTEXT = 56535e4661ff6bf892ad5f3593179a0fc7dd647567930dbc
+
+COUNT = 3
+KEY1 = b51a4fbace3de354
+KEY2 = b51a4fbace3de354
+KEY3 = b51a4fbace3de354
+PLAINTEXT = 1d1a567f1beeab44bb7eecf0ae086b59fdbda9d1422123ac17b46efccfd2869f
+CIPHERTEXT = a6861133718c5187eecea82c7e26be2e0e938112b1da96511f48cecdb842d6ba
+
+COUNT = 4
+KEY1 = c1cbfde65b5298ae
+KEY2 = c1cbfde65b5298ae
+KEY3 = c1cbfde65b5298ae
+PLAINTEXT = e4f2c8b45536719b42cae8dec1b91b844be76d386ff7084cc76b70ff2c0d5efb268ecb22a66e4b8a
+CIPHERTEXT = fa0c0d54d3340acbebf9ed6b78aa4c1a91ab7d992ea7f65976ba5678e3209fc1938e12a56210cfff
+
+COUNT = 5
+KEY1 = 9ece49341668bf3b
+KEY2 = 9ece49341668bf3b
+KEY3 = 9ece49341668bf3b
+PLAINTEXT = b5f0de245238e5b2ff69e5342c04edd37112727821658c31222063d6fc7ae3ec2fbeb8c9ca9676f9398a17e15fc4aba2
+CIPHERTEXT = 9218d8de253a9a7a81e663d38332f0c72827cd97a536338433c1b3040313421c3ca3f8ac26044f4fcb2ab3234f869baf
+
+COUNT = 6
+KEY1 = dc2a83ecc8911529
+KEY2 = dc2a83ecc8911529
+KEY3 = dc2a83ecc8911529
+PLAINTEXT = 87f2a1f05bc479b94d433ee78c703aaf435c88cb1a9ac185fff4d911265d431f4e275cb14776062ab1f593a806c7e694dbc1d47862d6d010
+CIPHERTEXT = 21f27768851332c489e3e7807812e908403b82d5ea0a2317a80c4b46a66cfe78e19b08b0fbdd7c84240df60961acee197b37747609ef823e
+
+COUNT = 7
+KEY1 = 2f2fb5fd49ec9452
+KEY2 = 2f2fb5fd49ec9452
+KEY3 = 2f2fb5fd49ec9452
+PLAINTEXT = 59e3f176cd44dccdc0c49247bbd8852059c2c1c4a862713fd34fa5f5fe26529372229a45faed4e2a8cb6b2052c8480350eca2fe7fb3b748af5df0a831e67af22
+CIPHERTEXT = 7794c29e14f9f7412e0287d08b4b1a2bf6134c5578ca2652c837f8a8e95972d63e901a02552b79bad1df9fed7e6deaabffe7bedb840264ff23dbd916d41f016a
+
+COUNT = 8
+KEY1 = e510b051135897a1
+KEY2 = e510b051135897a1
+KEY3 = e510b051135897a1
+PLAINTEXT = 315146168bac3b6f1f57456a1dd1bb991e5ea3760a58bd5139c6c48dd830f00c8fb1bfe8604df564d385e1225029e396cc6e2bbaa840c303d5d9d0943d9315b35efab879382649cd
+CIPHERTEXT = 381f57872014a65d9b02733c60cf297b56900a5f9b47ee535a1e2f2e7b8efa252e6bbda0d00a38a71be82130e4346303e761c951cdf0661214a6b27ed3f5247bf174002a9128a0e6
+
+COUNT = 9
+KEY1 = 1fefaddc34e65475
+KEY2 = 1fefaddc34e65475
+KEY3 = 1fefaddc34e65475
+PLAINTEXT = d2bd867eccb142c0e9f7dfdeec1163182bd3e7749d2149a935fa203c6eb6f5e9288bb044b25650a02898df30ffbfa56cdea89db6af61253ef733f92362e062dba329abd47a93d55b166b8cbe9e0859ad
+CIPHERTEXT = be58790824ae3e8039fdece08aff5a5a3b855cd3cd61e8cf4482bf019720ee979d8098d3edf9dabaeab7e4732b6c9df091f706176e9269c409507934cc944506bb72919f65acb2e213aab6a9183e1a47
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 329104a4bac82531
+KEY2 = 329104a4bac82531
+KEY3 = 329104a4bac82531
+CIPHERTEXT = 8f0ebc22d0948ebf
+PLAINTEXT = e08dd5a15219b031
+
+COUNT = 1
+KEY1 = 2ae9a191aefdcb2a
+KEY2 = 2ae9a191aefdcb2a
+KEY3 = 2ae9a191aefdcb2a
+CIPHERTEXT = 25403d87588af5e5f0eb95f62840db92
+PLAINTEXT = c963892c428f6355c595295ec2057027
+
+COUNT = 2
+KEY1 = 9de0fb689e68ea34
+KEY2 = 9de0fb689e68ea34
+KEY3 = 9de0fb689e68ea34
+CIPHERTEXT = c7d101363c689d823237581a564dd8972a2b67a8f31bfa08
+PLAINTEXT = 56a4800c2e7d7bf2ce92254bedabf8503628f9b6bd29b56b
+
+COUNT = 3
+KEY1 = 3eae8973769d4004
+KEY2 = 3eae8973769d4004
+KEY3 = 3eae8973769d4004
+CIPHERTEXT = b6a653c436fd08b56e7384e33b469e1a4b38a3c1778f4a025361e92c030ee855
+PLAINTEXT = 407965158cfa45337af944dab35115f3dadf964bc11badf1ac9a8cdefab1fd1e
+
+COUNT = 4
+KEY1 = 9e52b67620620b2c
+KEY2 = 9e52b67620620b2c
+KEY3 = 9e52b67620620b2c
+CIPHERTEXT = a28c4bcb84619f902fac166b2189a58aa4a98c3b950239496ac56a89749193b060e67f6704dc39a2
+PLAINTEXT = db46761f6264cad16551675e0f9025b6ec70c5ba8bbf28dbb6eb03c91ec57d34838a741d8d151564
+
+COUNT = 5
+KEY1 = c1192fba207cb562
+KEY2 = c1192fba207cb562
+KEY3 = c1192fba207cb562
+CIPHERTEXT = 5b58a793364698ce9b166ebfb0632405e5ef4888d5f2fe6771b147325b53835a90f035e54aec076625830e2d80a44ebb
+PLAINTEXT = f68f04b13a827cbe727e8220d3b0f07a8616cfa4e6849a3f21f9db57a5a0332d80306f912ff078de2d9e59363ee0004f
+
+COUNT = 6
+KEY1 = 49b05da22af70e40
+KEY2 = 49b05da22af70e40
+KEY3 = 49b05da22af70e40
+CIPHERTEXT = 4b5a4a502a889c0642d24c901834b1f75f2ca8b7762836cd313a6f11dc1396c67d2f85705a4d4fe5bb2225a7f14e7671978f5a1018353174
+PLAINTEXT = fad78544289a615f32780921ef1edf4e943ea991f029c5432dfd80e314692c821629658e7e5cf52d1153a53623b52b4b55ca543b531243e6
+
+COUNT = 7
+KEY1 = 523e809bd6ec01b6
+KEY2 = 523e809bd6ec01b6
+KEY3 = 523e809bd6ec01b6
+CIPHERTEXT = 43e4307327c338b1abbef1c2073ef7605ded1aab9c0c621ea50d50c2ac5e67a1e183eb7e5067e9c306f477bb76e13d011bcb34395e88aefdb9b8971a1d9cfafd
+PLAINTEXT = 2fada5d9be6ede618d43a5034be89122cea4837d1ff7eac413047977a3dd78eabe9cc65dea22032c644d1344aaf7acb16f611894a4c62ebdec15379b11faf633
+
+COUNT = 8
+KEY1 = fb38e3ea34df385e
+KEY2 = fb38e3ea34df385e
+KEY3 = fb38e3ea34df385e
+CIPHERTEXT = c20f5c0bac6f204d788e7b58459f2020055c325181fa62e59e5c57f5de8752cf2956124ace6ef556c57561d7377f62b43fc9942af3aa44679ec6d254508559b299c4926891caf61b
+PLAINTEXT = 2d62b323b35179726c78c0179abe9e1c314a8a4531fad3b3f21c722b40bf147e3a632d53fd00b943c4428860ab44edb96dbcaf4e92c76f502f01e7c737298987e0d2473efdeb9a6a
+
+COUNT = 9
+KEY1 = 52ce6b0eb53da134
+KEY2 = 52ce6b0eb53da134
+KEY3 = 52ce6b0eb53da134
+CIPHERTEXT = e39714c17e6cdfc3922032bc0fb4995bf7ee552bb75952bbb78d59fc30b087ea3e3dfe6e3604da8339736799091391361c559be3ef8f14469d42078cb09e730a3748fa23195add6ca8ac280e79522a6c
+PLAINTEXT = efb22795e6bc769ea3e00dd4f4085695b1356b5baa56ac5cc3c095d205d5333ee2dca41e531e476a119a42b974f0ba3419e4263a2472bcd493bd176bfdb4a220d53837b83f9bbd9df1c1c6c340d602ab
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TECBMMT2.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TECBMMT2.rsp new file mode 100644 index 00000000..a9228667 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TECBMMT2.rsp @@ -0,0 +1,149 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for ECB
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:34:02 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = ad192fd064b5579e
+KEY2 = 7a4fb3c8f794f22a
+KEY3 = ad192fd064b5579e
+PLAINTEXT = 13bad542f3652d67
+CIPHERTEXT = 908e543cf2cb254f
+
+COUNT = 1
+KEY1 = 259df16e7af804fe
+KEY2 = 83b90e9bf7c7e557
+KEY3 = 259df16e7af804fe
+PLAINTEXT = a4619c433bbd6787c07c81728f9ac9fa
+CIPHERTEXT = 9e06de155c483c6bcfd834dbc8bd5830
+
+COUNT = 2
+KEY1 = 326b494cd33ee657
+KEY2 = 37ae5ebf46dff2dc
+KEY3 = 326b494cd33ee657
+PLAINTEXT = 0654b84f30cbb2846bccd9d56463d6db9e12f3465b2322ce
+CIPHERTEXT = dec0c5935e5430f98ad636fa3d7caff1946766bdc201edd9
+
+COUNT = 3
+KEY1 = 3ba298d997082338
+KEY2 = e02a3d204fae7949
+KEY3 = 3ba298d997082338
+PLAINTEXT = 19a4f0ef3cabcad667c6e0a02b55e3c66db885c20b613cc7c32d43af50f4e335
+CIPHERTEXT = 622c65eb6fc01bf4892287532e32c9c73b991cb33932926ac43a0c7e08b34501
+
+COUNT = 4
+KEY1 = 32325e8583e59729
+KEY2 = 6e52c7fbe01a5dad
+KEY3 = 32325e8583e59729
+PLAINTEXT = c8f97e987da45d96ed5878e565faac36e55f0da3300f93921f4810dd3a46653089c2f6b2a8b95be7
+CIPHERTEXT = 2c125b84ff980e01d11ac40e2588002a28d30e1013e8e106b2e8347d064b52ef20def27628887605
+
+COUNT = 5
+KEY1 = 2f92438cd30edcd6
+KEY2 = f897d5c425ec83df
+KEY3 = 2f92438cd30edcd6
+PLAINTEXT = efdf4135fbf593c7f53f51f86040c47e6c7e2837d2d8b019001acb6876cfa62b7057f2e0c539e76f0fba895d0cae2a42
+CIPHERTEXT = c09691e1724a8998a762df22469934515753389fd22b51734bf0b122e00380f6e407fcd363939f54f5818899375b4cea
+
+COUNT = 6
+KEY1 = 92d646b6d61a8510
+KEY2 = 52e9675d9b326de5
+KEY3 = 92d646b6d61a8510
+PLAINTEXT = e8890a1054b6733ec3b3d6475636e0b0c912eafce3087e2211df163e4eb62687459a5d81ba5428742684791ca1f4c6a2052654cb512fb570
+CIPHERTEXT = 6dc5716914394e495003655a5ab25c190aec8aabd621c6b9f0732a23136522df9a1ab6ce84367d5d1e8806ed27dd769d39fcbeaa7742038d
+
+COUNT = 7
+KEY1 = ea3e7fb61329d9a1
+KEY2 = 4ff1918cb0f74083
+KEY3 = ea3e7fb61329d9a1
+PLAINTEXT = 9fcd4e1b7805a172c17e80405ddd0600662837771ee394f42979edd7fade77508c731e69522a1c4770eacbac2b35b7c19e08f813af02bfdb42c92e82adaa6d64
+CIPHERTEXT = 086ad70c371c688ff7e157a55db197f09bc56d680d12bd0fc24174d090deb55e01860f47c7d9c943823b6e3951508acfa298984f01f1c8084b94214cd9e4c620
+
+COUNT = 8
+KEY1 = 377392682f37860b
+KEY2 = 2cc1ea2304bab0e9
+KEY3 = 377392682f37860b
+PLAINTEXT = 6daad94ce08acfe7d8856ba52936b108995546b78ad02f2bd91ddcac05ce657c94661352b26b22091cbcc59a3c256b489531411a623ff88e7ad8c88c7740b599174b114de3724207
+CIPHERTEXT = 039f63d782b68ebd00d215121f3f4b91693b84073702685815bda21a6b2d9c80bd20b1b9632d28b1284d80e043bd955f8b650d878a9819bb26a9adda0eb1dc13002ba90d66246fcd
+
+COUNT = 9
+KEY1 = 07bfe09452fef80e
+KEY2 = 7015b6df263e9858
+KEY3 = 07bfe09452fef80e
+PLAINTEXT = 1b15b4e31f41cc06b4c4b91f0a24b70ada40f9bd92e4ee7eb29bc35476c429bbb5e8589b094b547b30c16ff2b2c30f5fc4c2b1da6dbb2e6be70c3d7948863a8562c32618e7baeef9d190f0a400b2bbf8
+CIPHERTEXT = e198fe5979b9afaafccb00a001f1fe7f0550ad1a55139e84e855fdc2c1129bf1a70952d352cb91931532ee39d837ba9d7a043a6b9a35cae313068a4b28f85ad04201cf1e26997692ee1694656f570a8c
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = b32ff42092024adf
+KEY2 = 2076b9d3d9f19e6d
+KEY3 = b32ff42092024adf
+CIPHERTEXT = 2f3f2a49bba807a5
+PLAINTEXT = 2249973fa135fb52
+
+COUNT = 1
+KEY1 = 023dfbe6621aa17c
+KEY2 = c219eae9cdecd923
+KEY3 = 023dfbe6621aa17c
+CIPHERTEXT = 54045dc71d8d565b227ec19f06fef912
+PLAINTEXT = 9b071622181e6412de6066429401410d
+
+COUNT = 2
+KEY1 = d9d307fba7705bc1
+KEY2 = 1c7af1d58f9b75da
+KEY3 = d9d307fba7705bc1
+CIPHERTEXT = 9105e38cf9eb1971f1486d6d5363a08e035ae197c7ae40a5
+PLAINTEXT = a22d7e91408aec4a3bbc75b1bfcefe41e7fc6398bd6fa9c3
+
+COUNT = 3
+KEY1 = 7cb0026b8fc140a8
+KEY2 = aee3f84c83830798
+KEY3 = 7cb0026b8fc140a8
+CIPHERTEXT = 0adc855fbd9142d59791cdcd21db7d540aea2fe2b42ce877f3b6bcea1136ee7e
+PLAINTEXT = 1dcee48799e0baa891902b5fb7c26d5f37285a886983c8399c47654121bcae48
+
+COUNT = 4
+KEY1 = d36e52a80786260b
+KEY2 = 074057b5e5e6e5da
+KEY3 = d36e52a80786260b
+CIPHERTEXT = c9731543aff4343b02890e241eeb0528992b7680d2f7ebddcd1991063e40ecc2e303c9f817237415
+PLAINTEXT = 072834ad87a16a8aa7f38f2dc1bc218703a719a725093b7baa0e3e731c2e15ffc6c80427fe041077
+
+COUNT = 5
+KEY1 = d076265e5443fd80
+KEY2 = d5f17f1c979ed91c
+KEY3 = d076265e5443fd80
+CIPHERTEXT = 888b2133718935050ebbca09f56acd091acd72f8f3917928d9b9afbdb2a8b762cd7c0a3a0d9e3d194a9783f5f4267297
+PLAINTEXT = f8cbfae75d988242171b1f3535af3e6634abf28543db9278ad2c008738200833d29f8fdf8ceaa1f783233bd60587231e
+
+COUNT = 6
+KEY1 = d3ad1ff84583517f
+KEY2 = 46d37c409ec20db6
+KEY3 = d3ad1ff84583517f
+CIPHERTEXT = 9ad1cbee823e5421b966b0d0aadabfa36d237417984a4123589ed01cc0b1f4d660a4df0c1aa4950131b5a168a3ae0681b9857886dccdcc45
+PLAINTEXT = 8db7c048a8f690771eb9ed55a9cddfbb8010ce9f97832abb66601c20dd219ba6b6d607cef638fb218202eba1f7028b9524a3567e87518fa1
+
+COUNT = 7
+KEY1 = b957d5436d02b346
+KEY2 = 896173ab29e5fdfd
+KEY3 = b957d5436d02b346
+CIPHERTEXT = 76288113b8286dd13ab2dd96f3b2a2396e53c7ee1f0a806bf7d75d4a36c8c3af81be9d2a34734fdff9bcebe49a0ca8ea133a9020ec847854c5d3355b33410db4
+PLAINTEXT = 4b4557985d8bbe9e343608c6cc4a4b804d07233f5dc3869d6baa176275d8418fb12ea1d34b34b42555c8ad78299176b31f1f7517683f5fb384837a8537017a92
+
+COUNT = 8
+KEY1 = 98157ca15d1ab652
+KEY2 = ab583226320798e0
+KEY3 = 98157ca15d1ab652
+CIPHERTEXT = b4ae2c61e853bf62f6314b886488a2afacbb2bf18f54d7c9ad475778537b8da8948640509bb913d73f5cb87cd83a61f5516177567f238f35b1609a0c89085bde0adb1f1ef173a8cc
+PLAINTEXT = 8b2f98c16c2f6149f5f45cb3d553f8fa9c0b891bc4081aa5b4e142a6c7d998e54d91ca262b013d1bd46edc7f565e4d04f4d8d4fa43098d801b9d6212c771097fa02fe920e7a17f2d
+
+COUNT = 9
+KEY1 = b64c4c3efbc75bea
+KEY2 = 2fc492a462047361
+KEY3 = b64c4c3efbc75bea
+CIPHERTEXT = e9121506f8c0bd362f0767f8e62c56558f309301a1f78599d5aac129955923f1b1e51e69551d508238275a2f1522ee245f092add31da24e384f8c64ba4cedc7fe5b66b41911944ec26d7dafdbee951d3
+PLAINTEXT = c833e04b591bcaa745ff67893a468ec160264ef04f1cde0f68b8ae54ff6530ad5f2575b32df70e5ecda7b8d49bc17680ccb65e4367a8da9a20c3b67232ef97666eedfb03602b7170d23a18dc19341602
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TECBMMT3.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TECBMMT3.rsp new file mode 100644 index 00000000..45d11b31 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TECBMMT3.rsp @@ -0,0 +1,149 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for ECB
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:33:38 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = a2b5bc67da13dc92
+KEY2 = cd9d344aa238544a
+KEY3 = 0e1fa79ef76810cd
+PLAINTEXT = 329d86bdf1bc5af4
+CIPHERTEXT = d946c2756d78633f
+
+COUNT = 1
+KEY1 = 49e692290d2a5e46
+KEY2 = bace79b9648a4c5d
+KEY3 = 491004c262dc9d49
+PLAINTEXT = 6b1540781b01ce1997adae102dbf3c5b
+CIPHERTEXT = 4d0dc182d6e481ac4a3dc6ab6976ccae
+
+COUNT = 2
+KEY1 = c16189f43451196b
+KEY2 = fb4c438580c20408
+KEY3 = 571f0d5e4a586491
+PLAINTEXT = dd9a97741093334bd0c9761105cfb79cc3bac34a7c85bd8a
+CIPHERTEXT = d2f3f1d32a9ea09b5acb589c41a07320fb8d33a2fc2b0ed2
+
+COUNT = 3
+KEY1 = b0265876ae4cce98
+KEY2 = e697cef4048a45e3
+KEY3 = 0815a83276efec31
+PLAINTEXT = b59cc5e13bd10f801e2464e029c383cacfe812646c0bf805ce560848f459df5f
+CIPHERTEXT = 26d325d7f6b90510521344875d157166580748b2a3feeecb959e574e451cae80
+
+COUNT = 4
+KEY1 = 7694a26d9e1091c2
+KEY2 = 37d32cbfa1e351a1
+KEY3 = 3df8208cc8081c54
+PLAINTEXT = 212399b6144969c0c9f35191f5d1d4f641b607faa19b8c07e1e7c44d81ee4167c2b77a3c0102c324
+CIPHERTEXT = 47ff992001e04464e55fd48a48e040a4ef3e0839c49a2794c5c0c9f2a80d345fcaea8e398416ab8e
+
+COUNT = 5
+KEY1 = 312cc2cee9d39823
+KEY2 = fe6d91d6234c52a4
+KEY3 = 54e92970a84073dc
+PLAINTEXT = e8fb12cbd680cff095ff6244b09fe8c054b1fddf19362f4820a1b3ad5ede57f33792b8934fa5b5409dfe23cac18dc242
+CIPHERTEXT = 98ec2853be1efb64342583f9e97c19c4f22ca6dc49f9fa0f4c145e7503f95044830a44b7cd9456c0e5c91162263e2fe9
+
+COUNT = 6
+KEY1 = 6bfb4a0e98a7e5a2
+KEY2 = f783b9f752ea4f15
+KEY3 = c720340d0292b937
+PLAINTEXT = e01bc9ce0347c596b35f411e6d8229ad2855e42022b0373ade98663c6d6e9cb5ee658c9c513a599c601fb3affff844eeb2c94aa8616f85b1
+CIPHERTEXT = 505c359d3f870460714352517e1836b76cfe28f3b89a279a23b53626a03a457d714dd9e27d9c57038997a53e60c7dc1eb2336f325fe1ea8c
+
+COUNT = 7
+KEY1 = 940d328fb67f9b5e
+KEY2 = ea4cf2085e918c52
+KEY3 = 974519767fea4ab3
+PLAINTEXT = 45e9d10e247017efb2792393aa23abaf7f69c9bf4c4a964c0926fb6a056cc4869072f65ef8a46351b8e17bd9eb226556075d4f0dc7a9027069a2b9a01a0f3330
+CIPHERTEXT = eb2abfb7511454e5840787d8cc5be41c92de66e8b52d12a08a27f0745334858eb4ae4d4ec61fcef370aec427f3ceebaa6e74a1353508791311e9d9be1b895c94
+
+COUNT = 8
+KEY1 = 9867a88fc1a8f1ce
+KEY2 = 1af8bf7f769425ef
+KEY3 = a2fb6152cb64bfb3
+PLAINTEXT = e1a5d4c5a7520f8e1fb3d2cefd789f52ed748e25dfa03eb1a2631126b51099205ab14d84eb0381aa71c195c273256c700cad1fba401bf32490bf8919ccf8558d29f951e194c9f307
+CIPHERTEXT = d4e6ca33f17d3dcb733ad5f680a59c9c70072dddfcd4fc26a56c08655be96ea82590906684c915eb0570331e3705685e6d2c687f8e02d9acf25ca50dd1cbb8bbc2fe6b5279f42be3
+
+COUNT = 9
+KEY1 = df20ae3d54858013
+KEY2 = 514367024f7a7ad5
+KEY3 = 29d979f71abfd5f1
+PLAINTEXT = f0fa379f7e507d3d97674fc3538b19fd1b1034f0b1410b6e70997de7d63683823f8a136cf354447063ceb2c9b02824346d366c49a6668f0a21f426bde36104f7f62119fa6a9496409a375258b11c6df1
+CIPHERTEXT = ce9233ba7cbbc0f8ff3cf7d6ff70940012ef58aad5c86399fe0a8216c96e4192deff426946b03ae2374d7fd1d9a5933bac7878044ac217649f51fdaaaa915d01125f0dcbe9ed1ca6aba83314f8e861b1
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 52daec2ac7dc1958
+KEY2 = 377392682f37860b
+KEY3 = 2cc1ea2304bab0e9
+CIPHERTEXT = 6daad94ce08acfe7
+PLAINTEXT = 660e7d32dcc90e79
+
+COUNT = 1
+KEY1 = 7f8fe3d3f4a48394
+KEY2 = fb682c2919926d6d
+KEY3 = dfce8932529229ce
+CIPHERTEXT = e9653a0a1f05d31b9acd12d73aa9879d
+PLAINTEXT = 9b2ae9d998efe62f1b592e7e1df8ff38
+
+COUNT = 2
+KEY1 = a4cdbf9d20a78a79
+KEY2 = d9547c20150486ea
+KEY3 = 10d902b3041631ad
+CIPHERTEXT = 1e95e643eca2a0b11224794a18d94563954a7d61e8aa92c2
+PLAINTEXT = 165daf1103ed2fc71de342d6deb610ce107a2cdd14f14317
+
+COUNT = 3
+KEY1 = ec15c26eb9a75ee5
+KEY2 = c498290e85da2fdf
+KEY3 = e9977f61a11f26f1
+CIPHERTEXT = 2943a616ea337af5820c49b4fac3080a80dcfabe0d81735e44d1e2349c7a0e76
+PLAINTEXT = b368cad84bc17d4a93feea144bec420b4769c2689b0f63c4f4135b08da838403
+
+COUNT = 4
+KEY1 = 3e9d23ecef6d51c2
+KEY2 = 7fd09b700dcb085d
+KEY3 = 26b6ecbf5ef1cead
+CIPHERTEXT = 88aa03eacd0f7ad27442ab26fc57a4d279a0c3c8dddc1ae077ab18e3b94566e23e6c10cd0c9fe541
+PLAINTEXT = 54149191308949e1d3f8580028ba56a020de4a3860ea9935dee838256c357c1165eddbda5056088a
+
+COUNT = 5
+KEY1 = 7c7ad3cb0e2ad3dc
+KEY2 = 492c3819d6297fc7
+KEY3 = 6bd589d5292f07f1
+CIPHERTEXT = 3165a1d62950a99e6de40487075c1141728f5a04971720d4fbb23b0336e821f7a7ef442e66cba17e7ab995a24ccef3f2
+PLAINTEXT = af2d86003e467680e797b6ed7b40cf8e23dc749809ac8dfd73807c7061be6cdef71e224f2124648000e6db38407a9720
+
+COUNT = 6
+KEY1 = adb98f978f6dabd0
+KEY2 = 61571f011c31a46d
+KEY3 = 8586c468c86b3207
+CIPHERTEXT = b8aaf46032aae7f3752db7b4df2b52696eb452d627cd7e30b87a94d45c1c4639fffd8223a32af61a0281d41b740ad28d148b76761e5690ef
+PLAINTEXT = 84670a08bf8742999a9c947e8c900f0edd5cd8e52f8d9da1bb8d854867f5f0a50c7b8a324483eb27837ba7703b4477d2fd6b76cbaedb4297
+
+COUNT = 7
+KEY1 = 5e9140d3d68f4fc8
+KEY2 = e0b054dcdc454552
+KEY3 = eca2baad5d2fc2d5
+CIPHERTEXT = 76cadaf28043e0c982e92f5c84ef3a27a5473a4b10c6c5d52b83a2431280dc45438c15c09b671d188128c3af61dceba95c70e1f33dd1ed83af5128e1ae4d8de6
+PLAINTEXT = 8bc22d948348a26cd5a15f4d61b6f2a51a267150bee415dad58a6713314c6f310f19b4c1fcbf8d848a6ce6a8f97677d63e1958009237f3841d0ada5f4e676057
+
+COUNT = 8
+KEY1 = f220b50798387fb0
+KEY2 = 9d104a8ae5ba027c
+KEY3 = ec528fbcf8a18958
+CIPHERTEXT = 052a4e9a3cb656bb7481e198991264a9dc2ea66561b3184d38c4642b8f26489c26eaa5cc034dd38166dc385bffdc195a5fe8afa0addc7e789af2e298962beba345f16af22cfa4c94
+PLAINTEXT = 53cc47d204662feaddcf2f5a06d0e96c080946b2579e5d0f85f13e7f50f394ffa519842c02d3ec3abebc6af25f85f9d0fa6e2ed0234e2589381df10389947a59144ee0b24e87ec45
+
+COUNT = 9
+KEY1 = dfdff7928602798a
+KEY2 = f4f21351ef7a4a76
+KEY3 = 94c1f2e9516e7ad9
+CIPHERTEXT = cc6168f0aee3a919b3968ac01b867de6f364f96f9eceb783b5cf213511aa086225d395dc913f82c8f5dd894503651d4fd95059e28d2736620901003a19480bc4c2bba269d6b94009c5bc039cb6245d1a
+PLAINTEXT = 3e6f63c3d1480052369a791f72c895f202c01a6977124143ede89465ff4bb68f5ab7b36dc5ec1240391d4c69bc17f0ed4535a63acc736a0edd953f188d52f4711ff0f0e61ff9c1a643eece7dda486221
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBIMMT1.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBIMMT1.rsp new file mode 100644 index 00000000..d666deec --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBIMMT1.rsp @@ -0,0 +1,210 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for OFBI
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:49:32 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = c1f461bac779549e
+KEY2 = c1f461bac779549e
+KEY3 = c1f461bac779549e
+IV1 = 20b8765753b3056e
+IV2 = 760dcbaca9085ac3
+IV3 = cb632101fe5db018
+PLAINTEXT = 6349581592ae9269ce8f6badd5481c46448cdba3a15a00cd
+CIPHERTEXT = f40d48d234d3c4ba8d6ee4aa412897132adfe4c2dff6a338
+
+COUNT = 1
+KEY1 = 648acbe62ff27c52
+KEY2 = 648acbe62ff27c52
+KEY3 = 648acbe62ff27c52
+IV1 = 8059b22d9c5fd467
+IV2 = d5af0782f1b529bc
+IV3 = 2b045cd8470a7f11
+PLAINTEXT = f6b9ef7c351d9f1b8eb048324f984e2a909d253017805c2d788edbf9807469ccd45571f5d61a05cec80a23ef349a37a2
+CIPHERTEXT = c909cfa0e68414f84ac96bd980bde6dd20288cbb5e8118f2029ad7704d66ce91a253270bd0f0fa4a21f446a5b22edd78
+
+COUNT = 2
+KEY1 = 2f9ecb8a6b9df4d5
+KEY2 = 2f9ecb8a6b9df4d5
+KEY3 = 2f9ecb8a6b9df4d5
+IV1 = b73444292b440c2a
+IV2 = 0c89997e8099617f
+IV3 = 61deeed3d5eeb6d4
+PLAINTEXT = b54c92114f55362b3549a637380754b46f9d28b72968182f257df96e064894e50173fd2fd90920520ddc9d415024d6a5396845dc3ca21442d99ee7b013a3fd432455775f6fdaf7f3
+CIPHERTEXT = 5c4ea59c1363cf204147dd224bfbd76d287511126f6a42431f0e145a97482aaf46de160b588aa17542f089284f2b4ae601c560b8447cc073d1c2fdcdb04c2da8f5923454b96b6a90
+
+COUNT = 3
+KEY1 = 7f6d13c7e645a210
+KEY2 = 7f6d13c7e645a210
+KEY3 = 7f6d13c7e645a210
+IV1 = 8ec669cf1e5d0bf0
+IV2 = e41bbf2473b26145
+IV3 = 39711479c907b69a
+PLAINTEXT = 93b764fe7b95414457331504a4e66ceb686d9c49c632f872cecd48649aca76aa96ac8a801f31d83750d878db18a1f71490144c4a8c840e0c7195e4b346fc3c420d864091535c05ab0685067487acd28f0024017ef8296c0b24699ee780c38592
+CIPHERTEXT = 602269c31930e226895b885477addd23179a4d2f1cef2b7171aba5563f15b1554d82af570cbe2b13e1a95e3c59785dab9161b4e7d9440674bf7ced81aa7212799c6e4501d26ca6f849638fed5001f9ec2183ea9cea6b6035c31024a29b9f6c92
+
+COUNT = 4
+KEY1 = 08c7765eb0c4d37c
+KEY2 = 08c7765eb0c4d37c
+KEY3 = 08c7765eb0c4d37c
+IV1 = 3e36e6015ac1e84d
+IV2 = 938c3b56b0173da2
+IV3 = e8e190ac056c92f7
+PLAINTEXT = 91f47526e9cd88565ab07ce0c97d02c10b4734bca80678addf8ca819eabb700983f4f719a6d2c1cc9919d4222ae9196d38380660747f7a6969b2e841ba76b8c1ab8feaf7e397fd7971f60ff90c0e451a9fb66d8205eae23010c0b010d19ef9cd13ab98e729830305ea2f768cf9544e704aaab34be1b079ac
+CIPHERTEXT = e9473a81d04f10954a94efd7fd34f03c7c7b9720a54929546598342135729a7e2cc1dbfb460bb0f7a062faa6535c49c33bc3dcfb1c370d36682504935138ee413e5bfb9828f1c800c5cb92c56a2ef6c84f22f77a2bb7595dbe38a34975a1e2d36714bb4a111d7de649257d9937192f73bb29bdd896ccf95a
+
+COUNT = 5
+KEY1 = d6d05792e68ab910
+KEY2 = d6d05792e68ab910
+KEY3 = d6d05792e68ab910
+IV1 = 975099948f8ac1d6
+IV2 = eca5eee9e4e0172b
+IV3 = 41fb443f3a356c80
+PLAINTEXT = 99c450b6d33abf362bedb65bdeb307bfea233dd3d0497f2f999eb7261736f39e6d3c0b1ed29c842991ffb4cb54fc2771a38c42fea8bf261a35aed7cd08b19e4e4dd2ab156481ff37e58989f3e1428f886b08504a57ede8f542ab7341d3dd75b73f6e7ac21351f9092e727efc0ced08ad4b7fb0e267398c68c97cd3aa002142824ef8be4e66743a4774a4db0e5e655a88
+CIPHERTEXT = 3a5660b0038b31ead2e8da53e40e5a76dfd30fec7d4a783e67374d2997b90d3f05e2493de5987212660699b904a497a729b981ec40c7066f041ab9707fed31c32ac887d9b9423eee0a67ecef556a12e061c46d849dba1882b2ec98e3e5da5933d30ede00b83ec76d172a0fc8cbf4d3111ee2717ffcd07605ebb83c6caf0140adf646da49e97ff748b55c00bae3af5bee
+
+COUNT = 6
+KEY1 = 6efdb5a204fdab13
+KEY2 = 6efdb5a204fdab13
+KEY3 = 6efdb5a204fdab13
+IV1 = 745fb893bfad7c77
+IV2 = c9b50de91502d1cc
+IV3 = 1f0a633e6a582721
+PLAINTEXT = 9f70a014dd8532324a29c9229ffa1e0783dd1586133ff12ac2a1c40763532a9e847f3701fe6aae38caf774e2166d441f9879a3ae2377175378ed947c5e583723f52c37f6471618b6208421dd206711830e370e826f38ded957fd594e802a1e58997e863be010d675f3d8b959e372edfa8b1f3c4a200dae8309d8fdc6f0504902197d0d18f2e0523decfc229f8a15404bb738164e5d7bef1a3386662cd7521eec1c31b4d5a50ff2d5
+CIPHERTEXT = 604557eaa0e7b9c2df4deaca6ab5292dac7f1745640ebd4da58ddaebd1a071755212072c0c9c356e4489cd8b861687882c9f1c66c039550e5edcf639545980b416e77c091714ee90b61989fb33d5db4ce04c35192a77f7b54ce832376504d787fcebe05144df76921e9fb3680a2ef92f81f5b548f81e04dafa6d63d92a2a848bf6658be3fada9bd46b6c1709bff20f9b7b91fe1c31e4cf7673a5f5491f81e794f721dddd4335015a
+
+COUNT = 7
+KEY1 = 0de6c2ab79a2dcb9
+KEY2 = 0de6c2ab79a2dcb9
+KEY3 = 0de6c2ab79a2dcb9
+IV1 = a3fc5a7243751dd9
+IV2 = f951afc798ca732e
+IV3 = 4ea7051cee1fc883
+PLAINTEXT = 73e51b08056e05f967eae88a41f541598c3078399a3907cd57dadf56ce8007c9efef87258f358403b0dcac6e0364d5f6abf1e0004440e46024df892ae09eb1c412415e405a77d0e9a310ed1ca86ae65ab62c189ab33730e45fda931bda45fd1b674167046f1e2fd4c9ec733c38eebdac354be6b1ef0734809132c6d3c35f32f373586c16d510eaeca8d90575bcd7a315b1b513ea0196385d414feaf7a3d39977c0ee332194374858ca406d6f3a0fdebdb1d267eff0ce84a2f799c73283897acc
+CIPHERTEXT = 905a2dae6f197777559aa267e755e3a311314095598591caddb2ebf499118151ccd61970e7fc482249004d9880c2034e79ce7d88c473453db8e9713255c5ce426d88531e7bcc88440e8f9bca915f78905865de979cffd2f075f858a9dab660233928bbc6928885a5747b3739c99516270922df0ca881a00bc28e26b7ed40168a3c4d1b7c1737e4be6c88c6c4de7489658e390c04b5d120d0d4207f6ca63de5fcec07fd3eca3ca49002da7b4f706bb7ae57eeb86f9f194b610047238828d42b7a
+
+COUNT = 8
+KEY1 = 91f27a0d4c68688f
+KEY2 = 91f27a0d4c68688f
+KEY3 = 91f27a0d4c68688f
+IV1 = 53a8afbaa85fa6bb
+IV2 = a8fe050ffdb4fc10
+IV3 = fe535a65530a5165
+PLAINTEXT = 253a5dff69e91ba030d7cf4e0bdc3cce77126b1662414c63eb9b9f866aaa157eb086b34c904b78039eca3f1f367fe717c0c4b0363343e8a6d8b1c8ce51ba99ded9371aa7cda726b16cdd9287dbf655566b8eebb61f34fbc8691a37813511834528b55ab82ae56ed122778f300029ceb101dae2412efacbf0273fb5481e991edd26693b26aeee988b48ff00bfb0009c50090f5e7d697ea147988609cb1539b1ce5ab9859a61a8ec0967dfabdff063065c0b942712d7a8c4f54658fdb121d983404d0effbb4cfcb270067e5836ca3a53fd90d305a981617e21
+CIPHERTEXT = 80975009d4ceb4f18f1c4f8600ad9aab78a68b891b8de5ace1e08441547b166904a41d241103fbbb3e6a80c88293ca7870f43acb24b999fa49053296de8e9cf9db20b25641d8ebb79d06892707aa3f4d559fd89ee3b9ee8ac0bff3a38474d12563f5a83581049561f0f72f1a1c3f0ac71ccdfbadf43106a511b5d01ac651a8b46e75b4a2f5c92b86c135494e4ab063a0fb10fb14794e87e810a1c193d2fa2b12fe1bf457dfce0dbe1093d7db2811cc7965689677a43a9191e894e36384d751655be6a4731c238af723be4e050a201c018bbcfbc31571ec00
+
+COUNT = 9
+KEY1 = 29a14f3dfdc4495d
+KEY2 = 29a14f3dfdc4495d
+KEY3 = 29a14f3dfdc4495d
+IV1 = 8d0e01f425236afe
+IV2 = e26357497a78c053
+IV3 = 37b8ac9ecfce15a8
+PLAINTEXT = 3339f934424853cebc407973c38cb59902f73ded8827aaf1d666abea36a9fbf94fca9088f71916e748139b37f6718c88df65e03ee42093b9f8975635768785eeb8b65988e57d5faf0a8328fb6dcb42161ef16820ceb0f652e4a8a0e2ce5e62279585bafeb57c166c2b178885cfa2c18ce4233d5beee0bb05c321f0bbe5377cec0fbd1db00e1e2367d258249dc5fff0325c84c7b7ebb7ca1abd8bb0866419ba854ee8e968996c6ee828cc620df7e9b74fab9b6ffc6e3d0bd9f96d470cf20d0439798d86ecfe6ddf3755fdab9c0c68fe2cfcf09bf11e7b678aa04f1d15381a4252b9355c04e4295f9b80736811ad84ad12
+CIPHERTEXT = 84939a88f77d7ae890cf69ee8f4e7b421a1c141319e56e7d3c7026af08fbce16c92710356d6f8ea80ea0937c5fd9b250485f5c4156f1a8487c785438678c6aea0f4f4dad6721f70081480215dd8f38310ed2f404380a3790efe1717f6dcfd6c6eb1369fc5532c4c2888127f084064911994cc2413857183ba0efeab193ec48e86a2585d62ed79c6a4c525b4b2794d39723b512a6a804c1e78e60dd1577a7aec8fcad64e02e9c1b9e26eb3d2bb2d391caf4677a76c8ac0c759d8e783e7c33971b31e818a8fc56102a161eda4b8ddd3523eebe10e5684d7fc7e798f204e47e26ac495d6981c1b676c402763294023ff695
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = a76ed3a894322032
+KEY2 = a76ed3a894322032
+KEY3 = a76ed3a894322032
+IV1 = b04a2e56903fcf35
+IV2 = 059f83abe595248a
+IV3 = 5af4d9013aea79df
+CIPHERTEXT = 8af9f1ed3eaab9475f03c232cb7685d36766acc0c038d1b4
+PLAINTEXT = c64e05235f0baf2ade1d96b0a43f51a2815058994fb1ab92
+
+COUNT = 1
+KEY1 = ab37575b15cb76ab
+KEY2 = ab37575b15cb76ab
+KEY3 = ab37575b15cb76ab
+IV1 = 6a8a3b67d993665a
+IV2 = bfdf90bd2ee8bbaf
+IV3 = 1534e612843e1104
+CIPHERTEXT = 9ef8fda3c1a9d97b30ad1439f0cce18ff000e8dc2933f30be949eab86c610195ad58300d7b8fe427cfeff4ac5d2ad68c
+PLAINTEXT = 29d07be77dbef60020ff7f1d9fd076bbf5054e2c190c3fa89b86d7f3172029f93b10ed8cd9d4d41de9b9e43d02932320
+
+COUNT = 2
+KEY1 = b94661f7fd4940f4
+KEY2 = b94661f7fd4940f4
+KEY3 = b94661f7fd4940f4
+IV1 = e107683a920f394b
+IV2 = 365cbd8fe7648ea0
+IV3 = 8bb212e53cb9e3f5
+CIPHERTEXT = d6426054430154221807f180a0c7ee1676bce8dd3e4fb52792faf5e03faee913b27289afad4ed08c3f675ba9f26b32b8462fe6dc5e97dcb1fab7e88da5371d0530fce4b35e044c37
+PLAINTEXT = 2680e8614493ce718227e1f16f8274d60c881a88d0ba08e30b74406236cdbd52f76498c6cd0fc758c8dcff6392c9b4d9f04f05f6b1fc47c15ca12197fc416e435d27eaf7713216a5
+
+COUNT = 3
+KEY1 = 4967103bb50bae0b
+KEY2 = 4967103bb50bae0b
+KEY3 = 4967103bb50bae0b
+IV1 = 52ef4dc03614a5a3
+IV2 = a844a3158b69faf8
+IV3 = fd99f86ae0bf504d
+CIPHERTEXT = 337caaf1d27f38be4cad1e00e506e47571df21a6699d34c63ebe35dced192c25d46680b3c400b25b57ea4ace8410120670d083e487b97d17cc933b3f6d9f85529b20273f9819a3d2125923d8afb5b183e995aa101cb270a6dd1d60828e840451
+PLAINTEXT = 0ee6f8b42f545e822679a8f07b4d70137a3175819621a6cbc41bad483a59f76252155b76ea8dd86d731b997b413113bfd392d36010b59597c72248ca681a7d259645be8a3202687cbb3138c80f45acca27c90d60efef4f623fc1005175006854
+
+COUNT = 4
+KEY1 = 92860e018902cb85
+KEY2 = 92860e018902cb85
+KEY3 = 92860e018902cb85
+IV1 = 71c48ae9e8031e7d
+IV2 = c719e03f3d5873d2
+IV3 = 1c6f359492adc927
+CIPHERTEXT = 126e8fc0e014af6812411d82d7fd0d82a17c355971512f4754de1ff12d0f95b3b648b537c29b9547c53fe6df953dd787726d36df45a1d87c25203cf21f566b3237c92217aa4f333b767f290f1c652b2ba57a23e2e3d21f1af998f75a1eb830259ddb2087209853ed2fe82e3af4dbd216418a4389d44dcaca
+PLAINTEXT = a193fcce820f6be1ec539d9d11fd564b95081255ef275626d8c315439052a18c1079bb3ad5ca9e62a4c4d8aa7b18ce8b0ecc1ed44dbde76a86bd7743698c33f806a8b9c4cf613d04f939ecacffcb56bb62f50d09646b287110e4ad98c67112e8307b6946cbe1c998e3e2704e91f14c0f60ecdcafa23898c9
+
+COUNT = 5
+KEY1 = 1afeabc875133ee6
+KEY2 = 1afeabc875133ee6
+KEY3 = 1afeabc875133ee6
+IV1 = f4b061935f446587
+IV2 = 4a05b6e8b499badc
+IV3 = 9f5b0c3e09ef1031
+CIPHERTEXT = d537de363261ddfecb03ee268581b74bd97c1d4c7aee0afe38766d2224f08394f54956c5aa91836a71523f76c8219c46e272091c4cb118cfd08e85c19a987310990df81128f0dcfaee5d9ede021ab8df536e249f48361ff7a3352decabac5dde8a2ace03f4a6721409cb12467d93937cf61777bbb5a6a7de79146f8ba054ca659049e08355dacd228b45a4967fb5b387
+PLAINTEXT = f0e1b067daad32808baf83feda1ea8e5fa27c51768ddeba05f3db03260322a24905edb7b78a9762271ead4c337861bee2bc6073f22ecbd518754b0b120b2d8f59174a7b2db31413c13397b16a20ab449384322d2bcc3ddc2395b9d4014814b371168860f94e135e31864f6dc354239c71a924f83410242e4d8214cc80c9e352df8c85da3050bbc9640612f1d11670c95
+
+COUNT = 6
+KEY1 = 020bb694bcae8c07
+KEY2 = 020bb694bcae8c07
+KEY3 = 020bb694bcae8c07
+IV1 = 4221409b95fa7fc3
+IV2 = 977695f0eb4fd518
+IV3 = eccbeb4640a52a6d
+CIPHERTEXT = 8b9a4ad2e1736d9e20040a1802b5380af4c881ea628e41b234db4fec99b7df0c0356a703734b4111f6f8d1db6f49e7bd98a2a76144152791e7d9184957f7a911d447a889479bea46c73aeedc6190bd3c192314412cc9c58598195b79de1ffdb50754958ce5cc31e49bb2a94460f2822f7f3512b1a212e537518260a4b695a4a0a364b533d647dc947b48493bf2d7fd3dd3bfe7d92f584d4e19fe6ef065c3667bb06151a7a173b3fd
+PLAINTEXT = d1fb7a9a9d83721cb1c5c709be76373e98ad0aeda6ffcf2385c754807a59e2feaac51570e0e364717cebda66dac1e8de3266156fcc89e8f9c7b760e399f10bb57e20a2a7882dea0fb9158fc8f6110bf79c80a4225b26f9561965da2a69039c82978227c7ca15dadfe33964dac17ed7d4cfd2dec8ef10b8be7ecb19996c5b173560e88c2b72c6badd6c20c475d3bec33381dc3c0fff33aac1a4c15b8cfb9d91e58d89187f278cd66d
+
+COUNT = 7
+KEY1 = a8e389d0b38f5ef2
+KEY2 = a8e389d0b38f5ef2
+KEY3 = a8e389d0b38f5ef2
+IV1 = 883bee63850d5baf
+IV2 = dd9143b8da62b104
+IV3 = 32e6990e2fb80659
+CIPHERTEXT = 4a9efb020564ff38dea907dfeeaaaa422238c7d3f66a6c7a7f8ff62daf667ac1d592640063485efbf44b74a28d1a759123679c2d5ecc6ff09dbae8013ab2d3080fb77740390378ce1bf9fc51a65b0dbad8bd3f5e83399249506599d50382dc7c01f67ceb0ffd15575c9be814c2d53a644920f78ded1a9b2ea17852d2933f5ec6b238ba286e9dfd41be19801568f0c3377d790de222d5534696db5b207152228d2a637a20dc4df7324a5b0c79201472dd7cb1c986acd4823a3a76fce62521ed7a
+PLAINTEXT = 79a5914dd7e1038a9583d968c9742b5a4a2ea533facd329f486e071ef988209c88cbe286b5f30789ede8b83cf39dd8aed854e7d5160ed6e6b16cf0608c6f79daffd4260ae7f4a6f293a79fcd5530aa94d39a140b1ced783a05d7eb6988d25af8e4f5fa741c96681303e0f4de9f1c00f292107d0e012121f7a1f61a8efe7a9385614b2bc366de5641166c1c0e59192ca9a5284bd4447c00b27b55d1276b2b3c53f0fb10429847abdad94e8b68d5dda34695db7b9cbe8553671ec9088e999c8962
+
+COUNT = 8
+KEY1 = ce588f5bd63b32cb
+KEY2 = ce588f5bd63b32cb
+KEY3 = ce588f5bd63b32cb
+IV1 = 601953aa0388389a
+IV2 = b56ea8ff58dd8def
+IV3 = 0ac3fe54ae32e344
+CIPHERTEXT = adeebf3ce7b25afc3657f7b97f3a56c61b6132833754c3d37a2e87d0e9f342bd0824443b4291eac08b6f674644aac4405f7d26d2c33f5041f28068a9e954feee48ef4af4b272b51377059cc5702650a22b40618f48801c3223e452a9b4955b7bb3765bcefffdc4db40421ca0cb5501d4c7d56a208ebe2f8c5683cc38115d624c92e2fe31f0d91e022f4d713d1de0dfbf7b62c9ef5da29239d4845ebec95419492c5abc854fafcb6e8c4f22062e6ef2498f1007627dd44c1fe21090a3a4238a5bcb071b33e226d4099f6fb861c6a8435b4a06abe3b5fb6528
+PLAINTEXT = 9db2743ed22bebe729a78c45745f715d0e48a4e1d1859b1def23f372e93b2f488307d4f4e326f0095d75b0625d49a650defd013e8f210ea3e8173f8325da4bf3e1e70c93ff3652c870e6e7786b8eb42b977a6562b42f896ee11ba59ab9cafa017e0b31fd2a08c1e2eb50321365533aa1b5acb82ce85f8e60e8fc2d72300086c638f690fe7c9b2fd52d79be379ffc3a9bf76f5f123606cf784ddfd70d666bb6aa70efaa622327654e5ed453c2272066bd69e2993fcc9eb77bcfb2845e7f8bd503594cd0ce37c0d346f524bf0accb92ac1a3c209724b11d481
+
+COUNT = 9
+KEY1 = 80b9526870a78037
+KEY2 = 80b9526870a78037
+KEY3 = 80b9526870a78037
+IV1 = 12af4d445ad6166a
+IV2 = 6804a299b02b6bbf
+IV3 = bd59f7ef0580c114
+CIPHERTEXT = 67ff820973a37ab3fbbf4ff919cf1cdae65cd9b64b7ad5fc14966002466ec834b3618871cbe9bbb2b566d7ed9f1d97395280393209b0ea9f83407f52573c65508869db3259cf5ecb6275650be46c4f235a0e9aea508855807896d831fb8eb29c0da0e314c45c4c462a74631c91c42be2268f64a8c90cfee71c21d467da6e975f6b8d08dfb5986b6b34ec38e84d2d13bddf8bfe321c43ce1b9768dbbb9de3fce3c9b9b35ad38ca481a9654c37c1b0effbad88d250f035ab6610f356f6ecf5c96e50aa4a4ec73fe0d2b06507d19454a7e5b71047ccedeb7e0eaf4babe06eade64927ea378338b905a47276d17e6f2224c3
+PLAINTEXT = 929514d4a10e79a403735fa9f060efbff113cf003010e4a874357b522ac4da22f868e95958f21fcf25aa32b2aad28e698fee3cb91d10b687dd2b539346bf99e2b7914114274f762c6a42f33dbb6d8bd0f7995c3fa6b3015bcf2486560e4fa3dcf70738696d0e0ea7604226f25f3886538cea8ff2b01e69c16d3f7e0d779f862e1f366a3871cccab7bb13ef07844e2a3456df343e82426c4d592596431d6dd1b1bba32c5262bcec85458512a5109f9f27024abf27069b9b68e4106f732e54843a0a91d56dc14f54e39fcc66f19f6246b0a29ab918cf76b54fbcfd6b26bce06f02c6696df315c3734e89477ecd229df208
+
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBIMMT2.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBIMMT2.rsp new file mode 100644 index 00000000..45fb0c00 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBIMMT2.rsp @@ -0,0 +1,210 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for OFBI
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:49:09 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 19d9267af88c5b3b
+KEY2 = 2f2534df384c1f2f
+KEY3 = 19d9267af88c5b3b
+IV1 = 060872ce1d7a3485
+IV2 = 5b5dc82372cf89da
+IV3 = b0b31d78c824df2f
+PLAINTEXT = 6ed6363cea14a99fcd854537fc4940b57c28cdcb3c1c94d8
+CIPHERTEXT = ef7d904e9dd525a7c35556f3e9da3a05d1d6bc4ee12f6aab
+
+COUNT = 1
+KEY1 = 5b38bf012c7ff486
+KEY2 = 0d76f8dce9cb7c0e
+KEY3 = 5b38bf012c7ff486
+IV1 = ecc29d64b8b507a1
+IV2 = 4217f2ba0e0a5cf6
+IV3 = 976d480f635fb24b
+PLAINTEXT = 5eb50aedcff7cc55d0906a7aa38b594b90e33743358bb98f1eb1e56f954481debbb4cb75d8f96a8df0d6a5a4975fd302
+CIPHERTEXT = c410a4ce84f2ac927317957bf4c08152b8a1d6db6fbaf968fc9e88937dadd185ac831bc40b8f39e841ec92c5ec63feee
+
+COUNT = 2
+KEY1 = 7a7f04e66238c813
+KEY2 = 9d38ba263b6d407f
+KEY3 = 7a7f04e66238c813
+IV1 = 9d9a567cae180a14
+IV2 = f2efabd2036d5f69
+IV3 = 4845012758c2b4be
+PLAINTEXT = aed28be67364767fdad66717126f17d2bc1b5693436bfc1d6cdc23782e5c9397c30a7e37ff3e6e0ae1c97b15687ec156a7f111ab1c7ee7ef3e8d9c665515dd5b8e5f5c074f0dc5b5
+CIPHERTEXT = 578762476250531c6b8a780263053c42ed1cf6d4a6fe6ef47ed932283cc9486374ab4e41112c34ffa6e2ccfca4731bdc04e4b3a928dee0deb33abc76cac4ab5c6be2e10f0efd750d
+
+COUNT = 3
+KEY1 = 0b4c9401a2f77fbf
+KEY2 = 15fe3b46cd7054df
+KEY3 = 0b4c9401a2f77fbf
+IV1 = d3154d1df0a337e2
+IV2 = 286aa27345f88d37
+IV3 = 7dbff7c89b4de28c
+PLAINTEXT = c22b516f541dc865a0eb830492e85a565e7fdb3bafc892a6015988094b5f090ee2edaa889a938ba92e33da75e21098766628a0b2fec4e5dae04dfbc4dd61d91b4426dd5604de10e610bcacb408f6dbca151cc25015a8bebbf8d6ed4169b6f190
+CIPHERTEXT = ce8d3dec0a05978af22c8d0b0841f1357bd2b5551023dfa239c7f9fb15e50cb28b3c2fb741301af97b44ef7e7cbb4d3debca0b7c15560a7ecf8816dc43c2bb191e4f8cca483e00b4a1cd3bb4633dedc2f0773f7cd8af8413072e14a6186575f2
+
+COUNT = 4
+KEY1 = 168fe0ec31e05b7f
+KEY2 = 0b735740ec1c9dd0
+KEY3 = 168fe0ec31e05b7f
+IV1 = 7917cfe12f2842d6
+IV2 = ce6d2536847d982b
+IV3 = 23c27a8bd9d2ed80
+PLAINTEXT = b71df63b2d85a2cb02ba2eec9176f6da3483333a123672b5383a45e6ec8e38763dd10685dfbe0d4c36f30001b1f6dcfb59791d17aadd315aa1f62dd8160ebfd44c2c6328c796dae85d94d9429077fea81bda0732cb28463d905e5059d412f6620bb576ec8c15f2e49f252075d7014429a22d5b511e1d99a6
+CIPHERTEXT = 8a194bd33d7608c544db877212649a1479704e6214fb18218bbfded494af7be9873d1a391798e0365556bc81445e1a9c728802eda84e953790a6e9549e236a14656e9baf8951239276da3ea207ec2ecf6c3a027e5b916f92518b6cff575d9216fd4680d4b8e5e7f03c609e4cddd056b92bf5d4708161676d
+
+COUNT = 5
+KEY1 = ade53738757501a1
+KEY2 = 0b687ca43bc7e623
+KEY3 = ade53738757501a1
+IV1 = a0a97f1b1e0142ae
+IV2 = f5fed47073569803
+IV3 = 4b5429c5c8abed58
+PLAINTEXT = 8016006f0c28ef77b81d65569455938afd4d509f1d17bc45b10723a50fb024f5670e124a49059aae670aa6739d2182c72e073d8851b05359ecf488f59f8517c304240cab3514ef298fcfa29fb6f98cf0d992f84a386fb743e3eb0d28c4dacb91dfbeb839d93e350db7d32183e9c5fb2d8756468eda3c322c1e5578e6869786888146dc9d3c69b685687eebc73d6d15a8
+CIPHERTEXT = 6999db2fdc293d8d647ab3fd72050e068bbe78ff9f264e224fb8f6e6d53ec67a559d7939e869911d57d0deb0974f5de375322bf4a430fbd36410a1434c380e3ba45fb947ccac467e75264f74ac4ed2dfb075f5a45cb5de7a1a56361c6f555bfda04f43a14bdbf4fa0c7ca9855cdf6a6401479a4b19860127fa9d3b85da91e8742f8a69c69f7a041c1df21f22e985259d
+
+COUNT = 6
+KEY1 = a719fe4386b6a8fe
+KEY2 = f7400738c2b36b25
+KEY3 = a719fe4386b6a8fe
+IV1 = 0c94e75a2edc43ed
+IV2 = 61ea3caf84319942
+IV3 = b73f9204d986ee97
+PLAINTEXT = 4a2fe67bbe62e0168f476819f602a364621a8d55c77de9ec39c47e2db9b980c64f164df259905a9d22146cc9b6510b30f576332be73d4ed24f285f65830a80eb7aca8e18276423740530c4baf4675c7e43e3e9130e2676acca9e49c11e285db5f4d213b5d1e524e36123dab4574d809674e817d7e4414ac2d1afa40b3318016de5b64291fe1b45325e73157f870a5dc0af0e233d1395b25b8de1d80969e3525a75ff8573570f6fa8
+CIPHERTEXT = 33a8dd742dacf4ddcdf1a7596cc90faa48fb22d097dc92f305e47ef722ecf9e58878ddaa03529cd820afe78c36c6af9693cca6e8fb3a14d1c945259d28a87ccdff72a6f2d4d333aa45ff906899b33885a5e1cad93d1505e48fa5343a94e43784d8f0578a7d5f95ce1528f6b47a4e8fe85664fb73f3336a44d84bac7143e02ed0e95bb0e8de6b1f318427c1cf3b012e89e863d6a3e62a80e517fb7d41fa82a651697e9b02b87d4a91
+
+COUNT = 7
+KEY1 = 92c4e0372a98d62f
+KEY2 = b91910d3b6f729ad
+KEY3 = 92c4e0372a98d62f
+IV1 = b78e05dc12ecdfb5
+IV2 = 0ce35b316842350a
+IV3 = 6238b086bd978a5f
+PLAINTEXT = 5a0c611223f51acf769a9468d448763a34e5a1f29e3164f5f54cefff15790b091e2108710e1bf655962a183f26c795084b2171f63a63bc28ad350934ed85220e3087fa2c26fae3e7cfae01258f43ff35843300fa1713d94cd1157d9b71d2b8d53b46218a921c4a4fc92c396037431c89892238465cc923290cf5337cc6e73628e56763d57b0991532dafa738454f54cb02f60021320d028603dc131f174c02cdd6f1aa53084722bca33c33f7e1ef0fc596b83fd5c168de2c61d205cb8a8a868c
+CIPHERTEXT = 8abbd71178e71b4fc741c1432873a75063330f20e30b0c23f307693b0e90e4a821549090379420c988a74febf0445db9b43569f03e558a4f50aac28118fea0680de5b0459d1996815c2014c31ef6d105af0990b2d7d6834a8a605a46476dcd8a3d6422262867f178d8b596ff648b1e2fea467f539a1067b719565cfc8df1624df28e57ac7454b4fd7f64f3387d55f4d2a296ed5f26ea04cb757c6489d6f342e3d8a855350b3a20caae213e8cebfec973dc86fec5c52028c822bd6ddb8fa7d032
+
+COUNT = 8
+KEY1 = 9ec2cdfd67642a4f
+KEY2 = 68d6c1dab98520bf
+KEY3 = 9ec2cdfd67642a4f
+IV1 = 2c31f4e361334efa
+IV2 = 81874a38b688a44f
+IV3 = d6dc9f8e0bddf9a4
+PLAINTEXT = be7334415db3622d7806bd62449e3e489bc1a2f44ccc634cb678e66c955cf6491bb37194436041e2622f8e09fe5e32cde45c6ebc75d0db5641dda371d7a4f0dcda0ba54358bd4d525873501db2716dc024536442a109f3c0ec2104c7664425012504381445d56cc783586c6707e0d669822fee50798094d1e1cb7335eb447c00212493d0b2ad87870a6848aca6b2540f277673aca53ca4d2456357850eaadc20f8f61c3f464f87db162b4db737efd1fb3ab35b1fcc450c0b4371187d76802faad2ff3c28aac2520bcf28e34f619f3476e46b0d7196a4b5c4
+CIPHERTEXT = 7c3e86586331b0c43cec88de7827ed801daa6ca46a1736c488dc673da7f6dd7a966c92f999885ebe3df152b20c62602c6b1218df631b51ad68dd9a439de77a08430ac887949f428bcafe802b64bd694d9f459b86484a481eb0f8665a9acd365ee2faa562e365b772af55ddb72fe71488ef15b63d36132d7a5f090d6728f04ef606e524d45b27977fef95f13cd0aa54ab02977bc9b06b6595f952e1f24aa176022d7a037d1a0ae40a80db92fd5904ffa7dd71dc7bb8e8bf310437f844f6f66f79fa088a26078db4e9f85d8d57bf816672b4896106376293b4
+
+COUNT = 9
+KEY1 = 6b8f23d52ad020d6
+KEY2 = 1cefecc826d94f7a
+KEY3 = 6b8f23d52ad020d6
+IV1 = d64746c2943e0f9f
+IV2 = 2b9c9c17e99364f4
+IV3 = 80f1f16d3ee8ba49
+PLAINTEXT = 6711e3af73e3ca1b08d717fb5179f26955cc2493d49921b371064541176a5e6695606bb58b1ba3168af9b902775a5ff630b2092172ddf360fbb3656debdd365470e78f26a295f1f0ac7b79ee2dc863fdde63ce4f7439be62c8d567333531a9af41cbd76a80fcbc93b685e0283c6b0766a506fb84a0548ba02093d4fabb0ebf605037cbe9edf60de6f04175166ced5219cec31827c0d761024d153329461d814fe551f40bb12bebd1a1d5c02184f34dfea0c3aea29a69497096840c2a9e05f6644841d93993455e3c136949b14e28fefe652e445cf7b34ad24208e8648b6f2688c03002d95de96e0f8c26992f90316fff
+CIPHERTEXT = dc8f6284359f5c4ab0624ece32dcc08dfaa602a5ca08ba0e5f54697107dab1a8beae993c1f0d93854fec365db80c8e12ef03b0693364f711fcc97833558ab7e68a2965045de9d78603d47e7c87d7646e5eafeea90b6d763ec844327a5500d0c538ae7b05f1778141f26b862d85debd8a782ebbc8083941bfdeb4cea7be4cc0b20c997d65fbf7346395eb2f3e67f1e105671f8143376d7bf042411611f2729272ceb2b163c6351e7ac4540e8307bbcdfcd56e14d993dc995c4001327b9903d00de6ddc3be5e20b47ccecdd9b0d71cd64f8262325ae7acf94f3727d876a39b3de8cfde2c182417f9e4c927eb740a81988f
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 91d5926e8f464389
+KEY2 = 62fb1f614397d6da
+KEY3 = 91d5926e8f464389
+IV1 = e134c524c2ecd2a4
+IV2 = 368a1a7a184227f9
+IV3 = 8bdf6fcf6d977d4e
+CIPHERTEXT = 7441cff6028b55729dcaa98d4df7a8398abb2d77a13c93cb
+PLAINTEXT = 8070e7898679cc778561c137cbc11e3ab457d22d67f79e06
+
+COUNT = 1
+KEY1 = a7bffe97f8c15bae
+KEY2 = 20eabaaed5cd5845
+KEY3 = a7bffe97f8c15bae
+IV1 = 7c43edde6c11e028
+IV2 = d1994333c167357d
+IV3 = 26ee988916bc8ad2
+CIPHERTEXT = 528db3709d161c6b4a7803d108b13db3f284520a6ecc80a85511036e555994c094403036964b1a94617a23fddf1c2963
+PLAINTEXT = 61544fe0152f70aec831795d1466b1d017e0001bb36b5116f236542bdc172eb95867c585da450327098ce2fbd63d2937
+
+COUNT = 2
+KEY1 = 8034e90dcb4a167c
+KEY2 = 2ad93225c431f8b0
+KEY3 = 8034e90dcb4a167c
+IV1 = e8abdffbea03f59a
+IV2 = 3e0135513f594aef
+IV3 = 93568aa694aea044
+CIPHERTEXT = bf4f654103b00368c8ebee11cf12017de11a71da063aa4c4f894470bd7179bb71ea40f49d66f14440aa92dec7a5c454e939646809fc9e72a3a72c64505f9b6239ed85ab0cf00f3f7
+PLAINTEXT = 0d1261a3a762e52cd3664b2e92f6d8271ceb443eeef532613bbd391677a25006bf0a20a78fce7d7ec3d3635d84071aae5512418d18fa8b6e4b3140259cf5891f6f809d9c0e98375f
+
+COUNT = 3
+KEY1 = fe67f42662ea97fe
+KEY2 = 800498ef5ea74094
+KEY3 = fe67f42662ea97fe
+IV1 = 9c5e844133d3be0a
+IV2 = f1b3d9968929135f
+IV3 = 47092eebde7e68b4
+CIPHERTEXT = d07826597b94bb20d5baf4b78974811e64ef2c0c14afb93f3081101079b19e4a607ef83cc8cbc10d0c17cf5044af89d8c42293cee6f6ae000a99d97cda9abc5ed31947e6017d97ce096519da6de0f1b00ce09deae8ecd56a2c16b6ed6e2d20e3
+PLAINTEXT = 05fdd506262671c760eb116b277d94c68f1cb0c0f0c725c5860993085486a5cc925a290b305f1bb2ebe2887edfdf227f4aab645a68b0aca534cb48d66f1a9c82f09ec83abb2d03aaa020bc770a4fdf2e6ba7139f599287ae91eb48dc4f4d0bfb
+
+COUNT = 4
+KEY1 = 253b5dfe68e91aa1
+KEY2 = 76467091fe3834b0
+KEY3 = 253b5dfe68e91aa1
+IV1 = 256ba73c4c9f51af
+IV2 = 7ac0fc91a1f4a704
+IV3 = d01651e6f749fc59
+CIPHERTEXT = 960166b9efb265c2f9603ddd0566e6ebfb5fa4f74d4793762bde82cdf64d0414f60cc51a4f031ba931f0dd0b500878cc94e13fc2118f034b390ee4d650e066a521f6c8d1f0d4918eaff16bb0755c346e2ba5536689fb48e24192875a7948873a7f8716e4b86deff9da2a8ed55baa43582a7586ec9cd38ac3
+PLAINTEXT = dcbe6748bbfbb37321d9fb5c17a170d18fef6dce83d410d2a3fdd2034b1fdc3e4b559002a18460c3aa1262462ca23643b83d9d525de363f038e057d3ffdf3bcd2a8e0391477dfc3253af1c9232d980854356375abac2e555f0c28e59d29f470b926338ba23736dbf5559b3cda5b88854791b2d1def9a3f92
+
+COUNT = 5
+KEY1 = 1cecfe757501b3c4
+KEY2 = 518ff73d16f8b64c
+KEY3 = 1cecfe757501b3c4
+IV1 = 2898bf5327ec0ec8
+IV2 = 7dee14a87d41641d
+IV3 = d34369fdd296b972
+CIPHERTEXT = 2aafc28f492cfc0e848fdc9d8d8fc56107178e26980233484023cad3e988b9e93fff2764c1dab0bd18f05d2da8e4d31166aaca93e946c187c3d7f09311d57f935197f53b7418f3fe34fa222fa8cb6a6716886526085f13bda2b9cf6b327881c6097d165c8a6e2d9b80b613eeb5cdf229c0b945271ed58fb184d14da274fa29490fbb700f2a64c65aa32b19b1f571d320
+PLAINTEXT = 17c01bd770c09cb08bf8f12dfc952a709799de7bb912cafad014b4dabae93f22b8689e3505cbf4d865d8d66a139bf4af6b817931e9e8380551b3741f2bc08545744d26337d066156f4a6b918f734d24ee94ca9da74bb1da4ea9075fbbd33d0542ea62414174783f3322ca4877bf492a145967dadd2a669d3f160e902c907128d39106c365149ebed6e2dac1844834a04
+
+COUNT = 6
+KEY1 = 0880cb8c5ed91023
+KEY2 = 2070d951c4fe0786
+KEY3 = 0880cb8c5ed91023
+IV1 = 530750fb585593ea
+IV2 = a85ca650adaae93f
+IV3 = fdb1fba603003e94
+CIPHERTEXT = d836996ab87f421ecde9478963e4683766f71c9619a8e0fd0ba0cfec480b7396cc3edb9c3d9ced1cd9bafeeaadc1a01d0714bbce2f33e01c52e0d973bf80850f56c3e3bb3c876cdfd4faa6b9ebfff6eb33d4b536f3f18785fc33e82ddf3908735d0fd94f1f09666fa8f2667f876611a8d17d3256ceaa7e3ff3e224a11000a5cacb68e6de4dea84d53bea67c3e8be9a5cc95859b729256c521d34b457bb9b041d871732f22ef26d18
+PLAINTEXT = 131e8705b1c4c10184c2364e5107007d8b4cbb9450741275971b634209d0b019e052a01fe34a185e2b4b31ef217dc4b963859f7ed2aefa458ea8325c5a476261f4df753375e0ea8bf115e064cd19d18ac445956032cc9938b047ac1ebdda9b47a8150de2b86d7519adb97dea4a8a2384db5ce56a6a11aa917f85315a1406cd8d0aeb2b20f4dfc663e9b0d9596d26ec80e2ef9bdbd942cd7a36c0a84c53e4628cc80c8562df7e6bf4
+
+COUNT = 7
+KEY1 = 528cb95701b3fda4
+KEY2 = c10bb5894c265ed6
+KEY3 = 528cb95701b3fda4
+IV1 = a74075c44003c939
+IV2 = fc95cb1995591e8e
+IV3 = 51eb206eeaae73e3
+CIPHERTEXT = b04a2e56903fcf35f3521b00c29d534a4ff8833d2d77fa3c4434fdc7244ebd9f9a31862b8118381bdbd1fb4b21c02fead727a2db62a5065b1efca2e5ac174752894b8645e5dd20c6b2c4be2dfbb1e242774d1ea25ec184657b7c5dfd83301e61a51e976c62946e7f9fb4cc6ef876569a58f15f5ac6d65ba0823d97d951a4281415342267a0470a8eca288dd6c119713aa19bcdcb45e975555cc6b93fbf784fb302158dff48fddb3b5ca8692cfea21d697bd3d0bc8104b9cb309f29f874b67985
+PLAINTEXT = 9434a503a60b3d1adca270ed2b649f65d359d0f667077f79133a62660f40945bef5103b6c189aa6f8008fd1e33a0091416da4f3fcdd18e8b5f6583db7bb5c41c31e7542e1215162273bdbf9f73b9da21acf0000365a68f2ca4faa9865f81d9d8001d6799291e832638b489da10b8dffe180f54bd5c091aaea814cd16970f133cecce0f2a908b23556e59bfccc5ccfc5ae4a35698f5777313aef19935d4adf2940f63e272bd900e2a71e60f995c4684f27d90f81423441f96e838637f54faa73a
+
+COUNT = 8
+KEY1 = 3ec8cb8fd675a792
+KEY2 = 29e5f8152a614c15
+KEY3 = 3ec8cb8fd675a792
+IV1 = 42daa86fb486df55
+IV2 = 982ffdc509dc34aa
+IV3 = ed85531a5f3189ff
+CIPHERTEXT = 51160ffaa68d8255b63159c9b281e5f30939c192d32658f57038a7b46cd9459fa67da0f4b27a89d57b1bf3f82deff7a152671ccd3ba0d6b0a17e4c628cfa5ed674bde70ba6ed3f86ea4705ff636e1b5bb682f1da6ff50792a09aad1ccaff0e8d01fd6ca74c8dad514bdd17451ca458097eb2c92037cbf381b4b55348f0905aac9766b8316a03da1ee507b1321f39b693f31e2b075dcba36626f7c450c4544c1b7c20520fc9f6cfd601eb5c2e36d63de15aef9ff7a79c1e2a3e878a9a0ff4ebc2f852c2ab310f925fe7b19fa12723f6dbfe4cad58dfe66cb3
+PLAINTEXT = 0f0990a998906237983e71c147c737b08b0a2e0b639183de1081fd99562f578d36444b655538bc32068cf8d81e6623fddfa47927878d7914b91131b087e0d5e1613980c471ea1d294c52812feabe8e8444edbd89909330edc458cdc33b4462377e9cac675051ad73984f5b472d2aef0c5c1c445dd4251c21de68e061158e0c6722916cb18b1cda2d799ba7287f2f950ce26caeaad1e7d01b98a11d265bfd0c8ccd981d08c578bdc2e618e76bcdf8c04233f08d56dcfb337eac920d8eba36d1f42df5abbe929aa48719162577f833eb8db52901e003339622
+
+COUNT = 9
+KEY1 = 891a0dab2a8616e3
+KEY2 = 61b3cd07b6b013ad
+KEY3 = 891a0dab2a8616e3
+IV1 = ac031af0d0fb466d
+IV2 = 0158704626509bc2
+IV3 = 56adc59b7ba5f117
+CIPHERTEXT = f355ada0887ad3af14ec7ceee50e95686ae61af7a3c32b0bd62361a784d362ac9b58b35aed8ece14e18f756368d6453e33a58e8924a362db02caec84708003cf2004ff84440cccb145ad3daab87aa24f8ef09c8d8a123028f9501bb79dad65f0ea213925753cf40fa90d7ccbbb42d322e190ec0dbf56bd78227d9547f1a2b0976177094667666fb57378dbcc5b76013f954e2510aab73056e718033c56a60b4cedcd15ee04d2642b0db601b77f5d532f13f0ef9f337fb147afeb0c9fb3039e98f6ed082533c8fcfadd8f98930f40f279c23ef4c142f46ad5e3bc5977efff9202e49d88f3dc8f5fa94dcb4569f26705a5
+PLAINTEXT = 96b358d25bb7008a3a695d55ef408f74bd5ad12bc62678c8b1d71be3d39ff348b30a1ff04984fc54952be6596c8669c6e6fe684c063eb40f8c9da1c719a75e4972e29714332f4773c46e34270fe319889fac3ef412d2053c88124afdabeb1ab89886f1320697768272d76319f07ed140ff9420d88ea6ab11e91e3f37f6582359c215ff824b66ae95a84eb48c78d61c66f90e4f1cd6918f0c5d568d616c6abe68792fcd2e130f75163c892b653c149d9cab05580ce11a469db53cd06855e0c871b750662ed902b5d400c86a0bee78e3b9e69b9c0da62567ad69cccc08ba1bd4373e91ef18a9d63f74bff7fbc7b7764c21
+
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBIMMT3.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBIMMT3.rsp new file mode 100644 index 00000000..522be30b --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBIMMT3.rsp @@ -0,0 +1,210 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for OFBI
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:48:45 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 1c7af7baf1375713
+KEY2 = 98c743ea0e01fdc4
+KEY3 = c7329b8cae156819
+IV1 = 7ee9e85831db325e
+IV2 = d43f3dad873087b3
+IV3 = 29949302dc85dd08
+PLAINTEXT = a57d8ccc3529b0241de46a78d9c8bada0492b7101e5677e7
+CIPHERTEXT = 36d2227d5787d86f0ca2682f5ac3ef8477c85e3f22bd2dfd
+
+COUNT = 1
+KEY1 = 6e31ea2fc1df3b76
+KEY2 = 7fd58c9e6ee5048c
+KEY3 = 7c31865ebf913145
+IV1 = b4bf94e66f83afa4
+IV2 = 0a14ea3bc4d904f9
+IV3 = 5f6a3f911a2e5a4e
+PLAINTEXT = e915083a3388fac5b1f2542f49ed588759b16c66a939b4319ea1e698b0d35a621d62616ddfb6d8f0dc6afd045ef28163
+CIPHERTEXT = cef6d45006cfa674e6276ba514aff2ccc39157abe088789fc2e3e4dc51d5025db77aa9efb72dadc4ff694a8c0b49b474
+
+COUNT = 2
+KEY1 = c1ae0783b3a4f197
+KEY2 = 7fc21f3e3873b5d3
+KEY3 = 759b83efb30229a8
+IV1 = 130614e37ec80b8c
+IV2 = 685b6a38d41d60e1
+IV3 = bdb0bf8e2972b636
+PLAINTEXT = ac829de301c9370aef15500b435036d1cf556c9c600e4649f0d9b2d41c31591bd88ae7e4617ca62273245274bdc829ef92b9411de17e1e45672e84ed231e8a9e0abcf0e7fdbbb2a4
+CIPHERTEXT = 6a1f0194dce70798f4f3c0910210bb9baba0a0f147994a05db12ebda27464b4875d20c9d4734ae1cac33148031c7b431999aa3a7c0778afc10ad76a618e6450340b9bf51fd334aef
+
+COUNT = 3
+KEY1 = 8661bc5d04627915
+KEY2 = ea3d859d75c4bad9
+KEY3 = 57b3f2eac70d23d6
+IV1 = 7887e3629c7d1f99
+IV2 = cddd38b7f1d274ee
+IV3 = 23328e0d4727ca43
+PLAINTEXT = e06afca9a31f21aa90d0e905aa429054347d946ac7886c37a17477ec409b3360302aafb221dd43313c0a7e78b7e160dda7f2c90d16f032f056b49bd39484c4c5b096a0414dd0070e24d2ab649d364d50a0163159a8cfcf641a05cbd5d6e827f7
+CIPHERTEXT = 41db184133b4bec167fca3ba4d2e87f6609bc2775d5478594b270b083dbee10ce1a24677c914526cf2902a1e711c5b0552720ea148ae9ebfe3bbb288c5aa9106f0fc6ac8919801a63f00c5d6b9de16b0b1f39300504434483c11362e5e46d344
+
+COUNT = 4
+KEY1 = 9e086b0eab75abf4
+KEY2 = a8204f3b91efa82c
+KEY3 = bf0ea7b9ae405b07
+IV1 = ffbbc98c71660d32
+IV2 = 55111ee1c6bb6287
+IV3 = aa6674371c10b7dc
+PLAINTEXT = 3b09cde4a4c7e9d548bd9f282fa556f91c01158465a4f2d30175ce9ae3703f5f86edceddca2563abfef2fd193ed6a65bff3fa7e9e809f825e445fa3e753968554ba78bdf1553ae4b97bfd2e4fc39a3f86e17aa3ae542c3653cf1d2228ab7b22cafc06eb22d58b4fd3aac865213d5331a9212864003553ddb
+CIPHERTEXT = 42f35dfd1d62e5cc1470bca93bd84d0c692eed67d112c9cf694e07af9b2c19b4ae4d74e09e7371f7a77469f7101fa77dd4457d40d18f9f66e09a0d373d0cc13ca43a06ed29950126480a2b28b5f57a85531d936b6c1b1820173432de08d39789f452a5a39c725d9b04caa5a6e36f30075912e078287c19e1
+
+COUNT = 5
+KEY1 = 7f4f2a2f02d0bc6b
+KEY2 = 381a80162fc715ce
+KEY3 = 7329cdc1baf8a88a
+IV1 = a20fbb0c8e5beb83
+IV2 = f7651061e3b140d8
+IV3 = 4cba65b73906962d
+PLAINTEXT = 0af1da331deb8e6dadc98de7164439cced6eef5594f239320b9d442d091d940a4c09f6b12d22b68f77d913397911f0525a25ccb0ad2df4ba457df7144b6f5b7f8d638efa19031f2d0bcc2e08a3ca22a89ba29a7ab7d6a5a29d45359ee7f1d12677058b570a17321110aac89ebcf7369457ed3ffcd976b3b3bafce511062c5ec9b0f9d31028e455022f7bc841eb2096df
+CIPHERTEXT = b17e0ce5a8a7bdeec5483e50ae5b5d084a349db55cae833cf321367abbf4edd1efeae4ea5fad14686e0f495661146e3f8466573221012d8de8d14679c4eb0db77dfc91187a3667492a4b06f599fd3d06846cc70c377d8f31f4b9f976b523ac3772a94c80fc47f6b38f4c72756c275e1545d14303a14e92fbdc5e099152e15d4ae3834efde1368019c98c357b40bd4460
+
+COUNT = 6
+KEY1 = 4f97d0d3efa12c98
+KEY2 = 6207a1797a890d9e
+KEY3 = 9b0d9d29fd83a12c
+IV1 = 0326a61eb71ad6a4
+IV2 = 587bfb740c702bf9
+IV3 = add150c961c5814e
+PLAINTEXT = d493d7f6830d0ab679c74be559228888a0fb370f92d1ea92752a235afc326aa306a69ea089f089c0c894b630cdca87a1136c824b8313ec32a17e99a808330213146898f0de2358186da1a0422af541ca95f1d5b1374953e4d7f6e0c1f1d9e8d764a16eed6beea046ceb6af245ae9dd8b8e50d84797bb46317f5ba1ada16d45776018c7a0189989d3559d8bdd43ee846c665232178bb1ee9fff758375fe36407c6e974c0fce6b3a46
+CIPHERTEXT = ce8b43d0cb8c4baaad46dd1efe8458bba122baad9ac9cf167bd0e5a5542b408c371ca7e1943bf8564d40826c15c6f2e0cb8cd9006dc7916237038ae3fb7e4762dfb7fef03a3082846a51008ab2cd1e9cf0f701266a997859cdd5babefdff44b422ade58495b188d426b4ba86dfa16b2fbd2a7b4906ae95b65c0edbce3d974c7c304b9060467d404ed0de2da1372937e4b6682ee1e1e9e10c55b94f6458c49727a115d16d8c4c3ef3
+
+COUNT = 7
+KEY1 = 1038a2e601b39b1c
+KEY2 = 9e8c8f922397f810
+KEY3 = efa468151c156483
+IV1 = f8f9693335fd6b3d
+IV2 = 4e4ebe888b52c092
+IV3 = a3a413dde0a815e7
+PLAINTEXT = fc52df3ff482446d946a7d36253ac57366c379a3328dd8995e230772e1b257ca37d2cb3007a4d5d6031d618d0fa114f1a6d4d6e17aad8e335bcc2ca55a0ded162e5ddaf6d7cc93fb81e44a15aa3912a587425aeaa467b4bbcc5bdc7c28acf54baa99157aad230442d56741b53d2a46f5d1b60da4f8e5d39b777b1cdf92b8f7d0732e83a4d0d1b214c94d4d550f9c394a4bd7f8f8be4c723a24d2f6b6df597c0f51c52d5d8afd25da233e77dd69b6710dbf4e22ce3dc71a009d0871e958b60b6f
+CIPHERTEXT = b9cbb4ea0333e87b509cd27f00a2eb0673dab42b7860fac06730721ab74f24c08f29ce5f9c119cb12753300eb59287e38a321587b78994eb80d9cc120526dfa874e60b8dde7eaa65c2930a02e2a57832a0fe5e0afaffdadcee73aab19cd1219ab3a7bf1362c5cecdf516fdf8e3dd3403c1c3e01dd02d989112dae549d7ff092bed861a9778805a09f531df8fd52b61b84f8fe2d04ccfcd19eabdcc07250f8cecfea3162dfb380a15bf4b90bec82f1a01494e137560b29a835e2456a9645aca4e
+
+COUNT = 8
+KEY1 = 2004b019572643ba
+KEY2 = 797383ce2c45924f
+KEY3 = e561e520fed570f7
+IV1 = 0fb18b2b721ccf12
+IV2 = 6506e080c7722467
+IV3 = ba5c35d61cc779bc
+PLAINTEXT = cd8ad2ab7da5464224ac781b8cd80a610ab6a81e48d8ec9848ca7fe1a64782aa1ead2c584dafb45abc4a71b91afa40f0c92d26ff9df836bbe009b56899dd7d890d339ff787c04c315524f6f3131db20a2cfae1669d530f71fcf81b9fb9279846a50274b1b03fd770f7224ef1fea829553906227cd2513f62a67ff9af918e9d89eb03f3ad52961ebeaa2cc3dc63056d79fa373068c35b8d37e58696bfa67b52f9e91e6314f42ce6c4772a9bdcca9b461f77765553f8d7c298c2f53bf88254813fa63c0e0d1f69fa2965041f18bcd27cefb7acd765fa2fa62c
+CIPHERTEXT = 51a3abc87b713599e2ada2ece6b7b531ccf2fe578fa82551e9a352f658c56e4637ce52f1cf446eb83961bdc785c1ba638c44ca55050287a139c27ff5a6b5448a2a47e8c23a3fd810859c17d97c92d4d1dfe746e7d3a7693a836a14f881265ec5e5971f7a2640b5e32030bec1aa172c4c5d3860472ac6b09ba4b917a47f32886666cdce3d548880f9cae770cc669c998ba37b51b46d2c412bdf34f27c261a2834d16cc9e153d3019771bf2fba4b699475e14b60a90e8c0cab4d80e7399101e597e6ac7c3b848f47702da1eaa378e1264091609956d558126e
+
+COUNT = 9
+KEY1 = 8037d6617c23b332
+KEY2 = ae97b9abf7202975
+KEY3 = 89efaec2fbab7c8a
+IV1 = c7b12564437e3aed
+IV2 = 1d067ab998d39042
+IV3 = 725bd00eee28e597
+PLAINTEXT = 87900d7b70074ffc584fb83c6309340b74a054414ed995f8f9abe5f868506373589c67f37b8ec290d625476667748a460cf9e7aca02bc6f167521ec2ac9b38d1a86cb6caa6f5d3896508ec8abe2a40a186eaf4ebb6715a04c95b727a66c5b1823fa702ea39650b4fcda0b190ae52de82ac1a81e6d8d4d798e96dea09def557eee5f6533a7c05f04ad6969d608015ec53443299854e7cc7148d318c555c54b07e6201b2a2b6fe0ce34792b8e37c9af37b17d941b05f90b1e27e4e6247280a46987d6f260a3177e780ea3b0bffe90a7b62edb8834f54381e69846d74c7893ea1a6ffe9b85a3399078b853a9d9d118c0a70
+CIPHERTEXT = 64f389826e865f546aff971a00cee3a4c7e76c0544250f5dab873810bf439bb8c4258ecabdfe6b553531ccb8d4b73869716947ca5294822ac59d15da3b483a7d9aaa27ffc8ef763b9ddb2b1efe69490f2c08d08b6d81fcfb5d4426963d40f783ab680b0034856b46ab24b99c1e5b5aca56e2ec555377a7216499fe322f5a8dcf8737e5663b53456f07d34b473dffa3064bd1f034fc7024f50d2e282210bfb9d23d22f5273e5c3ec4ee15520e37ac9c710efdf8700a629807c139586530dce5c22d82d6a85660352f74abdd56cdb53b85e905d4304923a0520c3257bd25851b217d5feb32c17ab05d9af83c5de27524fb
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = c1627a29701654f8
+KEY2 = eac883c754974061
+KEY3 = a8a8abce4cc191d5
+IV1 = 3163a8bc8bec8bd7
+IV2 = 86b8fe11e141e12c
+IV3 = dc0e536736973681
+CIPHERTEXT = f50c15805c61b5fff976f312a3157f71bb6ae84262646c9b
+PLAINTEXT = 89c189bfadc134b80b180a4c7021b2731706a5ddb84384b4
+
+COUNT = 1
+KEY1 = ea1aa8d63134d902
+KEY2 = ab8c709276d6cb1f
+KEY3 = 2ae5ba29386d510d
+IV1 = 404bf503668d58a5
+IV2 = 95a14a58bbe2adfa
+IV3 = eaf69fae1138034f
+CIPHERTEXT = aa2fc392b6039d3e41f456ad6090d385324e3f8d71cf481246638b8962cf4c754a4e6b8bf2d593148e9bb594a5d9b5a9
+PLAINTEXT = 9c7e62cec00e9ab9d40d445261ce77737d16c62fed9d4122b5b37fb4967ed6a108967fa70ac2356075a1d86f74266073
+
+COUNT = 2
+KEY1 = 1fc831751afd5201
+KEY2 = 13f2b929bad0dfbc
+KEY3 = 803bce7540d98f9b
+IV1 = 0cd2b2a96dd66d60
+IV2 = 622807fec32bc2b5
+IV3 = b77d5d541881180a
+CIPHERTEXT = 8ac10c06763f08f2530ac59fda01770679f08a6ab0622ed2bbb613bc717571106ce34c536ad4f61df3c1d5cd3c1b667b4cdf822e5d6be14f8590dc5e95e877e4426a9ea9823baf26
+PLAINTEXT = ebbc7233be1dac2372f3b54674e34e84cbd403834f114e9dde97df60769c0871e3aef3f5bfc9a3f16702795d180ed678a939a402b19acb229cc721db2043dbbfb2928d7178e2c6f2
+
+COUNT = 3
+KEY1 = fe9de0f48cf1298c
+KEY2 = e562d6543b9dae85
+KEY3 = 012ccb6d46ef0868
+IV1 = 1f13701c7f0d7385
+IV2 = 7468c571d462c8da
+IV3 = c9be1ac729b81e2f
+CIPHERTEXT = 32de44416b7ec1f60d95c35111883270aefe24e0d089f460c68894e73a4c24e86779c3d486afa5e1896a650a0c279d5689c9b55ecb3af809a555ed9be304e4ee81a5cffe1bb353aca5a21fbb5c0a7d1ffc08267734e25bd857e931cc54a42d9a
+PLAINTEXT = 38dd065d7a60ceb0cba566d850ce71172ecace7ec4ff910920d01c41299091c569a556d139f8af67c3b528570da79ddd411a6b796f5eb0918cd1eb4ddc5f46addf37f94f05003686c08313ae2b8a73f84dae68057c0db9c79810c32638ec5497
+
+COUNT = 4
+KEY1 = 9be6daf18f08c47a
+KEY2 = 3e078ffe8c80312c
+KEY3 = fbb667e340586b5b
+IV1 = 5ef6c87149b93357
+IV2 = b44c1dc69f0e88ac
+IV3 = 09a1731bf463de01
+CIPHERTEXT = 459e8b87367157911232541d2806e29b79f1c05b63efd246814022cccd03261d0706419c5bdd8b903e31d51d995be87429310e462520d47e227c0d2f35131acb570869970ddf3c5b48d4ac5e8971ed914a5fd30b9a7d95b5072fd247c0f9d173fb4c0d5f959ff159f8c2e0c7426f785ca4231892072b9f54
+PLAINTEXT = 2d1fcef8b056a03cc516055ad0004ed61414080c4ec1df2f418e02417c9baa60020151f2f91bd132b8756610224cfb6aec7c296e6bf9d6d922c5570c37746646e4ac97ce0bd9d13e4f98a9980c66b9aefc63584a685bdc50205b5aa9b8797793a0752dbfde67b2bbbe7350380c5e9ce92d74e0c329c2f052
+
+COUNT = 5
+KEY1 = 3dfd07fb1945d9d0
+KEY2 = a11a89dc7a79dfbf
+KEY3 = d0e05d64895183bc
+IV1 = be080c08eedc9f61
+IV2 = 135d615e4431f4b6
+IV3 = 68b2b6b399874a0b
+CIPHERTEXT = 2cd346e2a1602019f1d0ef8c3860507889678d0b3389092e422edfa24932c64e5fdf38d76818d37296d6fff62fd9d13690972f8d727935ba6c46d8eeb9dfc9243c2e9cb1c1592a1c863b342ffa14494ec47fe90807a5eaece4b11b9e4184282ac9a9bd97348beec0c9e5d75f217b7f6b2d0803a47b77f06cb455f0d86a87a9071038e2b24a16e70568be2fad2c743d33
+PLAINTEXT = 7d0460bdc2b8bbec57a66413b5299f428dbcb4dea07c82ac69f8ba51e5895185bbea551a86d314a0e8950a182debff63e8cadf1e209bf107f87f7c8af1eb6e3ab01d9dce6e3e05f4fead0a799def0abbc2433c0ebf269def54139ba72f3efd231bc15882fa02f832ceff443e69034f11c5e5ec11b8d4fe164fa022793efe4b9175f84b1d0e95e34a18b538d47fa8430e
+
+COUNT = 6
+KEY1 = 4f79ef1c921ae6cd
+KEY2 = 792062a4b343dae5
+KEY3 = ea3d7fbcecd51901
+IV1 = e9f3382f24291842
+IV2 = 3f488d84797e6d97
+IV3 = 949de2d9ced3c2ec
+CIPHERTEXT = c4415b90d8f998e4f97e939c169448d2b43e06ab32e8d02b52e6044ef51d3a5426006f5c5abf6334f6ba3f70123c7bb97d66ff6801698854e8f94ee7befee478598c5fd41715ba1e67dd79da8baf8d449ccf78e6ce2fb169f5e54aac48ddd01365cb73229664664a53ce89020855461a185fb84c21a21315829440c31a23c7ce53a7f26b5f15305fc275b71111966de4f90009c3822a75fe95ed7754bd3991512a0726dafb8edd06
+PLAINTEXT = d6aebecbf16fecbc683d240321c7a4369b8b5a5ec00064bcb972d5af8a566c8ece3cd7339fc95e01cdc20382548ada9d64eba095d1722f6aa98a6f149ff60661b4c5d5e3ca59c4d6cfb5e139200a1bf59614b2c7c56b21e8799938142e2d3489d27aaab1b70bf33e0e40b2aa856b3c7cd72932eb1b592f8f3982e7798b20212a887b5c3f90c1ebfb5601beb9c6b537b3160d18c640cc7bea39abdebcd20c7df4085c7aef995d0f2c
+
+COUNT = 7
+KEY1 = 16520eb98f494fd3
+KEY2 = c21fd0571f2a92a1
+KEY3 = cefe83ef3867a2c8
+IV1 = ae4393a7d0dc128f
+IV2 = 0398e8fd263167e4
+IV3 = 58ee3e527b86bd39
+CIPHERTEXT = b616616cf51086fe78150fe48bd1415a4785acc05ab80ef00b2975ce7807a4212264b8a1ace80b50e0c2590ef3e421680a704eb2fc6d17555abf2469ad56f287fea578d89c560b72193c7fe596898f1040417e3a1beeff5eff9653c5e0eab1da52c0ea3b4bc34d0c2b69c890fb2651faf2e084803ea28eb20194490a992ba8c4249d56ef43989ac51f337e38aa2530cd2834a8adedf18bfa68a3505f6081a1eb7e24041f0c3bba45fc81e7042cecf432e82732e9b143c0dd3caaaeecbe5462f7
+PLAINTEXT = b57a4c85255fefaf536933687a22c9f4fe1393b3008d6bbb7d38291725f757f3d218c8067aae3b498997a83844302fd4a730ffb809c474d776abe362c95065a307cb3e4bc47db657dd86402a4fb138c63152cd0367cf7e2e3e606a9f4fbb1a97d1cfecb9d7f7930034f1090922a4bf84c785a627afad64a84206c2797020a0b280d4800b79c2a704d5f78b4a980877efcab2ee28fed9329cacee64111b8e5c1ee12e9082562333f304560901f2bdc83aae6f04162a3e5ce6358c9b78f2237dc1
+
+COUNT = 8
+KEY1 = 45d962a23ba44575
+KEY2 = e3c85ef88675d373
+KEY3 = fd1ca8ba134ff468
+IV1 = ef9302947093b5a1
+IV2 = 44e857e9c5e90af6
+IV3 = 9a3dad3f1b3e604b
+CIPHERTEXT = 5a2b4aa9076aff7521e1894b8352b1a158892342d440c44e224145829dcaf9b94235e3b365d81416a42b34b21a285e09d5f8310f89cb232e8508198de7a635920cd9efa64bf26838e380fa0431bc149527244508f9659614197e1d476623cf92a15f9608207ea4e3c62a06c832d47c4c375688b68cd6c506c5ed7a3782086fc2e70fff634c456f1f35707e8684393d36edd521a0abe5570f719b57e6a41fbc28c731533e370f72f518998bc78fb3005b31eb394fbc5cf53405d1ddda322e5fce290cb92249a4546c57ee5411bb0a6dc4ecdef8492901467f
+PLAINTEXT = e53728764d7e36ca8e573aee763e73066a0befb62618baaf081a07614fccc414205965e0d705aaa5dd0a327dd7d2a453468c72bb1616f19663a44fddb784ca90f672d9961c94a4059cee498e5f9d655d2dc461295c0b98b459bcdeff60fd623bd874a1c08e62516acf41d85eb52ec211ddf96b62e977121494b54ecbbb10d87e16209354dda9a1f7329cde151d2e655d750fff167fbb6ee4ac8b5f7f0e0939e6889d7ee7231513d3f7655873e4c23692d249de2682ef25aa646f7b268ad6cde803911a0cc245599b737cf92155c05364aa07a7dc6a70429d
+
+COUNT = 9
+KEY1 = 971f543d0e706e01
+KEY2 = 80cbbaeff8d67079
+KEY3 = 4a7f1370fd9d5bf1
+IV1 = 5ea3a26d22751d73
+IV2 = b3f8f7c277ca72c8
+IV3 = 094e4d17cd1fc81d
+CIPHERTEXT = 77bd1408f5c1cec537cb8566470cb44895826d04ec20f0aba4297c501add65c75d5767ad2ab63aa81b7b66f01b32590f1d55b7e50e6df1ee077a19c8c895f5ef62d452cc336e9aee171fa997ddcedd7af86e6cc37722fb5838a46c5e58e7f700edfb7c6bf832171d9581f660752867118e9535a6118635709d6f1c1cb21b938068958e956149d9bffc67f355cb88205d4894ba97c3e3c8be9fa2d20abe79f3f93a6a2f4f56fd075bb49a4b7dc83630e58c32a29d757fdbcaa607352f65483cf2cb4208a3bf94ca7a25e2a4e05279be31c33696c10fa4971d1b64ee938dd299f483e5c098845749a3b706a787529bf2ca
+PLAINTEXT = 43f318cf9f29e88e4192701be3335b6a94602860cc612c083dc9e572414d3ecc8ca8805b91f647c4f9a4703a12dde79e4240fa4afd4117059ffc91b2a730cfb7b5fa0ebd07b69f55026941592940a1ac71187e41a6bfdf86098e801d76dd43e12734a3b9b1a7ac70197a27070d5fda6af074ba5519cc8d5585a2cee1774185530636869134304df1f5954849dd1566e2612ee79834ae15b9118902b5d38b2f1b7c69537a096c9cdbcba4df2427ed073c46566b692a73da35d0d676b94cb5b7d484554e7af2b0cdddac2a09f88fe9601b9d8fafdecc6ecee5cac8cd0ff08c5d9a1c506bbf75864635b9bdaf05137d0266
+
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBMMT1.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBMMT1.rsp new file mode 100644 index 00000000..59ceb31f --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBMMT1.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for OFB
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:48:21 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 855194c4702683da
+KEY2 = 855194c4702683da
+KEY3 = 855194c4702683da
+IV = b2fab7b54f3419a0
+PLAINTEXT = a9422a0c89d80bc1
+CIPHERTEXT = 74960e1475480228
+
+COUNT = 1
+KEY1 = a134852c6170ab6e
+KEY2 = a134852c6170ab6e
+KEY3 = a134852c6170ab6e
+IV = d7d251b35e9b1738
+PLAINTEXT = 2a90e0d7eda6b7411e08fb8086a3ee98
+CIPHERTEXT = 81a847cd750df02902ec691c06af665d
+
+COUNT = 2
+KEY1 = 3e150b3161d985b9
+KEY2 = 3e150b3161d985b9
+KEY3 = 3e150b3161d985b9
+IV = acd3d0b2ed46115f
+PLAINTEXT = d399b7789800a29cbf111b6ed1840b041bbe538ca7f5608d
+CIPHERTEXT = 3bf338558d22dff025f45a5d236f00ded905dbf15ddbe59e
+
+COUNT = 3
+KEY1 = 01ab5446d958dc3e
+KEY2 = 01ab5446d958dc3e
+KEY3 = 01ab5446d958dc3e
+IV = 28ba953fbe399024
+PLAINTEXT = 0613faccb6094b82d814169e4aacc4794f1949c03288f1252d5f5d5488cec829
+CIPHERTEXT = 5996766f0d67c9be248b93c31f6f1dfdb377ec7d767e493657d91afc1af0a5d5
+
+COUNT = 4
+KEY1 = c7b60bcdb90db50d
+KEY2 = c7b60bcdb90db50d
+KEY3 = c7b60bcdb90db50d
+IV = 6b8555ff6204ec3c
+PLAINTEXT = b903b51fcead3c3ca3ed809f2e6fd360f72c927dd729052aff6186683dffe6d97bd10cd389fadfb3
+CIPHERTEXT = 498025dcc9ac62bbfde92af4bcc6252ff5e22f35afed93541fddaa05f87cbf3d7b0363df92bcae7e
+
+COUNT = 5
+KEY1 = 8c7c167c6d268920
+KEY2 = 8c7c167c6d268920
+KEY3 = 8c7c167c6d268920
+IV = f9846e44776cd3fd
+PLAINTEXT = 550eebab18b94f9072cde2a2188213621bf0a45e5fbcb8f84ef72d69cd432b066f38fdc1e90620f2c75b9a585d878d5a
+CIPHERTEXT = 4ec327f970df43c5126f447bba8abf93017c8ba95c39fe521e95671100d5be4eb0d7e0671bf302879d9e85703cc7a469
+
+COUNT = 6
+KEY1 = c75770706db5a815
+KEY2 = c75770706db5a815
+KEY3 = c75770706db5a815
+IV = c04b79f32a84a812
+PLAINTEXT = de152e196836c8916b2f183117bdf4452018c9596ed3ea411503285c87a3a3190937e0b963b01b57dc90de26654ed2fb15fcd60bd5274ef5
+CIPHERTEXT = 1945eef06e48128aa6e8ec43c73edc9fa5fae4fe09c4bf15f813e9bbcae4f656baf5a6f52e92b15a58a2f7b294ffe3efaee537938d9a385f
+
+COUNT = 7
+KEY1 = 790275266d311507
+KEY2 = 790275266d311507
+KEY3 = 790275266d311507
+IV = 8bd428cd6c95fa5c
+PLAINTEXT = b31b8da6c02fdc5cf5ce850e19f2ad1aa67bc00f7c1ac1b4d56fde4d7c6e48193a07411f9106772bad38901398cf063ead0735674f0ab29fdb11df91dacdbc0a
+CIPHERTEXT = ceceaee6d118cba9fc0ce5fa4a9e2f70b55455a96e60d2a3977d35203a79dfa4483661c573ea01f63f11d5a215ceb0a5f5010a09d80ce813ccf01a65768b256c
+
+COUNT = 8
+KEY1 = e6628ca838cd73cb
+KEY2 = e6628ca838cd73cb
+KEY3 = e6628ca838cd73cb
+IV = 242061af85f250f1
+PLAINTEXT = 7250881aa282e564e49d35da939d4b92bc6f35f27ebec121b70a41bbddfa8cc929f345f0fbe960e87a75e1307a28e700a420ea80d0d84137b644e7c6c61e7ed6547b944ff8a126ca
+CIPHERTEXT = 9b33432d7070c1aafd44b677f47bb10fef5ffc0b6a68c11f266428758c626b5465b5ad5a352552064a4c94b7b641e1f88ce93df045bb53eaa48b79b81409b9cfd7d9382cd4d59795
+
+COUNT = 9
+KEY1 = 4a9b08d5a44a0208
+KEY2 = 4a9b08d5a44a0208
+KEY3 = 4a9b08d5a44a0208
+IV = c0d583e4f3e1b0ab
+PLAINTEXT = a58c0018a7e32377730765eab1cdd78e16e4f738395d2713a26b5e8b24681e6a6e19a641dc33680a931ebd0bccf8d8fe70ddf86ee666e264286f8f431d1e22f123211d37ea36d36b89f1214ccbba592d
+CIPHERTEXT = 8e63ec2c683b09a4abb1baf08ac03f2088532613a0693eb9eff3f6729ad2b8a556d0830bf8588e03d3f0307b0ae50cd8f7b9a4c7b93475c2f541b40708649bcf20575595a8863e599fc04d14b3e536f0
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = f102cd68da1657ab
+KEY2 = f102cd68da1657ab
+KEY3 = f102cd68da1657ab
+IV = ab67ad59065dee6c
+CIPHERTEXT = 66c5a3080dd3ab96
+PLAINTEXT = 555d1eb4f9352f32
+
+COUNT = 1
+KEY1 = 67757619a845731a
+KEY2 = 67757619a845731a
+KEY3 = 67757619a845731a
+IV = faccc19729a356cc
+CIPHERTEXT = ec40273d4b1fda76ec989ceaa380fcbe
+PLAINTEXT = d373bd9e4826b52b449240b6c723a4c8
+
+COUNT = 2
+KEY1 = 8f86a46443fec2b5
+KEY2 = 8f86a46443fec2b5
+KEY3 = 8f86a46443fec2b5
+IV = 59e6e4aa080c195c
+CIPHERTEXT = 15ab1543a52d3efb25f54ce56b56d09eb16f06c331640757
+PLAINTEXT = c6c0405cb62a8f5fae1befd5e6bd637b15ec588c30c4d80a
+
+COUNT = 3
+KEY1 = f18a29f8bf3dfef4
+KEY2 = f18a29f8bf3dfef4
+KEY3 = f18a29f8bf3dfef4
+IV = 86b5d0bbba2e6d0e
+CIPHERTEXT = d9d4ff1a1f81b9e70d01a23837621a3c29d8195cb3bd206384d670e2fad87bd3
+PLAINTEXT = 2f9ccc2ef2e4d478a26a39cbc383f066ecb4d237e4d454ad6d0579fffba11426
+
+COUNT = 4
+KEY1 = 5d75971c31b3e06b
+KEY2 = 5d75971c31b3e06b
+KEY3 = 5d75971c31b3e06b
+IV = 5694094e09eafcd2
+CIPHERTEXT = 88da540837b350b971617dd18c291967d086bf74e7ce84918f133f02924728f4f8a4a5037b4b60ff
+PLAINTEXT = 81bf9022c1b5dc88827372bf09d386610512d770f180acc922bacb981cd0ae206557b2ec02f01332
+
+COUNT = 5
+KEY1 = 191f8694944f611c
+KEY2 = 191f8694944f611c
+KEY3 = 191f8694944f611c
+IV = 3bd78a8d24ad95ff
+CIPHERTEXT = 474e14e5f666a2fcb272fab86eab48284fb272290e6c9ddb9f10f451107ea48db3d32bab7f3ad35cb4057996befc938a
+PLAINTEXT = 2f245adb18dc3e29bdd9285cbb923cd4a296dd12646915680a1c5e986df45b3bfe89e4a3193d7ebb313c901e65b27f5c
+
+COUNT = 6
+KEY1 = 6767fde6d5ef1f8f
+KEY2 = 6767fde6d5ef1f8f
+KEY3 = 6767fde6d5ef1f8f
+IV = 45b981f1b9cc4107
+CIPHERTEXT = 94dfd59facf4c0a688d30b456358784d9bffdf466c9c16bcfe4c13d9a2ab5539584780f99655471144a38ee40bced016cfb5bf9e7a2d2b1c
+PLAINTEXT = bd931873755c3617dbad656167952f17b914996bc01819d874e6ed7c3c8c7f5d54797e343fda3c1b935f713a7e53db6e5b906a9b4d1fc1f6
+
+COUNT = 7
+KEY1 = 08981f5be5851a5d
+KEY2 = 08981f5be5851a5d
+KEY3 = 08981f5be5851a5d
+IV = a8f9d7bfb14ec951
+CIPHERTEXT = a008263c56e6cfb6c92c5e2856153147748d9300e896910238ea097c61e10328cc9644887f45217091f892c4e0638783060c7f0488af568051e05ed15ff2b279
+PLAINTEXT = 4cc2cb21e85ea0299f38c096cf5223d1474fd431032287ccb18f9e93209083ff688cce80c4070bedb4bb2ce4624544892d02571488e3c3984eb6ce1140d43e1d
+
+COUNT = 8
+KEY1 = c24a3426aea20d32
+KEY2 = c24a3426aea20d32
+KEY3 = c24a3426aea20d32
+IV = 71c38aefc3b05fdd
+CIPHERTEXT = ac7036635447872718076963098b17ebf382540f3dc5668511e863a3bd0eabd15902b63faa8410d347e1a166fac7322f69562d7ff67aa4afe3799557bac86dc1ec23ca9eb8dc85f7
+PLAINTEXT = b1dc6a6d4718956d8ed77c7dbb282a62db03ed3969dbc44ec2ec2e8ca7ac50b1401545efad67dfe29a708ec733edc0f3c97c2da110cb3e1c21b91c09a6e36ed4815a0e9828d5cccb
+
+COUNT = 9
+KEY1 = bf6b5ba4ab5dad80
+KEY2 = bf6b5ba4ab5dad80
+KEY3 = bf6b5ba4ab5dad80
+IV = 31f68c4907a0491d
+CIPHERTEXT = 90f9616ee84aa24ea4446a13381c69c3651b1506034e957dff7ede54a0621c1b0e1453d114c2464225a698949d38311c4aa2e3762b744dd477990096e18ae11b1bc1cfd7997185a69774c1605d84a6ae
+PLAINTEXT = c27a6a4c8e1d5a9d9097f39e26834cd7c3a0f39cf496f6ceac64c91cd8b7dc116d6fdce2a5097a6cda4d0b4119b30f224cbce59df66f0e57b5ea0afc64d4ad3ffc53b411edc2aca4e447d305e2d6561d
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBMMT2.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBMMT2.rsp new file mode 100644 index 00000000..919fcbb2 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBMMT2.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for OFB
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:47:58 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = f2b546fbd6d3dfa4
+KEY2 = ba2c26ba255e7a3e
+KEY3 = f2b546fbd6d3dfa4
+IV = d88bb3a7f539d7f1
+PLAINTEXT = 824cec4211ddc264
+CIPHERTEXT = c5f4ff499dfa5de8
+
+COUNT = 1
+KEY1 = 378c89d3b0917080
+KEY2 = 2af18013c2ef6210
+KEY3 = 378c89d3b0917080
+IV = 007817d4bbdc69a1
+PLAINTEXT = 168260d5faed24b9f73aae088a477528
+CIPHERTEXT = cfd4e0fadf100f3aa5eec0b30084df47
+
+COUNT = 2
+KEY1 = 61866e1c86d57a54
+KEY2 = 1301734c5dc86dae
+KEY3 = 61866e1c86d57a54
+IV = d0ddad02a219226d
+PLAINTEXT = d5db2469ae56ecac5164195ed161eccc1720368f2726c060
+CIPHERTEXT = 4821c0ca2de3bb2b982c7bd9cbe6a44a714d5c0a85b44e0f
+
+COUNT = 3
+KEY1 = 7c85a4805ee5a751
+KEY2 = 15e052a80e4f2fda
+KEY3 = 7c85a4805ee5a751
+IV = e76486c2d6309193
+PLAINTEXT = 1c5f01506fdc6d9d12959279db600005fbf7966f769e9bb8d7060abb21702c6b
+CIPHERTEXT = a06a876b4343c15f282e6cbd4acdceab0b822a4bef9950565d4ddea10d89f3bb
+
+COUNT = 4
+KEY1 = e3347a6b0bc1152c
+KEY2 = 642a25cbd3bc31ab
+KEY3 = e3347a6b0bc1152c
+IV = faa063a81f197c14
+PLAINTEXT = b740cc21e925e3c8706007215521b28c0869f9a15427197191a2520f1c16f85004a2c7ce06617733
+CIPHERTEXT = 23a53e110770974f57ecdb0f4efb143b40c696c55b777b4479a864f7613e7f079c660229e7f47417
+
+COUNT = 5
+KEY1 = 200d919b6b1adaa1
+KEY2 = 54ab5d1c8f98070b
+KEY3 = 200d919b6b1adaa1
+IV = 0e67459eaa70ce55
+PLAINTEXT = a7dde735b7e280b49f3e721131cc39a8e96a4ce1205bf6b383ea6167c450f49f8fd8de96c041f3a9d364b8179b17b905
+CIPHERTEXT = 506a9f28e55d15c8ce1793055976ac0d252352b7afd064d4ef49d3fb2d4e8a0aeef3daf04351c7677c36936a1e2492aa
+
+COUNT = 6
+KEY1 = d57c8329fd61fe7f
+KEY2 = 4349bcfdd6373ed6
+KEY3 = d57c8329fd61fe7f
+IV = b1632bac4fe4db44
+PLAINTEXT = 2dea56ded27e4f1214581ecabe28864b4d88862b50d4dbc0153cc6d881170faa407a4a0d1f0a59e8b50e32ea49c9e37bf006d3f2f6f44a08
+CIPHERTEXT = 29b6281133b009e223be3bb90aad69d6319a1150c46ba744863fd5bc237a23c1b0d1ef2871002e8a1798332540b851818574b26682dff453
+
+COUNT = 7
+KEY1 = a420dfbfc1fb0185
+KEY2 = 3b7349bc2c644c51
+KEY3 = a420dfbfc1fb0185
+IV = 52af8f3cbc523ea1
+PLAINTEXT = 026d452446cfd58b01082dc3de29e299bf9c8cd4a370cc23cdf18d53237c89c5d4910f203d2a04430e4b297ea8db9b01cab2a0946df3a089ec9c72ef685bda09
+CIPHERTEXT = e4a8e535705dad54c5f55e95b86cca5675a48537a457af5b639aeb7bec2091df2d90720c6615aca958662bf6fc0ec6e01dda496605cf06247b568e4d8cb756ab
+
+COUNT = 8
+KEY1 = d3c70e833eef9b1a
+KEY2 = d6435875ba13b549
+KEY3 = d3c70e833eef9b1a
+IV = 7b5a3bcc6ad04b87
+PLAINTEXT = 6a5aeb496eef9072eec454995a17d007ac8f5dc0a77379575c1a6c07f3a32b00a8e67cff14a95b21ae189cf9916fd3e080fa718c273f2fe5a37ab013454961dc93a9a52d90212ff6
+CIPHERTEXT = 4b0f8920c36da7957406b5446c6a0eab7875a54f8a4a3263a266b18946438bc08ec76e698310bb5f667ec32b21b922836fad2dee9e06b688fb63c15c336a36bbb4f965d94a897a2f
+
+COUNT = 9
+KEY1 = 85d00bf1b66bf264
+KEY2 = 43543834853bd5c2
+KEY3 = 85d00bf1b66bf264
+IV = fd7c49f5e997a037
+PLAINTEXT = 0b895f5c954d2cf02ccc23eecd5e4c0cdf1e6dd06848d80a81e688a208ac6c9394200338aefe29c73eda311b430733b6c7b8a706136533e71f70c26a4c09d6d4554f1fea83b74c6c21b221e0308aca90
+CIPHERTEXT = 4b20e3df54bb07428050c9290ea0a20aca67aa97b0dc0e5996b7103c37f74a48d301afd26794328cb7782c73e25264d84256481b55b065b260757e0b7c71cc3e223473829ac3a09f93b79ba468684793
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 6b4f6b3238fd5bae
+KEY2 = 58a13eb93d0df7dc
+KEY3 = 6b4f6b3238fd5bae
+IV = 66a6c150b24d66c9
+CIPHERTEXT = 7e89471d5b92868e
+PLAINTEXT = 9b1e8f6c6583cf2a
+
+COUNT = 1
+KEY1 = 8c83f7045bc76267
+KEY2 = 70b9fd0bc88567a7
+KEY3 = 8c83f7045bc76267
+IV = e4149e9fec84f2f7
+CIPHERTEXT = 1d08eef994bfba036aa60f28cd40312b
+PLAINTEXT = 62e629f4640d290ff9c382353513682c
+
+COUNT = 2
+KEY1 = f8d5a11362e9ad52
+KEY2 = 2f765be93b3e7573
+KEY3 = f8d5a11362e9ad52
+IV = 6deb91f0d25d9510
+CIPHERTEXT = 44df4a0bb033be93a6ea175441bdf4fdc7ea6ae18c8a03ef
+PLAINTEXT = b0cb7e480600b8a3d63aa1b32dba7a2f860aba1d583ff9eb
+
+COUNT = 3
+KEY1 = 9b97aefb4fce4a9e
+KEY2 = 32645d02d5c1cd5e
+KEY3 = 9b97aefb4fce4a9e
+IV = e5fa5d7db3fe4b08
+CIPHERTEXT = 0ec6e6df5a65bb833f7f525161b80f28ef103d3a295cb01a1ff7a815bbb5f9c6
+PLAINTEXT = b2c9e4265492ef43399c4876cf08dac656f8100100b99c99ae090b7d438388d5
+
+COUNT = 4
+KEY1 = fd2c1620236d8583
+KEY2 = 922673a43ba8bf8f
+KEY3 = fd2c1620236d8583
+IV = c28ee5de652cb1c3
+CIPHERTEXT = 944fea26f4f6dec8d735aa0b5b007f2c5a1e1ac49a89984a44168cd998584f33dec29707a00d4b6f
+PLAINTEXT = fbc0c7994ecd821d460921bd44d4c832daf85ea6b5cae339ee962ba78d11cc5a0ba87e16dbf3f4c4
+
+COUNT = 5
+KEY1 = f2c115cbc2f1d3e0
+KEY2 = 8316b5c20b57b5bc
+KEY3 = f2c115cbc2f1d3e0
+IV = 5f1f390d9f6a7159
+CIPHERTEXT = f2e98a47a291b0bccdaad63faa2475721fda5510cc7dad814bce8dabb611790a6abe56030b798b75c9446092e1f4a9ed
+PLAINTEXT = 69960ac60ca0425e7ecc24e998a6712ccf80b29f9ec4a5b15cb7b116e1397c55132fe91c8c9dbf72cf862534fe77ab79
+
+COUNT = 6
+KEY1 = d6623d263deab6b6
+KEY2 = c843c42545515e52
+KEY3 = d6623d263deab6b6
+IV = b52bb63f566bd296
+CIPHERTEXT = 56ea1cabbeb5f0cbc3b21352a3f7d698614a7244192afa7091148d0810ffd07373299b767d15f3556fd4393bd885a0dbaf18e5589f573a62
+PLAINTEXT = 4fab9496f024a61a4a3b7b4d201eef23315e42a7726214eb7d69034960e1497e223af4b18668661f63241ac99f7010924da79d77c811b711
+
+COUNT = 7
+KEY1 = b6e51934ec08924f
+KEY2 = aea72616e0eafbef
+KEY3 = b6e51934ec08924f
+IV = c388ff76ee9d37a5
+CIPHERTEXT = b155b07a7b8d87b8ba21147983e6a65d42a6b19ca172d0f8ac3906f0329a49376ef74164e6cb4deb943dc74c44f5898a3d2eafdf230c9fae1c3047b9328ba694
+PLAINTEXT = 152b141b0f3d6a1046c9ed989f47f041ba3f2176d512400593f90ef04817831351c2d2093b83282070fbd10e08ea7b774c728dc7df55b849e29f822f9fefc6d4
+
+COUNT = 8
+KEY1 = e631437031c47f1c
+KEY2 = 9e67132a08adf89e
+KEY3 = e631437031c47f1c
+IV = 30da9cbf0c340080
+CIPHERTEXT = fd8cbd3b80a4d22b670d7ac5208d3911e48ba4de966a68b4ee158d0ad6dbfcb9147e3fb12a8689ea7adbf69eae9313b65709a182d42f96ac7625656fe20a7f04b6121a5d6fd83116
+PLAINTEXT = b3d199932a3939dd77143d71faba5b5559d14b346516f7e1bc3a26a69cff9973ec240c6745c1fc0dce228ec98bea98b58b5a876c0b7eb2fe78310feb63fc0379314dab07d37793b2
+
+COUNT = 9
+KEY1 = d0c8524fb9d034fd
+KEY2 = 4394fd9e61981cfd
+KEY3 = d0c8524fb9d034fd
+IV = 3451014a11caa08f
+CIPHERTEXT = bea965e7b6f81159353a55b4f2d351a2c3d81eea1b7c6d8cd0cc6a0c229de70efac2b6236f8256e38e49d33c5b9de709135465e6b404d743bfbc66b83df1fb9800bba4c92b4239d3f5723f36a9f70c01
+PLAINTEXT = e4010a5642c381b96cafd034ed6c19f79af41426934aa34a68d1ece31a4b8272bd5859fd46fb01b51ca0d7301401128cbf41d4eb0981c3240f26eeed8e518ce1828e7a7443118afc0b1779320cfb3196
diff --git a/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBMMT3.rsp b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBMMT3.rsp new file mode 100644 index 00000000..17f4d259 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/3DES/MMT/TOFBMMT3.rsp @@ -0,0 +1,169 @@ +# CAVS 11.1
+# Config Info for : "tdes_values"
+# TDES Multi block Message Test for OFB
+# State : Encrypt and Decrypt
+# Thu Apr 21 10:47:34 AM
+
+[ENCRYPT]
+
+COUNT = 0
+KEY1 = 37b6375bf834a88a
+KEY2 = dac74016f79b891a
+KEY3 = f75175a4ad7f3d9e
+IV = 482945e59c624338
+PLAINTEXT = 775b80930a04a408
+CIPHERTEXT = 85149a67b2167ede
+
+COUNT = 1
+KEY1 = 3ea7f4a819d56797
+KEY2 = e683687a32b6d661
+KEY3 = 0b4307238079c7e9
+IV = e9a012252338c1ff
+PLAINTEXT = 5c632f97a983f12aa7a57bfd1ac9dbb7
+CIPHERTEXT = deb1bbf11eebce856e506a5bc91b824b
+
+COUNT = 2
+KEY1 = 8a8adc611cfb58c4
+KEY2 = 1faee97358890d38
+KEY3 = 9becc1522aeafd38
+IV = 84025a09476086ed
+PLAINTEXT = 37ce4076a36437aafdb371c1a62af9ad9b614dfef89708fb
+CIPHERTEXT = 76415ffd58c03e9036914f8a52deb45f906f502c7a7aff87
+
+COUNT = 3
+KEY1 = cdf1526867e08af7
+KEY2 = d93886bf6b58dfd5
+KEY3 = adab1564ba165745
+IV = af3fa759f7b0b739
+PLAINTEXT = cd5b828837542ffbaec2b15256047a835d6249a48e4b585423e0d757dbb79a80
+CIPHERTEXT = 3c8873436991742e0e00aa4b9c15ca07e1e91a1baf3b2fd03f537a883fce4e87
+
+COUNT = 4
+KEY1 = 08a79b8cb9da6ee9
+KEY2 = 5d10088ca89198e6
+KEY3 = b6e02501b04054c1
+IV = ba2d1fd4c2c29805
+PLAINTEXT = d0c95248df22f49c78d59d9ad2124d950069e53b0d8cdb744a57328de70daa95c1e534077bc5a8aa
+CIPHERTEXT = c8b2d022765af223a2ea00323dc39e34d808f7cc0ea83bcbd97e4f9223762c875e078bc60134c13f
+
+COUNT = 5
+KEY1 = adfe3489586dcd4f
+KEY2 = 0e61641c977c376e
+KEY3 = cbab0110dafdc7c8
+IV = a308db8a7968539d
+PLAINTEXT = 2dbef20e4105d481db982f7243f79400a6e4cd9753c4b9732a47575f504b20c328fe9add7f432a4f075829da07b53b69
+CIPHERTEXT = 8d61727c92250796890ba2a0748d69782a5622af49ff69dae8e8cca096da441646e7d546e836baa84334fb48abe46053
+
+COUNT = 6
+KEY1 = daea0831ef0207a7
+KEY2 = 26327c8331a4c41a
+KEY3 = 34103de60e1998b3
+IV = 20dc465d8864a591
+PLAINTEXT = 37ec2ff3e975fe8966857089a453b3fcda45639b2a05508983d7823ec62a7ac3276cbb25d7238924e03af12b5098098599f879cd38f43aa6
+CIPHERTEXT = ee1f6cb805566beb9f7881c9b3e3819999c0f4c35ce17542b6f9ec118c687b6151a878dfae7f0a920b308dfd3e258c63831ca03860c63dc8
+
+COUNT = 7
+KEY1 = ead50bc4ec25575d
+KEY2 = 6b43e3349e6d43b0
+KEY3 = 98070854ea614501
+IV = ff0361b852daada0
+PLAINTEXT = 7492fbe566198fee41e55270969574b02635e7a69a1ab600740c986a46abc50d210b085551a215f847641e34d72ca158a45e8485d8ca63b618d429feb7d2dd11
+CIPHERTEXT = 183224d882e8db54a149f6c6cea6e75001026968f7c7b1ba111ee64dbd81b9ccad6e7c2ba3228ec4d889126fdec22d88c38a88fbc95b0c24fd9440c00f1f2a88
+
+COUNT = 8
+KEY1 = fe9eda0e2a544652
+KEY2 = dca176f72586cb31
+KEY3 = 2975f14ff23b6ea4
+IV = 5412ddd979d34bbf
+PLAINTEXT = 07908a8bac10ff8fb5efaed90f7b823b9237bb82287636a73229ef4a27f6c45b7e8a7c1bcf2f074335a10782f61d902d66bc2c3308ff234ff7abf98184d737be21436fe77eeb7af8
+CIPHERTEXT = db6df755f593e8fc8b1f9eff4546ed72254c2c5576d2c62cece852956389cba1a6a1bc2656ba7159f99e9ce820ae253a8d0e18067afe898d9ebf15d20e0858e2a3b7f37d8f7c1899
+
+COUNT = 9
+KEY1 = 5138e5e0622cc252
+KEY2 = 3bfd52adf7c254ea
+KEY3 = 152f8a6437152ac7
+IV = 6190fc0182007389
+PLAINTEXT = da5d0b11c38c03df785533e9c85890e1eef7c26171ac28da48a01ccd427a783da575586415b622a5b8dcc4c298d83d4f49ff5f66cb5dd39db14d5d358347619462f8a7f5ea985b5f5d7858d3fddaa6ca
+CIPHERTEXT = ff92a45638086d3a852b7a60171428514f85b13b581a5b78fee1bc8042f155540d513fdeb177e08d5c6a3c9aecbcfcdc658ca04550d13b450aefea4575e3187b608a87aed5e02e0c58bcd54ab4d9900b
+
+[DECRYPT]
+
+COUNT = 0
+KEY1 = 49e0adc1949be529
+KEY2 = d9d5f834bce5d9ae
+KEY3 = a8fbd6b9d6a189f2
+IV = 06067f9ae2b3f7f6
+CIPHERTEXT = 7d5af6f916416f47
+PLAINTEXT = 96b6d8faede8dec1
+
+COUNT = 1
+KEY1 = 620b92a7daa208ce
+KEY2 = f18a29f2e58fbc94
+KEY3 = ecb3291946fb944f
+IV = b1642ba674369ae4
+CIPHERTEXT = 93e7af3b5e4b76530f92d2e98c9a7ce2
+PLAINTEXT = 5206f4bf15222bcfaebdf1d235d7bca5
+
+COUNT = 2
+KEY1 = 3194f8d51ae3205e
+KEY2 = e9851cc17a8a19e9
+KEY3 = fb314f20d9165df2
+IV = f2f164e92e95a8c9
+CIPHERTEXT = 129164a69cb4ef6581e7f6b79aa8ca347562fbc1b242d604
+PLAINTEXT = 3e10e2da145b90d22253687e9f0e6440c7ccf0a5d91f42d7
+
+COUNT = 3
+KEY1 = 8a9b4ad3e0736d9e
+KEY2 = f746eca13b40e543
+KEY3 = ec8c67dfd683b99d
+IV = eb4513854a9df46d
+CIPHERTEXT = b9113051a20390c7b79c84f5549370fb23be67f2ee909d8bb1e01ff2f4ebc1f9
+PLAINTEXT = 201f52d6093eb76a55f205bacd169c184fb8c509faad7e6872aeed0c8fb7bbf8
+
+COUNT = 4
+KEY1 = d09223a8618a86ce
+KEY2 = 40e089f1c879763b
+KEY3 = 2f49f71f83733d40
+IV = 65293191bc47b2bc
+CIPHERTEXT = 6b25b4c48cbc406cecd0a98104c4590ec0a7b04a8dfeb177b3c3fb0ae5adfb0c16b261c08fcbd086
+PLAINTEXT = 33b04e0b72aaed7ecd8ab8b2ca1e3d8f238401742222a5e59311924c3f71105d32b46461d461f233
+
+COUNT = 5
+KEY1 = 83e664a49eb3dfd6
+KEY2 = d0a48a290d0d37b0
+KEY3 = dfaea77af70de502
+IV = 007a0b0ed151e78f
+CIPHERTEXT = a10146ba42f337d083e28e9fdfb3aecbf9ca7784d4721a07427f2c679f32fa8dbe5c1d7d24c64edc74d17baf2b5a1a66
+PLAINTEXT = c44e8806ad87b3e1dac3a58f7687ebc00cf82883cc02b26274d4e50002153d501712d1be17c7ef20684d30d8584b445f
+
+COUNT = 6
+KEY1 = 52ec54ab735ec83b
+KEY2 = d540b0f25dc8f2d3
+KEY3 = fef1fe1352985d38
+IV = a981ee75653654fc
+CIPHERTEXT = d8093c8089a3a9c553b4621636d3f5d3da91f75018f7a6e3bc30cd3c8982e8f57e83896a5889facb586224704645af6cb6096b648a95efa2
+PLAINTEXT = d7ed45a8a8c5e433d7a3be86a621ccd6bc14ad8cce4e48335cfb8b0ccacf2c7b75796386d0d9e13c6180907e8dbc81b0ca566b22a8ed5c8f
+
+COUNT = 7
+KEY1 = 8f347f5d400d6b70
+KEY2 = f108b9b0da9470a2
+KEY3 = fd1aae9b9b3e9440
+IV = 5b57ad7999e37a06
+CIPHERTEXT = cce5d25130ee543391fbdebfaf995a85ec74562e5d1ab4602102a3e2f1cdce01f9cbd332e6c1f6f841ea1708fb3be1ac49eb4565b23326d4655356dad1d5c2ff
+PLAINTEXT = fb62a73252371703efc7e431b5b5211c3080da60e966a46776b2be865b2c7d06f15444d7bd130918c7ff54ebfcf91110cf24f77dbafd61f0cbf7c1255cb2d2a4
+
+COUNT = 8
+KEY1 = 4f3151102ab9a785
+KEY2 = d3d97ce64f0d2c37
+KEY3 = 7ad6cb858629bc34
+IV = e3bcd700c892fdd5
+CIPHERTEXT = d68418f735d51b4b67ff9ff211609cd900e361e41b25283096d6ec9b69617f8601cfd7d935e8a8487b9c39d55ca27096255f2eb9e009e3c5820c592266add4dcfaed5da4b9b05b18
+PLAINTEXT = a318efe73fb87644c66b10708b8ac30f9e87246f9793a461a4b29497ef318a87b9d3d7d9bf1875c000f174b98c33abefac8d5a571056753bb2c89799e5f91e52cc00dab1713dd5a1
+
+COUNT = 9
+KEY1 = 151f10383d6d199b
+KEY2 = 4a763bd54a46a445
+KEY3 = 89321aa75ba445da
+IV = e3e83ad05a0b7866
+CIPHERTEXT = 78481ff9bf1fd65e285521f731ff0fa50433b43bf975cd8e5b72a7d06ff13c19b2069f4763889b0841c697359676bd6274ee5cb33f978af16b9e0ddc87ec7cc37b59a1530e1c22adab8660bb64f1a0c3
+PLAINTEXT = 4ec8f67d66bc7d73fb8af66fa3510527e1fbb27a2a2362f939b29af6d08f8c4fa2be51eafce054ebde66631e1670ee2c8e724f0922642888e8d3437f36c010c0aa465179c8d7fe03e5da8e932e722be0
|