Home
last modified time | relevance | path

Searched refs:fsverity_hash_algs (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/verity/
H A Dhash_algs.c13 struct fsverity_hash_alg fsverity_hash_algs[] = { variable
49 if (num >= ARRAY_SIZE(fsverity_hash_algs) || in fsverity_get_hash_alg()
50 !fsverity_hash_algs[num].name) { in fsverity_get_hash_alg()
54 alg = &fsverity_hash_algs[num]; in fsverity_get_hash_alg()
223 for (i = 0; i < ARRAY_SIZE(fsverity_hash_algs); i++) { in fsverity_check_hash_algs()
224 const struct fsverity_hash_alg *alg = &fsverity_hash_algs[i]; in fsverity_check_hash_algs()
H A Dmeasure.c48 arg.digest_algorithm = hash_alg - fsverity_hash_algs; in fsverity_ioctl_measure()
97 *alg = hash_alg - fsverity_hash_algs; in fsverity_get_digest()
H A Dsignature.c85 d->digest_algorithm = cpu_to_le16(hash_alg - fsverity_hash_algs); in fsverity_verify_signature()
H A Dfsverity_private.h80 extern struct fsverity_hash_alg fsverity_hash_algs[];