Home
last modified time | relevance | path

Searched refs:verity_data (Results 1 – 5 of 5) sorted by relevance

/system/apex/apexd/
Dapexd_verity.cpp60 const ApexVerityData& verity_data, in GenerateHashTree() argument
67 auto block_size = verity_data.desc->hash_block_size; in GenerateHashTree()
68 auto image_size = verity_data.desc->image_size; in GenerateHashTree()
70 auto hash_fn = HashTreeBuilder::HashFunction(verity_data.hash_algorithm); in GenerateHashTree()
73 << verity_data.hash_algorithm; in GenerateHashTree()
77 if (!builder->Initialize(image_size, HexToBin(verity_data.salt))) { in GenerateHashTree()
99 auto golden_digest = HexToBin(verity_data.root_digest); in GenerateHashTree()
117 const ApexVerityData& verity_data) { in CalculateRootDigest() argument
122 auto block_size = verity_data.desc->hash_block_size; in CalculateRootDigest()
123 auto image_size = verity_data.desc->image_size; in CalculateRootDigest()
[all …]
Dapexd_verity_test.cpp53 auto verity_data = apex->VerifyApexVerity(); in TEST() local
54 ASSERT_TRUE(IsOk(verity_data)); in TEST()
57 auto status = PrepareHashTree(*apex, *verity_data, hashtree_file); in TEST()
67 status = PrepareHashTree(*apex, *verity_data, hashtree_file); in TEST()
86 auto verity_data = apex->VerifyApexVerity(); in TEST() local
87 ASSERT_TRUE(IsOk(verity_data)); in TEST()
90 auto status = PrepareHashTree(*apex, *verity_data, hashtree_file); in TEST()
Dapexd_verity.h35 const ApexFile& apex, const ApexVerityData& verity_data,
Dapexd.cpp182 std::unique_ptr<DmTable> createVerityTable(const ApexVerityData& verity_data, in createVerityTable() argument
186 AvbHashtreeDescriptor* desc = verity_data.desc.get(); in createVerityTable()
198 verity_data.hash_algorithm, verity_data.root_digest, verity_data.salt); in createVerityTable()
/system/update_engine/payload_generator/
Dpayload_generation_config_android.cc174 fec_verity_metadata verity_data; in LoadVerityConfig() local
175 if (fh.get_verity_metadata(verity_data)) { in LoadVerityConfig()
176 auto verity_table = base::SplitString(verity_data.table, in LoadVerityConfig()