CAMELLIA256.txt at [986ea5b483]

File tests/test_vectors/Symetric_Block/CAMELLIA256.txt artifact 37bea7342f part of check-in 986ea5b483


# Camellia256 cipher from RFC 3713

# RFC 3713
Key = 0123456789abcdeffedcba987654321000112233445566778899aabbccddeeff
Plaintext = 0123456789abcdeffedcba9876543210
Ciphertext = 9acc237dff16d76c20ef7c919e3a7509

# Camellia with 256-bit key from:
# http://info.isl.ntt.co.jp/crypt/camellia/dl/cryptrec/t_camellia.txt

# Key 001
Count = 001
Key = 0000000000000000000000000000000000000000000000000000000000000000
Plaintext = 80000000000000000000000000000000
Ciphertext = B0C6B88AEA518AB09E847248E91B1B9D

Count = 002
Key = 0000000000000000000000000000000000000000000000000000000000000000
Plaintext = 40000000000000000000000000000000
Ciphertext = B8D7684E35FA1DB15BDCEE7A48659858

Count = 003
Key = 0000000000000000000000000000000000000000000000000000000000000000
Plaintext = 20000000000000000000000000000000
Ciphertext = F0CAD59AF92FBB79F36951E697492750

Count = 004
Key = 0000000000000000000000000000000000000000000000000000000000000000
Plaintext = 10000000000000000000000000000000
Ciphertext = 117100F6635389560DC4A2DA24EBA70F

Count = 125
Key = 0000000000000000000000000000000000000000000000000000000000000000
Plaintext = 00000000000000000000000000000008
Ciphertext = 7C92854D801A1648F65CA81813DDBF83

Count = 126
Key = 0000000000000000000000000000000000000000000000000000000000000000
Plaintext = 00000000000000000000000000000004
Ciphertext = 6A3F25AAB7E92D9CF378E5D9C040F26B

Count = 127
Key = 0000000000000000000000000000000000000000000000000000000000000000
Plaintext = 00000000000000000000000000000002
Ciphertext = 3D4B2CDE666761BA5DFB305178E667FB

Count = 128
Key = 0000000000000000000000000000000000000000000000000000000000000000
Plaintext = 00000000000000000000000000000001
Ciphertext = 9CDB269B5D293BC5DB9C55B057D9B591

# Key 002
Count = 001
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 80000000000000000000000000000000
Ciphertext = 915FFE45872FBE9C737B485F121986EE

Count = 002
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 40000000000000000000000000000000
Ciphertext = 266B002B53F3D641989ECEE1F050FF8F

Count = 003
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 20000000000000000000000000000000
Ciphertext = 4F984C2BF268E0701532C3481E21DDC1

Count = 004
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 10000000000000000000000000000000
Ciphertext = 9E3B0D720BB9A25773125E9821D50F00

Count = 125
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 00000000000000000000000000000008
Ciphertext = 0B0546D72C94405C043FAB39EE275695

Count = 126
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 00000000000000000000000000000004
Ciphertext = 1B87A1B276692B5AEA6F71A3663593E6

Count = 127
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 00000000000000000000000000000002
Ciphertext = 6EA2D02FF72D6EE8961FF9178B56D9D7

Count = 128
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 00000000000000000000000000000001
Ciphertext = 75F87F5F7EBB9D6F32FF453F2B934BC2

# Key 003
Count = 001
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 80000000000000000000000000000000
Ciphertext = 56C9F9A2E00FB4C198C707FDAFE00D9B

Count = 002
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 40000000000000000000000000000000
Ciphertext = D82D84CDF8DCC0D42B16265DFB269EC2

Count = 003
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 20000000000000000000000000000000
Ciphertext = 3BE302551C48ED91CB29CFDC664FA0EE

Count = 004
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 10000000000000000000000000000000
Ciphertext = E09F7D1A8DEC902B70CFA3B262DCF413

Count = 125
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 00000000000000000000000000000008
Ciphertext = 84E8496745D1BEAFE778DD95962B991E

Count = 126
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 00000000000000000000000000000004
Ciphertext = D186D1FA62EF82D9B3228D174CF7A0F9

Count = 127
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 00000000000000000000000000000002
Ciphertext = 55A6ADFA2D59979653A9939C03F1B2D1

Count = 128
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 00000000000000000000000000000001
Ciphertext = AC69DF3894341D2713375EB452F958A1

# Key 004
Count = 001
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 80000000000000000000000000000000
Ciphertext = 58B08022488EB3AB659C0EFC392D0594

Count = 002
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 40000000000000000000000000000000
Ciphertext = 8B9CC534F04FDBE051101ADF2390FDAE

Count = 003
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 20000000000000000000000000000000
Ciphertext = D83ADFF0AA4DBB3F00A0A48A45F56836

Count = 004
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 10000000000000000000000000000000
Ciphertext = 3DBA27842EBD543FE47A808A6FCE2F53

Count = 125
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 00000000000000000000000000000008
Ciphertext = 38F641061EE7E857D8F9ADBAC691187A

Count = 126
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 00000000000000000000000000000004
Ciphertext = 492B77021193B22F0BA4E6DC0E615E90

Count = 127
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 00000000000000000000000000000002
Ciphertext = 58F963931DD4CEC6BE5B7CD255F17438

Count = 128
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 00000000000000000000000000000001
Ciphertext = 480B08C64C70F94C9CEFD62CE1EE9092

# Key 005
Count = 001
Key = 00112233445566778899AABBCCDDEEFFFFEEDDCCBBAA99887766554433221100
Plaintext = 80000000000000000000000000000000
Ciphertext = 95F4E00F2C5668490975341B3792C950

Count = 002
Key = 00112233445566778899AABBCCDDEEFFFFEEDDCCBBAA99887766554433221100
Plaintext = 40000000000000000000000000000000
Ciphertext = 522C1040AF6F7D2234BB38BF3616449E

Count = 003
Key = 00112233445566778899AABBCCDDEEFFFFEEDDCCBBAA99887766554433221100
Plaintext = 20000000000000000000000000000000
Ciphertext = D5C4B8925E83DC54DEB0E0F7C27FD364

Count = 004
Key = 00112233445566778899AABBCCDDEEFFFFEEDDCCBBAA99887766554433221100
Plaintext = 10000000000000000000000000000000
Ciphertext = 3F145954AAE73C97FCA927A59D4CF7E2

Count = 125
Key = 00112233445566778899AABBCCDDEEFFFFEEDDCCBBAA99887766554433221100
Plaintext = 00000000000000000000000000000008
Ciphertext = 554999F11083E6136A5D8DEFBF76D658

Count = 126
Key = 00112233445566778899AABBCCDDEEFFFFEEDDCCBBAA99887766554433221100
Plaintext = 00000000000000000000000000000004
Ciphertext = C9FE7B1C986CE19600FB22A984E3977B

Count = 127
Key = 00112233445566778899AABBCCDDEEFFFFEEDDCCBBAA99887766554433221100
Plaintext = 00000000000000000000000000000002
Ciphertext = EE003F8CFDAE51A33A921DFFC79A25A8

Count = 128
Key = 00112233445566778899AABBCCDDEEFFFFEEDDCCBBAA99887766554433221100
Plaintext = 00000000000000000000000000000001
Ciphertext = CC39FFEE1856D3EB61025E93219B6523

# Key 006
Count = 001
Key = FFEEDDCCBBAA9988776655443322110000112233445566778899AABBCCDDEEFF
Plaintext = 80000000000000000000000000000000
Ciphertext = 2E13E093E0AA9BEC31764AF20C2A15AB

Count = 002
Key = FFEEDDCCBBAA9988776655443322110000112233445566778899AABBCCDDEEFF
Plaintext = 40000000000000000000000000000000
Ciphertext = 13F0FE575D8ACFA38591803012F3BF9F

Count = 003
Key = FFEEDDCCBBAA9988776655443322110000112233445566778899AABBCCDDEEFF
Plaintext = 20000000000000000000000000000000
Ciphertext = 3D5392399F18E4F4105B7ED10A835296

Count = 004
Key = FFEEDDCCBBAA9988776655443322110000112233445566778899AABBCCDDEEFF
Plaintext = 10000000000000000000000000000000
Ciphertext = C705E39C4EACE697551486C98A606164

Count = 125
Key = FFEEDDCCBBAA9988776655443322110000112233445566778899AABBCCDDEEFF
Plaintext = 00000000000000000000000000000008
Ciphertext = FBD975B0F2A2043FAB5ABCA0AE778F27

Count = 126
Key = FFEEDDCCBBAA9988776655443322110000112233445566778899AABBCCDDEEFF
Plaintext = 00000000000000000000000000000004
Ciphertext = 0ABA4525B3E3131117D8C7E63306D765

Count = 127
Key = FFEEDDCCBBAA9988776655443322110000112233445566778899AABBCCDDEEFF
Plaintext = 00000000000000000000000000000002
Ciphertext = 72A5F812A8534246C05A273ABF1CA210

Count = 128
Key = FFEEDDCCBBAA9988776655443322110000112233445566778899AABBCCDDEEFF
Plaintext = 00000000000000000000000000000001
Ciphertext = 4342246D33ED5428E7EFC229BA752CFC

# Key 007
Count = 001
Key = 0123456789ABCDEFFEDCBA9876543210FEDCBA98765432100123456789ABCDEF
Plaintext = 80000000000000000000000000000000
Ciphertext = 85BA4EDEFCEA6533E2033B33223EDFFF

Count = 002
Key = 0123456789ABCDEFFEDCBA9876543210FEDCBA98765432100123456789ABCDEF
Plaintext = 40000000000000000000000000000000
Ciphertext = 1E04D42E959531CF59F6CDC0BBE0E3EF

Count = 003
Key = 0123456789ABCDEFFEDCBA9876543210FEDCBA98765432100123456789ABCDEF
Plaintext = 20000000000000000000000000000000
Ciphertext = FFAF72CFDB6C5BAF878DBF56F9E55299

Count = 004
Key = 0123456789ABCDEFFEDCBA9876543210FEDCBA98765432100123456789ABCDEF
Plaintext = 10000000000000000000000000000000
Ciphertext = BD1E3922A89B5BA1C13A40DEEC3CB41E

Count = 125
Key = 0123456789ABCDEFFEDCBA9876543210FEDCBA98765432100123456789ABCDEF
Plaintext = 00000000000000000000000000000008
Ciphertext = 478B2E0E0A3586ACC56D103F99D66145

Count = 126
Key = 0123456789ABCDEFFEDCBA9876543210FEDCBA98765432100123456789ABCDEF
Plaintext = 00000000000000000000000000000004
Ciphertext = 0777C93906293DA5E3FF7512E340567D

Count = 127
Key = 0123456789ABCDEFFEDCBA9876543210FEDCBA98765432100123456789ABCDEF
Plaintext = 00000000000000000000000000000002
Ciphertext = DF56DBEDCF9C00908FD8C8583B961D84

Count = 128
Key = 0123456789ABCDEFFEDCBA9876543210FEDCBA98765432100123456789ABCDEF
Plaintext = 00000000000000000000000000000001
Ciphertext = F1CE65E2BA02B055AB22C04940B4FAE7

# Key 008
Count = 001
Key = FEDCBA98765432100123456789ABCDEF0123456789ABCDEFFEDCBA9876543210
Plaintext = 80000000000000000000000000000000
Ciphertext = 74C7821DCD05FDE6A33DB007353A0E65

Count = 002
Key = FEDCBA98765432100123456789ABCDEF0123456789ABCDEFFEDCBA9876543210
Plaintext = 40000000000000000000000000000000
Ciphertext = E15BD31603710F1B4B10B92E5E1EDCB7

Count = 003
Key = FEDCBA98765432100123456789ABCDEF0123456789ABCDEFFEDCBA9876543210
Plaintext = 20000000000000000000000000000000
Ciphertext = 2610970C3DA190C96171D86E54E59423

Count = 004
Key = FEDCBA98765432100123456789ABCDEF0123456789ABCDEFFEDCBA9876543210
Plaintext = 10000000000000000000000000000000
Ciphertext = 2EAE865996A69BA64326B474B4830379

Count = 125
Key = FEDCBA98765432100123456789ABCDEF0123456789ABCDEFFEDCBA9876543210
Plaintext = 00000000000000000000000000000008
Ciphertext = 999ECD3A39452CBEDC8A66A90FA0C340

Count = 126
Key = FEDCBA98765432100123456789ABCDEF0123456789ABCDEFFEDCBA9876543210
Plaintext = 00000000000000000000000000000004
Ciphertext = CCDD106B009FC5354EE3D22323E9C920

Count = 127
Key = FEDCBA98765432100123456789ABCDEF0123456789ABCDEFFEDCBA9876543210
Plaintext = 00000000000000000000000000000002
Ciphertext = 3468AC3AF2A4A30E8859073082198297

Count = 128
Key = FEDCBA98765432100123456789ABCDEF0123456789ABCDEFFEDCBA9876543210
Plaintext = 00000000000000000000000000000001
Ciphertext = 02A9E0A13A64514B3E341490F2F39FE6

# Key 009
Count = 001
Key = 1032547698BADCFEEFCDAB8967452301EFCDAB89674523011032547698BADCFE
Plaintext = 80000000000000000000000000000000
Ciphertext = 2D3284BDEFC1FFE021B9D5A54C1603E2

Count = 002
Key = 1032547698BADCFEEFCDAB8967452301EFCDAB89674523011032547698BADCFE
Plaintext = 40000000000000000000000000000000
Ciphertext = 0BB0EC7C00548CD17A6E63806891644B

Count = 003
Key = 1032547698BADCFEEFCDAB8967452301EFCDAB89674523011032547698BADCFE
Plaintext = 20000000000000000000000000000000
Ciphertext = 470D25A5D3FE0723CDB2DD6BB86C6F21

Count = 004
Key = 1032547698BADCFEEFCDAB8967452301EFCDAB89674523011032547698BADCFE
Plaintext = 10000000000000000000000000000000
Ciphertext = 9F8C1299325ECF242348123706C3BD0C

Count = 125
Key = 1032547698BADCFEEFCDAB8967452301EFCDAB89674523011032547698BADCFE
Plaintext = 00000000000000000000000000000008
Ciphertext = 424117784815F4E0E17A00790A485EB8

Count = 126
Key = 1032547698BADCFEEFCDAB8967452301EFCDAB89674523011032547698BADCFE
Plaintext = 00000000000000000000000000000004
Ciphertext = 97EC0AC78CA02073BDEB8E45E9F82F91

Count = 127
Key = 1032547698BADCFEEFCDAB8967452301EFCDAB89674523011032547698BADCFE
Plaintext = 00000000000000000000000000000002
Ciphertext = DE41C3145BBF5074EF3A0C3F110B4E40

Count = 128
Key = 1032547698BADCFEEFCDAB8967452301EFCDAB89674523011032547698BADCFE
Plaintext = 00000000000000000000000000000001
Ciphertext = AE42C843C3FE3BAAB8037506E7823A09

# Key 010
Count = 001
Key = EFCDAB89674523011032547698BADCFE1032547698BADCFEEFCDAB8967452301
Plaintext = 80000000000000000000000000000000
Ciphertext = 1B6D3D823EECC0C29ECF09448670F6F5

Count = 002
Key = EFCDAB89674523011032547698BADCFE1032547698BADCFEEFCDAB8967452301
Plaintext = 40000000000000000000000000000000
Ciphertext = C8BF0EE51F4CC101B8F7A1102DF737D8

Count = 003
Key = EFCDAB89674523011032547698BADCFE1032547698BADCFEEFCDAB8967452301
Plaintext = 20000000000000000000000000000000
Ciphertext = 9039554E55B169438BC50ECEDF1376F0

Count = 004
Key = EFCDAB89674523011032547698BADCFE1032547698BADCFEEFCDAB8967452301
Plaintext = 10000000000000000000000000000000
Ciphertext = 46E0A24B40E9CEEEF189425B59E968FF

Count = 125
Key = EFCDAB89674523011032547698BADCFE1032547698BADCFEEFCDAB8967452301
Plaintext = 00000000000000000000000000000008
Ciphertext = 15FBA8DD215A0A4BA99D84550094BFC1

Count = 126
Key = EFCDAB89674523011032547698BADCFE1032547698BADCFEEFCDAB8967452301
Plaintext = 00000000000000000000000000000004
Ciphertext = 4406C013DE347A8797FA267D58951AD1

Count = 127
Key = EFCDAB89674523011032547698BADCFE1032547698BADCFEEFCDAB8967452301
Plaintext = 00000000000000000000000000000002
Ciphertext = 1C5FA60B9718D625C3D7368DCC9EB050

Count = 128
Key = EFCDAB89674523011032547698BADCFE1032547698BADCFEEFCDAB8967452301
Plaintext = 00000000000000000000000000000001
Ciphertext = 44AE0AADA74995BE0FD47EC5DA6F862D