Home
last modified time | relevance | path

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

/system/extras/libfec/
Dfec_verity.cpp141 int hashtree_info::initialize(uint64_t hash_start, uint64_t data_blocks, in initialize() argument
145 this->hash_start = hash_start; in initialize()
216 check(hash_start < UINT64_MAX - hash_size); in verify_tree()
217 check(hash_start + hash_size <= f->data_size); in verify_tree()
219 uint64_t hash_offset = hash_start; in verify_tree()
368 uint64_t hash_start = 0; in parse_table() local
399 &hash_start) == -1) { in parse_table()
404 hash_start *= FEC_BLOCKSIZE; in parse_table()
443 check(hash_start < f->data_size); in parse_table()
446 if (v->metadata_start < hash_start) { in parse_table()
[all …]
Dfec_private.h83 uint64_t hash_start; member
91 int initialize(uint64_t hash_start, uint64_t data_blocks,
Dfec_open.cpp314 f->verity.hashtree.hash_start); in load_verity()
324 f->verity.hashtree.hash_start); in load_verity()
338 f->verity.hashtree.hash_start); in load_verity()
441 check(f->data_size <= f->verity.hashtree.hash_start); in fec_verity_get_metadata()
Davb_utils.cpp156 f->data_size = hashtree.hash_start; in parse_avb_image()
/system/extras/libfec/test/
Dfec_unittest.cpp147 ASSERT_EQ(1024 * 1024, handle->hashtree().hash_start); in TEST_F()
236 ASSERT_EQ(1024 * 1024, handle->hashtree().hash_start); in TEST_F()