Home
last modified time | relevance | path

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

/Linux-v5.4/fs/verity/
Dfsverity_private.h35 struct fsverity_hash_alg { struct
44 const struct fsverity_hash_alg *hash_alg; /* the hash algorithm */ argument
115 extern struct fsverity_hash_alg fsverity_hash_algs[];
117 const struct fsverity_hash_alg *fsverity_get_hash_alg(const struct inode *inode,
119 const u8 *fsverity_prepare_hash_state(const struct fsverity_hash_alg *alg,
124 int fsverity_hash_buffer(const struct fsverity_hash_alg *alg,
Dhash_algs.c14 struct fsverity_hash_alg fsverity_hash_algs[] = {
39 const struct fsverity_hash_alg *fsverity_get_hash_alg(const struct inode *inode, in fsverity_get_hash_alg()
42 struct fsverity_hash_alg *alg; in fsverity_get_hash_alg()
104 const u8 *fsverity_prepare_hash_state(const struct fsverity_hash_alg *alg, in fsverity_prepare_hash_state()
232 int fsverity_hash_buffer(const struct fsverity_hash_alg *alg, in fsverity_hash_buffer()
265 const struct fsverity_hash_alg *alg = &fsverity_hash_algs[i]; in fsverity_check_hash_algs()
Dmeasure.c26 const struct fsverity_hash_alg *hash_alg; in fsverity_ioctl_measure()
Dopen.c34 const struct fsverity_hash_alg *hash_alg; in fsverity_init_merkle_tree_params()
129 static int compute_file_measurement(const struct fsverity_hash_alg *hash_alg, in compute_file_measurement()
Dsignature.c42 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; in fsverity_verify_signature()