Searched refs:SumOfBytesHashed (Results 1 – 5 of 5) sorted by relevance
115 UINTN SumOfBytesHashed; in MeasurePeImageAndExtend() local309 SumOfBytesHashed = Hdr.Pe32->OptionalHeader.SizeOfHeaders; in MeasurePeImageAndExtend()314 SumOfBytesHashed = Hdr.Pe32Plus->OptionalHeader.SizeOfHeaders; in MeasurePeImageAndExtend()372 SumOfBytesHashed += HashSize; in MeasurePeImageAndExtend()381 if (ImageSize > SumOfBytesHashed) { in MeasurePeImageAndExtend()382 HashBase = (UINT8 *) (UINTN) ImageAddress + SumOfBytesHashed; in MeasurePeImageAndExtend()400 if (ImageSize > CertSize + SumOfBytesHashed) { in MeasurePeImageAndExtend()401 HashSize = (UINTN) (ImageSize - CertSize - SumOfBytesHashed); in MeasurePeImageAndExtend()407 } else if (ImageSize < CertSize + SumOfBytesHashed) { in MeasurePeImageAndExtend()
319 UINTN SumOfBytesHashed; in TcgMeasurePeImage() local546 SumOfBytesHashed = Hdr.Pe32->OptionalHeader.SizeOfHeaders; in TcgMeasurePeImage()551 SumOfBytesHashed = Hdr.Pe32Plus->OptionalHeader.SizeOfHeaders; in TcgMeasurePeImage()609 SumOfBytesHashed += HashSize; in TcgMeasurePeImage()618 if (ImageSize > SumOfBytesHashed) { in TcgMeasurePeImage()619 HashBase = (UINT8 *) (UINTN) ImageAddress + SumOfBytesHashed; in TcgMeasurePeImage()637 if (ImageSize > CertSize + SumOfBytesHashed) { in TcgMeasurePeImage()638 HashSize = (UINTN) (ImageSize - CertSize - SumOfBytesHashed); in TcgMeasurePeImage()644 } else if (ImageSize < CertSize + SumOfBytesHashed) { in TcgMeasurePeImage()
304 UINTN SumOfBytesHashed; in HashPeImage() local501 SumOfBytesHashed = mNtHeader.Pe32->OptionalHeader.SizeOfHeaders; in HashPeImage()506 SumOfBytesHashed = mNtHeader.Pe32Plus->OptionalHeader.SizeOfHeaders; in HashPeImage()565 SumOfBytesHashed += HashSize; in HashPeImage()574 if (mImageSize > SumOfBytesHashed) { in HashPeImage()575 HashBase = mImageBase + SumOfBytesHashed; in HashPeImage()593 if (mImageSize > CertSize + SumOfBytesHashed) { in HashPeImage()594 HashSize = (UINTN) (mImageSize - CertSize - SumOfBytesHashed); in HashPeImage()600 } else if (mImageSize < CertSize + SumOfBytesHashed) { in HashPeImage()
1780 UINTN SumOfBytesHashed; in HashPeImage() local1910 SumOfBytesHashed = mNtHeader.Pe32->OptionalHeader.SizeOfHeaders; in HashPeImage()1915 SumOfBytesHashed = mNtHeader.Pe32Plus->OptionalHeader.SizeOfHeaders; in HashPeImage()1969 SumOfBytesHashed += HashSize; in HashPeImage()1978 if (mImageSize > SumOfBytesHashed) { in HashPeImage()1979 HashBase = mImageBase + SumOfBytesHashed; in HashPeImage()1987 SumOfBytesHashed); in HashPeImage()1995 SumOfBytesHashed); in HashPeImage()