Searched refs:AvbVBMetaImageHeader (Results 1 – 13 of 13) sorted by relevance
/external/avb/test/ |
D | avb_vbmeta_image_unittest.cc | 56 EXPECT_EQ(256UL, sizeof(AvbVBMetaImageHeader)); in TEST_F() 156 AvbVBMetaImageHeader* h = in TEST_F() 157 reinterpret_cast<AvbVBMetaImageHeader*>(vbmeta_image_.data()); in TEST_F() 168 AvbVBMetaImageHeader* h = in TEST_F() 169 reinterpret_cast<AvbVBMetaImageHeader*>(vbmeta_image_.data()); in TEST_F() 180 AvbVBMetaImageHeader* h = in TEST_F() 181 reinterpret_cast<AvbVBMetaImageHeader*>(vbmeta_image_.data()); in TEST_F() 196 AvbVBMetaImageHeader* h = in TEST_F() 197 reinterpret_cast<AvbVBMetaImageHeader*>(vbmeta_image_.data()); in TEST_F() 198 AvbVBMetaImageHeader backup = *h; in TEST_F() [all …]
|
D | avbtool_unittest.cc | 89 AvbVBMetaImageHeader h; in TEST_F() 91 reinterpret_cast<AvbVBMetaImageHeader*>(vbmeta_image_.data()), &h); in TEST_F() 107 AvbVBMetaImageHeader h; in TEST_F() 109 reinterpret_cast<AvbVBMetaImageHeader*>(vbmeta_image_.data()), &h); in TEST_F() 135 AvbVBMetaImageHeader h; in TEST_F() 137 reinterpret_cast<AvbVBMetaImageHeader*>(vbmeta_image_.data()), &h); in TEST_F() 151 AvbVBMetaImageHeader h; in TEST_F() 153 reinterpret_cast<AvbVBMetaImageHeader*>(vbmeta_image_.data()), &h); in TEST_F() 156 sizeof(AvbVBMetaImageHeader) + h.authentication_data_block_size; in TEST_F() 180 AvbVBMetaImageHeader h; in TEST_F() [all …]
|
D | avb_slot_verify_unittest.cc | 2568 offsetof(AvbVBMetaImageHeader, flags), in VerificationDisabled()
|
/external/avb/libavb/ |
D | avb_vbmeta_image.c | 38 AvbVBMetaImageHeader h; in avb_vbmeta_image_verify() 58 if (length < sizeof(AvbVBMetaImageHeader)) { in avb_vbmeta_image_verify() 69 avb_vbmeta_image_header_to_host_byte_order((const AvbVBMetaImageHeader*)data, in avb_vbmeta_image_verify() 96 uint64_t block_total = sizeof(AvbVBMetaImageHeader); in avb_vbmeta_image_verify() 173 authentication_block = header_block + sizeof(AvbVBMetaImageHeader); in avb_vbmeta_image_verify() 183 &sha256_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify() 194 &sha512_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify() 242 void avb_vbmeta_image_header_to_host_byte_order(const AvbVBMetaImageHeader* src, in avb_vbmeta_image_header_to_host_byte_order() 243 AvbVBMetaImageHeader* dest) { in avb_vbmeta_image_header_to_host_byte_order() 244 avb_memcpy(dest, src, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_header_to_host_byte_order()
|
D | avb_vbmeta_image.h | 125 typedef struct AvbVBMetaImageHeader { struct 197 } AVB_ATTR_PACKED AvbVBMetaImageHeader; argument 204 void avb_vbmeta_image_header_to_host_byte_order(const AvbVBMetaImageHeader* src, 205 AvbVBMetaImageHeader* dest);
|
D | avb_descriptor.c | 45 const AvbVBMetaImageHeader* header = NULL; in avb_descriptor_foreach() 67 if (image_size < sizeof(AvbVBMetaImageHeader)) { in avb_descriptor_foreach() 80 header = (const AvbVBMetaImageHeader*)image_data; in avb_descriptor_foreach() 91 sizeof(AvbVBMetaImageHeader), in avb_descriptor_foreach()
|
D | avb_cmdline.h | 67 AvbVBMetaImageHeader* toplevel_vbmeta,
|
D | avb_slot_verify.c | 582 AvbVBMetaImageHeader vbmeta_header; in load_and_verify_vbmeta() 777 avb_vbmeta_image_header_to_host_byte_order((AvbVBMetaImageHeader*)vbmeta_buf, in load_and_verify_vbmeta() 819 pk_metadata = vbmeta_buf + sizeof(AvbVBMetaImageHeader) + in load_and_verify_vbmeta() 914 sizeof(AvbVBMetaImageHeader) + in load_and_verify_vbmeta() 1375 AvbVBMetaImageHeader toplevel_vbmeta; in avb_slot_verify() 1521 (const AvbVBMetaImageHeader*)slot_data->vbmeta_images[0].vbmeta_data, in avb_slot_verify()
|
D | avb_cmdline.c | 214 AvbVBMetaImageHeader* toplevel_vbmeta, in avb_append_options()
|
/external/avb/libavb_user/ |
D | avb_user_verity.c | 134 AvbVBMetaImageHeader* header; in avb_user_verity_get() 152 header = (AvbVBMetaImageHeader*)vbmeta_image; in avb_user_verity_get() 172 AvbVBMetaImageHeader* header; in avb_user_verity_set() 190 header = (AvbVBMetaImageHeader*)vbmeta_image; in avb_user_verity_set()
|
D | avb_user_verification.c | 134 AvbVBMetaImageHeader* header; in avb_user_verification_get() 152 header = (AvbVBMetaImageHeader*)vbmeta_image; in avb_user_verification_get() 173 AvbVBMetaImageHeader* header; in avb_user_verification_set() 191 header = (AvbVBMetaImageHeader*)vbmeta_image; in avb_user_verification_set()
|
/external/avb/examples/uefi/ |
D | main.c | 85 (const char*)((((AvbVBMetaImageHeader*)(slot_data->vbmeta_images[0] in efi_main()
|
/external/avb/ |
D | README.md | 332 The `AvbVBMetaImageHeader` struct (as defined in the 341 Note that it's entirely possible to have a `AvbVBMetaImageHeader`
|