Home
last modified time | relevance | path

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

/external/fsverity-utils/lib/
Dhash_algs.c150 static const struct fsverity_hash_alg fsverity_hash_algs[] = { variable
173 for (i = 1; i < ARRAY_SIZE(fsverity_hash_algs); i++) { in libfsverity_find_hash_alg_by_name()
174 if (fsverity_hash_algs[i].name && in libfsverity_find_hash_alg_by_name()
175 !strcmp(name, fsverity_hash_algs[i].name)) in libfsverity_find_hash_alg_by_name()
183 if (alg_num < ARRAY_SIZE(fsverity_hash_algs) && in libfsverity_find_hash_alg_by_num()
184 fsverity_hash_algs[alg_num].name) in libfsverity_find_hash_alg_by_num()
185 return &fsverity_hash_algs[alg_num]; in libfsverity_find_hash_alg_by_num()