Rearrange the file tree.
[u/mdw/catacomb] / symm / t / rc5
diff --git a/symm/t/rc5 b/symm/t/rc5
new file mode 100644 (file)
index 0000000..e7a02c9
--- /dev/null
@@ -0,0 +1,15 @@
+# Test vectors for RC5-32/12
+
+# --- Main cipher test vectors ---
+#
+# Taken from `The RC5 Encryption Algorithm' by Rivest.  Important: the
+# test vectors given in the paper are given as 32-bit words, not bytes, so
+# since RC5 is little-endian they need to be swapped here.
+
+rc5 {
+  00000000000000000000000000000000 0000000000000000 21a5dbee154b8f6d;
+  915f4619be41b2516355a50110a9ce91 21a5dbee154b8f6d f7c013ac5b2b8952;
+  783348e75aeb0f2fd7b169bb8dc16787 f7c013ac5b2b8952 2f42b3b70369fc92;
+  dc49db1375a5584f6485b413b5f12baf 2f42b3b70369fc92 65c178b284d197cc;
+  5269f149d41ba0152497574d7f153125 65c178b284d197cc eb44e415da319824;
+}