Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfs_avb/
Dfs_avb.cpp216 /* is_chained_vbmeta */ &avb_handle->vbmeta_images_); in LoadAndVerifyVbmeta()
230 if (avb_handle->vbmeta_images_.size() < 1) { in LoadAndVerifyVbmeta()
240 avb_handle->vbmeta_images_[0].GetVBMetaHeader(); in LoadAndVerifyVbmeta()
256 CalculateVbmetaDigest<SHA256Hasher>(avb_handle->vbmeta_images_); in LoadAndVerifyVbmeta()
259 CalculateVbmetaDigest<SHA512Hasher>(avb_handle->vbmeta_images_); in LoadAndVerifyVbmeta()
313 avb_handle->vbmeta_images_.emplace_back(std::move(*vbmeta)); in LoadAndVerifyVbmeta()
401 avb_ops.AvbSlotVerify(fs_mgr_get_slot_suffix(), flags, &avb_handle->vbmeta_images_); in Open()
442 (AvbVBMetaImageHeader*)avb_handle->vbmeta_images_[0].data(), &vbmeta_header); in Open()
455 if (!avb_verifier->VerifyVbmetaImages(avb_handle->vbmeta_images_)) { in Open()
483 if (!fstab_entry || status_ == AvbHandleStatus::kUninitialized || vbmeta_images_.size() < 1) { in SetUpAvbHashtree()
[all …]
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_test_util.cpp52 auto iter = vbmeta_images_.find(file_name); in CalcVBMetaDigest()
53 EXPECT_NE(iter, vbmeta_images_.end()); // ensures file_name is generated before. in CalcVBMetaDigest()
115 vbmeta_images_.emplace(file_name, std::move(vbmeta_image)); in GenerateVBMetaImage()
117 return vbmeta_images_[file_name].path; // returns the path. in GenerateVBMetaImage()
137 vbmeta_images_.emplace(output_file_name, std::move(vbmeta_image)); in ExtractVBMetaImage()
140 return vbmeta_images_[output_file_name].path; in ExtractVBMetaImage()
210 auto iter = vbmeta_images_.find(file_name); in LoadVBMetaData()
211 EXPECT_NE(iter, vbmeta_images_.end()); // ensures file_name is generated before. in LoadVBMetaData()
240 auto iter = vbmeta_images_.find(file_name); in InfoImage()
241 EXPECT_NE(iter, vbmeta_images_.end()); // ensures file_name is generated before. in InfoImage()
Dfs_avb_test_util.h133 std::map<std::string, VBMetaImage> vbmeta_images_; variable
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dfs_avb.h142 std::vector<VBMetaData> vbmeta_images_; variable