Searched refs:hash_tree (Results 1 – 4 of 4) sorted by relevance
267 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()
121 std::string hash_tree; in TEST() local123 auto result = PrepareHashTree(*apex, verity_data, hash_tree); in TEST()
54 bool CheckHashTree(const std::vector<unsigned char>& hash_tree) const;
453 std::vector<unsigned char> hash_tree = std::move(salt_bytes); in TEST_F() local454 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()