Home
last modified time | relevance | path

Searched refs:mImageDigestSize (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/
DDxeImageVerificationLib.c42 UINTN mImageDigestSize; variable
320 mImageDigestSize = SHA1_DIGEST_SIZE; in HashPeImage()
325 mImageDigestSize = SHA256_DIGEST_SIZE; in HashPeImage()
330 mImageDigestSize = SHA384_DIGEST_SIZE; in HashPeImage()
335 mImageDigestSize = SHA512_DIGEST_SIZE; in HashPeImage()
1415 mImageDigestSize in IsForbiddenByDbx()
1606 mImageDigestSize in IsAllowedByDb()
1952 …natureFoundInDatabase (EFI_IMAGE_SECURITY_DATABASE1, mImageDigest, &mCertType, mImageDigestSize)) { in ImageVerificationInAuditMode()
1956 …gnatureFoundInDatabase (EFI_IMAGE_SECURITY_DATABASE, mImageDigest, &mCertType, mImageDigestSize)) { in ImageVerificationInAuditMode()
1964 …Status = CreateSignatureList(mImageDigest, mImageDigestSize, &mCertType, &SignatureList, &Signatur… in ImageVerificationInAuditMode()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
DSecureBootConfigImpl.c84 UINTN mImageDigestSize; variable
1713 mImageDigestSize = SHA1_DIGEST_SIZE; in HashPeImage()
1716 mImageDigestSize = SHA256_DIGEST_SIZE; in HashPeImage()
2094 + (UINT32) mImageDigestSize; in EnrollImageSignatureToSigDB()
2108 SigDBCert->SignatureSize = sizeof(EFI_SIGNATURE_DATA) - 1 + (UINT32) mImageDigestSize; in EnrollImageSignatureToSigDB()
2113 CopyMem (SigDBCertData->SignatureData, mImageDigest, mImageDigestSize); in EnrollImageSignatureToSigDB()