diff options
Diffstat (limited to 'src/lib/crypto/crypto_tests/t_mddriver.c')
-rw-r--r-- | src/lib/crypto/crypto_tests/t_mddriver.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/crypto/crypto_tests/t_mddriver.c b/src/lib/crypto/crypto_tests/t_mddriver.c index 2c0210cac4..3fab847214 100644 --- a/src/lib/crypto/crypto_tests/t_mddriver.c +++ b/src/lib/crypto/crypto_tests/t_mddriver.c @@ -117,7 +117,7 @@ struct md_test_entry md_test_suite[] = { { "abcdefghijklmnopqrstuvwxyz", {0xc3, 0xfc, 0xd3, 0xd7, 0x61, 0x92, 0xe4, 0x00, 0x7d, 0xfb, 0x49, 0x6c, 0xca, 0x67, 0xe1, 0x3b }}, - { "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", + { "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", {0xd1, 0x74, 0xab, 0x98, 0xd2, 0x77, 0xd9, 0xf5, 0xa5, 0x61, 0x1c, 0x2c, 0x9f, 0x41, 0x9d, 0x9f }}, { "12345678901234567890123456789012345678901234567890123456789012345678901234567890", @@ -125,7 +125,7 @@ struct md_test_entry md_test_suite[] = { 0xac, 0x49, 0xda, 0x2e, 0x21, 0x07, 0xb6, 0x7a }}, { 0, {0} } }; - + #endif /* Main driver. @@ -185,7 +185,7 @@ static void MDTimeTrial () time_t endTime, startTime; unsigned char block[TEST_BLOCK_LEN]; unsigned int i; - + printf("MD%d time trial. Digesting %d %d-byte blocks ...", MD, TEST_BLOCK_LEN, TEST_BLOCK_COUNT); @@ -222,7 +222,7 @@ static void MDTestSuite () MD_CTX context; struct md_test_entry *entry; int i, num_tests = 0, num_failed = 0; - + printf ("MD%d test suite:\n\n", MD); for (entry = md_test_suite; entry->string; entry++) { unsigned int len = strlen (entry->string); @@ -254,7 +254,7 @@ static void MDTestSuite () exit(0); } #else - + printf ("MD%d test suite:\n", MD); MDString (""); MDString ("a"); |