Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib_internal.c58 original_crc32 = h->header_crc32; in HeaderCrc()
59 h->header_crc32 = 0; in HeaderCrc()
61 h->header_crc32 = original_crc32; in HeaderCrc()
88 if (HeaderCrc(h) != h->header_crc32) in CheckHeader()
334 header2->header_crc32 = HeaderCrc(header2); in GptRepair()
345 header1->header_crc32 = HeaderCrc(header1); in GptRepair()
420 header->header_crc32 = HeaderCrc(header); in GptModified()
/external/vboot_reference/firmware/include/
Dgpt.h79 uint32_t header_crc32; member
/external/vboot_reference/tests/
Dcgptlib_test.c85 header->header_crc32 = 0; in RefreshCrc32()
86 header->header_crc32 = Crc32((uint8_t *)header, header->size); in RefreshCrc32()
90 header2->header_crc32 = 0; in RefreshCrc32()
91 header2->header_crc32 = Crc32((uint8_t *)header2, header2->size); in RefreshCrc32()
275 EXPECT(HeaderCrc(h1) == h1->header_crc32); in HeaderCrcTest()
280 EXPECT(HeaderCrc(h1) != h1->header_crc32); in HeaderCrcTest()
285 EXPECT(HeaderCrc(h1) != h1->header_crc32); in HeaderCrcTest()
290 EXPECT(HeaderCrc(h1) == h1->header_crc32); in HeaderCrcTest()
Dvboot_kernel_tests.c100 h->header_crc32 = HeaderCrc(h); in SetupGptHeader()
/external/avb/examples/uefi/
Duefi_avb_ops.c50 uint32_t header_crc32; member
374 uint32_t gpt_header_crc = gpth_tmp.header_crc32; in validate_gpt()
375 gpth_tmp.header_crc32 = 0; in validate_gpt()
/external/vboot_reference/cgpt/
Dcgpt_show.c75 printf("%sHeader CRC: 0x%08x %s\n", indent, header->header_crc32, in HeaderDetails()
76 (HeaderCrc(header) != header->header_crc32) ? "(INVALID)" : ""); in HeaderDetails()
Dcgpt_common.c838 primary_header->header_crc32 = 0; in UpdateCrc()
839 primary_header->header_crc32 = Crc32( in UpdateCrc()
843 secondary_header->header_crc32 = 0; in UpdateCrc()
844 secondary_header->header_crc32 = Crc32( in UpdateCrc()
/external/vboot_reference/futility/
Dmisc.c321 if (HeaderCrc(h) != h->header_crc32) in recognize_gpt()