Home
last modified time | relevance | path

Searched refs:AvbHashtreeDescriptor (Results 1 – 9 of 9) sorted by relevance

/external/u-boot/lib/libavb/
Davb_hashtree_descriptor.h47 typedef struct AvbHashtreeDescriptor { struct
64 } AVB_ATTR_PACKED AvbHashtreeDescriptor; argument
72 const AvbHashtreeDescriptor* src,
73 AvbHashtreeDescriptor* dest) AVB_ATTR_WARN_UNUSED_RESULT;
Davb_hashtree_descriptor.c10 const AvbHashtreeDescriptor* src, AvbHashtreeDescriptor* dest) { in avb_hashtree_descriptor_validate_and_byteswap()
13 avb_memcpy(dest, src, sizeof(AvbHashtreeDescriptor)); in avb_hashtree_descriptor_validate_and_byteswap()
39 expected_size = sizeof(AvbHashtreeDescriptor) - sizeof(AvbDescriptor); in avb_hashtree_descriptor_validate_and_byteswap()
Davb_slot_verify.c958 AvbHashtreeDescriptor hashtree_desc; in load_and_verify_vbmeta()
961 (AvbHashtreeDescriptor*)descriptors[n], &hashtree_desc)) { in load_and_verify_vbmeta()
977 ((const uint8_t*)descriptors[n]) + sizeof(AvbHashtreeDescriptor); in load_and_verify_vbmeta()
/external/avb/libavb/
Davb_hashtree_descriptor.h66 typedef struct AvbHashtreeDescriptor { struct
83 } AVB_ATTR_PACKED AvbHashtreeDescriptor; argument
91 const AvbHashtreeDescriptor* src,
92 AvbHashtreeDescriptor* dest) AVB_ATTR_WARN_UNUSED_RESULT;
Davb_hashtree_descriptor.c29 const AvbHashtreeDescriptor* src, AvbHashtreeDescriptor* dest) { in avb_hashtree_descriptor_validate_and_byteswap()
32 avb_memcpy(dest, src, sizeof(AvbHashtreeDescriptor)); in avb_hashtree_descriptor_validate_and_byteswap()
58 expected_size = sizeof(AvbHashtreeDescriptor) - sizeof(AvbDescriptor); in avb_hashtree_descriptor_validate_and_byteswap()
Davb_slot_verify.c1071 AvbHashtreeDescriptor hashtree_desc; in load_and_verify_vbmeta()
1074 (AvbHashtreeDescriptor*)descriptors[n], &hashtree_desc)) { in load_and_verify_vbmeta()
1090 ((const uint8_t*)descriptors[n]) + sizeof(AvbHashtreeDescriptor); in load_and_verify_vbmeta()
/external/avb/test/
Davb_util_unittest.cc156 AvbHashtreeDescriptor h; in TEST_F()
157 AvbHashtreeDescriptor s; in TEST_F()
158 AvbHashtreeDescriptor bad; in TEST_F()
164 nbf = 44 + sizeof(AvbHashtreeDescriptor) - sizeof(AvbDescriptor); in TEST_F()
Davbtool_unittest.cc1072 AvbHashtreeDescriptor d; in AddHashtreeFooterTest()
1076 reinterpret_cast<const AvbHashtreeDescriptor*>(descriptors[0]), &d)); in AddHashtreeFooterTest()
1087 sizeof(AvbHashtreeDescriptor); in AddHashtreeFooterTest()
1299 AvbHashtreeDescriptor d; in AddHashtreeFooterFECTest()
1303 reinterpret_cast<const AvbHashtreeDescriptor*>(descriptors[0]), &d)); in AddHashtreeFooterFECTest()
1316 sizeof(AvbHashtreeDescriptor); in AddHashtreeFooterFECTest()
/external/avb/
Davbtool1226 class AvbHashtreeDescriptor(AvbDescriptor): class
1784 AvbPropertyDescriptor, AvbHashtreeDescriptor, AvbHashDescriptor,
2073 if isinstance(desc, AvbHashtreeDescriptor):
2540 if isinstance(desc, AvbHashtreeDescriptor):
3337 ht_desc = AvbHashtreeDescriptor()