Home
last modified time | relevance | path

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

/system/extras/verity/
Dhash_tree_builder.cpp125 verity_tree_.emplace_back(std::move(base_level)); in Initialize()
196 if (!HashBlocks(leftover_.data(), leftover_.size(), &verity_tree_[0])) { in Update()
213 return HashBlocks(data, len, &verity_tree_[0]); in Update()
226 CHECK_EQ(1, verity_tree_.size()); in BuildHashTree()
235 AppendPaddings(&verity_tree_.back()); in BuildHashTree()
238 CHECK_EQ(base_level_blocks * block_size_, verity_tree_[0].size()); in BuildHashTree()
240 while (verity_tree_.back().size() > block_size_) { in BuildHashTree()
241 const auto& current_level = verity_tree_.back(); in BuildHashTree()
254 verity_tree_.emplace_back(std::move(next_level)); in BuildHashTree()
257 CHECK_EQ(block_size_, verity_tree_.back().size()); in BuildHashTree()
[all …]
Dbuild_verity_tree_test.cpp49 return builder->verity_tree_; in verity_tree()
/system/extras/verity/include/verity/
Dhash_tree_builder.h100 std::vector<std::vector<unsigned char>> verity_tree_; variable