Searched refs:temp_header (Results 1 – 1 of 1) sorted by relevance
69 Header temp_header(*Header::At(base_begin)); in CalculateChecksum() local71 temp_header.checksum_ = 0u; in CalculateChecksum()72 temp_header.data_off_ = 0u; in CalculateChecksum()73 temp_header.data_size_ = 0u; in CalculateChecksum()74 uint32_t checksum = ChecksumMemoryRange(reinterpret_cast<const uint8_t*>(&temp_header), in CalculateChecksum()75 sizeof(temp_header)); in CalculateChecksum()77 checksum = (checksum * 31) ^ ChecksumMemoryRange(base_begin + sizeof(temp_header), in CalculateChecksum()78 base_size - sizeof(temp_header)); in CalculateChecksum()