Home
last modified time | relevance | path

Searched refs:calc_crc32 (Results 1 – 2 of 2) sorted by relevance

/u-boot/disk/
A Dpart_efi.c95 uint32_t calc_crc32; in validate_gpt_header() local
110 calc_crc32 = efi_crc32((const unsigned char *)gpt_h, in validate_gpt_header()
115 if (calc_crc32 != le32_to_cpu(crc32_backup)) { in validate_gpt_header()
118 le32_to_cpu(crc32_backup), calc_crc32); in validate_gpt_header()
156 uint32_t calc_crc32; in validate_gpt_entries() local
159 calc_crc32 = efi_crc32((const unsigned char *)gpt_e, in validate_gpt_entries()
167 calc_crc32); in validate_gpt_entries()
176 uint32_t calc_crc32; in prepare_backup_gpt_header() local
189 gpt_h->header_crc32 = cpu_to_le32(calc_crc32); in prepare_backup_gpt_header()
376 u32 calc_crc32; in write_gpt_table() local
[all …]
/u-boot/tools/
A Defivar.py79 def calc_crc32(buf): function
101 if crc32 != calc_crc32(buf[self.efi.var_file_size:]):
188 calc_crc32(self.ents))

Completed in 4 milliseconds