Home
last modified time | relevance | path

Searched refs:tree_size (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/payload_generator/
Dpayload_generation_config_android.cc64 hashtree.hash_block_size, hashtree.tree_offset, hashtree.tree_size); in AvbDescriptorCallback()
87 uint64_t tree_size = hash_tree_builder.CalculateSize(data_size); in VerifyVerityConfig() local
89 tree_size == part.verity.hash_tree_extent.num_blocks() * block_size); in VerifyVerityConfig()
111 tree_size, in VerifyVerityConfig()
204 uint64_t tree_size = in LoadVerityConfig() local
207 ExtentForRange(hash_start_block, tree_size / block_size); in LoadVerityConfig()
/system/extras/verity/
Dbuild_verity_tree_main.cpp130 uint64_t tree_size = builder.CalculateSize(calculate_size); in main() local
131 printf("%" PRIu64 "\n", tree_size); in main()
/system/core/adb/client/
Dincremental.cpp58 auto [signature, tree_size] = read_id_sig_headers(fd); in read_signature()
69 if (auto expected = verity_tree_size_for_file(file_size); tree_size != expected) { in read_signature()
73 signature_file.c_str(), (long long)tree_size, (long long)expected); in read_signature()
Dincremental_utils.cpp109 auto tree_size = int32_t(le32toh(le_tree_size)); // size of the verity tree in read_id_sig_headers() local
110 return {std::move(result), tree_size}; in read_id_sig_headers()
118 auto tree_size = int32_t(le32toh(le_tree_size)); // size of the verity tree in skip_id_sig_headers() local
119 return {offset + sizeof(le_tree_size), tree_size}; in skip_id_sig_headers()
Dincremental_server.cpp682 auto [tree_offset, tree_size] = skip_id_sig_headers(fd); in open_signature()
683 if (auto expected = verity_tree_size_for_file(file_size); tree_size != expected) { in open_signature()
685 signature_file.c_str(), (long long)tree_size, (long long)expected); in open_signature()
691 int(tree_size), int(numBytesToNumBlocks(tree_size)), int(leaf_nodes_count)); in open_signature()
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_util_test.cpp85 EXPECT_EQ(86016UL, hashtree_desc->tree_size); in TEST_F()
/system/extras/libfec/
Davb_utils.cpp122 hashtree_descriptor.tree_offset + hashtree_descriptor.tree_size); in parse_avb_image()
/system/apex/apexd/
Dapexd.cpp427 if (verityData->desc->tree_size == 0) { in MountPackageImpl()