Searched refs:desc_end (Results 1 – 5 of 5) sorted by relevance
/external/avb/libavb/ |
D | avb_descriptor.c | 49 const uint8_t* desc_end; in avb_descriptor_foreach() local 82 desc_end = desc_start + avb_be64toh(header->descriptors_size); in avb_descriptor_foreach() 85 desc_end < image_data || desc_end > image_end || desc_end < desc_start) { in avb_descriptor_foreach() 90 for (p = desc_start; p < desc_end;) { in avb_descriptor_foreach() 101 if (nb_total + p < desc_start || nb_total + p > desc_end) { in avb_descriptor_foreach()
|
/external/vboot_reference/tests/ |
D | vb21_common_tests.c | 60 uint32_t desc_end, m; in test_common_header_functions() local 66 desc_end = c->fixed_size + c->desc_size; in test_common_header_functions() 68 c2 = (struct vb2_struct_common *)(cbuf + desc_end); in test_common_header_functions() 69 c2->total_size = c->total_size - desc_end; in test_common_header_functions() 124 cbuf[desc_end - 1] = 1; in test_common_header_functions() 136 m = desc_end; in test_common_header_functions() 137 TEST_SUCC(vb2_verify_common_member(cbuf, &m, desc_end, 4), in test_common_header_functions() 139 TEST_EQ(m, desc_end + 4, " new minimum"); in test_common_header_functions() 157 TEST_EQ(vb2_verify_common_member(cbuf, &m, desc_end - 4, 4), in test_common_header_functions() 161 m = desc_end + 4; in test_common_header_functions() [all …]
|
/external/avb/test/ |
D | avbtool_unittest.cc | 580 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashFooterTest() local 584 std::string(reinterpret_cast<const char*>(desc_end + o), in AddHashFooterTest() 587 EXPECT_EQ("d00df00d", mem_to_hexstring(desc_end + o, d.salt_len)); in AddHashFooterTest() 590 mem_to_hexstring(desc_end + o, d.digest_len)); in AddHashFooterTest() 1058 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashtreeFooterTest() local 1062 std::string(reinterpret_cast<const char*>(desc_end + o), in AddHashtreeFooterTest() 1065 EXPECT_EQ("d00df00d", mem_to_hexstring(desc_end + o, d.salt_len)); in AddHashtreeFooterTest() 1068 mem_to_hexstring(desc_end + o, d.root_digest_len)); in AddHashtreeFooterTest() 1287 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashtreeFooterFECTest() local 1291 std::string(reinterpret_cast<const char*>(desc_end + o), in AddHashtreeFooterFECTest() [all …]
|
D | avb_slot_verify_unittest.cc | 852 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in TEST_F() local 856 std::string(reinterpret_cast<const char*>(desc_end + o), in TEST_F() 859 EXPECT_EQ("deadbeef", mem_to_hexstring(desc_end + o, hash_desc.salt_len)); in TEST_F() 862 mem_to_hexstring(desc_end + o, hash_desc.digest_len)); in TEST_F() 867 desc_end = reinterpret_cast<const uint8_t*>(descriptors[1]) + in TEST_F() 870 std::string(reinterpret_cast<const char*>(desc_end), in TEST_F()
|
/external/libunwind/src/ia64/ |
D | Gparser.c | 961 uint8_t *dp, *desc_end; in create_state_record_for() local 993 desc_end = dp + c->pi.unwind_info_size; in create_state_record_for() 994 while (!sr->done && dp < desc_end) in create_state_record_for()
|