aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/modes/cfb.vec
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/data/modes/cfb.vec')
-rw-r--r--src/tests/data/modes/cfb.vec256
1 files changed, 256 insertions, 0 deletions
diff --git a/src/tests/data/modes/cfb.vec b/src/tests/data/modes/cfb.vec
new file mode 100644
index 000000000..6c18b9145
--- /dev/null
+++ b/src/tests/data/modes/cfb.vec
@@ -0,0 +1,256 @@
+
+[DES/CFB]
+Key = ADD9CE7BCF48C44B
+Nonce = 0F90E78835BA3183
+In = 5EEF8199471C2A7EF97509623CAE32C35A90245B70A21CE36E
+Out = 658B25E25DF23948847AFA4C9FFDD5B3DDF35D801CBE945168
+
+Key = 0123456789ABCDEF
+Nonce = 1234567890ABCDEF
+In = 4E6F77206973207468652074696D6520666F7220616C6C20
+Out = F3096249C7F46E51A69E839B1A92F78403467133898EA622
+
+Key = 7132D895529A7AFF
+Nonce = FA1FE8F921706C75
+In = D14FD67A9B4D7B0F65B7CA3DA91741603DA446
+Out = 0CB8929A854E61AB3BEB72CE0F13BA328BA73A
+
+Key = F51CF13FD55F33B8
+Nonce = 10E61C7F8276132E
+In = 16
+Out = E1
+
+Key = 6A2306397E6399AF
+Nonce = 6791874E16642DD8
+In = B8F7
+Out = 9F09
+
+Key = 08D3B08CB02E2547
+Nonce = B35072A53FA36190
+In = 914AA4
+Out = 1CDDAD
+
+Key = 454A9ACA108AD24C
+Nonce = 64DADB33CCF1DEBD
+In = 252F0616
+Out = E22A706A
+
+Key = 087FC9F0B8BE08F3
+Nonce = 5E511251C063B3C7
+In = F06F376C6E
+Out = C2F054E435
+
+Key = FE1EA0F0AC5F2C02
+Nonce = A247E69CED4A2BF1
+In = 9A181AFEC04C
+Out = C49218C8A25B
+
+Key = 1E7C7274307EDB90
+Nonce = AFB634941C366C1D
+In = AC465CBD745341
+Out = 768B6F5BFA9C24
+
+Key = 53E241E43AAD03E7
+Nonce = BE0A4AE59056D8FE
+In = 52BDFD51E3434E94
+Out = C5D84483756AC360
+
+Key = 487C9FBD140EF278
+Nonce = 43F88DE155E98523
+In = A62C02059AFE67CD7F
+Out = 032A99BE4DF6B63F97
+
+Key = 8B068595D5B79177
+Nonce = 7129287761D94D9F
+In = 32D3C8A283257F6276C3
+Out = BCFA26EFE2D93A4B1364
+
+Key = 750C87995AFD65EE
+Nonce = A61398FFF559FAAD
+In = 17CB11A60F880C16D6CC3A
+Out = 3DC099D927B8AA66B2A5C8
+
+Key = 08A5F56200AC9300
+Nonce = 9F9ED0928B8CD2DD
+In = EAA91CEDE4EFC60F02B1E0EE
+Out = 75614EA2FD5474FDFE3A5612
+
+Key = B11DFA915AD86FF9
+Nonce = 3885ECF48A611DC5
+In = 68DB8992E91D759256AB373748
+Out = 9D0E14F0B2BE2D3B47103DA75F
+
+Key = FBF9E6D9344B0F2C
+Nonce = 6917F8FE1AC12101
+In = D75ACDD3E4040DFDA924CE09E627
+Out = A878CE766412A9C387AD61642FB7
+
+Key = 8616D2EA6E6106B3
+Nonce = CFE4DFA7044F56AB
+In = 38B667A6E4458C8732AAE6F4D0AC36
+Out = 5BCFD93D6B4B45D9D0D03162FA8FB9
+
+Key = E255E4A4C3606081
+Nonce = 3F160DFF918C3F78
+In = 0B439A72A4430B3D15E234034BA2C066
+Out = 1ADAE0A4A0D582B70B60ED1C859A07B3
+
+Key = B9CDD5442E1C7FD7
+Nonce = 5D1B1ECEB7335274
+In = 82E27182FC22CD8918DDDBDB850034A4F2
+Out = 9767881B1909DB5E146CAAF5FC6A118814
+
+[DES/CFB(32)]
+Key = 44FD92D1AF17DA22
+Nonce = 5EF2AB4DE2C32258
+In = BF28A5B2F3FC788F
+Out = 13799E52F0BF6B0E
+
+Key = 75E1E4E29E6C9205
+Nonce = 40D4F3DEF6222186
+In = 083F1997FF19246C41ACC1EE3A18B489
+Out = 31C4C90B034B75B21280B60751E60821
+
+Key = 875D1C19A20E6740
+Nonce = E2912582ACE9830A
+In = 5B38FD10CAFF5611114CAC8033DE01DE
+Out = 6434BCA36287C8FB3FD0BAF32874C740
+
+Key = 79FE005333D6437E
+Nonce = BDBED60C0E069960
+In = 44D4480CE326D9583E6BC13A78D7DE03
+Out = 7D52C87B2A0D33B3A48631EF3184397A
+
+Key = FFF6D6B146354428
+Nonce = 2EDB634B4C7CF4EB
+In = 81BE542AD00FCAEB34945D89B4F29EAD
+Out = DB0DBCD722960D54B531D8AEFE1B26FB
+
+Key = 330AAD15FFEB8E78
+Nonce = 826F429D0F342F43
+In = E0A787DA56534F407586ABA1736C9DDF
+Out = 34FFCFE532186F84EF57E0CB5AFE654D
+
+Key = F15BD42AEA7F38FD
+Nonce = 5E10F9CAF0730C4E
+In = 302C49BF921E0516261F00B2FA2E96A6
+Out = 19D49D5A54C8FD15EF317AFD5A87EBDE
+
+[DES/CFB(16)]
+Key = 302A7B0BDB8669FF
+Nonce = 47C89DD706739D23
+In = 6BFE8F2BF363D3DA0A2CDAAF2D7E1D44
+Out = 8D407E5A8B5217C56B8A88E3CE478B85
+
+Key = 4243AF4851BF8400
+Nonce = BE0C9A3B77C26C9F
+In = A1A3ABFEB7BD450F
+Out = D67A4F0C8DD67769
+
+Key = 4F05484FAB8D47E7
+Nonce = CA6129BC11056056
+In = D316B78F0C25C56E
+Out = E8BEBBADFFE18E2A
+
+Key = 04ADC5D1401848D3
+Nonce = 5DE8A3519C477771
+In = 09BD5550EDD99666
+Out = 69C4AA4C8B88370D
+
+Key = B045BACEC002FAAA
+Nonce = 1716B53D7A87854E
+In = 7C1BCEF78CA58DAD
+Out = D14FF21AFF121E8B
+
+Key = 8053149DC51A7F4E
+Nonce = E18A7936211291CC
+In = 2671E5DC0341CCF4
+Out = D618365EA3287474
+
+[DES/CFB(8)]
+Key = 3400AA949E053449
+Nonce = 2ABF031C3DD08BA5
+In = CDD4BAAD59214E97
+Out = DFD8C7EE7485E30C
+
+Key = CA2CC8DCAE150ADD
+Nonce = 2AE7960241E5ECD0
+In = 0BE8FF9BE975CE5A
+Out = FF834A9315DE58C0
+
+Key = 9D2A486812B8BBD3
+Nonce = AAF8C0A145A00319
+In = 772AEBCE3E9DB532
+Out = E31732388E069526
+
+Key = CA9CEA52658150EF
+Nonce = 4DF0F3A7B49AF71E
+In = B6DD299F4D45C378
+Out = 1A5DE72F6BCEDD33
+
+Key = 139D5249F1CEE0F9
+Nonce = 1B3212F80A91A42E
+In = A5107583CA3CAC3B
+Out = D5541A94B73C2DDB
+
+Key = D8D3F1611C2AD43C
+Nonce = 7B4CDFC2344DDABF
+In = 24E224330C88791C
+Out = 177AA6BD3D885167
+
+Key = DC24F740905DDA96
+Nonce = 5C307E5CF2C73D46
+In = 92C51FE490D57CE8
+Out = A6ADC1AA622BAB1D
+
+Key = 3739A5D446E8CEA5
+Nonce = BECAFE19A645F489
+In = E85D092290F3A53F
+Out = A1A2A831C55F1454
+
+Key = 98ABE3C8857BE8A8
+Nonce = B4A9E4A90C4D08D0
+In = CDE5CDDDFABED42E
+Out = 4AD6E96CFBF9443E
+
+Key = 51668D4A64FB31DE
+Nonce = 31E42E3EFE3ECD65
+In = 6614A9AB1E3EC578
+Out = 32B6733A61D38CD0
+
+
+[AES-128/CFB(8)]
+Key = 2B7E151628AED2A6ABF7158809CF4F3C
+Nonce = 000102030405060708090A0B0C0D0E0F
+In = 6BC1BEE22E409F96E93D7E117393172AAE2D
+Out = 3B79424C9C0DD436BACE9E0ED4586A4F32B9
+
+[AES-192/CFB(8)]
+Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
+Nonce = 000102030405060708090A0B0C0D0E0F
+In = 6BC1BEE22E409F96E93D7E117393172AAE2D
+Out = CDA2521EF0A905CA44CD057CBF0D47A0678A
+
+[AES-256/CFB(8)]
+Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
+Nonce = 000102030405060708090A0B0C0D0E0F
+In = 6BC1BEE22E409F96E93D7E117393172AAE2D
+Out = DC1F1A8520A64DB55FCC8AC554844E889700
+
+[AES-128/CFB]
+Key = 2B7E151628AED2A6ABF7158809CF4F3C
+Nonce = 000102030405060708090A0B0C0D0E0F
+In = 6BC1BEE22E409F96E93D7E117393172AAE2D8A571E03AC9C9EB76FAC45AF8E5130C81C46A35CE411E5FBC1191A0A52EFF69F2445DF4F9B17AD2B417BE66C3710
+Out = 3B3FD92EB72DAD20333449F8E83CFB4AC8A64537A0B3A93FCDE3CDAD9F1CE58B26751F67A3CBB140B1808CF187A4F4DFC04B05357C5D1C0EEAC4C66F9FF7F2E6
+
+[AES-192/CFB]
+Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
+Nonce = 000102030405060708090A0B0C0D0E0F
+In = 6BC1BEE22E409F96E93D7E117393172AAE2D8A571E03AC9C9EB76FAC45AF8E5130C81C46A35CE411E5FBC1191A0A52EFF69F2445DF4F9B17AD2B417BE66C3710
+Out = CDC80D6FDDF18CAB34C25909C99A417467CE7F7F81173621961A2B70171D3D7A2E1E8A1DD59B88B1C8E60FED1EFAC4C9C05F9F9CA9834FA042AE8FBA584B09FF
+
+[AES-256/CFB]
+Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
+Nonce = 000102030405060708090A0B0C0D0E0F
+In = 6BC1BEE22E409F96E93D7E117393172AAE2D8A571E03AC9C9EB76FAC45AF8E5130C81C46A35CE411E5FBC1191A0A52EFF69F2445DF4F9B17AD2B417BE66C3710
+Out = DC7E84BFDA79164B7ECD8486985D386039FFED143B28B1C832113C6331E5407BDF10132415E54B92A13ED0A8267AE2F975A385741AB9CEF82031623D55B1E471