Home
last modified time | relevance | path

Searched refs:AvbKernelCmdlineDescriptor (Results 1 – 10 of 10) sorted by relevance

/external/avb/libavb/
Davb_kernel_cmdline_descriptor.h62 typedef struct AvbKernelCmdlineDescriptor { struct
66 } AVB_ATTR_PACKED AvbKernelCmdlineDescriptor; argument
74 const AvbKernelCmdlineDescriptor* src,
75 AvbKernelCmdlineDescriptor* dest) AVB_ATTR_WARN_UNUSED_RESULT;
Davb_kernel_cmdline_descriptor.c29 const AvbKernelCmdlineDescriptor* src, AvbKernelCmdlineDescriptor* dest) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
32 avb_memcpy(dest, src, sizeof(AvbKernelCmdlineDescriptor)); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
47 expected_size = sizeof(AvbKernelCmdlineDescriptor) - sizeof(AvbDescriptor); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
Davb_slot_verify.c995 AvbKernelCmdlineDescriptor kernel_cmdline_desc; in load_and_verify_vbmeta()
999 (AvbKernelCmdlineDescriptor*)descriptors[n], in load_and_verify_vbmeta()
1009 sizeof(AvbKernelCmdlineDescriptor); in load_and_verify_vbmeta()
/external/u-boot/lib/libavb/
Davb_kernel_cmdline_descriptor.h43 typedef struct AvbKernelCmdlineDescriptor { struct
47 } AVB_ATTR_PACKED AvbKernelCmdlineDescriptor; argument
55 const AvbKernelCmdlineDescriptor* src,
56 AvbKernelCmdlineDescriptor* dest) AVB_ATTR_WARN_UNUSED_RESULT;
Davb_kernel_cmdline_descriptor.c10 const AvbKernelCmdlineDescriptor* src, AvbKernelCmdlineDescriptor* dest) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
13 avb_memcpy(dest, src, sizeof(AvbKernelCmdlineDescriptor)); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
28 expected_size = sizeof(AvbKernelCmdlineDescriptor) - sizeof(AvbDescriptor); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
Davb_slot_verify.c882 AvbKernelCmdlineDescriptor kernel_cmdline_desc; in load_and_verify_vbmeta()
886 (AvbKernelCmdlineDescriptor*)descriptors[n], in load_and_verify_vbmeta()
896 sizeof(AvbKernelCmdlineDescriptor); in load_and_verify_vbmeta()
/external/avb/test/
Davb_util_unittest.cc118 AvbKernelCmdlineDescriptor h; in TEST_F()
119 AvbKernelCmdlineDescriptor s; in TEST_F()
120 AvbKernelCmdlineDescriptor bad; in TEST_F()
125 nbf = 40 + sizeof(AvbKernelCmdlineDescriptor) - sizeof(AvbDescriptor); in TEST_F()
Davb_slot_verify_unittest.cc885 AvbKernelCmdlineDescriptor cmdline_desc; in TEST_F()
888 ((AvbKernelCmdlineDescriptor*)descriptors[1]), &cmdline_desc)); in TEST_F()
890 sizeof(AvbKernelCmdlineDescriptor); in TEST_F()
1075 AvbKernelCmdlineDescriptor cmdline_desc; in TEST_F()
1078 ((AvbKernelCmdlineDescriptor*)descriptors[1]), &cmdline_desc)); in TEST_F()
1080 sizeof(AvbKernelCmdlineDescriptor); in TEST_F()
Davbtool_unittest.cc1724 AvbKernelCmdlineDescriptor d; in TEST_F()
1730 reinterpret_cast<const AvbKernelCmdlineDescriptor*>(descriptors[0]), in TEST_F()
1734 sizeof(AvbKernelCmdlineDescriptor), in TEST_F()
1741 reinterpret_cast<const AvbKernelCmdlineDescriptor*>(descriptors[1]), in TEST_F()
1745 sizeof(AvbKernelCmdlineDescriptor), in TEST_F()
/external/avb/
Davbtool1563 class AvbKernelCmdlineDescriptor(AvbDescriptor): class
1785 AvbKernelCmdlineDescriptor, AvbChainPartitionDescriptor
2371 if isinstance(ch_desc, AvbKernelCmdlineDescriptor):
2373 elif isinstance(desc, AvbKernelCmdlineDescriptor):
2379 if (desc.flags & AvbKernelCmdlineDescriptor.FLAGS_USE_ONLY_IF_HASHTREE_NOT_DISABLED) != 0:
2382 if (desc.flags & AvbKernelCmdlineDescriptor.FLAGS_USE_ONLY_IF_HASHTREE_DISABLED) != 0:
2506 desc = AvbKernelCmdlineDescriptor()
2509 AvbKernelCmdlineDescriptor.FLAGS_USE_ONLY_IF_HASHTREE_NOT_DISABLED)
2513 desc_no_ht = AvbKernelCmdlineDescriptor()
2516 AvbKernelCmdlineDescriptor.FLAGS_USE_ONLY_IF_HASHTREE_DISABLED)
[all …]