Home
last modified time | relevance | path

Searched refs:leftover_ (Results 1 – 2 of 2) sorted by relevance

/system/extras/verity/
Dhash_tree_builder.cpp190 if (!leftover_.empty()) { in Update()
191 CHECK_LT(leftover_.size(), block_size_); in Update()
192 size_t append_len = std::min(len, block_size_ - leftover_.size()); in Update()
194 leftover_.insert(leftover_.end(), append_len, 0); in Update()
196 leftover_.insert(leftover_.end(), data, data + append_len); in Update()
198 if (leftover_.size() < block_size_) { in Update()
201 if (!HashBlocks(leftover_.data(), leftover_.size(), &verity_tree_[0])) { in Update()
204 leftover_.clear(); in Update()
212 leftover_.assign(len % block_size_, 0); in Update()
214 leftover_.assign(data + len - len % block_size_, data + len); in Update()
[all …]
/system/extras/verity/include/verity/
Dhash_tree_builder.h108 std::vector<unsigned char> leftover_; variable