Home
last modified time | relevance | path

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

/linux-5.19.10/fs/verity/
Dfsverity_private.h29 struct fsverity_hash_alg { struct
39 struct fsverity_hash_alg *hash_alg; /* the hash algorithm */ argument
81 extern struct fsverity_hash_alg fsverity_hash_algs[];
83 struct fsverity_hash_alg *fsverity_get_hash_alg(const struct inode *inode,
85 struct ahash_request *fsverity_alloc_hash_request(struct fsverity_hash_alg *alg,
87 void fsverity_free_hash_request(struct fsverity_hash_alg *alg,
89 const u8 *fsverity_prepare_hash_state(struct fsverity_hash_alg *alg,
94 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()
78 const struct fsverity_hash_alg *hash_alg; in fsverity_get_digest()
Dopen.c34 struct fsverity_hash_alg *hash_alg; in fsverity_init_merkle_tree_params()
130 static int compute_file_digest(struct fsverity_hash_alg *hash_alg, in compute_file_digest()
Dsignature.c44 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; in fsverity_verify_signature()