Searched refs:IntegrityCheck (Results 1 - 14 of 14) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/FwVol/
H A DFfs.c141 HeaderChecksum = (UINT8) (HeaderChecksum - FfsHeader->State - FfsHeader->IntegrityCheck.Checksum.File);
224 if (FfsHeader->IntegrityCheck.Checksum.File == DataCheckSum) {
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DFvLib.c690 SavedChecksum = FfsHeader->IntegrityCheck.Checksum.File;
691 FfsHeader->IntegrityCheck.Checksum.File = 0;
694 FfsHeader->IntegrityCheck.Checksum.File = SavedChecksum;
708 Checksum = Checksum + FfsHeader->IntegrityCheck.Checksum.File;
718 if (FfsHeader->IntegrityCheck.Checksum.File != FFS_FIXED_CHECKSUM) {
H A DFirmwareVolumeBuffer.c226 File->IntegrityCheck.Checksum.Header = 0;
227 File->IntegrityCheck.Checksum.File = 0;
231 File->IntegrityCheck.Checksum.Header =
238 File->IntegrityCheck.Checksum.File = FvBufCalculateChecksum8 (
243 File->IntegrityCheck.Checksum.File = FFS_FIXED_CHECKSUM;
1186 NewFile->IntegrityCheck.Checksum.Header =
1188 NewFile->IntegrityCheck.Checksum.File = FFS_FIXED_CHECKSUM;
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Pi/
H A DPiFirmwareFile.h29 /// The IntegrityCheck.Checksum.Header field is an 8-bit checksum of the file
30 /// header. The State and IntegrityCheck.Checksum.File fields are assumed
36 /// field is set to one, the IntegrityCheck.Checksum.File field is an 8-bit
39 /// the IntegrityCheck.Checksum.File field must be initialized with a value of
40 /// 0xAA. The IntegrityCheck.Checksum.File field is valid any time the
46 /// This is the full 16 bits of the IntegrityCheck field.
116 EFI_FFS_INTEGRITY_CHECK IntegrityCheck; member in struct:__anon11961
146 EFI_FFS_INTEGRITY_CHECK IntegrityCheck; member in struct:__anon11962
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/Pi/
H A DPiFirmwareFile.h31 /// The IntegrityCheck.Checksum.Header field is an 8-bit checksum of the file
32 /// header. The State and IntegrityCheck.Checksum.File fields are assumed
38 /// field is set to one, the IntegrityCheck.Checksum.File field is an 8-bit
42 /// the IntegrityCheck.Checksum.File field must be initialized with a value of
43 /// 0xAA. The IntegrityCheck.Checksum.File field is valid any time the
49 /// This is the full 16 bits of the IntegrityCheck field.
119 EFI_FFS_INTEGRITY_CHECK IntegrityCheck; member in struct:__anon15563
149 EFI_FFS_INTEGRITY_CHECK IntegrityCheck; member in struct:__anon15564
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
H A DFfs.c247 HeaderChecksum = (UINT8) (HeaderChecksum - FfsHeader->State - FfsHeader->IntegrityCheck.Checksum.File);
285 FileChecksum = (UINT8) (FileChecksum + FfsHeader->IntegrityCheck.Checksum.File);
295 if (FfsHeader->IntegrityCheck.Checksum.File != FFS_FIXED_CHECKSUM) {
H A DFwVolWrite.c39 FileChecksum = FfsHeader->IntegrityCheck.Checksum.File;
40 FfsHeader->IntegrityCheck.Checksum.File = 0;
42 FfsHeader->IntegrityCheck.Checksum.Header = 0;
45 FfsHeader->IntegrityCheck.Checksum.Header = CalculateCheckSum8 (
50 FfsHeader->IntegrityCheck.Checksum.Header = CalculateCheckSum8 (
57 FfsHeader->IntegrityCheck.Checksum.File = FileChecksum;
77 FfsHeader->IntegrityCheck.Checksum.File = 0;
80 FfsHeader->IntegrityCheck.Checksum.File = CalculateCheckSum8 (
85 FfsHeader->IntegrityCheck.Checksum.File = CalculateCheckSum8 (
93 FfsHeader->IntegrityCheck
[all...]
H A DFwPadFile.c36 PadFileHeader->IntegrityCheck.Checksum.File =
43 PadFileHeader->IntegrityCheck.Checksum.File =
49 PadFileHeader->IntegrityCheck.Checksum.File = FFS_FIXED_CHECKSUM;
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Include/Common/
H A DPiFirmwareFile.h100 EFI_FFS_INTEGRITY_CHECK IntegrityCheck; member in struct:__anon10037
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFv/
H A DGenFvInternalLib.c615 PadFile->IntegrityCheck.Checksum.Header = 0;
616 PadFile->IntegrityCheck.Checksum.File = 0;
618 PadFile->IntegrityCheck.Checksum.Header = CalculateChecksum8 ((UINT8 *) PadFile, sizeof (EFI_FFS_FILE_HEADER));
619 PadFile->IntegrityCheck.Checksum.File = FFS_FIXED_CHECKSUM;
1228 PadFile->IntegrityCheck.Checksum.Header = 0;
1229 PadFile->IntegrityCheck.Checksum.File = 0;
1231 PadFile->IntegrityCheck.Checksum.Header = CalculateChecksum8 ((UINT8 *) PadFile, sizeof (EFI_FFS_FILE_HEADER));
1232 PadFile->IntegrityCheck.Checksum.File = FFS_FIXED_CHECKSUM;
1592 VtfFile->IntegrityCheck.Checksum.File = 0;
1595 VtfFile->IntegrityCheck
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/
H A DVolInfo.c1035 Checksum = (UINT8) (Checksum - FileHeader->IntegrityCheck.Checksum.File);
1057 Checksum = (UINT8) (Checksum - FileHeader->IntegrityCheck.Checksum.File);
1071 Checksum = Checksum + FileHeader->IntegrityCheck.Checksum.File;
1077 if (FileHeader->IntegrityCheck.Checksum.File != FFS_FIXED_CHECKSUM) {
1091 if (FileHeader->IntegrityCheck.TailReference != (UINT16)~(*Tail)) {
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFfs/
H A DGenFfs.c848 // FileHeader.IntegrityCheck.Checksum.Header = 0;
849 // FileHeader.IntegrityCheck.Checksum.File = 0;
852 FfsFileHeader.IntegrityCheck.Checksum.Header = CalculateChecksum8 (
861 FfsFileHeader.IntegrityCheck.Checksum.File = CalculateChecksum8 (
866 FfsFileHeader.IntegrityCheck.Checksum.File = FFS_FIXED_CHECKSUM;
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenVtf/
H A DGenVtf.c1691 FileHeader->IntegrityCheck.Checksum.Header = 0;
1692 FileHeader->IntegrityCheck.Checksum.File = 0;
1694 FileHeader->IntegrityCheck.Checksum.Header = CalculateChecksum8 ((UINT8 *) FileHeader, sizeof (EFI_FFS_FILE_HEADER));
1695 FileHeader->IntegrityCheck.Checksum.File = CalculateChecksum8 ((UINT8 *) (FileHeader + 1), TotalVtfSize - sizeof (EFI_FFS_FILE_HEADER));
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/FwVol/
H A DFwVol.c161 TestFileHeader.IntegrityCheck.Checksum.File = 0;
170 TestFileHeader.IntegrityCheck.Checksum.File = 0;
348 if (FfsFileHeader->IntegrityCheck.Checksum.File != DataCheckSum) {

Completed in 257 milliseconds