aboutsummaryrefslogtreecommitdiffstats
path: root/md4.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--md4.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/md4.c b/md4.c
index 065ca26..650c50c 100644
--- a/md4.c
+++ b/md4.c
@@ -15,7 +15,13 @@ static struct testcase testcases[] = {
{1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "043f8582f241db351ce627e153e7f0e4"},
{1, 0, "12345678901234567890123456789012345678901234567890123456789012345678901234567890", "e33b4ddc9c38f2199c3e7b164fcc0536"},
{1, 0, "1234567890123456789012345678901234567890123456789012345678901234", "c30a2de7d6eb547b4ceb82d65e28c029"},
- {1000000UL, 0, "a", NULL}
+ {1000000UL, 0, "a", NULL},
+ {0, 1, "\xff", "15f8f7419944ac564526a3c65da2c5f3"},
+ {0, 1, "\x7f", "15f8f7419944ac564526a3c65da2c5f3"},
+ {0, 1, "\x01", "15f8f7419944ac564526a3c65da2c5f3"},
+ {0, 1, "\xfe", "8d62ecbf6ffbc49dec08bb4c537189bb"},
+ {0, 1, "\x7e", "8d62ecbf6ffbc49dec08bb4c537189bb"},
+ {0, 1, "\x00", "8d62ecbf6ffbc49dec08bb4c537189bb"}
};