Lines Matching refs:hashtree_descriptor

90     AvbHashtreeDescriptor hashtree_descriptor;  in parse_avb_image()  local
92 &hashtree_descriptor)) { in parse_avb_image()
103 sizeof(AvbHashtreeDescriptor) + hashtree_descriptor.partition_name_len; in parse_avb_image()
104 uint32_t root_offset = salt_offset + hashtree_descriptor.salt_len; in parse_avb_image()
105 check(hashtree_descriptor.salt_len < vbmeta.size()); in parse_avb_image()
106 check(salt_offset < vbmeta.size() - hashtree_descriptor.salt_len); in parse_avb_image()
107 check(hashtree_descriptor.root_digest_len < vbmeta.size()); in parse_avb_image()
108 check(root_offset < vbmeta.size() - hashtree_descriptor.root_digest_len); in parse_avb_image()
111 read_ptr + salt_offset + hashtree_descriptor.salt_len); in parse_avb_image()
114 read_ptr + root_offset + hashtree_descriptor.root_digest_len); in parse_avb_image()
121 check(hashtree_descriptor.fec_offset == in parse_avb_image()
122 hashtree_descriptor.tree_offset + hashtree_descriptor.tree_size); in parse_avb_image()
123 check(hashtree_descriptor.fec_offset <= in parse_avb_image()
124 f->size - hashtree_descriptor.fec_size); in parse_avb_image()
126 f->data_size = hashtree_descriptor.fec_offset; in parse_avb_image()
130 f->ecc.size = hashtree_descriptor.fec_size; in parse_avb_image()
131 f->ecc.start = hashtree_descriptor.fec_offset; in parse_avb_image()
136 reinterpret_cast<char *>(hashtree_descriptor.hash_algorithm); in parse_avb_image()
147 hashtree.initialize(hashtree_descriptor.tree_offset, in parse_avb_image()
148 hashtree_descriptor.tree_offset / FEC_BLOCKSIZE, salt, in parse_avb_image()