Go to the documentation of this file.
66 int main(
int argc,
char *argv[])
68 printf(
"No MD4 support\n");
80 "abcdefghijklmnopqrstuvwxyz",
81 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
82 "12345678901234567890123456789012345678901234567890123456789012345678901234567890",
87 "31d6cfe0d16ae931b73c59d7e0c089c0",
88 "bde52cb31de33e46245e05fbdbd6fb24",
89 "a448017aaf21d8525fc10ae87aa6729d",
90 "d9130a8164549fe818874806e1c7014b",
91 "d79e1c308aa5bbcdeea8ed63df412da9",
92 "043f8582f241db351ce627e153e7f0e4",
93 "e33b4ddc9c38f2199c3e7b164fcc0536",
96 static char *
pt(
unsigned char *md);
97 int main(
int argc,
char *argv[])
111 if (strcmp(p,(
char *)*R) != 0)
113 printf(
"error calculating MD4 on '%s'\n",*P);
114 printf(
"got %s instead of %s\n",p,*R);
118 printf(
"test %d ok\n",i);
127 static char *
pt(
unsigned char *md)
133 sprintf(&(buf[i*2]),
"%02x",md[i]);