Searched refs:tree_params (Results 1 – 6 of 6) sorted by relevance
191 err = fsverity_init_merkle_tree_params(&vi->tree_params, inode, in fsverity_create_info()202 memcpy(vi->root_hash, desc->root_hash, vi->tree_params.digest_size); in fsverity_create_info()204 err = compute_file_digest(vi->tree_params.hash_alg, desc, in fsverity_create_info()216 if (vi->tree_params.block_size != PAGE_SIZE) { in fsverity_create_info()232 vi->tree_params.tree_pages << in fsverity_create_info()233 vi->tree_params.log_blocks_per_page; in fsverity_create_info()275 kfree(vi->tree_params.hashstate); in fsverity_free_info()
34 hash_alg = vi->tree_params.hash_alg; in fsverity_ioctl_measure()94 hash_alg = vi->tree_params.hash_alg; in fsverity_get_digest()
65 blocks_per_page = vi->tree_params.blocks_per_page; in is_hash_block_verified()95 const struct merkle_tree_params *params = &vi->tree_params; in verify_data_block()251 const unsigned int block_size = vi->tree_params.block_size; in verify_data_blocks()
52 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; in fsverity_verify_signature()
67 struct merkle_tree_params tree_params; member
26 end_offset = min(offset + length, vi->tree_params.tree_size); in fsverity_read_merkle_tree()