Home
last modified time | relevance | path

Searched refs:AvbVBMetaImageHeader (Results 1 – 13 of 13) sorted by relevance

/external/avb/test/
Davb_vbmeta_image_unittest.cc56 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 …]
Davbtool_unittest.cc89 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 …]
Davb_slot_verify_unittest.cc2568 offsetof(AvbVBMetaImageHeader, flags), in VerificationDisabled()
/external/avb/libavb/
Davb_vbmeta_image.c38 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()
Davb_vbmeta_image.h125 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);
Davb_descriptor.c45 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()
Davb_cmdline.h67 AvbVBMetaImageHeader* toplevel_vbmeta,
Davb_slot_verify.c582 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()
Davb_cmdline.c214 AvbVBMetaImageHeader* toplevel_vbmeta, in avb_append_options()
/external/avb/libavb_user/
Davb_user_verity.c134 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()
Davb_user_verification.c134 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/
Dmain.c85 (const char*)((((AvbVBMetaImageHeader*)(slot_data->vbmeta_images[0] in efi_main()
/external/avb/
DREADME.md332 The `AvbVBMetaImageHeader` struct (as defined in the
341 Note that it's entirely possible to have a `AvbVBMetaImageHeader`