Lines Matching refs:checksum
1173 'L,CheckSum', 'H,Subsystem', 'H,DllCharacteristics',
1189 'L,CheckSum', 'H,Subsystem', 'H,DllCharacteristics',
3702 return self.OPTIONAL_HEADER.CheckSum == self.generate_checksum()
3707 # Get the offset to the CheckSum field in the OptionalHeader
3711 checksum = 0
3715 # Skip the checksum field
3721 checksum = (checksum & 0xffffffff) + dword + (checksum>>32)
3722 if checksum > 2**32:
3723 checksum = (checksum & 0xffffffff) + (checksum >> 32)
3725 checksum = (checksum & 0xffff) + (checksum >> 16)
3726 checksum = (checksum) + (checksum >> 16)
3727 checksum = checksum & 0xffff
3729 return checksum + len(self.__data__)