Searched refs:CalculateRootDigest (Results 1 – 4 of 4) sorted by relevance
117 Result<std::string> CalculateRootDigest(const std::string& hashtree_file, in CalculateRootDigest() function141 if (!builder->CalculateRootDigest(root_verity, &root_digest)) { in CalculateRootDigest()163 auto digest = CalculateRootDigest(hashtree_file, verity_data); in PrepareHashTree()
69 bool CalculateRootDigest(const std::vector<unsigned char>& root_verity,
160 TEST_F(BuildVerityTreeTest, CalculateRootDigest) { in TEST_F() argument181 ASSERT_TRUE(builder->CalculateRootDigest(verity_tree().back(), &actual_root_digest)); in TEST_F()
216 bool HashTreeBuilder::CalculateRootDigest(const std::vector<unsigned char>& root_verity, in CalculateRootDigest() function in HashTreeBuilder258 return CalculateRootDigest(verity_tree_.back(), &root_hash_); in BuildHashTree()