Home
last modified time | relevance | path

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

/aosp12/build/make/tools/releasetools/
H A Dtest_verity_utils.py53 self.expected_root_hash = (
126 self.assertEqual(self.expected_root_hash, generator.hashtree_info.root_hash)
140 info.root_hash = self.expected_root_hash
156 info.root_hash = "a" + self.expected_root_hash[1:]
171 self.assertEqual(self.expected_root_hash, info.root_hash)
/aosp12/bootable/recovery/tests/unit/
H A Dupdater_test.cpp425 std::string expected_root_hash = in TEST_F() local
429 expected_root_hash }; in TEST_F()
458 ASSERT_EQ(expected_root_hash, HashTreeBuilder::BytesArrayToString(digest)); in TEST_F()
474 std::string expected_root_hash = in TEST_F() local
478 expected_root_hash }; in TEST_F()
/aosp12/bootable/recovery/updater/
H A Dblockimg.cpp1525 std::string expected_root_hash = params.tokens[params.cpos++]; in PerformCommandComputeHashTree() local
1526 if (expected_root_hash.empty()) { in PerformCommandComputeHashTree()
1568 if (root_hash_hex != expected_root_hash) { in PerformCommandComputeHashTree()
1570 << expected_root_hash << ", actual: " << root_hash_hex; in PerformCommandComputeHashTree()