Home
last modified time | relevance | path

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

/external/u-boot/lib/libavb/
Davb_hash_descriptor.h45 typedef struct AvbHashDescriptor { struct
54 } AVB_ATTR_PACKED AvbHashDescriptor; argument
61 bool avb_hash_descriptor_validate_and_byteswap(const AvbHashDescriptor* src,
62 AvbHashDescriptor* dest)
Davb_hash_descriptor.c9 bool avb_hash_descriptor_validate_and_byteswap(const AvbHashDescriptor* src, in avb_hash_descriptor_validate_and_byteswap()
10 AvbHashDescriptor* dest) { in avb_hash_descriptor_validate_and_byteswap()
13 avb_memcpy(dest, src, sizeof(AvbHashDescriptor)); in avb_hash_descriptor_validate_and_byteswap()
31 expected_size = sizeof(AvbHashDescriptor) - sizeof(AvbDescriptor); in avb_hash_descriptor_validate_and_byteswap()
Davb_slot_verify.c165 AvbHashDescriptor hash_desc; in load_and_verify_hash_partition()
183 (const AvbHashDescriptor*)descriptor, &hash_desc)) { in load_and_verify_hash_partition()
189 ((const uint8_t*)descriptor) + sizeof(AvbHashDescriptor); in load_and_verify_hash_partition()
/external/avb/libavb/
Davb_hash_descriptor.h64 typedef struct AvbHashDescriptor { struct
73 } AVB_ATTR_PACKED AvbHashDescriptor; argument
80 bool avb_hash_descriptor_validate_and_byteswap(const AvbHashDescriptor* src,
81 AvbHashDescriptor* dest)
Davb_hash_descriptor.c28 bool avb_hash_descriptor_validate_and_byteswap(const AvbHashDescriptor* src, in avb_hash_descriptor_validate_and_byteswap()
29 AvbHashDescriptor* dest) { in avb_hash_descriptor_validate_and_byteswap()
32 avb_memcpy(dest, src, sizeof(AvbHashDescriptor)); in avb_hash_descriptor_validate_and_byteswap()
50 expected_size = sizeof(AvbHashDescriptor) - sizeof(AvbDescriptor); in avb_hash_descriptor_validate_and_byteswap()
Davb_slot_verify.c285 AvbHashDescriptor hash_desc; in load_and_verify_hash_partition()
303 (const AvbHashDescriptor*)descriptor, &hash_desc)) { in load_and_verify_hash_partition()
309 ((const uint8_t*)descriptor) + sizeof(AvbHashDescriptor); in load_and_verify_hash_partition()
/external/avb/test/
Davb_util_unittest.cc245 AvbHashDescriptor h; in TEST_F()
246 AvbHashDescriptor s; in TEST_F()
247 AvbHashDescriptor bad; in TEST_F()
251 nbf = 44 + sizeof(AvbHashDescriptor) - sizeof(AvbDescriptor); in TEST_F()
Davb_slot_verify_unittest.cc870 AvbHashDescriptor hash_desc; in TEST_F()
873 ((AvbHashDescriptor*)descriptors[0]), &hash_desc)); in TEST_F()
875 sizeof(AvbHashDescriptor); in TEST_F()
1060 AvbHashDescriptor hash_desc; in TEST_F()
1063 ((AvbHashDescriptor*)descriptors[0]), &hash_desc)); in TEST_F()
1065 sizeof(AvbHashDescriptor); in TEST_F()
Davbtool_unittest.cc584 AvbHashDescriptor d; in AddHashFooterTest()
588 reinterpret_cast<const AvbHashDescriptor*>(descriptors[0]), &d)); in AddHashFooterTest()
594 sizeof(AvbHashDescriptor); in AddHashFooterTest()
/external/avb/
Davbtool1423 class AvbHashDescriptor(AvbDescriptor): class
1784 AvbPropertyDescriptor, AvbHashtreeDescriptor, AvbHashDescriptor,
3092 h_desc = AvbHashDescriptor()