Lines Matching refs:data
22 u8 *data;
34 memset(&cur->data[cur->filled], 0, block_size - cur->filled);
38 libfsverity_hash_update(hash, cur->data, block_size);
39 libfsverity_hash_final(hash, &next->data[next->filled]);
72 int err = cbs->merkle_tree_block(cbs->ctx, block->data,
169 * Allocate the block buffers. Buffer "-1" is for data blocks.
174 buffers[level].data = libfsverity_zalloc(block_size);
175 if (!buffers[level].data) {
180 buffers[num_levels].data = root_hash;
182 /* Hash each data block, also hashing the tree blocks as they fill up */
186 err = read_fn(fd, buffers[-1].data, buffers[-1].filled);
229 free(buffers[level].data);