aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/block/camellia.vec
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-01-10 00:08:13 +0000
committerlloyd <[email protected]>2014-01-10 00:08:13 +0000
commit57789bdfc55061002b2727d0b32587612829a37c (patch)
tree99f36631b4ec50c5187a1b0a7c256b99182373ad /src/tests/data/block/camellia.vec
parent94968c917407a63d888fd3eb4d02491f60de6ebc (diff)
Split up test vectors into per-algo files and app into botan-test for
the tests and botan for everything else.
Diffstat (limited to 'src/tests/data/block/camellia.vec')
-rw-r--r--src/tests/data/block/camellia.vec59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/tests/data/block/camellia.vec b/src/tests/data/block/camellia.vec
new file mode 100644
index 000000000..152762c0c
--- /dev/null
+++ b/src/tests/data/block/camellia.vec
@@ -0,0 +1,59 @@
+[Camellia-128]
+Key = 0123456789ABCDEFFEDCBA9876543210
+In = 0123456789ABCDEFFEDCBA9876543210
+Out = 67673138549669730857065648EABE43
+
+Key = 80000000000000000000000000000000
+In = 00000000000000000000000000000000
+Out = 6C227F749319A3AA7DA235A9BBA05A2C
+
+Key = 40000000000000000000000000000000
+In = 00000000000000000000000000000000
+Out = F04D51E45E70FB6DEE0D16A204FBBA16
+
+Key = 20000000000000000000000000000000
+In = 00000000000000000000000000000000
+Out = ED44242E619F8C32EAA2D3641DA47EA4
+
+Key = EFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEF
+In = EFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEF
+Out = 5CA8B8A4B8AF15A6184259831B18BBB5
+
+Key = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
+In = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
+Out = 25DD9EB9DD67FBC6E8431F56F4FBE651
+
+[Camellia-192]
+Key = 0123456789ABCDEFFEDCBA98765432100011223344556677
+In = 0123456789ABCDEFFEDCBA9876543210
+Out = B4993401B3E996F84EE5CEE7D79B09B9
+
+Key = 800000000000000000000000000000000000000000000000
+In = 00000000000000000000000000000000
+Out = 1B6220D365C2176C1D41A5826520FCA1
+
+Key = FEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFE
+In = FEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFE
+Out = A2F5A98929658AF4A9700B9923DAF014
+
+[Camellia-256]
+Key = 0123456789ABCDEFFEDCBA987654321000112233445566778899AABBCCDDEEFF
+In = 0123456789ABCDEFFEDCBA9876543210
+Out = 9ACC237DFF16D76C20EF7C919E3A7509
+
+Key = 8000000000000000000000000000000000000000000000000000000000000000
+In = 00000000000000000000000000000000
+Out = 2136FABDA091DFB5171B94B8EFBB5D08
+
+Key = 0000000000000200000000000000000000000000000000000000000000000000
+In = 00000000000000000000000000000000
+Out = E18B0CB1980124504B46A46A6F4273F3
+
+Key = 0000000000000000000000000000000000000000000000000000000000000000
+In = 00000000000000000000000000000001
+Out = 9CDB269B5D293BC5DB9C55B057D9B591
+
+Key = 0000000000000000000000000000000000000000000000000000000000000000
+In = 0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000020000000000000000000000000000000400000000000000000000000000000008000000000000000000000000000000100000000000000000000000000000002000000000000000000000000000000040
+Out = 396154111ADEFC500CF6E5C99038BC179CDB269B5D293BC5DB9C55B057D9B5913D4B2CDE666761BA5DFB305178E667FB6A3F25AAB7E92D9CF378E5D9C040F26B7C92854D801A1648F65CA81813DDBF83BA664AC39855518DFDEE10D1B3111FAE7A6985778D3A66E97F23E01F0D0E45E78B1F247802E47C91BEE2AA34ECFD7A01
+