Home
last modified time | relevance | path

Searched refs:hash_tree (Results 1 – 4 of 4) sorted by relevance

/aosp12/system/extras/verity/
H A Dhash_tree_builder.cpp267 const std::vector<unsigned char>& hash_tree) const { in CheckHashTree()
272 if (offset + level_blocks.size() > hash_tree.size()) { in CheckHashTree()
273 LOG(ERROR) << "Hash tree too small: " << hash_tree.size(); in CheckHashTree()
277 hash_tree.begin() + offset) in CheckHashTree()
286 if (offset != hash_tree.size()) { in CheckHashTree()
287 LOG(ERROR) << "Hash tree size mismatch: " << hash_tree.size() in CheckHashTree()
/aosp12/system/apex/apexd/
H A Dapexd_verity_test.cpp121 std::string hash_tree; in TEST() local
123 auto result = PrepareHashTree(*apex, verity_data, hash_tree); in TEST()
/aosp12/system/extras/verity/include/verity/
H A Dhash_tree_builder.h54 bool CheckHashTree(const std::vector<unsigned char>& hash_tree) const;
/aosp12/bootable/recovery/tests/unit/
H A Dupdater_test.cpp453 std::vector<unsigned char> hash_tree = std::move(salt_bytes); in TEST_F() local
454 hash_tree.insert(hash_tree.end(), updated.begin() + 128 * 4096, updated.end()); in TEST_F()
457 SHA256(hash_tree.data(), hash_tree.size(), digest.data()); in TEST_F()