Searched refs:VBMetaData (Results 1 – 15 of 15) sorted by relevance
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.h | 41 const std::vector<VBMetaData>& vbmeta_images); 45 const std::string& partition_name, const std::vector<VBMetaData>& vbmeta_images); 55 const std::vector<VBMetaData>& vbmeta_images, 72 std::unique_ptr<VBMetaData> VerifyVBMetaData(int fd, const std::string& partition_name, 77 VBMetaVerifyResult VerifyVBMetaSignature(const VBMetaData& vbmeta, 90 std::vector<ChainInfo> GetChainPartitionInfo(const VBMetaData& vbmeta, bool* fatal_error); 93 std::unique_ptr<VBMetaData> LoadAndVerifyVbmetaByPath( 107 std::vector<VBMetaData>* out_vbmeta_images);
|
D | fs_avb_util.cpp | 35 std::unique_ptr<VBMetaData> LoadAndVerifyVbmeta(const FstabEntry& fstab_entry, in LoadAndVerifyVbmeta() 69 const std::string& avb_partition_name, VBMetaData&& vbmeta) { in GetHashtreeDescriptor() 72 std::vector<VBMetaData> vbmeta_images; in GetHashtreeDescriptor()
|
D | avb_util.cpp | 39 const std::vector<VBMetaData>& vbmeta_images) { in GetAvbPropertyDescriptor() 136 const std::string& partition_name, const std::vector<VBMetaData>& vbmeta_images) { in GetHashtreeDescriptor() 195 const std::vector<VBMetaData>& vbmeta_images, in LoadAvbHashtreeToEnableVerity() 345 VBMetaVerifyResult VerifyVBMetaSignature(const VBMetaData& vbmeta, in VerifyVBMetaSignature() 397 std::unique_ptr<VBMetaData> VerifyVBMetaData(int fd, const std::string& partition_name, in VerifyVBMetaData() 402 uint64_t vbmeta_size = VBMetaData::kMaxVBMetaSize; in VerifyVBMetaData() 418 if (vbmeta_size > VBMetaData::kMaxVBMetaSize) { in VerifyVBMetaData() 423 auto vbmeta = std::make_unique<VBMetaData>(vbmeta_size, partition_name); in VerifyVBMetaData() 453 std::vector<ChainInfo> GetChainPartitionInfo(const VBMetaData& vbmeta, bool* fatal_error) { in GetChainPartitionInfo() 495 std::unique_ptr<VBMetaData> LoadAndVerifyVbmetaByPath( in LoadAndVerifyVbmetaByPath() [all …]
|
D | fs_avb.cpp | 51 std::pair<size_t, bool> VerifyVbmetaDigest(const std::vector<VBMetaData>& vbmeta_images, in VerifyVbmetaDigest() 66 std::pair<std::string, size_t> CalculateVbmetaDigest(const std::vector<VBMetaData>& vbmeta_images) { in CalculateVbmetaDigest() 92 bool VerifyVbmetaImages(const std::vector<VBMetaData>& vbmeta_images); 149 bool AvbVerifier::VerifyVbmetaImages(const std::vector<VBMetaData>& vbmeta_images) { in VerifyVbmetaImages() 281 std::unique_ptr<VBMetaData> vbmeta = LoadAndVerifyVbmetaByPath( in LoadAndVerifyVbmeta()
|
D | avb_ops.h | 61 std::vector<VBMetaData>* out_vbmeta_images);
|
D | types.cpp | 76 std::unique_ptr<AvbVBMetaImageHeader> VBMetaData::GetVBMetaHeader(bool update_vbmeta_size) { in GetVBMetaHeader()
|
D | avb_ops.cpp | 228 std::vector<VBMetaData>* out_vbmeta_images) { in AvbSlotVerify() 247 out_vbmeta_images->emplace_back(VBMetaData(avb_slot_data->vbmeta_images[i].vbmeta_data, in AvbSlotVerify()
|
/system/core/fs_mgr/libfs_avb/include/fs_avb/ |
D | types.h | 64 class VBMetaData { 67 VBMetaData() : vbmeta_ptr_(nullptr), vbmeta_size_(0){}; in VBMetaData() function 69 VBMetaData(const uint8_t* data, size_t size, const std::string& partition_name) in VBMetaData() function 78 explicit VBMetaData(size_t size, const std::string& partition_name) in VBMetaData() function
|
D | fs_avb_util.h | 29 std::unique_ptr<VBMetaData> LoadAndVerifyVbmeta(const FstabEntry& fstab_entry, 37 const std::string& avb_partition_name, VBMetaData&& vbmeta);
|
D | fs_avb.h | 135 std::vector<VBMetaData> vbmeta_images_;
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | fs_avb_test_util.h | 45 using android::fs_mgr::VBMetaData; 106 VBMetaData GenerateImageAndExtractVBMetaData( 111 VBMetaData ExtractAndLoadVBMetaData(const base::FilePath& image_path, 114 VBMetaData LoadVBMetaData(const std::string& file_name);
|
D | fs_avb_device_test.cpp | 30 using android::fs_mgr::VBMetaData; 47 std::unique_ptr<VBMetaData> vbmeta = in TEST() 82 std::unique_ptr<VBMetaData> system_other_vbmeta = in TEST()
|
D | avb_util_test.cpp | 39 using android::fs_mgr::VBMetaData; 55 bool TestVBMetaModification(VBMetaVerifyResult expected_result, const VBMetaData& vbmeta, 61 bool CompareVBMeta(const base::FilePath& avb_image_path, const VBMetaData& expected_vbmeta); 283 std::vector<VBMetaData> vbmeta_images; in TEST_F() 325 std::vector<VBMetaData> vbmeta_images; in TEST_F() 367 VBMetaData vbmeta((uint8_t*)content.data(), content.size(), "boot-vbmeta"); in TEST_F() 391 VBMetaData vbmeta_padding((const uint8_t*)content_padding.data(), content_padding.size(), in TEST_F() 519 const VBMetaData& vbmeta, size_t offset, size_t length) { in TestVBMetaModification() 587 VBMetaData invalid_vbmeta((const uint8_t*)vbmeta_buffer.data(), vbmeta_buffer.size(), in TEST_F() 595 const VBMetaData& expected_vbmeta) { in CompareVBMeta() [all …]
|
D | fs_avb_test_util.cpp | 187 VBMetaData BaseFsAvbTest::GenerateImageAndExtractVBMetaData( in GenerateImageAndExtractVBMetaData() 209 VBMetaData BaseFsAvbTest::LoadVBMetaData(const std::string& file_name) { in LoadVBMetaData() 224 VBMetaData BaseFsAvbTest::ExtractAndLoadVBMetaData(const base::FilePath& image_path, in ExtractAndLoadVBMetaData()
|
D | fs_avb_test.cpp | 278 std::vector<VBMetaData> vbmeta_images; in TEST_F()
|