Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/verity/
Dfsverity_private.h36 struct fsverity_hash_alg { struct
46 struct fsverity_hash_alg *hash_alg; /* the hash algorithm */ argument
118 extern struct fsverity_hash_alg fsverity_hash_algs[];
120 struct fsverity_hash_alg *fsverity_get_hash_alg(const struct inode *inode,
122 struct ahash_request *fsverity_alloc_hash_request(struct fsverity_hash_alg *alg,
124 void fsverity_free_hash_request(struct fsverity_hash_alg *alg,
126 const u8 *fsverity_prepare_hash_state(struct fsverity_hash_alg *alg,
131 int fsverity_hash_buffer(struct fsverity_hash_alg *alg,
Dhash_algs.c14 struct fsverity_hash_alg fsverity_hash_algs[] = {
41 struct fsverity_hash_alg *fsverity_get_hash_alg(const struct inode *inode, in fsverity_get_hash_alg()
44 struct fsverity_hash_alg *alg; in fsverity_get_hash_alg()
123 struct ahash_request *fsverity_alloc_hash_request(struct fsverity_hash_alg *alg, in fsverity_alloc_hash_request()
138 void fsverity_free_hash_request(struct fsverity_hash_alg *alg, in fsverity_free_hash_request()
156 const u8 *fsverity_prepare_hash_state(struct fsverity_hash_alg *alg, in fsverity_prepare_hash_state()
281 int fsverity_hash_buffer(struct fsverity_hash_alg *alg, in fsverity_hash_buffer()
313 const struct fsverity_hash_alg *alg = &fsverity_hash_algs[i]; in fsverity_check_hash_algs()
Dmeasure.c28 const struct fsverity_hash_alg *hash_alg; in fsverity_ioctl_measure()
Dopen.c34 struct fsverity_hash_alg *hash_alg; in fsverity_init_merkle_tree_params()
130 static int compute_file_measurement(struct fsverity_hash_alg *hash_alg, in compute_file_measurement()
Dsignature.c45 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; in fsverity_verify_signature()