X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/ba6e6b64033b1f9de49feccb5c9cd438354481f7..0f00dc4c8eb47e67bc0f148c2dd109f73a451e0a:/symm/t/rc5 diff --git a/symm/t/rc5 b/symm/t/rc5 new file mode 100644 index 00000000..e7a02c96 --- /dev/null +++ b/symm/t/rc5 @@ -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; +}