Home
last modified time | relevance | path

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

/Linux-v5.4/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()
89 const struct merkle_tree_params *params = &vi->tree_params; in verify_page()
194 req = ahash_request_alloc(vi->tree_params.hash_alg->tfm, GFP_NOFS); in fsverity_verify_page()
229 req = ahash_request_alloc(vi->tree_params.hash_alg->tfm, GFP_NOFS); in fsverity_verify_bio()
Dopen.c188 err = fsverity_init_merkle_tree_params(&vi->tree_params, inode, in fsverity_create_info()
199 memcpy(vi->root_hash, desc->root_hash, vi->tree_params.digest_size); in fsverity_create_info()
201 err = compute_file_measurement(vi->tree_params.hash_alg, desc, in fsverity_create_info()
208 vi->tree_params.hash_alg->name, in fsverity_create_info()
209 vi->tree_params.digest_size, vi->measurement); in fsverity_create_info()
234 kfree(vi->tree_params.hashstate); in fsverity_free_info()
Dmeasure.c32 hash_alg = vi->tree_params.hash_alg; in fsverity_ioctl_measure()
Dsignature.c42 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; in fsverity_verify_signature()
Dfsverity_private.h71 struct merkle_tree_params tree_params; member