Searched refs:AvbABData (Results 1 – 5 of 5) sorted by relevance
/external/avb/libavb_ab/ |
D | avb_ab_flow.c | 27 bool avb_ab_data_verify_and_byteswap(const AvbABData* src, AvbABData* dest) { in avb_ab_data_verify_and_byteswap() 34 avb_memcpy(dest, src, sizeof(AvbABData)); in avb_ab_data_verify_and_byteswap() 47 avb_crc32((const uint8_t*)dest, sizeof(AvbABData) - sizeof(uint32_t))) { in avb_ab_data_verify_and_byteswap() 55 void avb_ab_data_update_crc_and_byteswap(const AvbABData* src, in avb_ab_data_update_crc_and_byteswap() 56 AvbABData* dest) { in avb_ab_data_update_crc_and_byteswap() 57 avb_memcpy(dest, src, sizeof(AvbABData)); in avb_ab_data_update_crc_and_byteswap() 59 avb_crc32((const uint8_t*)dest, sizeof(AvbABData) - sizeof(uint32_t))); in avb_ab_data_update_crc_and_byteswap() 62 void avb_ab_data_init(AvbABData* data) { in avb_ab_data_init() 63 avb_memset(data, '\0', sizeof(AvbABData)); in avb_ab_data_init() 83 AvbIOResult avb_ab_data_read(AvbABOps* ab_ops, AvbABData* data) { in avb_ab_data_read() [all …]
|
D | avb_ab_flow.h | 82 typedef struct AvbABData { struct 101 } AVB_ATTR_PACKED AvbABData; argument 107 bool avb_ab_data_verify_and_byteswap(const AvbABData* src, AvbABData* dest); 112 void avb_ab_data_update_crc_and_byteswap(const AvbABData* src, AvbABData* dest); 117 void avb_ab_data_init(AvbABData* data); 127 AvbIOResult avb_ab_data_read(AvbABOps* ab_ops, AvbABData* data); 133 AvbIOResult avb_ab_data_write(AvbABOps* ab_ops, const AvbABData* data);
|
D | avb_ab_ops.h | 42 struct AvbABData; 62 AvbIOResult (*read_ab_metadata)(AvbABOps* ab_ops, struct AvbABData* data); 72 const struct AvbABData* data);
|
/external/avb/test/ |
D | avb_ab_flow_unittest.cc | 40 static_assert(sizeof(AvbABData) == AVB_AB_DATA_SIZE, 42 static_assert(offsetof(AvbABData, slots) % 8 == 0, 52 AvbABData data; in TEST_F() 68 AvbABData data; in TEST_F() 69 AvbABData serialized; in TEST_F() 70 AvbABData restored; in TEST_F() 88 AvbABData data; in TEST_F() 89 AvbABData serialized; in TEST_F() 90 AvbABData restored; in TEST_F() 99 AvbABData data; in TEST_F() [all …]
|
/external/avb/boot_control/ |
D | boot_control_avb.c | 101 AvbABData ab_data; in module_isSlotBootable() 121 AvbABData ab_data; in module_isSlotMarkedSuccessful()
|