Lines Matching defs:block
26 * Hash a block, writing the result to the next level's pending block buffer.
33 /* Zero-pad the block if it's shorter than block_size. */
45 static bool block_is_full(const struct block_buffer *block, u32 block_size,
49 return block->filled + hash->alg->digest_size > block_size;
67 const struct block_buffer *block,
72 int err = cbs->merkle_tree_block(cbs->ctx, block->data,
77 libfsverity_error_msg("error processing Merkle tree block");
101 * block size, and salt.
150 * Compute the starting block of each level, using the convention where
169 * Allocate the block buffers. Buffer "-1" is for data blocks.
182 /* Hash each data block, also hashing the tree blocks as they fill up */
261 libfsverity_error_msg("unsupported block size (%u)",
289 libfsverity_error_msg("block size (%u) too small for hash algorithm %s",