1#
2# Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved.
3#
4# Licensed under the Apache License 2.0 (the "License").  You may not use
5# this file except in compliance with the License.  You can obtain a copy
6# in the file LICENSE in the source distribution or at
7# https://www.openssl.org/source/license.html
8
9# Tests start with one of these keywords
10#       Cipher Decrypt Derive Digest Encoding KDF MAC PBE
11#       PrivPubKeyPair Sign Verify VerifyRecover
12# and continue until a blank line. Lines starting with a pound sign are ignored.
13
14Title = Camellia tests from RFC3713
15
16# For all ECB encrypts and decrypts, the transformed sequence is
17#   CAMELLIA-bits-ECB:key::plaintext:ciphertext:encdec
18Cipher = CAMELLIA-128-ECB
19Key = 0123456789abcdeffedcba9876543210
20Plaintext = 0123456789abcdeffedcba9876543210
21Ciphertext = 67673138549669730857065648eabe43
22
23Cipher = CAMELLIA-192-ECB
24Key = 0123456789abcdeffedcba98765432100011223344556677
25Plaintext = 0123456789abcdeffedcba9876543210
26Ciphertext = b4993401b3e996f84ee5cee7d79b09b9
27
28Cipher = CAMELLIA-256-ECB
29Key = 0123456789abcdeffedcba987654321000112233445566778899aabbccddeeff
30Plaintext = 0123456789abcdeffedcba9876543210
31Ciphertext = 9acc237dff16d76c20ef7c919e3a7509
32
33# ECB-CAMELLIA128.Encrypt
34Cipher = CAMELLIA-128-ECB
35Key = 000102030405060708090A0B0C0D0E0F
36Operation = ENCRYPT
37Plaintext = 00112233445566778899AABBCCDDEEFF
38Ciphertext = 77CF412067AF8270613529149919546F
39
40Cipher = CAMELLIA-192-ECB
41Key = 000102030405060708090A0B0C0D0E0F1011121314151617
42Operation = ENCRYPT
43Plaintext = 00112233445566778899AABBCCDDEEFF
44Ciphertext = B22F3C36B72D31329EEE8ADDC2906C68
45
46Cipher = CAMELLIA-256-ECB
47Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
48Operation = ENCRYPT
49Plaintext = 00112233445566778899AABBCCDDEEFF
50Ciphertext = 2EDF1F3418D53B88841FC8985FB1ECF2
51
52
53# ECB-CAMELLIA128.Encrypt and ECB-CAMELLIA128.Decrypt
54Cipher = CAMELLIA-128-ECB
55Key = 2B7E151628AED2A6ABF7158809CF4F3C
56Plaintext = 6BC1BEE22E409F96E93D7E117393172A
57Ciphertext = 432FC5DCD628115B7C388D770B270C96
58
59Cipher = CAMELLIA-128-ECB
60Key = 2B7E151628AED2A6ABF7158809CF4F3C
61Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
62Ciphertext = 0BE1F14023782A22E8384C5ABB7FAB2B
63
64Cipher = CAMELLIA-128-ECB
65Key = 2B7E151628AED2A6ABF7158809CF4F3C
66Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
67Ciphertext = A0A1ABCD1893AB6FE0FE5B65DF5F8636
68
69Cipher = CAMELLIA-128-ECB
70Key = 2B7E151628AED2A6ABF7158809CF4F3C
71Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
72Ciphertext = E61925E0D5DFAA9BB29F815B3076E51A
73
74
75# ECB-CAMELLIA192.Encrypt and ECB-CAMELLIA192.Decrypt
76Cipher = CAMELLIA-192-ECB
77Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
78Plaintext = 6BC1BEE22E409F96E93D7E117393172A
79Ciphertext = CCCC6C4E138B45848514D48D0D3439D3
80
81Cipher = CAMELLIA-192-ECB
82Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
83Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
84Ciphertext = 5713C62C14B2EC0F8393B6AFD6F5785A
85
86Cipher = CAMELLIA-192-ECB
87Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
88Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
89Ciphertext = B40ED2B60EB54D09D030CF511FEEF366
90
91Cipher = CAMELLIA-192-ECB
92Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
93Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
94Ciphertext = 909DBD95799096748CB27357E73E1D26
95
96
97# ECB-CAMELLIA256.Encrypt and ECB-CAMELLIA256.Decrypt
98Cipher = CAMELLIA-256-ECB
99Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
100Plaintext = 6BC1BEE22E409F96E93D7E117393172A
101Ciphertext = BEFD219B112FA00098919CD101C9CCFA
102
103Cipher = CAMELLIA-256-ECB
104Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
105Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
106Ciphertext = C91D3A8F1AEA08A9386CF4B66C0169EA
107
108Cipher = CAMELLIA-256-ECB
109Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
110Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
111Ciphertext = A623D711DC5F25A51BB8A80D56397D28
112
113Cipher = CAMELLIA-256-ECB
114Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
115Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
116Ciphertext = 7960109FB6DC42947FCFE59EA3C5EB6B
117
118
119# For all CBC encrypts and decrypts, the transformed sequence is
120#   CAMELLIA-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
121# CBC-CAMELLIA128.Encrypt and CBC-CAMELLIA128.Decrypt
122Cipher = CAMELLIA-128-CBC
123Key = 2B7E151628AED2A6ABF7158809CF4F3C
124IV = 000102030405060708090A0B0C0D0E0F
125Plaintext = 6BC1BEE22E409F96E93D7E117393172A
126Ciphertext = 1607CF494B36BBF00DAEB0B503C831AB
127NextIV = 1607cf494b36bbf00daeb0b503c831ab
128
129Cipher = CAMELLIA-128-CBC
130Key = 2B7E151628AED2A6ABF7158809CF4F3C
131IV = 1607CF494B36BBF00DAEB0B503C831AB
132Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
133Ciphertext = A2F2CF671629EF7840C5A5DFB5074887
134NextIV = a2f2cf671629ef7840c5a5dfb5074887
135
136Cipher = CAMELLIA-128-CBC
137Key = 2B7E151628AED2A6ABF7158809CF4F3C
138IV = A2F2CF671629EF7840C5A5DFB5074887
139Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
140Ciphertext = 0F06165008CF8B8B5A63586362543E54
141NextIV = 0f06165008cf8b8b5a63586362543e54
142
143Cipher = CAMELLIA-128-CBC
144Key = 2B7E151628AED2A6ABF7158809CF4F3C
145IV = 36A84CDAFD5F9A85ADA0F0A993D6D577
146Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
147Ciphertext = 74C64268CDB8B8FAF5B34E8AF3732980
148NextIV = 74c64268cdb8b8faf5b34e8af3732980
149
150
151# CBC-CAMELLIA192.Encrypt and CBC-CAMELLIA192.Decrypt
152Cipher = CAMELLIA-192-CBC
153Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
154IV = 000102030405060708090A0B0C0D0E0F
155Plaintext = 6BC1BEE22E409F96E93D7E117393172A
156Ciphertext = 2A4830AB5AC4A1A2405955FD2195CF93
157NextIV = 2a4830ab5ac4a1a2405955fd2195cf93
158
159Cipher = CAMELLIA-192-CBC
160Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
161IV = 2A4830AB5AC4A1A2405955FD2195CF93
162Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
163Ciphertext = 5D5A869BD14CE54264F892A6DD2EC3D5
164NextIV = 5d5a869bd14ce54264f892a6dd2ec3d5
165
166Cipher = CAMELLIA-192-CBC
167Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
168IV = 5D5A869BD14CE54264F892A6DD2EC3D5
169Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
170Ciphertext = 37D359C3349836D884E310ADDF68C449
171NextIV = 37d359c3349836d884e310addf68c449
172
173Cipher = CAMELLIA-192-CBC
174Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
175IV = 37D359C3349836D884E310ADDF68C449
176Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
177Ciphertext = 01FAAA930B4AB9916E9668E1428C6B08
178NextIV = 01faaa930b4ab9916e9668e1428c6b08
179
180
181# CBC-CAMELLIA256.Encrypt and CBC-CAMELLIA256.Decrypt
182Cipher = CAMELLIA-256-CBC
183Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
184IV = 000102030405060708090A0B0C0D0E0F
185Plaintext = 6BC1BEE22E409F96E93D7E117393172A
186Ciphertext = E6CFA35FC02B134A4D2C0B6737AC3EDA
187NextIV = e6cfa35fc02b134a4d2c0b6737ac3eda
188
189Cipher = CAMELLIA-256-CBC
190Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
191IV = E6CFA35FC02B134A4D2C0B6737AC3EDA
192Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
193Ciphertext = 36CBEB73BD504B4070B1B7DE2B21EB50
194NextIV = 36cbeb73bd504b4070b1b7de2b21eb50
195
196Cipher = CAMELLIA-256-CBC
197Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
198IV = 36CBEB73BD504B4070B1B7DE2B21EB50
199Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
200Ciphertext = E31A6055297D96CA3330CDF1B1860A83
201NextIV = e31a6055297d96ca3330cdf1b1860a83
202
203Cipher = CAMELLIA-256-CBC
204Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
205IV = E31A6055297D96CA3330CDF1B1860A83
206Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
207Ciphertext = 5D563F6D1CCCF236051C0C5C1C58F28F
208NextIV = 5d563f6d1cccf236051c0c5c1c58f28f
209
210
211# We don't support CFB{1,8}-CAMELLIAxxx.{En,De}crypt
212# For all CFB128 encrypts and decrypts, the transformed sequence is
213#   CAMELLIA-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
214# CFB128-CAMELLIA128.Encrypt
215Cipher = CAMELLIA-128-CFB
216Key = 2B7E151628AED2A6ABF7158809CF4F3C
217IV = 000102030405060708090A0B0C0D0E0F
218Operation = ENCRYPT
219Plaintext = 6BC1BEE22E409F96E93D7E117393172A
220Ciphertext = 14F7646187817EB586599146B82BD719
221NextIV = 14f7646187817eb586599146b82bd719
222
223Cipher = CAMELLIA-128-CFB
224Key = 2B7E151628AED2A6ABF7158809CF4F3C
225IV = 14F7646187817EB586599146B82BD719
226Operation = ENCRYPT
227Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
228Ciphertext = A53D28BB82DF741103EA4F921A44880B
229NextIV = a53d28bb82df741103ea4f921a44880b
230
231Cipher = CAMELLIA-128-CFB
232Key = 2B7E151628AED2A6ABF7158809CF4F3C
233IV = A53D28BB82DF741103EA4F921A44880B
234Operation = ENCRYPT
235Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
236Ciphertext = 9C2157A664626D1DEF9EA420FDE69B96
237NextIV = 9c2157a664626d1def9ea420fde69b96
238
239Cipher = CAMELLIA-128-CFB
240Key = 2B7E151628AED2A6ABF7158809CF4F3C
241IV = 9C2157A664626D1DEF9EA420FDE69B96
242Operation = ENCRYPT
243Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
244Ciphertext = 742A25F0542340C7BAEF24CA8482BB09
245NextIV = 742a25f0542340c7baef24ca8482bb09
246
247
248# CFB128-CAMELLIA128.Decrypt
249Cipher = CAMELLIA-128-CFB
250Key = 2B7E151628AED2A6ABF7158809CF4F3C
251IV = 000102030405060708090A0B0C0D0E0F
252Operation = DECRYPT
253Plaintext = 6BC1BEE22E409F96E93D7E117393172A
254Ciphertext = 14F7646187817EB586599146B82BD719
255NextIV = 14f7646187817eb586599146b82bd719
256
257Cipher = CAMELLIA-128-CFB
258Key = 2B7E151628AED2A6ABF7158809CF4F3C
259IV = 14F7646187817EB586599146B82BD719
260Operation = DECRYPT
261Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
262Ciphertext = A53D28BB82DF741103EA4F921A44880B
263NextIV = a53d28bb82df741103ea4f921a44880b
264
265Cipher = CAMELLIA-128-CFB
266Key = 2B7E151628AED2A6ABF7158809CF4F3C
267IV = A53D28BB82DF741103EA4F921A44880B
268Operation = DECRYPT
269Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
270Ciphertext = 9C2157A664626D1DEF9EA420FDE69B96
271NextIV = 9c2157a664626d1def9ea420fde69b96
272
273Cipher = CAMELLIA-128-CFB
274Key = 2B7E151628AED2A6ABF7158809CF4F3C
275IV = 9C2157A664626D1DEF9EA420FDE69B96
276Operation = DECRYPT
277Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
278Ciphertext = 742A25F0542340C7BAEF24CA8482BB09
279NextIV = 742a25f0542340c7baef24ca8482bb09
280
281
282# CFB128-CAMELLIA192.Encrypt
283Cipher = CAMELLIA-192-CFB
284Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
285IV = 000102030405060708090A0B0C0D0E0F
286Operation = ENCRYPT
287Plaintext = 6BC1BEE22E409F96E93D7E117393172A
288Ciphertext = C832BB9780677DAA82D9B6860DCD565E
289NextIV = c832bb9780677daa82d9b6860dcd565e
290
291Cipher = CAMELLIA-192-CFB
292Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
293IV = C832BB9780677DAA82D9B6860DCD565E
294Operation = ENCRYPT
295Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
296Ciphertext = 86F8491627906D780C7A6D46EA331F98
297NextIV = 86f8491627906d780c7a6d46ea331f98
298
299Cipher = CAMELLIA-192-CFB
300Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
301IV = 86F8491627906D780C7A6D46EA331F98
302Operation = ENCRYPT
303Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
304Ciphertext = 69511CCE594CF710CB98BB63D7221F01
305NextIV = 69511cce594cf710cb98bb63d7221f01
306
307Cipher = CAMELLIA-192-CFB
308Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
309IV = 69511CCE594CF710CB98BB63D7221F01
310Operation = ENCRYPT
311Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
312Ciphertext = D5B5378A3ABED55803F25565D8907B84
313NextIV = d5b5378a3abed55803f25565d8907b84
314
315
316# CFB128-CAMELLIA192.Decrypt
317Cipher = CAMELLIA-192-CFB
318Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
319IV = 000102030405060708090A0B0C0D0E0F
320Operation = DECRYPT
321Plaintext = 6BC1BEE22E409F96E93D7E117393172A
322Ciphertext = C832BB9780677DAA82D9B6860DCD565E
323NextIV = c832bb9780677daa82d9b6860dcd565e
324
325Cipher = CAMELLIA-192-CFB
326Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
327IV = C832BB9780677DAA82D9B6860DCD565E
328Operation = DECRYPT
329Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
330Ciphertext = 86F8491627906D780C7A6D46EA331F98
331NextIV = 86f8491627906d780c7a6d46ea331f98
332
333Cipher = CAMELLIA-192-CFB
334Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
335IV = 86F8491627906D780C7A6D46EA331F98
336Operation = DECRYPT
337Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
338Ciphertext = 69511CCE594CF710CB98BB63D7221F01
339NextIV = 69511cce594cf710cb98bb63d7221f01
340
341Cipher = CAMELLIA-192-CFB
342Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
343IV = 69511CCE594CF710CB98BB63D7221F01
344Operation = DECRYPT
345Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
346Ciphertext = D5B5378A3ABED55803F25565D8907B84
347NextIV = d5b5378a3abed55803f25565d8907b84
348
349
350# CFB128-CAMELLIA256.Encrypt
351Cipher = CAMELLIA-256-CFB
352Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
353IV = 000102030405060708090A0B0C0D0E0F
354Operation = ENCRYPT
355Plaintext = 6BC1BEE22E409F96E93D7E117393172A
356Ciphertext = CF6107BB0CEA7D7FB1BD31F5E7B06C93
357NextIV = cf6107bb0cea7d7fb1bd31f5e7b06c93
358
359Cipher = CAMELLIA-256-CFB
360Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
361IV = CF6107BB0CEA7D7FB1BD31F5E7B06C93
362Operation = ENCRYPT
363Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
364Ciphertext = 89BEDB4CCDD864EA11BA4CBE849B5E2B
365NextIV = 89bedb4ccdd864ea11ba4cbe849b5e2b
366
367Cipher = CAMELLIA-256-CFB
368Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
369IV = 89BEDB4CCDD864EA11BA4CBE849B5E2B
370Operation = ENCRYPT
371Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
372Ciphertext = 555FC3F34BDD2D54C62D9E3BF338C1C4
373NextIV = 555fc3f34bdd2d54c62d9e3bf338c1c4
374
375Cipher = CAMELLIA-256-CFB
376Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
377IV = 555FC3F34BDD2D54C62D9E3BF338C1C4
378Operation = ENCRYPT
379Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
380Ciphertext = 5953ADCE14DB8C7F39F1BD39F359BFFA
381NextIV = 5953adce14db8c7f39f1bd39f359bffa
382
383
384# CFB128-CAMELLIA256.Decrypt
385Cipher = CAMELLIA-256-CFB
386Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
387IV = 000102030405060708090A0B0C0D0E0F
388Operation = DECRYPT
389Plaintext = 6BC1BEE22E409F96E93D7E117393172A
390Ciphertext = CF6107BB0CEA7D7FB1BD31F5E7B06C93
391NextIV = cf6107bb0cea7d7fb1bd31f5e7b06c93
392
393Cipher = CAMELLIA-256-CFB
394Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
395IV = CF6107BB0CEA7D7FB1BD31F5E7B06C93
396Operation = DECRYPT
397Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
398Ciphertext = 89BEDB4CCDD864EA11BA4CBE849B5E2B
399NextIV = 89bedb4ccdd864ea11ba4cbe849b5e2b
400
401Cipher = CAMELLIA-256-CFB
402Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
403IV = 89BEDB4CCDD864EA11BA4CBE849B5E2B
404Operation = DECRYPT
405Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
406Ciphertext = 555FC3F34BDD2D54C62D9E3BF338C1C4
407NextIV = 555fc3f34bdd2d54c62d9e3bf338c1c4
408
409Cipher = CAMELLIA-256-CFB
410Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
411IV = 555FC3F34BDD2D54C62D9E3BF338C1C4
412Operation = DECRYPT
413Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
414Ciphertext = 5953ADCE14DB8C7F39F1BD39F359BFFA
415NextIV = 5953adce14db8c7f39f1bd39f359bffa
416
417
418# For all OFB encrypts and decrypts, the transformed sequence is
419#   CAMELLIA-bits-OFB:key:IV/output':plaintext:ciphertext:encdec
420# OFB-CAMELLIA128.Encrypt
421Cipher = CAMELLIA-128-OFB
422Key = 2B7E151628AED2A6ABF7158809CF4F3C
423IV = 000102030405060708090A0B0C0D0E0F
424Operation = ENCRYPT
425Plaintext = 6BC1BEE22E409F96E93D7E117393172A
426Ciphertext = 14F7646187817EB586599146B82BD719
427NextIV = 7f36da83a9c1e1236f64ef57cbb8c033
428
429Cipher = CAMELLIA-128-OFB
430Key = 2B7E151628AED2A6ABF7158809CF4F3C
431IV = 50FE67CC996D32B6DA0937E99BAFEC60
432Operation = ENCRYPT
433Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
434Ciphertext = 25623DB569CA51E01482649977E28D84
435NextIV = 8b4fb7e277c9fd7c8a350b35324d03d5
436
437Cipher = CAMELLIA-128-OFB
438Key = 2B7E151628AED2A6ABF7158809CF4F3C
439IV = D9A4DADA0892239F6B8B3D7680E15674
440Operation = ENCRYPT
441Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
442Ciphertext = C776634A60729DC657D12B9FCA801E98
443NextIV = f7be7f0cc32e79d7b22aea86d08a4c77
444
445Cipher = CAMELLIA-128-OFB
446Key = 2B7E151628AED2A6ABF7158809CF4F3C
447IV = A78819583F0308E7A6BF36B1386ABF23
448Operation = ENCRYPT
449Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
450Ciphertext = D776379BE0E50825E681DA1A4C980E8E
451NextIV = 21e913de3faa93324baa9b61aaf4399e
452
453
454# OFB-CAMELLIA128.Decrypt
455Cipher = CAMELLIA-128-OFB
456Key = 2B7E151628AED2A6ABF7158809CF4F3C
457IV = 000102030405060708090A0B0C0D0E0F
458Operation = DECRYPT
459Plaintext = 6BC1BEE22E409F96E93D7E117393172A
460Ciphertext = 14F7646187817EB586599146B82BD719
461NextIV = 7f36da83a9c1e1236f64ef57cbb8c033
462
463Cipher = CAMELLIA-128-OFB
464Key = 2B7E151628AED2A6ABF7158809CF4F3C
465IV = 50FE67CC996D32B6DA0937E99BAFEC60
466Operation = DECRYPT
467Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
468Ciphertext = 25623DB569CA51E01482649977E28D84
469NextIV = 8b4fb7e277c9fd7c8a350b35324d03d5
470
471Cipher = CAMELLIA-128-OFB
472Key = 2B7E151628AED2A6ABF7158809CF4F3C
473IV = D9A4DADA0892239F6B8B3D7680E15674
474Operation = DECRYPT
475Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
476Ciphertext = C776634A60729DC657D12B9FCA801E98
477NextIV = f7be7f0cc32e79d7b22aea86d08a4c77
478
479Cipher = CAMELLIA-128-OFB
480Key = 2B7E151628AED2A6ABF7158809CF4F3C
481IV = A78819583F0308E7A6BF36B1386ABF23
482Operation = DECRYPT
483Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
484Ciphertext = D776379BE0E50825E681DA1A4C980E8E
485NextIV = 21e913de3faa93324baa9b61aaf4399e
486
487
488# OFB-CAMELLIA192.Encrypt
489Cipher = CAMELLIA-192-OFB
490Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
491IV = 000102030405060708090A0B0C0D0E0F
492Operation = ENCRYPT
493Plaintext = 6BC1BEE22E409F96E93D7E117393172A
494Ciphertext = C832BB9780677DAA82D9B6860DCD565E
495NextIV = a3f30575ae27e23c6be4c8977e5e4174
496
497Cipher = CAMELLIA-192-OFB
498Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
499IV = A609B38DF3B1133DDDFF2718BA09565E
500Operation = ENCRYPT
501Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
502Ciphertext = 8ECEB7D0350D72C7F78562AEBDF99339
503NextIV = 20e33d872b0ede5b69320d02f8561d68
504
505Cipher = CAMELLIA-192-OFB
506Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
507IV = 52EF01DA52602FE0975F78AC84BF8A50
508Operation = ENCRYPT
509Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
510Ciphertext = BDD62DBBB9700846C53B507F544696F0
511NextIV = 8d1e31fd1a2cec5720c091664e4cc41f
512
513Cipher = CAMELLIA-192-OFB
514Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
515IV = BD5286AC63AABD7EB067AC54B553F71D
516Operation = ENCRYPT
517Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
518Ciphertext = E28014E046B802F385C4C2E13EAD4A72
519NextIV = 141f30a599f799e428ef839ad8c17d62
520
521
522# OFB-CAMELLIA192.Decrypt
523Cipher = CAMELLIA-192-OFB
524Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
525IV = 000102030405060708090A0B0C0D0E0F
526Operation = DECRYPT
527Plaintext = 6BC1BEE22E409F96E93D7E117393172A
528Ciphertext = C832BB9780677DAA82D9B6860DCD565E
529NextIV = a3f30575ae27e23c6be4c8977e5e4174
530
531Cipher = CAMELLIA-192-OFB
532Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
533IV = A609B38DF3B1133DDDFF2718BA09565E
534Operation = DECRYPT
535Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
536Ciphertext = 8ECEB7D0350D72C7F78562AEBDF99339
537NextIV = 20e33d872b0ede5b69320d02f8561d68
538
539Cipher = CAMELLIA-192-OFB
540Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
541IV = 52EF01DA52602FE0975F78AC84BF8A50
542Operation = DECRYPT
543Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
544Ciphertext = BDD62DBBB9700846C53B507F544696F0
545NextIV = 8d1e31fd1a2cec5720c091664e4cc41f
546
547Cipher = CAMELLIA-192-OFB
548Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
549IV = BD5286AC63AABD7EB067AC54B553F71D
550Operation = DECRYPT
551Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
552Ciphertext = E28014E046B802F385C4C2E13EAD4A72
553NextIV = 141f30a599f799e428ef839ad8c17d62
554
555
556# OFB-CAMELLIA256.Encrypt
557Cipher = CAMELLIA-256-OFB
558Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
559IV = 000102030405060708090A0B0C0D0E0F
560Operation = ENCRYPT
561Plaintext = 6BC1BEE22E409F96E93D7E117393172A
562Ciphertext = CF6107BB0CEA7D7FB1BD31F5E7B06C93
563NextIV = a4a0b95922aae2e958804fe494237bb9
564
565Cipher = CAMELLIA-256-OFB
566Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
567IV = B7BF3A5DF43989DD97F0FA97EBCE2F4A
568Operation = ENCRYPT
569Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
570Ciphertext = 127AD97E8E3994E4820027D7BA109368
571NextIV = bc575329903a38781cb7487bffbf1d39
572
573Cipher = CAMELLIA-256-OFB
574Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
575IV = E1C656305ED1A7A6563805746FE03EDC
576Operation = ENCRYPT
577Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
578Ciphertext = 6BFF6265A6A6B7A535BC65A80B17214E
579NextIV = 5b377e2305fa53b4d047a4b1111d73a1
580
581Cipher = CAMELLIA-256-OFB
582Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
583IV = 41635BE625B48AFC1666DD42A09D96E7
584Operation = ENCRYPT
585Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
586Ciphertext = 0A4A0404E26AA78A27CB271E8BF3CF20
587NextIV = fcd520413d253c9d8ae066656d9ff830
588
589
590# OFB-CAMELLIA256.Decrypt
591Cipher = CAMELLIA-256-OFB
592Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
593IV = 000102030405060708090A0B0C0D0E0F
594Operation = DECRYPT
595Plaintext = 6BC1BEE22E409F96E93D7E117393172A
596Ciphertext = CF6107BB0CEA7D7FB1BD31F5E7B06C93
597NextIV = a4a0b95922aae2e958804fe494237bb9
598
599Cipher = CAMELLIA-256-OFB
600Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
601IV = B7BF3A5DF43989DD97F0FA97EBCE2F4A
602Operation = DECRYPT
603Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
604Ciphertext = 127AD97E8E3994E4820027D7BA109368
605NextIV = bc575329903a38781cb7487bffbf1d39
606
607Cipher = CAMELLIA-256-OFB
608Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
609IV = E1C656305ED1A7A6563805746FE03EDC
610Operation = DECRYPT
611Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
612Ciphertext = 6BFF6265A6A6B7A535BC65A80B17214E
613NextIV = 5b377e2305fa53b4d047a4b1111d73a1
614
615Cipher = CAMELLIA-256-OFB
616Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
617IV = 41635BE625B48AFC1666DD42A09D96E7
618Operation = DECRYPT
619Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
620Ciphertext = 0A4A0404E26AA78A27CB271E8BF3CF20
621NextIV = fcd520413d253c9d8ae066656d9ff830
622
623
624# Camellia test vectors from RFC5528
625Cipher = CAMELLIA-128-CTR
626Key = AE6852F8121067CC4BF7A5765577F39E
627IV = 00000030000000000000000000000001
628Operation = ENCRYPT
629Plaintext = 53696E676C6520626C6F636B206D7367
630Ciphertext = D09DC29A8214619A20877C76DB1F0B3F
631
632Cipher = CAMELLIA-128-CTR
633Key = 7E24067817FAE0D743D6CE1F32539163
634IV = 006CB6DBC0543B59DA48D90B00000001
635Operation = ENCRYPT
636Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
637Ciphertext = DBF3C78DC08396D4DA7C907765BBCB442B8E8E0F31F0DCA72C7417E35360E048
638
639Cipher = CAMELLIA-128-CTR
640Key = 7691BE035E5020A8AC6E618529F9A0DC
641IV = 00E0017B27777F3F4A1786F000000001
642Operation = ENCRYPT
643Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
644Ciphertext = B19D1FCDCB75EB882F849CE24D85CF739CE64B2B5C9D73F14F2D5D9DCE9889CDDF508696
645
646Cipher = CAMELLIA-192-CTR
647Key = 16AF5B145FC9F579C175F93E3BFB0EED863D06CCFDB78515
648IV = 0000004836733C147D6D93CB00000001
649Operation = ENCRYPT
650Plaintext = 53696E676C6520626C6F636B206D7367
651Ciphertext = 2379399E8A8D2B2B16702FC78B9E9696
652
653Cipher = CAMELLIA-192-CTR
654Key = 7C5CB2401B3DC33C19E7340819E0F69C678C3DB8E6F6A91A
655IV = 0096B03B020C6EADC2CB500D00000001
656Operation = ENCRYPT
657Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
658Ciphertext = 7DEF34F7A5D0E415674B7FFCAE67C75DD018B86FF23051E056392A99F35A4CED
659
660Cipher = CAMELLIA-192-CTR
661Key = 02BF391EE8ECB159B959617B0965279BF59B60A786D3E0FE
662IV = 0007BDFD5CBD60278DCC091200000001
663Operation = ENCRYPT
664Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
665Ciphertext = 5710E556E1487A20B5AC0E73F19E4E7876F37FDC91B1EF4D4DADE8E666A64D0ED557AB57
666
667Cipher = CAMELLIA-256-CTR
668Key = 776BEFF2851DB06F4C8A0542C8696F6C6A81AF1EEC96B4D37FC1D689E6C1C104
669IV = 00000060DB5672C97AA8F0B200000001
670Operation = ENCRYPT
671Plaintext = 53696E676C6520626C6F636B206D7367
672Ciphertext = 3401F9C8247EFFCEBD6994714C1BBB11
673
674Cipher = CAMELLIA-256-CTR
675Key = F6D66D6BD52D59BB0796365879EFF886C66DD51A5B6A99744B50590C87A23884
676IV = 00FAAC24C1585EF15A43D87500000001
677Operation = ENCRYPT
678Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
679Ciphertext = D6C30392246F7808A83C2B22A8839E45E51CD48A1CDF406EBC9CC2D3AB834108
680
681Cipher = CAMELLIA-256-CTR
682Key = FF7A617CE69148E4F1726E2F43581DE2AA62D9F805532EDFF1EED687FB54153D
683IV = 001CC5B751A51D70A1C1114800000001
684Operation = ENCRYPT
685Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
686Ciphertext = A4DA23FCE6A5FFAA6D64AE9A0652A42CD161A34B65F9679F75C01F101F71276F15EF0D8D
687