Home
last modified time | relevance | path

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

/openbmc/linux/fs/verity/
H A Dfsverity_private.h22 struct fsverity_hash_alg { struct
36 const struct fsverity_hash_alg *hash_alg; /* the hash algorithm */ argument
80 extern struct fsverity_hash_alg fsverity_hash_algs[];
82 const struct fsverity_hash_alg *fsverity_get_hash_alg(const struct inode *inode,
84 const u8 *fsverity_prepare_hash_state(const struct fsverity_hash_alg *alg,
88 int fsverity_hash_buffer(const struct fsverity_hash_alg *alg,
H A Dhash_algs.c13 struct fsverity_hash_alg fsverity_hash_algs[] = {
42 const struct fsverity_hash_alg *fsverity_get_hash_alg(const struct inode *inode, in fsverity_get_hash_alg()
45 struct fsverity_hash_alg *alg; in fsverity_get_hash_alg()
111 const u8 *fsverity_prepare_hash_state(const struct fsverity_hash_alg *alg, in fsverity_prepare_hash_state()
209 int fsverity_hash_buffer(const struct fsverity_hash_alg *alg, in fsverity_hash_buffer()
224 const struct fsverity_hash_alg *alg = &fsverity_hash_algs[i]; in fsverity_check_hash_algs()
H A Dmeasure.c28 const struct fsverity_hash_alg *hash_alg; in fsverity_ioctl_measure()
88 const struct fsverity_hash_alg *hash_alg; in fsverity_get_digest()
H A Dsignature.c52 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; in fsverity_verify_signature()
H A Dopen.c35 const struct fsverity_hash_alg *hash_alg; in fsverity_init_merkle_tree_params()
161 static int compute_file_digest(const struct fsverity_hash_alg *hash_alg, in compute_file_digest()