Lines Matching refs:digest_def
596 const metalink_digest_def *digest_def, in check_hash() argument
612 digest_def->hash_name, strerror(errno)); in check_hash()
616 dctx = Curl_digest_init(digest_def->dparams); in check_hash()
619 digest_def->hash_name, "failed to initialize hash algorithm"); in check_hash()
624 result = malloc(digest_def->dparams->digest_resultlen); in check_hash()
638 digest_def->hash_name, strerror(errno)); in check_hash()
647 digest_def->dparams->digest_resultlen) == 0; in check_hash()
651 digest_def->hash_name); in check_hash()
654 filename, digest_def->hash_name); in check_hash()
672 rv = check_hash(filename, mlfile->checksum->digest_def, in metalink_check_hash()
678 (const metalink_digest_def *digest_def, const char *hex_digest) in new_metalink_checksum_from_hex_digest() argument
693 chksum->digest_def = digest_def; in new_metalink_checksum_from_hex_digest()
720 const metalink_digest_def *digest_def) in check_hex_digest() argument
730 return digest_def->dparams->digest_resultlen * 2 == i; in check_hex_digest()
755 check_hex_digest((*p)->hash, digest_alias->digest_def)) { in new_metalinkfile()
757 new_metalink_checksum_from_hex_digest(digest_alias->digest_def, in new_metalinkfile()