Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapexd_verity.cpp117 Result<std::string> CalculateRootDigest(const std::string& hashtree_file, in CalculateRootDigest() function
141 if (!builder->CalculateRootDigest(root_verity, &root_digest)) { in CalculateRootDigest()
163 auto digest = CalculateRootDigest(hashtree_file, verity_data); in PrepareHashTree()
/system/extras/verity/include/verity/
Dhash_tree_builder.h69 bool CalculateRootDigest(const std::vector<unsigned char>& root_verity,
/system/extras/verity/
Dbuild_verity_tree_test.cpp160 TEST_F(BuildVerityTreeTest, CalculateRootDigest) { in TEST_F() argument
181 ASSERT_TRUE(builder->CalculateRootDigest(verity_tree().back(), &actual_root_digest)); in TEST_F()
Dhash_tree_builder.cpp216 bool HashTreeBuilder::CalculateRootDigest(const std::vector<unsigned char>& root_verity, in CalculateRootDigest() function in HashTreeBuilder
258 return CalculateRootDigest(verity_tree_.back(), &root_hash_); in BuildHashTree()