Lines Matching refs:hsize
44 unsigned int hsize, u8 *out) in extract_hash() argument
48 memcpy(out, virt + hoffset, hsize); in extract_hash()
56 const unsigned int hsize = vi->tree_params.digest_size; in cmp_hashes() local
58 if (memcmp(want_hash, real_hash, hsize) == 0) in cmp_hashes()
64 vi->tree_params.hash_alg->name, hsize, want_hash, in cmp_hashes()
65 vi->tree_params.hash_alg->name, hsize, real_hash); in cmp_hashes()
90 const unsigned int hsize = params->digest_size; in verify_page() local
131 extract_hash(hpage, hoffset, hsize, _want_hash); in verify_page()
136 hsize, want_hash); in verify_page()
146 params->hash_alg->name, hsize, want_hash); in verify_page()
160 extract_hash(hpage, hoffset, hsize, _want_hash); in verify_page()
164 level - 1, params->hash_alg->name, hsize, want_hash); in verify_page()