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()
102 size_t level_blocks; in CalculateSize() local105 level_blocks = in CalculateSize()108 verity_blocks += level_blocks; in CalculateSize()109 } while (level_blocks > 1); in CalculateSize()271 const auto& level_blocks = verity_tree_[i - 1]; in CheckHashTree() local272 if (offset + level_blocks.size() > hash_tree.size()) { in CheckHashTree()276 auto iter = std::mismatch(level_blocks.begin(), level_blocks.end(), in CheckHashTree()279 if (iter != level_blocks.end()) { in CheckHashTree()281 << std::distance(level_blocks.begin(), iter); in CheckHashTree()284 offset += level_blocks.size(); in CheckHashTree()[all …]