Searched refs:level_blocks (Results 1 – 2 of 2) sorted by relevance
25 uint64_t level_blocks = div_round_up(data_size, block_size); in verity_tree_blocks() local29 level_blocks = div_round_up(level_blocks, hashes_per_block); in verity_tree_blocks()32 CHECK_LE(level_blocks, std::numeric_limits<size_t>::max()); in verity_tree_blocks()33 return level_blocks; in verity_tree_blocks()
97 size_t level_blocks; in CalculateSize() local100 level_blocks = in CalculateSize()103 verity_blocks += level_blocks; in CalculateSize()104 } while (level_blocks > 1); in CalculateSize()258 const auto& level_blocks = verity_tree_[i - 1]; in CheckHashTree() local259 if (offset + level_blocks.size() > hash_tree.size()) { in CheckHashTree()263 auto iter = std::mismatch(level_blocks.begin(), level_blocks.end(), in CheckHashTree()266 if (iter != level_blocks.end()) { in CheckHashTree()268 << std::distance(level_blocks.begin(), iter); in CheckHashTree()271 offset += level_blocks.size(); in CheckHashTree()[all …]