/system/apex/apexd/ |
D | apexd_verity.cpp | 106 auto golden_digest = HexToBin(verity_data.root_digest); in GenerateHashTree() 146 std::vector<unsigned char> root_digest; in CalculateRootDigest() local 147 if (!builder->CalculateRootDigest(root_verity, &root_digest)) { in CalculateRootDigest() 150 auto result = HashTreeBuilder::BytesArrayToString(root_digest); in CalculateRootDigest() 151 result.resize(verity_data.root_digest.size()); in CalculateRootDigest() 177 if (*digest != verity_data.root_digest) { in PrepareHashTree() 181 << verity_data.root_digest; in PrepareHashTree()
|
D | apex_file_test.cpp | 132 std::string root_digest; in TEST_P() local 133 ASSERT_TRUE(android::base::ReadFileToString(digest_path, &root_digest)) in TEST_P() 135 root_digest = android::base::Trim(root_digest); in TEST_P() 137 EXPECT_EQ(std::string(root_digest), data.root_digest); in TEST_P() 354 ASSERT_EQ(digest->root_digest, in TEST()
|
D | apex_file_repository.cpp | 275 if (auto root_digest = apex_config.root_digest(); root_digest != "") { in AddBlockApex() local 277 BytesToHex(reinterpret_cast<const uint8_t*>(root_digest.data()), in AddBlockApex() 278 root_digest.size()); in AddBlockApex()
|
D | apex_file.h | 37 std::string root_digest; member
|
D | apex_file_repository_test.cpp | 600 const std::string& root_digest = "", in apex() 606 apex->set_root_digest(root_digest); in apex() 729 const std::string root_digest = "root_digest"; in TEST_F() local 731 reinterpret_cast<const uint8_t*>(root_digest.data()), root_digest.size()); in TEST_F() 735 .apex(test_apex_foo, /*public_key=*/"", root_digest); in TEST_F()
|
D | apexd.cpp | 210 verity_data.hash_algorithm, verity_data.root_digest, verity_data.salt); in CreateVerityTable() 511 auto root_digest = instance.GetBlockApexRootDigest(apex.GetPath()); in MountPackageImpl() local 512 if (root_digest.has_value() && in MountPackageImpl() 513 root_digest.value() != verity_data->root_digest) { in MountPackageImpl() 515 << ": root digest (" << verity_data->root_digest in MountPackageImpl() 516 << ") mismatches with the one (" << root_digest.value() in MountPackageImpl() 3008 apex_verity->root_digest) { in ValidateDecompressedApex()
|
D | apex_file.cpp | 391 verity_data.root_digest = GetDigest(*verity_data.desc, trailing_data); in VerifyApexVerity()
|
D | apexd_test.cpp | 184 return digest->root_digest; in GetRootDigest() 217 const std::string& root_digest = "", in AddBlockApex() argument 221 AddToMetadata(apex_name, public_key, root_digest, is_factory); in AddBlockApex() 276 const std::string& root_digest, bool is_factory) { in AddToMetadata() argument 287 apex->set_root_digest(root_digest); in AddToMetadata()
|
/system/apex/tools/ |
D | apex_compression_tool.py | 138 root_digest = RunCommand(avbtool_cmd, verbose=verbose)[0].decode().split(': ')[1].strip() 145 capex_metadata.originalApexDigest = root_digest
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | fs_avb_util_test.cpp | 98 EXPECT_EQ(hashtree_desc->root_digest, "a3d5dd307341393d85de356c384ff543ec1ed81b"); in TEST_F()
|
/system/extras/verity/include/verity/ |
D | hash_tree_builder.h | 75 std::vector<unsigned char>* root_digest);
|
/system/core/fs_mgr/include/ |
D | fs_mgr.h | 73 std::string root_digest; member
|
/system/core/fs_mgr/libfs_avb/include/fs_avb/ |
D | types.h | 67 std::string root_digest; member
|
/system/core/fs_mgr/libdm/ |
D | dm_target.cpp | 68 const std::string& hash_algorithm, const std::string& root_digest, in DmTargetVerity() argument 80 root_digest, in DmTargetVerity()
|
/system/extras/verity/ |
D | hash_tree_builder.cpp | 222 std::vector<unsigned char>* root_digest) { in CalculateRootDigest() argument 226 return HashBlocks(root_verity.data(), block_size_, root_digest); in CalculateRootDigest()
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 70 hashtree_desc.root_digest, hashtree_desc.salt); in ConstructVerityTable() 173 hashtree_desc->root_digest = BytesToHex(desc_digest, hashtree_desc->root_digest_len); in GetHashtreeDescriptor()
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm_target.h | 125 const std::string& root_digest, const std::string& salt);
|
/system/sepolicy/prebuilts/api/33.0/private/ |
D | property_contexts | 1306 partition.system.verified.root_digest u:object_r:verity_status_prop:s0 exact string 1307 partition.system_ext.verified.root_digest u:object_r:verity_status_prop:s0 exact string 1308 partition.product.verified.root_digest u:object_r:verity_status_prop:s0 exact string 1309 partition.vendor.verified.root_digest u:object_r:verity_status_prop:s0 exact string 1310 partition.odm.verified.root_digest u:object_r:verity_status_prop:s0 exact string
|
/system/core/init/ |
D | builtins.cpp | 881 hashtree_info->root_digest); in do_verity_update_state()
|
/system/sepolicy/private/ |
D | property_contexts | 1453 partition.system.verified.root_digest u:object_r:verity_status_prop:s0 exact string 1454 partition.system_ext.verified.root_digest u:object_r:verity_status_prop:s0 exact string 1455 partition.product.verified.root_digest u:object_r:verity_status_prop:s0 exact string 1456 partition.vendor.verified.root_digest u:object_r:verity_status_prop:s0 exact string 1457 partition.odm.verified.root_digest u:object_r:verity_status_prop:s0 exact string
|
/system/sepolicy/prebuilts/api/34.0/private/ |
D | property_contexts | 1453 partition.system.verified.root_digest u:object_r:verity_status_prop:s0 exact string 1454 partition.system_ext.verified.root_digest u:object_r:verity_status_prop:s0 exact string 1455 partition.product.verified.root_digest u:object_r:verity_status_prop:s0 exact string 1456 partition.vendor.verified.root_digest u:object_r:verity_status_prop:s0 exact string 1457 partition.odm.verified.root_digest u:object_r:verity_status_prop:s0 exact string
|
/system/core/fs_mgr/ |
D | fs_mgr.cpp | 2226 .root_digest = android::base::Trim(tokens[8]), in fs_mgr_get_hashtree_info()
|