struct AvbHashDescriptor
Defined at line 64 of file ../../third_party/android/platform/external/avb/include/libavb/../../libavb/avb_hash_descriptor.h
A descriptor containing information about hash for an image.
This descriptor is typically used for boot partitions to verify the
entire kernel+initramfs image before executing it.
Following this struct are |partition_name_len| bytes of the
partition name (UTF-8 encoded), |salt_len| bytes of salt, and then
|digest_len| bytes of the 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_HASH_DESCRIPTOR_FLAGS_USE_AB
- digest_len may be zero, which indicates the use of a persistent digest
Public Members
AvbDescriptor parent_descriptor
uint64_t image_size
uint8_t[32] hash_algorithm
uint32_t partition_name_len
uint32_t salt_len
uint32_t digest_len
uint32_t flags
uint8_t[60] reserved