Searched refs:fsverity_hash_algs (Results 1 – 4 of 4) sorted by relevance
162 const struct fsverity_hash_alg fsverity_hash_algs[] = { variable186 for (i = 0; i < ARRAY_SIZE(fsverity_hash_algs); i++) { in find_hash_alg_by_name()187 if (fsverity_hash_algs[i].name && in find_hash_alg_by_name()188 !strcmp(name, fsverity_hash_algs[i].name)) in find_hash_alg_by_name()189 return &fsverity_hash_algs[i]; in find_hash_alg_by_name()200 if (num < ARRAY_SIZE(fsverity_hash_algs) && in find_hash_alg_by_num()201 fsverity_hash_algs[num].name) in find_hash_alg_by_num()202 return &fsverity_hash_algs[num]; in find_hash_alg_by_num()212 for (i = 0; i < ARRAY_SIZE(fsverity_hash_algs); i++) { in show_all_hash_algs()213 if (fsverity_hash_algs[i].name) { in show_all_hash_algs()[all …]
16 extern const struct fsverity_hash_alg fsverity_hash_algs[];29 #define DEFAULT_HASH_ALG (&fsverity_hash_algs[FS_VERITY_ALG_SHA256])
98 if (le16_to_cpu(d->digest_algorithm) != hash_alg - fsverity_hash_algs) in compare_fsverity_digest()509 cpu_to_le16(params->hash_alg - fsverity_hash_algs); in append_signed_measurement()
259 fsverity_hash_algs); in append_fsverity_descriptor()