Searched refs:calc_crc32 (Results 1 – 2 of 2) sorted by relevance
95 uint32_t calc_crc32; in validate_gpt_header() local110 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() local159 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() local189 gpt_h->header_crc32 = cpu_to_le32(calc_crc32); in prepare_backup_gpt_header()376 u32 calc_crc32; in write_gpt_table() local[all …]
79 def calc_crc32(buf): function101 if crc32 != calc_crc32(buf[self.efi.var_file_size:]):188 calc_crc32(self.ents))
Completed in 4 milliseconds