TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptoPei.c File Reference
#include <PiPei.h>
#include <Library/PeiServicesLib.h>
#include <Library/DebugLib.h>
#include <Ppi/Crypto.h>

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI CryptoPeiEntry (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices)
 

Variables

CONST EDKII_CRYPTO_PROTOCOL mEdkiiCrypto
 
CONST EFI_PEI_PPI_DESCRIPTOR mEdkiiCryptoPpiList
 

Detailed Description

Installs the EDK II Crypto PPI. If this PEIM is dispatched before memory is discovered, the RegisterForShadow() feature is used to reload this PEIM into memory after memory is discovered.

Copyright (C) Microsoft Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file CryptoPei.c.

Function Documentation

◆ CryptoPeiEntry()

EFI_STATUS EFIAPI CryptoPeiEntry ( IN EFI_PEI_FILE_HANDLE  FileHandle,
IN CONST EFI_PEI_SERVICES **  PeiServices 
)

Entry to CryptoPeiEntry.

Parameters
FileHandleThe image handle.
PeiServicesThe PEI services table.
Return values
StatusFrom internal routine or boot object, should not fail

Definition at line 34 of file CryptoPei.c.

Variable Documentation

◆ mEdkiiCrypto

CONST EDKII_CRYPTO_PROTOCOL mEdkiiCrypto
extern

Definition at line 6816 of file Crypto.c.

◆ mEdkiiCryptoPpiList

CONST EFI_PEI_PPI_DESCRIPTOR mEdkiiCryptoPpiList
Initial value:
= {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
&gEdkiiCryptoPpiGuid,
(EDKII_CRYPTO_PPI *)&mEdkiiCrypto
}

Definition at line 18 of file CryptoPei.c.