Home
last modified time | relevance | path

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

/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.cc244 AvbHashDescriptor h; in TEST_F()
245 AvbHashDescriptor s; in TEST_F()
246 AvbHashDescriptor bad; in TEST_F()
250 nbf = 44 + sizeof(AvbHashDescriptor) - sizeof(AvbDescriptor); in TEST_F()
Davb_slot_verify_unittest.cc1085 AvbHashDescriptor hash_desc; in TEST_F()
1088 ((AvbHashDescriptor*)descriptors[0]), &hash_desc)); in TEST_F()
1090 sizeof(AvbHashDescriptor); in TEST_F()
1396 AvbHashDescriptor hash_desc; in TEST_F()
1399 ((AvbHashDescriptor*)descriptors[0]), &hash_desc)); in TEST_F()
1401 sizeof(AvbHashDescriptor); in TEST_F()
Davbtool_unittest.cc630 AvbHashDescriptor d; in AddHashFooterTest()
634 reinterpret_cast<const AvbHashDescriptor*>(descriptors[0]), &d)); in AddHashFooterTest()
640 sizeof(AvbHashDescriptor); in AddHashFooterTest()
/external/avb/
Davbtool.py1550 class AvbHashDescriptor(AvbDescriptor): class
1585 super(AvbHashDescriptor, self).__init__(None)
1924 AvbPropertyDescriptor, AvbHashtreeDescriptor, AvbHashDescriptor,
2626 if isinstance(desc, AvbHashDescriptor):
3449 h_desc = AvbHashDescriptor()
Davbtool1550 class AvbHashDescriptor(AvbDescriptor): class
1585 super(AvbHashDescriptor, self).__init__(None)
1924 AvbPropertyDescriptor, AvbHashtreeDescriptor, AvbHashDescriptor,
2626 if isinstance(desc, AvbHashDescriptor):
3449 h_desc = AvbHashDescriptor()