Searched refs:hashtree_desc (Results 1 – 4 of 4) sorted by relevance
/system/core/fs_mgr/libfs_avb/tests/ |
D | fs_avb_util_test.cpp | 44 auto hashtree_desc = in TEST_F() local 46 EXPECT_NE(nullptr, hashtree_desc); in TEST_F() 82 EXPECT_EQ(1UL, hashtree_desc->dm_verity_version); in TEST_F() 83 EXPECT_EQ(10485760UL, hashtree_desc->image_size); in TEST_F() 84 EXPECT_EQ(10485760UL, hashtree_desc->tree_offset); in TEST_F() 85 EXPECT_EQ(86016UL, hashtree_desc->tree_size); in TEST_F() 86 EXPECT_EQ(4096UL, hashtree_desc->data_block_size); in TEST_F() 87 EXPECT_EQ(4096UL, hashtree_desc->hash_block_size); in TEST_F() 88 EXPECT_EQ(2UL, hashtree_desc->fec_num_roots); in TEST_F() 89 EXPECT_EQ(10571776UL, hashtree_desc->fec_offset); in TEST_F() [all …]
|
D | fs_avb_device_test.cpp | 91 auto hashtree_desc = in TEST() local 93 EXPECT_NE(nullptr, hashtree_desc); in TEST()
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 54 bool ConstructVerityTable(const FsAvbHashtreeDescriptor& hashtree_desc, in ConstructVerityTable() argument 74 hash_algorithm << hashtree_desc.hash_algorithm; in ConstructVerityTable() 77 0, hashtree_desc.image_size / 512, hashtree_desc.dm_verity_version, blk_device, in ConstructVerityTable() 78 blk_device, hashtree_desc.data_block_size, hashtree_desc.hash_block_size, in ConstructVerityTable() 79 hashtree_desc.image_size / hashtree_desc.data_block_size, in ConstructVerityTable() 80 hashtree_desc.tree_offset / hashtree_desc.hash_block_size, hash_algorithm.str(), in ConstructVerityTable() 81 hashtree_desc.root_digest, hashtree_desc.salt); in ConstructVerityTable() 82 if (hashtree_desc.fec_size > 0) { in ConstructVerityTable() 83 target.UseFec(blk_device, hashtree_desc.fec_num_roots, in ConstructVerityTable() 84 hashtree_desc.fec_offset / hashtree_desc.data_block_size, in ConstructVerityTable() [all …]
|
D | avb_util.h | 50 bool ConstructVerityTable(const FsAvbHashtreeDescriptor& hashtree_desc, 53 bool HashtreeDmVeritySetup(FstabEntry* fstab_entry, const FsAvbHashtreeDescriptor& hashtree_desc,
|