CAMELLIA128.txt at [c12c859d2f]

File tests/test_vectors/Symetric_Block/CAMELLIA128.txt artifact 7b345b1107 part of check-in c12c859d2f


# Camellia128 cipher from RFC 3713

# RFC 3713
Key = 0123456789abcdeffedcba9876543210
Plaintext = 0123456789abcdeffedcba9876543210
Ciphertext = 67673138549669730857065648eabe43

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

# Key 001
Count = 001
Key = 00000000000000000000000000000000
Plaintext = 80000000000000000000000000000000
Ciphertext = 07923A39EB0A817D1C4D87BDB82D1F1C

Count = 002
Key = 00000000000000000000000000000000
Plaintext = 40000000000000000000000000000000
Ciphertext = 48CD6419809672D2349260D89A08D3D3

Count = 003
Key = 00000000000000000000000000000000
Plaintext = 20000000000000000000000000000000
Ciphertext = D07493CCB2E95CE0B4945A05ACC97D82

Count = 004
Key = 00000000000000000000000000000000
Plaintext = 10000000000000000000000000000000
Ciphertext = 5DBE1EAC9F7080A88DBED7F6DA101448

Count = 125
Key = 00000000000000000000000000000000
Plaintext = 00000000000000000000000000000008
Ciphertext = F589A908D18A21894971C0433581E1A5

Count = 126
Key = 00000000000000000000000000000000
Plaintext = 00000000000000000000000000000004
Ciphertext = 4237585130E7C9F715235EB1D8C94DE7

Count = 127
Key = 00000000000000000000000000000000
Plaintext = 00000000000000000000000000000002
Ciphertext = DEFE3E0B5C54C94B4F2A0F5A46F6210D

Count = 128
Key = 00000000000000000000000000000000
Plaintext = 00000000000000000000000000000001
Ciphertext = F5574ACC3148DFCB9015200631024DF9

# Key 002
Count = 001
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 80000000000000000000000000000000
Ciphertext = 06C8BFAD83AA9AFD3A9AD4119BAB7A5B

Count = 002
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 40000000000000000000000000000000
Ciphertext = 1E21B2A57BA81A2D08A6968B4C76701C

Count = 003
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 20000000000000000000000000000000
Ciphertext = 75A07990AC4CBB3B85F66AB27D496AEC

Count = 004
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 10000000000000000000000000000000
Ciphertext = 5E3B232E289F45F36B7F10E93160CFEA

Count = 124
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 00000000000000000000000000000010
Ciphertext = 274292B4103745A65D6D7899EFFB878C

Count = 125
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 00000000000000000000000000000008
Ciphertext = 4AF78E833BE90E1696ED1977B61B38FF

Count = 126
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 00000000000000000000000000000004
Ciphertext = 1ED0EBF28AD3AFE0B50CA2741565715E

Count = 127
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 00000000000000000000000000000002
Ciphertext = 8249CD11A315F626D76674E3517BD612

Count = 128
Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Plaintext = 00000000000000000000000000000001
Ciphertext = 3C8F50453F9D0D67F33845D77D633AB7

# Key 003
Count = 001
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 80000000000000000000000000000000
Ciphertext = FBA47572BCE606E42E4CC2DEF9C8F724

Count = 002
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 40000000000000000000000000000000
Ciphertext = 38C716DB171CFCB72F11C514AA70F618

Count = 003
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 20000000000000000000000000000000
Ciphertext = 0D8A8E45B1F2D02C77A14B5AED647024

Count = 004
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 10000000000000000000000000000000
Ciphertext = 49B88D6314F4579A68AA683AEDE16AB0

Count = 125
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 00000000000000000000000000000008
Ciphertext = 679DD66691761F2D0A870E573BAD7C0B

Count = 126
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 00000000000000000000000000000004
Ciphertext = 37BC53723204CAC34F238EEDBBB703BB

Count = 127
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 00000000000000000000000000000002
Ciphertext = F806D79B83B0125ED95A9C4A0A18FDA5

Count = 128
Key = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
Plaintext = 00000000000000000000000000000001
Ciphertext = DFA1796DEE09701CE42A3E5BE5A42E11

# Key 004
Count = 001
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 80000000000000000000000000000000
Ciphertext = B4FE7BCCCDC91C2742AFC654654D5C55

Count = 002
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 40000000000000000000000000000000
Ciphertext = E9F5CD89056B7E0498958269826BBAD1

Count = 003
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 20000000000000000000000000000000
Ciphertext = F366D5EE9864C01B8BE094C8884AAC0D

Count = 004
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 10000000000000000000000000000000
Ciphertext = FDA3E9C83B12BAD0ABA3722D2B909AED

Count = 125
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 00000000000000000000000000000008
Ciphertext = D72665E2B163522A7B0798CB8B700F28

Count = 126
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 00000000000000000000000000000004
Ciphertext = 7C1467AFABFF067962836C2F59018432

Count = 127
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 00000000000000000000000000000002
Ciphertext = 5EEF67277FF52764D2ACFE1645581379

Count = 128
Key = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
Plaintext = 00000000000000000000000000000001
Ciphertext = 225BFB015C2D99F89389577442F3364D

# Key 005
Count = 001
Key = 00112233445566778899AABBCCDDEEFF
Plaintext = 80000000000000000000000000000000
Ciphertext = 7CA3E2C371E56A1B0ED76BAB4A099992

Count = 002
Key = 00112233445566778899AABBCCDDEEFF
Plaintext = 40000000000000000000000000000000
Ciphertext = 774F7F1F0ED847B6E23C761E4E700D8F

Count = 003
Key = 00112233445566778899AABBCCDDEEFF
Plaintext = 20000000000000000000000000000000
Ciphertext = AB013779EFD509DF0C4E0CF83B89AD0E

Count = 004
Key = 00112233445566778899AABBCCDDEEFF
Plaintext = 10000000000000000000000000000000
Ciphertext = 29D2F300E3B14606820E64D6D167FB95

Count = 125
Key = 00112233445566778899AABBCCDDEEFF
Plaintext = 00000000000000000000000000000008
Ciphertext = FA9BE427CDC898993CC625B9B7F0696D

Count = 126
Key = 00112233445566778899AABBCCDDEEFF
Plaintext = 00000000000000000000000000000004
Ciphertext = B6F5D85111C28D84F1817490DFF6C36B

Count = 127
Key = 00112233445566778899AABBCCDDEEFF
Plaintext = 00000000000000000000000000000002
Ciphertext = 90C105EDD3D6378E686F7E244FC9B633

Count = 128
Key = 00112233445566778899AABBCCDDEEFF
Plaintext = 00000000000000000000000000000001
Ciphertext = 144D2B0F500C27B7EC2CD12D91596F37

# Key 006
Count = 001
Key = FFEEDDCCBBAA99887766554433221100
Plaintext = 80000000000000000000000000000000
Ciphertext = E56569E065F2EE26EE7A7B9F81DF2D1A

Count = 002
Key = FFEEDDCCBBAA99887766554433221100
Plaintext = 40000000000000000000000000000000
Ciphertext = D257F745044E0557AB89EDF36BCD3186

Count = 003
Key = FFEEDDCCBBAA99887766554433221100
Plaintext = 20000000000000000000000000000000
Ciphertext = AAF9F7F28068A1757FFB9D911B697895

Count = 004
Key = FFEEDDCCBBAA99887766554433221100
Plaintext = 10000000000000000000000000000000
Ciphertext = 516D1CD4BFF2CEC1CE893BB63B71B834

Count = 125
Key = FFEEDDCCBBAA99887766554433221100
Plaintext = 00000000000000000000000000000008
Ciphertext = 66A69680EF22B50C229E2B2E220F1EF3

Count = 126
Key = FFEEDDCCBBAA99887766554433221100
Plaintext = 00000000000000000000000000000004
Ciphertext = E34C20E81ECC3A037C1CF8C31BF2F1C9

Count = 127
Key = FFEEDDCCBBAA99887766554433221100
Plaintext = 00000000000000000000000000000002
Ciphertext = 04A003F877E995EF87CA3FE74AE1068A

Count = 128
Key = FFEEDDCCBBAA99887766554433221100
Plaintext = 00000000000000000000000000000001
Ciphertext = 182B6C357B6B5B1C78B05C0C7CCE90DF

# Key 007
Count = 001
Key = 0123456789ABCDEFFEDCBA9876543210
Plaintext = 80000000000000000000000000000000
Ciphertext = 44B9CE77671EA269900767F6DD5A7845

Count = 002
Key = 0123456789ABCDEFFEDCBA9876543210
Plaintext = 40000000000000000000000000000000
Ciphertext = A50106522C01E1DFE687CB9EABC55894

Count = 003
Key = 0123456789ABCDEFFEDCBA9876543210
Plaintext = 20000000000000000000000000000000
Ciphertext = EFAA0EE4981BB6E52438EAF66BE8569A

Count = 004
Key = 0123456789ABCDEFFEDCBA9876543210
Plaintext = 10000000000000000000000000000000
Ciphertext = 995F077D08F15A67D03930F10C2429B2

Count = 125
Key = 0123456789ABCDEFFEDCBA9876543210
Plaintext = 00000000000000000000000000000008
Ciphertext = 1A5C99894F5C194BA2F02A0FDF9A70B0

Count = 126
Key = 0123456789ABCDEFFEDCBA9876543210
Plaintext = 00000000000000000000000000000004
Ciphertext = 9560FB1E4C28D420C8231CA4CEE54AF6

Count = 127
Key = 0123456789ABCDEFFEDCBA9876543210
Plaintext = 00000000000000000000000000000002
Ciphertext = 798828D637EABF1461672A1AD87A3205

Count = 128
Key = 0123456789ABCDEFFEDCBA9876543210
Plaintext = 00000000000000000000000000000001
Ciphertext = 28BDD24D5216811C3C897F5D3E15AC62

# Key 008
Count = 001
Key = FEDCBA98765432100123456789ABCDEF
Plaintext = 80000000000000000000000000000000
Ciphertext = 7A8924FF8E5C6724A353CD8C0852BA09

Count = 002
Key = FEDCBA98765432100123456789ABCDEF
Plaintext = 40000000000000000000000000000000
Ciphertext = F76E4C725DBE6994F078066A25957C8A

Count = 003
Key = FEDCBA98765432100123456789ABCDEF
Plaintext = 20000000000000000000000000000000
Ciphertext = E1DBF8E024BA9865F82B01D2DF0A2613

Count = 004
Key = FEDCBA98765432100123456789ABCDEF
Plaintext = 10000000000000000000000000000000
Ciphertext = E1D257A09A51EA6F7A9DED71EDD2FDFF

Count = 125
Key = FEDCBA98765432100123456789ABCDEF
Plaintext = 00000000000000000000000000000008
Ciphertext = DD42E5819DDF98A4D5000046240270F5

Count = 126
Key = FEDCBA98765432100123456789ABCDEF
Plaintext = 00000000000000000000000000000004
Ciphertext = CAA860D64F5A06D7C05B63FE52433E56

Count = 127
Key = FEDCBA98765432100123456789ABCDEF
Plaintext = 00000000000000000000000000000002
Ciphertext = 42A52AAEA0A072FDFE4E3345544EAAB6

Count = 128
Key = FEDCBA98765432100123456789ABCDEF
Plaintext = 00000000000000000000000000000001
Ciphertext = D24D56572FD7F13A13991FA09678CAC7

# Key 009
Count = 001
Key = 1032547698BADCFEEFCDAB8967452301
Plaintext = 80000000000000000000000000000000
Ciphertext = 09F79A7349A335C76478C4BEBC7A8474

Count = 002
Key = 1032547698BADCFEEFCDAB8967452301
Plaintext = 40000000000000000000000000000000
Ciphertext = 91B4F6C3D6AD4DF3C06EE5166E934F8C

Count = 003
Key = 1032547698BADCFEEFCDAB8967452301
Plaintext = 20000000000000000000000000000000
Ciphertext = C6AD780D7CF9A92C3C0B63D9A8220F02

Count = 004
Key = 1032547698BADCFEEFCDAB8967452301
Plaintext = 10000000000000000000000000000000
Ciphertext = 410C2669B77BFC9F299EDA8F0D43828A

Count = 125
Key = 1032547698BADCFEEFCDAB8967452301
Plaintext = 00000000000000000000000000000008
Ciphertext = 87FAA946B12B557DDC6EDB9C841040DB

Count = 126
Key = 1032547698BADCFEEFCDAB8967452301
Plaintext = 00000000000000000000000000000004
Ciphertext = 610121E929C2B9D2FC69C64565406F55

Count = 127
Key = 1032547698BADCFEEFCDAB8967452301
Plaintext = 00000000000000000000000000000002
Ciphertext = D6F22A8CBBFDA9F55CE4868C2D3B7CDE

Count = 128
Key = 1032547698BADCFEEFCDAB8967452301
Plaintext = 00000000000000000000000000000001
Ciphertext = F11943FC43BEC8D7DC4659355A658739

# Key 010
Count = 001
Key = EFCDAB89674523011032547698BADCFE
Plaintext = 80000000000000000000000000000000
Ciphertext = 03F92E647B50C5F2B5FA558E41EEB1EA

Count = 002
Key = EFCDAB89674523011032547698BADCFE
Plaintext = 40000000000000000000000000000000
Ciphertext = B05DC698A53B0BFED38AAA53E84ED7A3

Count = 003
Key = EFCDAB89674523011032547698BADCFE
Plaintext = 20000000000000000000000000000000
Ciphertext = 6E7F99F8EB5D0C32385FD44B7C0FF132

Count = 004
Key = EFCDAB89674523011032547698BADCFE
Plaintext = 10000000000000000000000000000000
Ciphertext = D7353AA7E4E8533B8B0780A0022E2AE0

Count = 125
Key = EFCDAB89674523011032547698BADCFE
Plaintext = 00000000000000000000000000000008
Ciphertext = 4B7D127A10CF5DC7EB9299A3BB7A5175

Count = 126
Key = EFCDAB89674523011032547698BADCFE
Plaintext = 00000000000000000000000000000004
Ciphertext = E774E4D1080E2A1FFA6A94C58864243D

Count = 127
Key = EFCDAB89674523011032547698BADCFE
Plaintext = 00000000000000000000000000000002
Ciphertext = 68CDF9518875B3CAFA4C2B4B5563059A

Count = 128
Key = EFCDAB89674523011032547698BADCFE
Plaintext = 00000000000000000000000000000001
Ciphertext = ADF3B4EB24E3E7064271703FC854F4AF