struct AvbPartitionData

Defined at line 155 of file ../../third_party/android/platform/external/avb/include/libavb/../../libavb/avb_slot_verify.h

AvbPartitionData contains data loaded from partitions when using

avb_slot_verify(). The |partition_name| field contains the name of

the partition (without A/B suffix), |data| points to the loaded

data which is |data_size| bytes long. If |preloaded| is set to true,

this structure dose not own |data|. The caller of |avb_slot_verify|

needs to make sure that the preloaded data outlives this

|AvbPartitionData| structure.

Note that this is strictly less than the partition size - it's only

the image stored there, not the entire partition nor any of the

metadata.

Public Members

char * partition_name
uint8_t * data
size_t data_size
bool preloaded