Searched refs:TestFileHeader (Results 1 – 1 of 1) sorted by relevance
169 EFI_FFS_FILE_HEADER2 TestFileHeader; in CalculateHeaderChecksum() local172 CopyMem (&TestFileHeader, FileHeader, sizeof (EFI_FFS_FILE_HEADER2)); in CalculateHeaderChecksum()176 TestFileHeader.State = 0; in CalculateHeaderChecksum()177 TestFileHeader.IntegrityCheck.Checksum.File = 0; in CalculateHeaderChecksum()179 return CalculateSum8 ((CONST UINT8 *) &TestFileHeader, sizeof (EFI_FFS_FILE_HEADER2)); in CalculateHeaderChecksum()181 CopyMem (&TestFileHeader, FileHeader, sizeof (EFI_FFS_FILE_HEADER)); in CalculateHeaderChecksum()185 TestFileHeader.State = 0; in CalculateHeaderChecksum()186 TestFileHeader.IntegrityCheck.Checksum.File = 0; in CalculateHeaderChecksum()188 return CalculateSum8 ((CONST UINT8 *) &TestFileHeader, sizeof (EFI_FFS_FILE_HEADER)); in CalculateHeaderChecksum()