Lines Matching refs:hash
242 const struct hash256 *hash, const sector_t *loc, in load_verify_vtpm_pages() argument
252 page->disk_hash = hash[i]; in load_verify_vtpm_pages()
268 const struct hash256 *hash, const sector_t *loc, int hsize,
272 const struct hash256 *hash, const sector_t *loc, int hsize, in load_verify_vtpm_itree() argument
289 return load_verify_vtpm_pages(hdr->v, base, nr_entries, hash, loc, mgr, group_key); in load_verify_vtpm_itree()
308 rc = sha256_verify(&hash[i], pt.hash, sizeof(pt.hash)); in load_verify_vtpm_itree()
314 rc = load_verify_vtpm_itree(hdr, base, child_entries, pt.hash, pt.location, in load_verify_vtpm_itree()
410 const struct hash256 *hash, const sector_t *loc, int hsize);
413 const struct hash256 *hash, const sector_t *loc, int hsize) in load_verify_group_itree() argument
421 memcpy(&group->disk_hash, &hash[i], sizeof(group->disk_hash)); in load_verify_group_itree()
451 rc = sha256_verify(&hash[i], pt.hash, sizeof(pt.hash)); in load_verify_group_itree()
457 …rc = load_verify_group_itree(dst, base, child_entries, pt.hash, pt.location, NR_ENTRIES_PER_ITREE); in load_verify_group_itree()