42 if (EFI_ERROR (Status) || (CryptoPpi ==
NULL)) {
43 DEBUG ((DEBUG_ERROR,
"[PeiCryptLib] Failed to locate Crypto PPI. Status = %r\n", Status));
45 ASSERT (CryptoPpi !=
NULL);
51 DEBUG ((DEBUG_ERROR,
"[PeiCryptLib] Crypto PPI unsupported version %d\n", Version));
56 return (VOID *)CryptoPpi;
EFI_STATUS EFIAPI PeiServicesLocatePpi(IN CONST EFI_GUID *Guid, IN UINTN Instance, IN OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor, IN OUT VOID **Ppi)
#define ASSERT_EFI_ERROR(StatusParameter)
#define DEBUG(Expression)
VOID * GetCryptoServices(VOID)
#define EDKII_CRYPTO_VERSION
EDKII_CRYPTO_GET_VERSION GetVersion
Version.