Lines Matching full:digest
28 static char *digest;
197 digest = malloc(digest_len);
198 if (!digest) {
199 printf("Failed to allocated %d byte digest\n", digest_len);
236 printf("No digest returned\n");
242 printf("Failed to get digest: %s (%d)\n",
302 * Compute a reference digest we hope is repeatable, we do
307 printf("Failed to compute reference digest\n");
314 if (!compute_digest(digest)) {
315 printf("Failed to compute digest, iter=%d\n", iter);
319 if (memcmp(ref, digest, digest_len) != 0) {
320 printf("Digest mismatch, iter=%d\n", iter);