X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/ba6e6b64033b1f9de49feccb5c9cd438354481f7..0f00dc4c8eb47e67bc0f148c2dd109f73a451e0a:/symm/t/des3 diff --git a/symm/t/des3 b/symm/t/des3 new file mode 100644 index 00000000..f1adb1a6 --- /dev/null +++ b/symm/t/des3 @@ -0,0 +1,41 @@ +# Test vectors for double and triple DES + +des3 { + # --- Some simple single-DES things --- + + 00451338957377 4e6f772069732074 3fa40e8a984d4815; + b6c74cbf60c1fd 328da675ff5abd2c cd3e9f9b670671d1; + + 0123456789abcdef 4e6f772069732074 3fa40e8a984d4815; + 0123456789abcdef 68652074696d6520 6a271787ab8883f9; + 0123456789abcdef 666f7220616c6c20 893d51ec4b563b53; + 0123456789abcdef 0123456789abcde7 c95744256a5ed31d; + + 0045133895737700451338957377 4e6f772069732074 3fa40e8a984d4815; + b6c74cbf60c1fdb6c74cbf60c1fd 328da675ff5abd2c cd3e9f9b670671d1; + + 0123456789abcdef0123456789abcdef 4e6f772069732074 3fa40e8a984d4815; + 0123456789abcdef0123456789abcdef 68652074696d6520 6a271787ab8883f9; + 0123456789abcdef0123456789abcdef 666f7220616c6c20 893d51ec4b563b53; + 0123456789abcdef0123456789abcdef 0123456789abcde7 c95744256a5ed31d; + + 004513389573770045133895737700451338957377 + 4e6f772069732074 3fa40e8a984d4815; + b6c74cbf60c1fdb6c74cbf60c1fdb6c74cbf60c1fd + 328da675ff5abd2c cd3e9f9b670671d1; + + 0123456789abcdef0123456789abcdef0123456789abcdef + 4e6f772069732074 3fa40e8a984d4815; + 0123456789abcdef0123456789abcdef0123456789abcdef + 68652074696d6520 6a271787ab8883f9; + 0123456789abcdef0123456789abcdef0123456789abcdef + 666f7220616c6c20 893d51ec4b563b53; + 0123456789abcdef0123456789abcdef0123456789abcdef + 0123456789abcde7 c95744256a5ed31d; + + # --- Genuine longer keys --- + + 0123456789abcdeffedcba9876543210 0123456789abcde7 7f1d0a77826b8aff; + 0123456789abcdeffedcba987654321089abcdef01234567 + 0123456789abcde7 de0b7c06ae5e0ed5; +}