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

/linux-master/fs/verity/
H A Dfsverity_private.h22 struct fsverity_hash_alg { struct
36 const struct fsverity_hash_alg *hash_alg; /* the hash algorithm */
79 extern struct fsverity_hash_alg fsverity_hash_algs[];
81 const struct fsverity_hash_alg *fsverity_get_hash_alg(const struct inode *inode,
83 const u8 *fsverity_prepare_hash_state(const struct fsverity_hash_alg *alg,
87 int fsverity_hash_buffer(const struct fsverity_hash_alg *alg,
H A Dhash_algs.c13 struct fsverity_hash_alg fsverity_hash_algs[] = {
35 * Get the struct fsverity_hash_alg for the given hash algorithm number, and
42 const struct fsverity_hash_alg *fsverity_get_hash_alg(const struct inode *inode,
45 struct fsverity_hash_alg *alg;
111 const u8 *fsverity_prepare_hash_state(const struct fsverity_hash_alg *alg,
209 int fsverity_hash_buffer(const struct fsverity_hash_alg *alg,
224 const struct fsverity_hash_alg *alg = &fsverity_hash_algs[i];
H A Dmeasure.c30 const struct fsverity_hash_alg *hash_alg;
90 const struct fsverity_hash_alg *hash_alg;
126 const struct fsverity_hash_alg *hash_alg;
H A Dsignature.c52 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg;
H A Dopen.c35 const struct fsverity_hash_alg *hash_alg;
161 static int compute_file_digest(const struct fsverity_hash_alg *hash_alg,

Completed in 123 milliseconds