Searched refs:header_crc32 (Results 1 – 10 of 10) sorted by relevance
/external/vboot_reference/firmware/lib/cgptlib/ |
D | cgptlib_internal.c | 58 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/u-boot/disk/ |
D | part_efi.c | 95 memcpy(&crc32_backup, &gpt_h->header_crc32, sizeof(crc32_backup)); in validate_gpt_header() 96 memset(&gpt_h->header_crc32, 0, sizeof(gpt_h->header_crc32)); in validate_gpt_header() 101 memcpy(&gpt_h->header_crc32, &crc32_backup, sizeof(crc32_backup)); in validate_gpt_header() 173 gpt_h->header_crc32 = 0; in prepare_backup_gpt_header() 177 gpt_h->header_crc32 = cpu_to_le32(calc_crc32); in prepare_backup_gpt_header() 409 gpt_h->header_crc32 = cpu_to_le32(calc_crc32); in write_gpt_table() 619 gpt_h->header_crc32 = 0; in gpt_fill_header()
|
/external/vboot_reference/firmware/include/ |
D | gpt.h | 79 uint32_t header_crc32; member
|
/external/vboot_reference/tests/ |
D | cgptlib_test.c | 85 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()
|
D | vboot_kernel_tests.c | 100 h->header_crc32 = HeaderCrc(h); in SetupGptHeader()
|
/external/u-boot/include/ |
D | part_efi.h | 80 __le32 header_crc32; member
|
/external/avb/examples/uefi/ |
D | uefi_avb_ops.c | 50 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/ |
D | cgpt_show.c | 75 printf("%sHeader CRC: 0x%08x %s\n", indent, header->header_crc32, in HeaderDetails() 76 (HeaderCrc(header) != header->header_crc32) ? "(INVALID)" : ""); in HeaderDetails()
|
D | cgpt_common.c | 838 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/ |
D | misc.c | 321 if (HeaderCrc(h) != h->header_crc32) in recognize_gpt()
|