Lines Matching defs:digest_def
537 const metalink_digest_def *digest_def,
553 digest_def->hash_name, strerror(errno));
557 dctx = Curl_digest_init(digest_def->dparams);
560 digest_def->hash_name, "failed to initialize hash algorithm");
565 result = malloc(digest_def->dparams->digest_resultlen);
574 digest_def->hash_name, strerror(errno));
583 digest_def->dparams->digest_resultlen) == 0;
587 digest_def->hash_name);
590 filename, digest_def->hash_name);
608 rv = check_hash(filename, mlfile->checksum->digest_def,
614 (const metalink_digest_def *digest_def, const char *hex_digest)
625 chksum->digest_def = digest_def;
643 const metalink_digest_def *digest_def)
653 return digest_def->dparams->digest_resultlen * 2 == i;
671 check_hex_digest((*p)->hash, digest_alias->digest_def)) {
673 new_metalink_checksum_from_hex_digest(digest_alias->digest_def,