From 7406e3239663850d25005b3aee912a3cf8aa330e Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 26 Feb 2015 19:46:03 +0000 Subject: [PATCH] add MD4 test data Reviewed-by: Matt Caswell --- crypto/evp/evptests.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/crypto/evp/evptests.txt b/crypto/evp/evptests.txt index 58d9159ff4..89587c66a7 100644 --- a/crypto/evp/evptests.txt +++ b/crypto/evp/evptests.txt @@ -37,6 +37,28 @@ Digest = MD5 Input = 3132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930 Output = 57edf4a22be3c955ac49da2e2107b67a +# MD4 tests from md4test.c +Digest = MD4 +Input = "" +Output = 31d6cfe0d16ae931b73c59d7e0c089c0 +Digest = MD4 +Input = "a" +Output = bde52cb31de33e46245e05fbdbd6fb24 +Digest = MD4 +Input = "abc" +Output = a448017aaf21d8525fc10ae87aa6729d +Digest = MD4 +Input = "message digest" +Output = d9130a8164549fe818874806e1c7014b +Digest = MD4 +Input = "abcdefghijklmnopqrstuvwxyz" +Output = d79e1c308aa5bbcdeea8ed63df412da9 +Digest = MD4 +Input = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" +Output = 043f8582f241db351ce627e153e7f0e4 +Digest = MD4 +Input = "12345678901234567890123456789012345678901234567890123456789012345678901234567890" +Output = e33b4ddc9c38f2199c3e7b164fcc0536 # AES 128 ECB tests (from FIPS-197 test vectors, encrypt) -- 2.40.0