struct AvbHashtreeDescriptor

Defined at line 66 of file ../../third_party/android/platform/external/avb/include/libavb/../../libavb/avb_hashtree_descriptor.h

A descriptor containing information about a dm-verity hashtree.

Hash-trees are used to verify large partitions typically containing

file systems. See

https://gitlab.com/cryptsetup/cryptsetup/wikis/DMVerity for more

information about dm-verity.

Following this struct are |partition_name_len| bytes of the

partition name (UTF-8 encoded), |salt_len| bytes of salt, and then

|root_digest_len| bytes of the root digest.

The |reserved| field is for future expansion and must be set to NUL

bytes.

Changes in v1.1:

- flags field is added which supports AVB_HASHTREE_DESCRIPTOR_FLAGS_USE_AB

- digest_len may be zero, which indicates the use of a persistent digest

Public Members

AvbDescriptor parent_descriptor
uint32_t dm_verity_version
uint64_t image_size
uint64_t tree_offset
uint64_t tree_size
uint32_t data_block_size
uint32_t hash_block_size
uint32_t fec_num_roots
uint64_t fec_offset
uint64_t fec_size
uint8_t[32] hash_algorithm
uint32_t partition_name_len
uint32_t salt_len
uint32_t root_digest_len
uint32_t flags
uint8_t[60] reserved