Searched refs:hashtree_descriptor (Results 1 – 2 of 2) sorted by relevance
90 AvbHashtreeDescriptor hashtree_descriptor; in parse_avb_image() local92 &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()[all …]
257 std::unique_ptr<FsAvbHashtreeDescriptor> hashtree_descriptor = in LoadAvbHashtreeToEnableVerity() local259 if (!hashtree_descriptor) { in LoadAvbHashtreeToEnableVerity()265 return HashtreeDmVeritySetup(fstab_entry, *hashtree_descriptor, wait_for_verity_dev); in LoadAvbHashtreeToEnableVerity()