Home
last modified time | relevance | path

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

/linux-5.19.10/fs/verity/
Dverify.c56 const unsigned int hsize = vi->tree_params.digest_size; in cmp_hashes()
64 vi->tree_params.hash_alg->name, hsize, want_hash, in cmp_hashes()
65 vi->tree_params.hash_alg->name, hsize, real_hash); in cmp_hashes()
90 const struct merkle_tree_params *params = &vi->tree_params; in verify_page()
197 req = fsverity_alloc_hash_request(vi->tree_params.hash_alg, GFP_NOFS); in fsverity_verify_page()
201 fsverity_free_hash_request(vi->tree_params.hash_alg, req); in fsverity_verify_page()
227 const struct merkle_tree_params *params = &vi->tree_params; in fsverity_verify_bio()
Dopen.c160 err = fsverity_init_merkle_tree_params(&vi->tree_params, inode, in fsverity_create_info()
171 memcpy(vi->root_hash, desc->root_hash, vi->tree_params.digest_size); in fsverity_create_info()
173 err = compute_file_digest(vi->tree_params.hash_alg, desc, in fsverity_create_info()
180 vi->tree_params.hash_alg->name, in fsverity_create_info()
181 vi->tree_params.digest_size, vi->file_digest); in fsverity_create_info()
216 kfree(vi->tree_params.hashstate); in fsverity_free_info()
Dmeasure.c34 hash_alg = vi->tree_params.hash_alg; in fsverity_ioctl_measure()
85 hash_alg = vi->tree_params.hash_alg; in fsverity_get_digest()
Dsignature.c44 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; in fsverity_verify_signature()
Dfsverity_private.h67 struct merkle_tree_params tree_params; member
Dread_metadata.c26 end_offset = min(offset + length, vi->tree_params.tree_size); in fsverity_read_merkle_tree()