Lines Matching refs:dest
87 compute_hash(bblk_hs_t *hs, unsigned char *dest, bblk_hash_t *hash)
89 if (hs == NULL || dest == NULL || hash == NULL)
92 hash->compute_hash(dest, hs->src_buf, hs->src_size);
97 prepare_and_write_einfo(unsigned char *dest, char *infostr, bblk_hs_t *hs,
103 bblk_einfo_t *einfo = (bblk_einfo_t *)dest;
107 * 'dest' might be both containing the buffer we want to hash and
121 data = dest + hash_off;
161 data = dest + einfo->str_off;
199 unsigned char *dest;
211 dest = (unsigned char *)extra + sizeof (*ext_hdr);
213 ret = prepare_and_write_einfo(dest, updt_str, hs, avail_space,
230 ext_hdr->checksum = compute_checksum((char *)dest, ext_hdr->size);