Home
last modified time | relevance | path

Searched refs:full_hash_digest (Results 1 – 6 of 6) sorted by relevance

/dports/archivers/zchunk/zchunk-1.1.16/src/lib/index/
H A Dindex_common.c65 if(zck->full_hash_digest) { in index_free()
66 free(zck->full_hash_digest); in index_free()
67 zck->full_hash_digest = NULL; in index_free()
H A Dindex_create.c79 zck->full_hash_digest = hash_finalize(zck, &(zck->full_hash)); in index_create()
80 if(zck->full_hash_digest == NULL) in index_create()
/dports/archivers/zchunk/zchunk-1.1.16/src/lib/
H A Dzck.c65 if(zck->full_hash_digest) { in zck_clear()
66 free(zck->full_hash_digest); in zck_clear()
67 zck->full_hash_digest = NULL; in zck_clear()
H A Dheader.c118 zck->full_hash_digest = zmalloc(zck->hash_type.digest_size); in read_preface()
119 memcpy(zck->full_hash_digest, header+length, zck->hash_type.digest_size); in read_preface()
240 memcpy(header + length, zck->full_hash_digest, zck->hash_type.digest_size); in preface_create()
H A Dzck_private.h240 char *full_hash_digest; member
/dports/archivers/zchunk/zchunk-1.1.16/src/lib/hash/
H A Dhash.c390 char *cks = get_digest_string(zck->full_hash_digest, in validate_file()
397 if(memcmp(digest, zck->full_hash_digest, zck->hash_type.digest_size) != 0) { in validate_file()
511 return get_digest_string(zck->full_hash_digest, zck->hash_type.digest_size); in zck_get_data_digest()