/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVol/ |
D | Ffs.c | 137 HeaderChecksum = CalculateSum8 ((UINT8 *) FfsHeader, sizeof (EFI_FFS_FILE_HEADER2)); in VerifyHeaderChecksum() 139 HeaderChecksum = CalculateSum8 ((UINT8 *) FfsHeader, sizeof (EFI_FFS_FILE_HEADER)); in VerifyHeaderChecksum()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/ |
D | Ffs.c | 243 HeaderChecksum = CalculateSum8 ((UINT8 *) FfsHeader, sizeof (EFI_FFS_FILE_HEADER2)); in VerifyHeaderChecksum() 245 HeaderChecksum = CalculateSum8 ((UINT8 *) FfsHeader, sizeof (EFI_FFS_FILE_HEADER)); in VerifyHeaderChecksum() 281 …FileChecksum = CalculateSum8 ((UINT8 *) FfsHeader + sizeof (EFI_FFS_FILE_HEADER2), FFS_FILE2_SIZE … in VerifyFileChecksum() 283 …FileChecksum = CalculateSum8 ((UINT8 *) FfsHeader + sizeof (EFI_FFS_FILE_HEADER), FFS_FILE_SIZE (F… in VerifyFileChecksum()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
D | CheckSum.c | 40 CalculateSum8 ( in CalculateSum8() function 87 CheckSum = CalculateSum8 (Buffer, Length); in CalculateCheckSum8()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
D | CheckSum.c | 38 CalculateSum8 ( in CalculateSum8() function 84 CheckSum = CalculateSum8 (Buffer, Length); in CalculateCheckSum8()
|
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/ |
D | Xen.c | 85 Sum = CalculateSum8 ( in GetXenAcpiRsdp() 97 Sum = CalculateSum8 ( in GetXenAcpiRsdp()
|
D | QemuFwCfgAcpi.c | 484 CalculateSum8 ((CONST UINT8 *)Header, Header->Length) == 0) { in Process2ndPassCmdAddPointer()
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/ |
D | DebugAgent.c | 354 …Mailbox->ToBeCheckSum = Mailbox->CheckSum + CalculateSum8 ((UINT8 *)&Mailbox->DebugFlag.Uint64, si… in UpdateMailboxContent() 355 - CalculateSum8 ((UINT8 *)&Value, sizeof(UINT64)); in UpdateMailboxContent() 359 …Mailbox->ToBeCheckSum = Mailbox->CheckSum + CalculateSum8 ((UINT8 *)&Mailbox->DebugPortHandle, siz… in UpdateMailboxContent() 360 - CalculateSum8 ((UINT8 *)&Value, sizeof(UINTN)); in UpdateMailboxContent() 364 …Mailbox->ToBeCheckSum = Mailbox->CheckSum + CalculateSum8 ((UINT8 *)&Mailbox->ExceptionBufferPoint… in UpdateMailboxContent() 365 - CalculateSum8 ((UINT8 *)&Value, sizeof(UINTN)); in UpdateMailboxContent() 369 …Mailbox->ToBeCheckSum = Mailbox->CheckSum + CalculateSum8 ((UINT8 *)&Mailbox->LastAck, sizeof(UINT… in UpdateMailboxContent() 370 - CalculateSum8 ((UINT8 *)&Value, sizeof(UINT8)); in UpdateMailboxContent() 374 …Mailbox->ToBeCheckSum = Mailbox->CheckSum + CalculateSum8 ((UINT8 *)&Mailbox->SequenceNo, sizeof(U… in UpdateMailboxContent() 375 - CalculateSum8 ((UINT8 *)&Value, sizeof(UINT8)); in UpdateMailboxContent() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
D | CommonLib.c | 279 return (UINT8) (0x100 - CalculateSum8 (Buffer, Size)); in CalculateChecksum8() 283 CalculateSum8 ( in CalculateSum8() function
|
D | CommonLib.h | 77 CalculateSum8 (
|
D | FvLib.c | 694 Checksum = CalculateSum8 ((UINT8 *) FfsHeader, sizeof (EFI_FFS_FILE_HEADER)); in VerifyFfsFile() 711 Checksum = CalculateSum8 ((UINT8 *) FfsHeader, FileLength - TailSize); in VerifyFfsFile() 714 …Checksum = CalculateSum8 ((UINT8 *) ((UINTN)FfsHeader + sizeof (EFI_FFS_FILE_HEADER)), … in VerifyFfsFile()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | CommonLib.h | 112 CalculateSum8 (
|
D | CommonLib.c | 343 return (UINT8) (0x100 - CalculateSum8 (Buffer, Size)); in CalculateChecksum8() 347 CalculateSum8 ( in CalculateSum8() function
|
D | FvLib.c | 700 Checksum = CalculateSum8 ((UINT8 *) FfsHeader, FfsHeaderSize); in VerifyFfsFile() 715 …Checksum = CalculateSum8 ((UINT8 *) ((UINT8 *)FfsHeader + FfsHeaderSize), FileLength - … in VerifyFfsFile()
|
/device/linaro/bootloader/edk2/ArmVirtPkg/XenAcpiPlatformDxe/ |
D | XenAcpiPlatformDxe.c | 79 Sum = CalculateSum8 ((CONST UINT8 *)RsdpStructurePtr, in GetXenArmAcpiRsdp()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/ |
D | Misc.c | 465 if (CalculateSum8 ((UINT8 *) RomAddress, RomLength) != 0) { in LaunchBaseCode() 487 if (CalculateSum8 ((UINT8 *) RomIdTableAddress, RomIdTableAddress->StructLength) != 0) { in LaunchBaseCode() 776 if (CalculateSum8 ((UINT8 *) Pxe, Pxe->StructLength) != 0) { in LaunchBaseCode()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/ |
D | DebugAgentSymbolsBaseLib.c | 92 Sum = CalculateSum8 ((CONST VOID*)FileHeader,sizeof(EFI_FFS_FILE_HEADER)); in CalculateHeaderChecksum()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/ |
D | VolInfo.c | 1177 Checksum = CalculateSum8 ((UINT8 *) FileHeader, HeaderSize); in PrintFileInfo() 1199 Checksum = CalculateSum8 ((UINT8 *) FileHeader, HeaderSize); in PrintFileInfo() 1213 Checksum = CalculateSum8 ((UINT8 *)FileHeader + HeaderSize, FileLength - HeaderSize); in PrintFileInfo()
|
/device/linaro/bootloader/edk2/OptionRomPkg/UndiRuntimeDxe/ |
D | Decode.c | 1460 PxePtr->Fudge = (UINT8) (PxePtr->Fudge - CalculateSum8 ((VOID *) PxePtr, PxePtr->Len)); in PxeUpdate() 1519 PxePtr->Fudge = (UINT8) (PxePtr->Fudge - CalculateSum8 ((VOID *) PxePtr, PxePtr->Len)); in PxeStructInit()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/ |
D | FwVol.c | 179 return CalculateSum8 ((CONST UINT8 *) &TestFileHeader, sizeof (EFI_FFS_FILE_HEADER2)); in CalculateHeaderChecksum() 188 return CalculateSum8 ((CONST UINT8 *) &TestFileHeader, sizeof (EFI_FFS_FILE_HEADER)); in CalculateHeaderChecksum()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | BaseLib.h | 3541 CalculateSum8 (
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
D | EdkIIGlueBaseLib.h | 3223 CalculateSum8 (
|