Searched refs:vbmeta_images (Results 1 – 7 of 7) sorted by relevance
/system/core/fs_mgr/libfs_avb/ |
D | fs_avb_util.cpp | 72 std::vector<VBMetaData> vbmeta_images; in GetHashtreeDescriptor() local 73 vbmeta_images.emplace_back(std::move(vbmeta)); in GetHashtreeDescriptor() 74 return GetHashtreeDescriptor(avb_partition_name, vbmeta_images); in GetHashtreeDescriptor() 82 std::vector<VBMetaData> vbmeta_images; in GetHashDescriptor() local 83 vbmeta_images.emplace_back(std::move(vbmeta)); in GetHashDescriptor() 84 return GetHashDescriptor(avb_partition_name, vbmeta_images); in GetHashDescriptor()
|
D | avb_util.h | 41 const std::vector<VBMetaData>& vbmeta_images); 44 const std::string& partition_name, const std::vector<VBMetaData>& vbmeta_images); 48 const std::string& partition_name, const std::vector<VBMetaData>& vbmeta_images); 58 const std::vector<VBMetaData>& vbmeta_images,
|
D | fs_avb.cpp | 53 std::pair<size_t, bool> VerifyVbmetaDigest(const std::vector<VBMetaData>& vbmeta_images, in VerifyVbmetaDigest() argument 57 for (const auto& vbmeta : vbmeta_images) { in VerifyVbmetaDigest() 68 std::pair<std::string, size_t> CalculateVbmetaDigest(const std::vector<VBMetaData>& vbmeta_images) { in CalculateVbmetaDigest() argument 73 for (const auto& vbmeta : vbmeta_images) { in CalculateVbmetaDigest() 94 bool VerifyVbmetaImages(const std::vector<VBMetaData>& vbmeta_images); 151 bool AvbVerifier::VerifyVbmetaImages(const std::vector<VBMetaData>& vbmeta_images) { in VerifyVbmetaImages() argument 152 if (vbmeta_images.empty()) { in VerifyVbmetaImages() 162 VerifyVbmetaDigest<SHA256Hasher>(vbmeta_images, digest_); in VerifyVbmetaImages() 165 VerifyVbmetaDigest<SHA512Hasher>(vbmeta_images, digest_); in VerifyVbmetaImages()
|
D | avb_ops.cpp | 247 out_vbmeta_images->emplace_back(VBMetaData(avb_slot_data->vbmeta_images[i].vbmeta_data, in AvbSlotVerify() 248 avb_slot_data->vbmeta_images[i].vbmeta_size, in AvbSlotVerify() 249 avb_slot_data->vbmeta_images[i].partition_name)); in AvbSlotVerify()
|
D | avb_util.cpp | 39 const std::vector<VBMetaData>& vbmeta_images) { in GetAvbPropertyDescriptor() argument 41 for (const auto& vbmeta : vbmeta_images) { in GetAvbPropertyDescriptor() 128 const std::string& partition_name, const std::vector<VBMetaData>& vbmeta_images) { in GetHashDescriptor() argument 133 for (const auto& vbmeta : vbmeta_images) { in GetHashDescriptor() 186 const std::string& partition_name, const std::vector<VBMetaData>& vbmeta_images) { in GetHashtreeDescriptor() argument 191 for (const auto& vbmeta : vbmeta_images) { in GetHashtreeDescriptor() 245 const std::vector<VBMetaData>& vbmeta_images, in LoadAvbHashtreeToEnableVerity() argument 258 GetHashtreeDescriptor(partition_name, vbmeta_images); in LoadAvbHashtreeToEnableVerity()
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | avb_util_test.cpp | 283 std::vector<VBMetaData> vbmeta_images; in TEST_F() local 284 vbmeta_images.emplace_back(std::move(vbmeta)); in TEST_F() 286 EXPECT_EQ("android", GetAvbPropertyDescriptor("foo", vbmeta_images)); in TEST_F() 287 EXPECT_EQ("treble", GetAvbPropertyDescriptor("bar", vbmeta_images)); in TEST_F() 288 EXPECT_EQ("", GetAvbPropertyDescriptor("non-existent", vbmeta_images)); in TEST_F() 325 std::vector<VBMetaData> vbmeta_images; in TEST_F() local 326 vbmeta_images.emplace_back(std::move(vbmeta)); in TEST_F() 327 vbmeta_images.emplace_back(std::move(system_vbmeta)); in TEST_F() 330 GetAvbPropertyDescriptor("com.android.build.system.security_patch", vbmeta_images)); in TEST_F() 1235 std::vector<VBMetaData> vbmeta_images; in TEST_F() local [all …]
|
D | fs_avb_test.cpp | 278 std::vector<VBMetaData> vbmeta_images; in TEST_F() local
|