Commit ab1e7fa4 authored by Niels Möller's avatar Niels Möller
Browse files

* src/testsuite/twofish-test.m4: Updated test case to test

twofish_cbc.

* src/testsuite/des-test.m4: Updated test case to test des3_cbc.

Rev: src/testsuite/des-test.m4:1.3
Rev: src/testsuite/twofish-test.m4:1.3
parent 2424db77
TS_TEST_CRYPTO(»DES3 CBC«, »&crypto_des3_cbc_algorithm«,
#0123456789ABCDEF 1313131313131313 3232323232323232#,
#0011223344556677 8899AABBCCDDEEFF#,
#C4DB96109B6186B2 5F9AA359160909D9#,
#0001020304050607#)
#if 0
/* From Applied Cryptography, 2:nd edition */
TS_TEST_CRYPTO(»DES AC«, »&crypto_des_algorithm«,
......@@ -25,3 +31,4 @@ TS_TEST_CRYPTO(
#01234567 89ABCDEF#,
"Now is t",
#3FA40E8A 984D4815#)
#endif
TS_TEST_CRYPTO(Twofish-256 CBC, &crypto_twofish256_cbc_algorithm,
#0123456789ABCDEF FEDCBA9876543210
0011223344556677 8899AABBCCDDEEFF#,
#0000000000000000 0000000000000000
1111111111111111 1111111111111111#,
#7c9cde6d86b1d9f2 9fceb6830c451281
329f72e3eb36d505 6e8e08c191644dfa#,
#0011223344556677 8899AABBCCDDEEFF#)
#if 0
TS_TEST_CRYPTO(Twofish 128, make_twofish_algorithm(16),
#0000000000000000 0000000000000000#,
#0000000000000000 0000000000000000#,
......@@ -14,9 +25,4 @@ TS_TEST_CRYPTO(
#0000000000000000 0000000000000000#,
#37527BE0052334B8 9F0CFCCAE87CFA20#)
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment