Lines Matching defs:CertSize
328 UINT32 CertSize;
620 CertSize = 0;
626 CertSize = Hdr.Pe32->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_SECURITY].Size;
631 CertSize = Hdr.Pe32Plus->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_SECURITY].Size;
635 if (ImageSize > CertSize + SumOfBytesHashed) {
636 HashSize = (UINTN) (ImageSize - CertSize - SumOfBytesHashed);
642 } else if (ImageSize < CertSize + SumOfBytesHashed) {