Searched refs:tree_params (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/fs/verity/ |
D | verify.c | 56 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()
|
D | open.c | 188 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()
|
D | measure.c | 32 hash_alg = vi->tree_params.hash_alg; in fsverity_ioctl_measure()
|
D | signature.c | 42 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; in fsverity_verify_signature()
|
D | fsverity_private.h | 71 struct merkle_tree_params tree_params; member
|