Searched refs:fsverity_hash_alg (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/fs/verity/ |
A D | fsverity_private.h | 25 struct fsverity_hash_alg { struct 40 struct fsverity_hash_alg *hash_alg; /* the hash algorithm */ argument 84 extern struct fsverity_hash_alg fsverity_hash_algs[]; 86 struct fsverity_hash_alg *fsverity_get_hash_alg(const struct inode *inode, 88 struct ahash_request *fsverity_alloc_hash_request(struct fsverity_hash_alg *alg, 90 void fsverity_free_hash_request(struct fsverity_hash_alg *alg, 92 const u8 *fsverity_prepare_hash_state(struct fsverity_hash_alg *alg, 97 int fsverity_hash_buffer(struct fsverity_hash_alg *alg,
|
A D | hash_algs.c | 14 struct fsverity_hash_alg fsverity_hash_algs[] = { 43 struct fsverity_hash_alg *fsverity_get_hash_alg(const struct inode *inode, in fsverity_get_hash_alg() 46 struct fsverity_hash_alg *alg; in fsverity_get_hash_alg() 125 struct ahash_request *fsverity_alloc_hash_request(struct fsverity_hash_alg *alg, in fsverity_alloc_hash_request() 140 void fsverity_free_hash_request(struct fsverity_hash_alg *alg, in fsverity_free_hash_request() 158 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()
|
A D | measure.c | 28 const struct fsverity_hash_alg *hash_alg; in fsverity_ioctl_measure() 77 const struct fsverity_hash_alg *hash_alg; in fsverity_get_digest()
|
A D | open.c | 35 struct fsverity_hash_alg *hash_alg; in fsverity_init_merkle_tree_params() 161 static int compute_file_digest(struct fsverity_hash_alg *hash_alg, in compute_file_digest()
|
A D | signature.c | 44 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; in fsverity_verify_signature()
|
Completed in 7 milliseconds