Lines Matching refs:test
88 } test[4] = {
90 "", 0, "More text test vectors to stuff up EBCDIC machines :-)", 54,
129 printf("test skipped: MD5 disabled\n");
133 ebcdic2ascii(test[0].data, test[0].data, test[0].data_len);
134 ebcdic2ascii(test[1].data, test[1].data, test[1].data_len);
135 ebcdic2ascii(test[2].key, test[2].key, test[2].key_len);
136 ebcdic2ascii(test[2].data, test[2].data, test[2].data_len);
141 test[i].key, test[i].key_len,
142 test[i].data, test[i].data_len, NULL, NULL));
144 if (strcmp(p, (char *)test[i].digest) != 0) {
146 printf("got %s instead of %s\n", p, test[i].digest);
149 printf("test %d ok\n", i);