Searched refs:fsverity_hash_alg (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/fs/verity/ |
D | fsverity_private.h | 29 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,
|
D | hash_algs.c | 14 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()
|
D | measure.c | 28 const struct fsverity_hash_alg *hash_alg; in fsverity_ioctl_measure() 78 const struct fsverity_hash_alg *hash_alg; in fsverity_get_digest()
|
D | open.c | 34 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()
|
D | signature.c | 44 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; in fsverity_verify_signature()
|